看到好多人问物品代码,所以分享一下,这个也是加进AmmoBox的格式
////Weapons
//NATO Weapons
this addWeaponCargo ["arifle_MX_F", _numWeapon];
this addWeaponCargo ["arifle_MX_GL_F", _numWeapon];
this addWeaponCargo ["arifle_MX_SW_F", _numWeapon];
this addWeaponCargo ["arifle_MXC_F", _numWeapon];
this addWeaponCargo ["arifle_MXM_F", _numWeapon];
this addWeaponCargo ["arifle_SDAR_F", _numWeapon];
this addWeaponCargo ["arifle_TRG20_F", _numWeapon];
this addWeaponCargo ["arifle_TRG21_F", _numWeapon];
this addWeaponCargo ["arifle_TRG21_GL_F", _numWeapon];
this addWeaponCargo ["hgun_P07_F", _numWeapon];
this addWeaponCargo ["LMG_Mk200_F", _numWeapon];
this addWeaponCargo ["srifle_EBR_F", _numWeapon];
//OpFor Weapons
this addWeaponCargo ["arifle_Khaybar_C_F", _numWeapon];
this addWeaponCargo ["arifle_Khaybar_F", _numWeapon];
this addWeaponCargo ["arifle_Khaybar_GL_F", _numWeapon];
this addWeaponCargo ["hgun_Rook40_F", _numWeapon];
////Magazines
this addMagazineCargo ["30Rnd_65x39_caseless_green", _numAmmo];
this addMagazineCargo ["30Rnd_65x39_caseless_green_mag_Tracer", _numAmmo];
this addMagazineCargo ["30Rnd_65x39_caseless_mag", _numAmmo];
this addMagazineCargo ["30Rnd_65x39_caseless_mag_Tracer", _numAmmo];
this addMagazineCargo ["100Rnd_65x39_caseless_mag", _numAmmo];
this addMagazineCargo ["100Rnd_65x39_caseless_mag_Tracer", _numAmmo];
this addMagazineCargo ["20Rnd_762x45_mag", _numAmmo];
this addMagazineCargo ["20Rnd_556x45_UW_mag", _numAmmo];
this addMagazineCargo ["30Rnd_556x45_Stanag", _numAmmo];
this addMagazineCargo ["30Rnd_65x39_case_mag", _numAmmo];
this addMagazineCargo ["30Rnd_65x39_case_mag_Tracer", _numAmmo];
this addMagazineCargo ["16Rnd_9x21_Mag", _numAmmo];
this addMagazineCargo ["30Rnd_9x21_Mag", _numAmmo];
this addMagazineCargo ["200Rnd_65x39_cased_Box", _numAmmo];
this addMagazineCargo ["200Rnd_65x39_cased_Box_Tracer", _numAmmo];
////Launchers
this addWeaponCargo ["launch_NLAW_F", _numWeapon];
this addWeaponCargo ["launch_RPG32_F", _numWeapon];
////Launcher Ammo
this addMagazineCargo ["NLAW_F", _numAmmo];
this addMagazineCargo ["RPG32_F", _numAmmo];
this addMagazineCargo ["RPG32_AA_F", _numAmmo];
////Grenade Launcher Ammo
this addMagazineCargo ["1Rnd_HE_Grenade_shell", _numAmmo];
this addMagazineCargo ["UGL_FlareWhite_F", _numAmmo];
this addMagazineCargo ["UGL_FlareGreen_F", _numAmmo];
this addMagazineCargo ["UGL_FlareRed_F", _numAmmo];
this addMagazineCargo ["UGL_FlareYellow_F", _numAmmo];
this addMagazineCargo ["UGL_FlareCIR_F", _numAmmo];
this addMagazineCargo ["1Rnd_Smoke_Grenade_shell", _numAmmo];
this addMagazineCargo ["1Rnd_SmokeRed_Grenade_shell", _numAmmo];
this addMagazineCargo ["1Rnd_SmokeGreen_Grenade_shell", _numAmmo];
this addMagazineCargo ["1Rnd_SmokeYellow_Grenade_shell", _numAmmo];
this addMagazineCargo ["1Rnd_SmokePurple_Grenade_shell", _numAmmo];
this addMagazineCargo ["1Rnd_SmokeBlue_Grenade_shell", _numAmmo];
this addMagazineCargo ["1Rnd_SmokeOrange_Grenade_shell", _numAmmo];
this addMagazineCargo ["3Rnd_HE_Grenade_shell", _numAmmo];
this addMagazineCargo ["3Rnd_UGL_FlareWhite_F", _numAmmo];
this addMagazineCargo ["3Rnd_UGL_FlareGreen_F", _numAmmo];
this addMagazineCargo ["3Rnd_UGL_FlareRed_F", _numAmmo];
this addMagazineCargo ["3Rnd_UGL_FlareYellow_F", _numAmmo];
this addMagazineCargo ["3Rnd_UGL_FlareCIR_F", _numAmmo];
this addMagazineCargo ["3Rnd_Smoke_Grenade_shell", _numAmmo];
this addMagazineCargo ["3Rnd_SmokeRed_Grenade_shell", _numAmmo];
this addMagazineCargo ["3Rnd_SmokeGreen_Grenade_shell", _numAmmo];
this addMagazineCargo ["3Rnd_SmokeYellow_Grenade_shell", _numAmmo];
this addMagazineCargo ["3Rnd_SmokePurple_Grenade_shell", _numAmmo];
this addMagazineCargo ["3Rnd_SmokeBlue_Grenade_shell", _numAmmo];
this addMagazineCargo ["3Rnd_SmokeOrange_Grenade_shell", _numAmmo];
////Explosives
this addMagazineCargo ["APERSBoundingMine_Range_Mag", _numAmmo];
this addMagazineCargo ["APERSMine_Range_Mag", _numAmmo];
this addMagazineCargo ["ATMine_Range_Mag", _numAmmo];
this addMagazineCargo ["Chemlight_blue", _numAmmo];
this addMagazineCargo ["Chemlight_green", _numAmmo];
this addMagazineCargo ["Chemlight_red", _numAmmo];
this addMagazineCargo ["Chemlight_yellow", _numAmmo];
this addMagazineCargo ["ClaymoreDirectionalMine_Remote_Mag", _numAmmo];
this addMagazineCargo ["DemoCharge_Remote_Mag", _numAmmo];
this addMagazineCargo ["HandGrenade", _numAmmo];
this addMagazineCargo ["HandGrenade_Stone", _numAmmo];
this addMagazineCargo ["MiniGrenade", _numAmmo];
this addMagazineCargo ["SatchelCharge_Remote_Mag", _numAmmo];
this addMagazineCargo ["SLAMDirectionalMine_Wire_Mag", _numAmmo];
this addMagazineCargo ["SmokeShell", _numAmmo];
this addMagazineCargo ["SmokeShellBlue", _numAmmo];
this addMagazineCargo ["SmokeShellGreen", _numAmmo];
this addMagazineCargo ["SmokeShellOrange", _numAmmo];
////Support Items
this addWeaponCargo ["Binocular", _numItem];
this addItemCargo ["FirstAidKit", _numItem];
this addItemCargo ["ItemCompass", _numItem];
this addItemCargo ["ItemGPS", _numItem];
this addItemCargo ["ItemMap", _numItem];
this addItemCargo ["ItemRadio", _numItem];
this addItemCargo ["ItemWatch", _numItem];
this addItemCargo ["Medikit", _numItem];
this addItemCargo ["MineDetector", _numItem];
this addItemCargo ["NVGoggles", _numItem];
this addItemCargo ["ToolKit", _numItem];
////Attachments
this addItemCargo ["acc_flashlight", _numMod];
this addItemCargo ["acc_pointer_IR", _numMod];
this addItemCargo ["muzzle_snds_B", _numMod];
this addItemCargo ["muzzle_snds_H", _numMod];
this addItemCargo ["muzzle_snds_H_MG", _numMod];
this addItemCargo ["muzzle_snds_L", _numMod];
this addItemCargo ["optic_Aco", _numMod];
this addItemCargo ["optic_ACO_grn", _numMod];
this addItemCargo ["optic_Arco", _numMod];
this addItemCargo ["optic_Hamr", _numMod];
this addItemCargo ["optic_Holosight", _numMod];
////Helmets
this addItemCargo ["H_Cap_blu", _numItem];
this addItemCargo ["H_Cap_brn_SERO", _numItem];
this addItemCargo ["H_Cap_headphones", _numItem];
this addItemCargo ["H_Cap_red", _numItem];
this addItemCargo ["H_HelmetB", _numItem];
this addItemCargo ["H_HelmetB_light", _numItem];
this addItemCargo ["H_HelmetB_paint", _numItem];
this addItemCargo ["H_HelmetO_ocamo", _numItem];
this addItemCargo ["H_MilCap_mcamo", _numItem];
this addItemCargo ["H_MilCap_ocamo", _numItem];
this addItemCargo ["H_PilotHelmetHeli_B", _numItem];
this addItemCargo ["H_PilotHelmetHeli_O", _numItem];
////Face -- Must be placed on unit, not in box
this addGoggles "G_Diving";
this addGoggles "G_Shades_Black";
this addGoggles "G_Shades_Blue";
this addGoggles "G_Sport_Blackred";
this addGoggles "G_Tatical_Clear";
this addGoggles "None";
////Clothing
this addItemCargo ["U_B_CombatUniform_mcam", _numItem];
this addItemCargo ["U_B_CombatUniform_mcam_tshirt", _numItem];
this addItemCargo ["U_B_CombatUniform_mcam_vest", _numItem];
this addItemCargo ["U_B_HeliPilotCoveralls", _numItem];
this addItemCargo ["U_B_Wetsuit", _numItem];
this addItemCargo ["U_BasicBody", _numItem];
this addItemCargo ["U_C_Commoner1_1", _numItem];
this addItemCargo ["U_C_Commoner1_2", _numItem];
this addItemCargo ["U_C_Commoner1_3", _numItem];
this addItemCargo ["U_C_Poloshirt_blue", _numItem];
this addItemCargo ["U_C_Poloshirt_burgundy", _numItem];
this addItemCargo ["U_C_Poloshirt_redwhite", _numItem];
this addItemCargo ["U_C_Poloshirt_salmon", _numItem];
this addItemCargo ["U_C_Poloshirt_stripped", _numItem];
this addItemCargo ["U_C_Poloshirt_tricolour", _numItem];
this addItemCargo ["U_OI_CombatUniform_ocamo", _numItem];
this addItemCargo ["U_OI_PilotCoveralls", _numItem];
this addItemCargo ["U_OI_Wetsuit", _numItem];
this addItemCargo ["U_Rangemaster", _numItem];
////Vests
this addItemCargo ["V_BandollierB_cbr", _numItem];
this addItemCargo ["V_BandollierB_khk", _numItem];
this addItemCargo ["V_BandollierB_rgr", _numItem];
this addItemCargo ["V_Chestrig_khk", _numItem];
this addItemCargo ["V_ChestrigB_rgr", _numItem];
this addItemCargo ["V_HarnessO_brn", _numItem];
this addItemCargo ["V_HarnessOGL_brn", _numItem];
this addItemCargo ["V_PlateCarrier1_cbr", _numItem];
this addItemCargo ["V_PlateCarrier1_rgr", _numItem];
this addItemCargo ["V_PlateCarrier2_rgr", _numItem];
this addItemCargo ["V_PlateCarrierGL_rgr", _numItem];
this addItemCargo ["V_Rangemaster_belt", _numItem];
this addItemCargo ["V_RebreatherB", _numItem];
this addItemCargo ["V_RebreatherIR", _numItem];
this addItemCargo ["V_TacVest_brn", _numItem];
this addItemCargo ["V_TacVest_khk", _numItem];
this addItemCargo ["V_TacVest_oli", _numItem];
////Backpacks
this addBackpackCargo ["B_AssaultPack_Base", _numBag];
this addBackpackCargo ["B_AssaultPack_blk", _numBag];
this addBackpackCargo ["B_AssaultPack_blk_DiverExp", _numBag];
this addBackpackCargo ["B_AssaultPack_blk_DiverTL", _numBag];
this addBackpackCargo ["B_AssaultPack_cbr", _numBag];
this addBackpackCargo ["B_AssaultPack_dgtl", _numBag];
this addBackpackCargo ["B_AssaultPack_khk", _numBag];
this addBackpackCargo ["B_AssaultPack_khk_holder", _numBag];
this addBackpackCargo ["B_AssaultPack_mcamo", _numBag];
this addBackpackCargo ["B_AssaultPack_ocamo", _numBag];
this addBackpackCargo ["B_AssaultPack_rgr", _numBag];
this addBackpackCargo ["B_AssaultPack_rgr_Medic", _numBag];
this addBackpackCargo ["B_AssaultPack_rgr_Repair", _numBag];
this addBackpackCargo ["B_AssaultPack_sgg", _numBag];
this addBackpackCargo ["B_Bergen_Base", _numBag];
this addBackpackCargo ["B_Bergen_sgg", _numBag];
this addBackpackCargo ["B_Bergen_sgg_Exp", _numBag];
this addBackpackCargo ["B_Carryall_Base", _numBag];
this addBackpackCargo ["B_Carryall_ocamo", _numBag];
this addBackpackCargo ["B_Carryall_oucamo", _numBag];
this addBackpackCargo ["B_Carryall_oucamo_Exp", _numBag];
this addBackpackCargo ["B_FieldPack_Base", _numBag];
this addBackpackCargo ["B_FieldPack_blk", _numBag];
this addBackpackCargo ["B_FieldPack_blk_DiverExp", _numBag];
this addBackpackCargo ["B_FieldPack_blk_DiverTL", _numBag];
this addBackpackCargo ["B_FieldPack_cbr", _numBag];
this addBackpackCargo ["B_FieldPack_cbr_AT", _numBag];
this addBackpackCargo ["B_FieldPack_cbr_Repair", _numBag];
this addBackpackCargo ["B_FieldPack_ocamo", _numBag];
this addBackpackCargo ["B_FieldPack_ocamo_Medic", _numBag];
this addBackpackCargo ["B_FieldPack_oucamo", _numBag];
this addBackpackCargo ["B_Kitbag_Base", _numBag];
this addBackpackCargo ["B_Kitbag_cbr", _numBag];
this addBackpackCargo ["B_Kitbag_mcamo", _numBag];
this addBackpackCargo ["B_Kitbag_sgg", _numBag];
this addBackpackCargo ["Bag_Base", _numBag];
|