Member
Last active 5 years ago
@Guitar18 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)
Exact same issue here too, crashes when supposedly done right and doesn't work when done with the defines in the .hpp.
Part of the config below. What's causing it to give errors is beyond me.
class Box_NATO_Ammo_F; class Box_NATO_Wps_F; class Box_NATO_WpsLaunch_F; class Box_NATO_Uniforms_F; class Box_NATO_Support_F; class B_SupplyCrate_F; class I_CX_AmmoBox : Box_NATO_Ammo_F { author = ALiVE ORBAT CREATOR; displayName = Group Ammo Box; class TransportMagazines { mag_xx(hlc_24Rnd_75x55_B_stgw,50); mag_xx(hlc_13Rnd_9x19_B_P228,50); mag_xx(rhs_mag_m67,50); mag_xx(UK3CB_BAF_SmokeShell,50); mag_xx(UK3CB_BAF_SmokeShellRed,50); mag_xx(hlc_24Rnd_75x55_T_stgw,50); mag_xx(rhs_mag_an_m8hc,50); mag_xx(Chemlight_blue,50); mag_xx(hlc_30Rnd_556x45_EPR_sg550,50); mag_xx(1Rnd_HE_Grenade_shell,50); mag_xx(1Rnd_Smoke_Grenade_shell,50); mag_xx(UGL_FlareRed_F,50); mag_xx(BWA3_Fliegerfaust_Mag,50); mag_xx(hlc_15Rnd_9x19_B_P226,50); mag_xx(APERSTripMine_Wire_Mag,50); mag_xx(ClaymoreDirectionalMine_Remote_Mag,50); mag_xx(APERSMine_Range_Mag,50); mag_xx(KA_G11_45rnd_Caseless_mag,50); mag_xx(hlc_200rnd_556x45_M_SAW,50); mag_xx(BWA3_CarlGustav_HEAT,50); mag_xx(BWA3_CarlGustav_HE,50); mag_xx(DemoCharge_Remote_Mag,50); mag_xx(SatchelCharge_Remote_Mag,50); mag_xx(hlc_10Rnd_357SIG_B_P229,50); mag_xx(hlc_12Rnd_357SIG_B_P226,50); mag_xx(Chemlight_yellow,50); mag_xx(UK3CB_BAF_SmokeShellYellow,50); mag_xx(KKiv_Mag_HEDP,50); mag_xx(KKiv_Mag_APFSDS,50); }; class TransportWeapons { }; class TransportItems { }; };