Results 1 to 10 of 10

Thread: 3 small popup errors

  1. #1
    I made the config and the model and texture and everything, but when i go to load up the addon i get 3 errors pertaining to the config error required version not array, connect to not array, and units not array. Anyone have a solution?

  2. #2
    Chief Warrant Officer
    Join Date
    Sep 6 2001
    Location
    British Columbia, Canada
    Posts
    3,458
    yep, define that value as an array
    value[]= instead of value=
    [im]http://www.roughnecks.org/malboeuf/pissonTKC.gif[/img] >100kb
    Roughneck Whore House - rn1.roughnecks.org
    AMD 64x2 4400 2200@2450 Mhz- 2 gig dual DDR PC4000 - SATA HDs

  3. #3
    I did what you said and it still happens. Ok this is what happens first these 4 things happen in order







    then when i click preview again arma crashes to desktop.

    This is the part of the config that i think this is coming from

    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgPatches
    {
    class CAWeapons
    {
    units&#91;&#93;= {};
    weapons&#91;&#93;= {&#34;EmergencySupplyCrate&#34;};
    requiredAddons&#91;&#93;= {};
    requiredVersion= 1.08;
    };
    };[/QUOTE]

  4. #4
    Change to:

    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
    class CfgPatches
    {
    class MyWeapons
    {
    units&#91;&#93; = {};
    weapons&#91;&#93; = {&#34;EmergencySupplyCrate&#34;};
    requiredAddons&#91;&#93; = {&#34;CAWater&#34;,&#34;CAData&#34;, &#34;CACharacters&#34;, &#34;CAWeapons&#34;, &#34;CASounds&#34;, &#34;CA_Anims_Char&#34;};
    requiredVersion = 1.08;
    };
    };
    [/QUOTE]

    Your addon name overwrites the default "CAWeapons" addon.

  5. #5
    Thank you very much.

  6. #6
    Damn, ok i did that, and still the same problem. I must have mucked up somwhere. Here is the entire config.

    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
    class CfgPatches
    {
    class MyWeapons
    {
    units&#91;&#93; = {};
    weapons&#91;&#93; = {&#34;EmergencySupplyCrate&#34;};
    requiredAddons&#91;&#93; = {&#34;CAWater&#34;,&#34;CAData&#34;, &#34;CACharacters&#34;, &#34;CAWeapons&#34;, &#34;CASounds&#34;, &#34;CA_Anims_Char&#34;};
    requiredVersion = 1.08;
    };
    };

    class CfgVehicles {

    /*extern*/ class Strategic;
    class ReammoBox&#58; Strategic {
    animated = 0;
    scope = 1;
    icon = &#34;&#92;Ca&#92;weapons&#92;Data&#92;map_ico&#92; icomap_ammo_CA.paa&#34;;
    displayName = &#34;EmergencySupplyCrate&#34;;
    nameSound = &#34;SupplyCrate&#34;;
    accuracy = 0.200000;
    typicalCargo = {};
    vehicleClass = &#34;Ammo&#34;;
    destrType = &#34;DestructEngine&#34;;
    transportMaxWeapons = 5000;
    transportMaxMagazines = 20000;
    transportAmmo = 0;
    transportRepair = 0;
    transportFuel = 0;
    supplyRadius = 1.400000;
    cost = 0;
    armor = 200;
    mapSize = 2.000000;
    };

    class WeaponHolder&#58; ReammoBox {
    scope = 1;
    model = &#34;&#92;ca&#92;weapons&#92;dummyweapon.p3d&#3 4;;
    accuracy = 0.200000;

    class TransportMagazines {
    };
    forceSupply = 1;
    showWeaponCargo = 1;
    transportMaxMagazines = 1000000000.000000;
    transportMaxWeapons = 1000000000.000000;
    displayName = &#34;&#34;;
    };

    class EmergencySupplyCrate&#58; ReammoBox {
    scope = 2;
    accuracy = 1000;
    model = &#34;&#92;EmergencySupplyCrate&#92;EMSC.p3d&#34 ;;
    displayName = &#34;EmergencySupplyCrate&#34;;

    class TransportMagazines {

    class _xx_M9 {
    weapon = &#34;m9&#34;;
    count = 2;
    };

    class _xx15Rnd_9x9_m9 {
    magazine = &#34;15Rnd_9x9_M9&#34;;
    count = 8;

    };

    class _xx_smokeshellgreen {
    magazine = &#34;Smokeshellgreen&#34;;
    count = 2;

    };

    class _xx_smokeshellred {
    magazine = &#34;smokeshellred&#34;;
    count = 2;

    };

    class _xx_binocular {
    weapon = &#34;Binocular&#34;;
    count = 2;

    };

    class _xx_NVGoggles {
    weapon = &#34;NVGoggles&#34;;
    count = 10;

    };

    };

    };
    [/QUOTE]

    oh and this is not the finished version still have sqfs to put in and such to create a tracking beacon.

  7. #7
    Try this one, hopefully it works as intended.

    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
    class CfgPatches
    {
    class EmergencySupplyCrate
    {
    units&#91;&#93; = {&#34;EmergencySupplyCrate&#34;};
    weapons&#91;&#93; = {};
    requiredAddons&#91;&#93; = {&#34;CAWater&#34;,&#34;CAData&#34;, &#34;CACharacters&#34;, &#34;CAWeapons&#34;, &#34;CASounds&#34;, &#34;CA_Anims_Char&#34;};
    requiredVersion = 1.08;
    };
    };

    class CfgVehicles
    {
    class Strategic;
    class ReammoBox&#58; Strategic {};

    class EmergencySupplyCrate&#58; ReammoBox
    {
    scope = 2;
    accuracy = 1000;
    model = &#34;&#92;EmergencySupplyCrate&#92;EMSC.p3d&#34 ;;
    displayName = &#34;EmergencySupplyCrate&#34;;

    class TransportMagazines {

    class _xx_M9
    {
    weapon = &#34;m9&#34;;
    count = 2;
    };

    class _xx15Rnd_9x9_m9
    {
    magazine = &#34;15Rnd_9x9_M9&#34;;
    count = 8;
    };

    class _xx_smokeshellgreen
    {
    magazine = &#34;Smokeshellgreen&#34;;
    count = 2;
    };

    class _xx_smokeshellred
    {
    magazine = &#34;smokeshellred&#34;;
    count = 2;
    };

    class _xx_binocular
    {
    weapon = &#34;Binocular&#34;;
    count = 2;
    };

    class _xx_NVGoggles
    {
    weapon = &#34;NVGoggles&#34;;
    count = 10;
    };
    };
    };
    [/QUOTE]


    Planck

  8. #8
    Yeah i dont know still doenst work, while my knowledge of scripting is good. This is not going to probably work. Im going to try and write the config all over maybe that will help.




  9. #9
    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
    class CfgPatches
    {
    class TAG_EmergencySupplyCrate
    {
    units&#91;&#93; = {&#34;EmergencySupplyCrate&#34;};
    weapons&#91;&#93; = {};
    requiredAddons&#91;&#93; = {&#34;CAWater&#34;,&#34;CAData&#34;, &#34;CACharacters&#34;, &#34;CAWeapons&#34;, &#34;CASounds&#34;, &#34;CA_Anims_Char&#34;};
    requiredVersion = 1.08;
    };
    };

    class CfgVehicles
    {
    class ReammoBox;
    class TAG_EmergencySupplyCrate&#58; ReammoBox
    {
    scope = 2;
    accuracy = 1000;
    model = &#34;&#92;EmergencySupplyCrate&#92;EMSC.p3d&#34 ;;
    displayName = &#34;EmergencySupplyCrate&#34;;
    class TransportMagazines
    {
    class _xx_M9
    {
    weapon = &#34;m9&#34;;
    count = 2;
    };
    class _xx15Rnd_9x9_m9
    {
    magazine = &#34;15Rnd_9x9_M9&#34;;
    count = 8;
    };
    class _xx_smokeshellgreen
    {
    magazine = &#34;Smokeshellgreen&#34;;
    count = 2;
    };
    class _xx_smokeshellred
    {
    magazine = &#34;smokeshellred&#34;;
    count = 2;
    };
    class _xx_binocular
    {
    weapon = &#34;Binocular&#34;;
    count = 2;
    };
    class _xx_NVGoggles
    {
    weapon = &#34;NVGoggles&#34;;
    count = 10;
    };
    };
    };
    };[/QUOTE]

    Fixed the inheritance and the last closing bracket was missing.

  10. #10
    OK guys im so so so sorry. Those errors were not the source of my addon not working. It was a modified A-10 that i was working on that i fregot to take out. Lol. Sorry, but i am very thankful you all were will to help me.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •