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.