G

Guitar18

Member

Last active 4 years ago

  1. 4 years ago
    Wed Jun 12 08:15:52 2019
    G Guitar18 posted in CfgVehicles.hpp error upon startup.

    @marceldev89 Seems like you're missing an include in your .hpp file for the macros.
    Did you copy those macros to config.cpp?

    Solved the problem.

    It seems as though the macros for the config.cpp need to be included in the CfgVehicles.hpp too. Of course now I’m having the issue of being unable to execute the code in staticData.sqf. (No crates appearing and having the issue of vanilla logistics vehicles again)

  2. Tue Jun 11 11:41:49 2019
    G Guitar18 started the conversation CfgVehicles.hpp error upon startup.

    So I've been trying to export factions crates with my custom faction created through ORBAT. After following the instructions and pasting the correct data into config.cpp and CfgVehicles.hpp, I receive an error upon startup. The ARMA 3 log error shows:

    12:36:35 Error context CUP_30Rnd_545x39_AK_M,50);
    12:36:35 ErrorMessage: File osovarmydes\CfgVehicles.hpp, line 2639: '/O_SOVARMY_DES_AmmoBox/TransportMagazines.mag_xx': '(' encountered instead of '='

    In my CfgVehicles.hpp file, the crates section is as followed:

    class Box_East_Ammo_F; // CUP_RUBasicAmmunitionBox
        class Box_NATO_Ammo_F; // CUP_USBasicAmmunitionBox
        class Box_East_Wps_F; // CUP_RUBasicWeaponsBox
        class Box_NATO_Wps_F; // CUP_USBasicWeaponsBox
        class Box_East_Support_F; // CUP_RUSpecialWeaponsBox
        class Box_NATO_Support_F; // CUP_USSpecialWeaponsBox
        class Box_East_WpsLaunch_F; // CUP_RULaunchersBox
        class Box_NATO_WpsLaunch_F; // CUP_USLaunchersBox
        class Box_East_Uniforms_F; // CUP_RUBasicWeaponsBox
        class Box_NATO_Uniforms_F; // CUP_USBasicWeaponsBox
        class O_SupplyCrate_F; // CUP_RUVehicleBox
        class B_SupplyCrate_F; // CUP_USVehicleBox
    
        class O_SOVARMY_DES_AmmoBox : Box_East_Ammo_F {
            author = ALiVE ORBAT CREATOR;
            displayName = Soviet Armed Forces (Arid/Desert) Ammo Box;
            class TransportMagazines {
                mag_xx(CUP_HandGrenade_RGD5,50);
                mag_xx(CUP_30Rnd_545x39_AK_M,50);
                mag_xx(SmokeShell,50);
                mag_xx(CUP_PG7V_M,50);
                mag_xx(CUP_1Rnd_HE_GP25_M,50);
                mag_xx(CUP_1Rnd_SMOKE_GP25_M,50);
                mag_xx(CUP_45Rnd_TE4_LRT4_Green_Tracer_545x39_RPK_M,50);
                mag_xx(CUP_100Rnd_TE4_LRT4_762x54_PK_Tracer_Red_M,50);
                mag_xx(CUP_RPG18_M,50);
                mag_xx(CUP_10Rnd_762x54_SVD_M,50);
                mag_xx(CUP_30Rnd_545x39_AK74_plum_M,50);
                mag_xx(CUP_PipeBomb_M,50);
                mag_xx(APERSTripMine_Wire_Mag,50);
                mag_xx(APERSMine_Range_Mag,50);
                mag_xx(DemoCharge_Remote_Mag,50);
                mag_xx(CUP_8Rnd_9x18_Makarov_M,50);
            };
            class TransportWeapons {
            };
            class TransportItems {
            };
        };
        class O_SOVARMY_DES_WeaponsBox : Box_East_Wps_F {
            author = ALiVE ORBAT CREATOR;
            displayName = Soviet Armed Forces (Arid/Desert) Weapons Box;
            class TransportMagazines {
                mag_xx(CUP_30Rnd_545x39_AK_M,50);
                mag_xx(CUP_1Rnd_HE_GP25_M,50);
                mag_xx(CUP_45Rnd_TE4_LRT4_Green_Tracer_545x39_RPK_M,50);
                mag_xx(CUP_100Rnd_TE4_LRT4_762x54_PK_Tracer_Green_M,50);
                mag_xx(CUP_10Rnd_762x54_SVD_M,50);
                mag_xx(CUP_30Rnd_545x39_AK74_plum_M,50);
                mag_xx(CUP_8Rnd_9x18_Makarov_M,50);
            };
            class TransportWeapons {
                weap_xx(CUP_arifle_AK74_Early,10);
                weap_xx(CUP_arifle_AK74_GL_Early,10);
                weap_xx(CUP_arifle_RPK74_45,10);
                weap_xx(CUP_lmg_PKM,10);
                weap_xx(CUP_srifle_SVD,10);
                weap_xx(CUP_arifle_AKS74U,10);
                weap_xx(CUP_hgun_Makarov,10);
            };
            class TransportItems {
                item_xx(CUP_optic_PSO_1_1_open,10);
            };
        };
        class O_SOVARMY_DES_LaunchersBox : Box_East_WpsLaunch_F {
            author = ALiVE ORBAT CREATOR;
            displayName = Soviet Armed Forces (Arid/Desert) Launchers Box;
            class TransportMagazines {
                mag_xx(CUP_PG7V_M,5);
                mag_xx(CUP_RPG18_M,5);
            };
            class TransportWeapons {
                weap_xx(CUP_launch_RPG7V,5);
                weap_xx(CUP_launch_RPG18,5);
            };
            class TransportItems {
            };
        };
        class O_SOVARMY_DES_UniformBox : Box_East_Uniforms_F {
            author = ALiVE ORBAT CREATOR;
            displayName = Soviet Armed Forces (Arid/Desert) Uniform Box;
            class TransportWeapons {
            };
            class TransportMagazines {
            };
            class TransportItems {
                item_xx(CUP_U_O_RUS_M88_MSV,15);
            };
        };
        class O_SOVARMY_DES_SupportBox : Box_East_Support_F {
            author = ALiVE ORBAT CREATOR;
            displayName = Soviet Armed Forces (Arid/Desert) Support Box;
            class TransportWeapons {
            };
            class TransportMagazines {
            };
            class TransportItems {
                item_xx(CFP_AK_VEST,10);
                item_xx(SP_SSh68Helmet_Green1,10);
                item_xx(ItemMap,10);
                item_xx(ItemCompass,10);
                item_xx(ItemWatch,10);
                item_xx(ItemRadio,10);
                item_xx(CUP_G_Squares,10);
                item_xx(CUP_B_RPGPack_Khaki,10);
                item_xx(SP_PatrolCap_Tan,10);
                item_xx(CUP_G_Bandanna_aviator,10);
                item_xx(CUP_B_AlicePack_Khaki,10);
                item_xx(SP_BoonieHat_Tan,10);
                item_xx(CUP_G_Shades_Blue,10);
                item_xx(CFP_AK_VEST_Tan,10);
                item_xx(CUP_G_Bandanna_oli,10);
                item_xx(CUP_G_Bandanna_khk,10);
                item_xx(CUP_G_Bandanna_blk,10);
                item_xx(Binocular,10);
                item_xx(SP_SSh68Helmet_Green2,10);
                item_xx(SP_Beret2_Red,10);
                item_xx(CUP_H_C_Ushanka_01,10);
                item_xx(SP_SPH4Helmet_Green,10);
                item_xx(CUP_B_Podnos_Bipod_Bag,10);
                item_xx(CUP_B_Podnos_Gun_Bag,10);
                item_xx(CUP_B_DShkM_TripodLow_Bag,10);
                item_xx(CUP_B_DShkM_TripodHigh_Bag,10);
                item_xx(CUP_B_DShkM_Gun_Bag,10);
                item_xx(CUP_B_SPG9_Tripod_Bag,10);
                item_xx(CUP_B_SPG9_Gun_Bag,10);
            };
        };
        class O_SOVARMY_DES_SupplyBox : O_SupplyCrate_F {
            author = ALiVE ORBAT CREATOR;
            displayName = Soviet Armed Forces (Arid/Desert) Supply Box;
            class TransportMagazines {
                mag_xx(CUP_HandGrenade_RGD5,50);
                mag_xx(CUP_30Rnd_545x39_AK_M,50);
                mag_xx(SmokeShell,50);
                mag_xx(CUP_PG7V_M,50);
                mag_xx(CUP_1Rnd_HE_GP25_M,50);
                mag_xx(CUP_1Rnd_SMOKE_GP25_M,50);
                mag_xx(CUP_45Rnd_TE4_LRT4_Green_Tracer_545x39_RPK_M,50);
                mag_xx(CUP_100Rnd_TE4_LRT4_762x54_PK_Tracer_Red_M,50);
                mag_xx(CUP_RPG18_M,50);
                mag_xx(CUP_10Rnd_762x54_SVD_M,50);
                mag_xx(CUP_30Rnd_545x39_AK74_plum_M,50);
                mag_xx(CUP_PipeBomb_M,50);
                mag_xx(APERSTripMine_Wire_Mag,50);
                mag_xx(APERSMine_Range_Mag,50);
                mag_xx(DemoCharge_Remote_Mag,50);
                mag_xx(CUP_8Rnd_9x18_Makarov_M,50);
            };
            class TransportWeapons {
                weap_xx(CUP_arifle_AK74_Early,10);
                weap_xx(CUP_arifle_AK74_GL_Early,10);
                weap_xx(CUP_arifle_RPK74_45,10);
                weap_xx(CUP_lmg_PKM,10);
                weap_xx(CUP_srifle_SVD,10);
                weap_xx(CUP_arifle_AKS74U,10);
                weap_xx(CUP_hgun_Makarov,10);
                weap_xx(CUP_launch_RPG7V,10);
                weap_xx(CUP_launch_RPG18,10);
            };
            class TransportItems {
                item_xx(CUP_optic_PSO_1_1_open,10);
                item_xx(CFP_AK_VEST,10);
                item_xx(SP_SSh68Helmet_Green1,10);
                item_xx(ItemMap,10);
                item_xx(ItemCompass,10);
                item_xx(ItemWatch,10);
                item_xx(ItemRadio,10);
                item_xx(CUP_G_Squares,10);
                item_xx(CUP_B_RPGPack_Khaki,10);
                item_xx(SP_PatrolCap_Tan,10);
                item_xx(CUP_G_Bandanna_aviator,10);
                item_xx(CUP_B_AlicePack_Khaki,10);
                item_xx(SP_BoonieHat_Tan,10);
                item_xx(CUP_G_Shades_Blue,10);
                item_xx(CFP_AK_VEST_Tan,10);
                item_xx(CUP_G_Bandanna_oli,10);
                item_xx(CUP_G_Bandanna_khk,10);
                item_xx(CUP_G_Bandanna_blk,10);
                item_xx(Binocular,10);
                item_xx(SP_SSh68Helmet_Green2,10);
                item_xx(SP_Beret2_Red,10);
                item_xx(CUP_H_C_Ushanka_01,10);
                item_xx(SP_SPH4Helmet_Green,10);
                item_xx(CUP_B_Podnos_Bipod_Bag,10);
                item_xx(CUP_B_Podnos_Gun_Bag,10);
                item_xx(CUP_B_DShkM_TripodLow_Bag,10);
                item_xx(CUP_B_DShkM_TripodHigh_Bag,10);
                item_xx(CUP_B_DShkM_Gun_Bag,10);
                item_xx(CUP_B_SPG9_Tripod_Bag,10);
                item_xx(CUP_B_SPG9_Gun_Bag,10);
                item_xx(CUP_U_O_RUS_M88_MSV,10);
            };
        };

    Has anyone encountered a similar error before? And if so, is there a possible work around or fix?
    Many thanks.

  3. 5 years ago
    Sat Dec 22 20:04:01 2018
    G Guitar18 started the conversation Alive spawning issues after CUP update.

    After making a mission on Takistan with the new CUP update, I’ve discovered that civs do not spawn, even when filtering to Extreme.

    I’ve yet to test out other CUP maps for this issue, but objectives are still being identified by the placement modules.

  4. Wed Dec 5 22:42:59 2018
    G Guitar18 posted in IED Woes.

    @AUTigerGrad however I will say that probably 90% of the suicide bombers (when synced to the Assymetric module) DO NOT detonate themselves. That's not the case when unsynced.

    I do believe that suicide bombers will only detonate if the civ is hostile. A lot of suicide bombers I came across who didn’t detonate did not have high hostility.

  5. Mon Dec 3 15:03:36 2018
    G Guitar18 posted in IED Woes.

    I can confirm that insurgents do place IED’s when synced to the commander module. Although I did put initial hostility high and noticed that they would put down a VBIED and like BvB mentioned once I actually went to the village where the VBIED was there were about half a dozen IED’s scattered around the village.

    Although I do sometimes run into a glitch where civilians will point out IED’s but upon approaching the marker, no IED is to be found.

  6. Fri Nov 2 13:39:36 2018

    After experimenting, I managed to find a fix. The corrected script:

    if (!isServer) exitWith {};
     
    waitUntil {!isNil "ALiVE_STATIC_DATA_LOADED"};
     
    ALIVE_factionDefaultTransport = [] call ALIVE_fnc_hashCreate;
    [ALIVE_factionDefaultTransport, "CF_O_Russia_Forest", ["CF_O_Russia_Ural_4320_Forest_01","CF_O_Russia_KamAZ_5350_Forest_01","CF_O_Russia_KamAZ_5350_Open_Flatbed_Forest_01"]] call ALIVE_fnc_hashSet;
    
    ALIVE_factionDefaultAirTransport = [] call ALIVE_fnc_hashCreate;
    [ALIVE_factionDefaultAirTransport, "CF_O_Russia_Forest", ["CF_O_Russia_Mi_8MT_Forest_01"]] call ALIVE_fnc_hashSet;
  7. Sat Oct 27 16:06:20 2018

    Just tried it, still doesn't work unfortunately :(

  8. Fri Oct 26 21:17:16 2018
    G Guitar18 started the conversation [SOLVED] Can't change logistics vehicles.

    So I've made a custom faction with ORBAT and I'm trying to change the transport vehicles to appropriate ones, instead of CSAT vehicles. I've followed the steps on the wiki, but I'm still getting CSAT vehicles no matter what.

    This is what's in my Init.sqf

    call compile preprocessFile "staticData.sqf";

    And here's what's in my staticData.sqf

    if (!isServer) exitWith {};
     
    waitUntil {!isNil "ALiVE_STATIC_DATA_LOADED"};
     
    /*
     * Mil logistics convoy transport vehicles per faction
     */
     
    [ALIVE_factionDefaultTransport, "CF_O_Russia_Forest", ["CF_O_Russia_Ural_4320_Forest_01","CF_O_Russia_KamAZ_5350_Forest_01","CF_O_Russia_KamAZ_5350_Open_Flatbed_Forest_01"]] call ALIVE_fnc_hashSet;
    
    /*
     * Mil logistics air transport vehicles per faction
     */
     
    [ALIVE_factionDefaultAirTransport, "CF_O_Russia_Forest", ["CF_O_Russia_Mi_8MT_Forest_01"]] call ALIVE_fnc_hashSet;

    Is there anything I've done wrong or is missing? Despite what's in the sqf files, I just keep getting CSAT vehicles.

  9. Sun Oct 21 17:41:44 2018

    What about max simulataneous attacks? What would you recommend for an occupation commander which only owns mil objectives at the beginning?

  10. Sun Oct 21 16:00:27 2018

    Started with 5 max simultaneous, which I bumped up to 10. About 120-140 objectives and around the same amount in profiles.

View more