Skip to content

Instantly share code, notes, and snippets.

@Blutze
Created October 1, 2018 15:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Blutze/a9c6bad7c9fad58a3df23dd489fde652 to your computer and use it in GitHub Desktop.
Save Blutze/a9c6bad7c9fad58a3df23dd489fde652 to your computer and use it in GitHub Desktop.
/*
ADDITIONAL SPAWNS
Appears wherever the Execute Code Module was placed
Stay on clear surfaces
Only one box per use
Automatically adding to all zeuses only works as admin
*/
// FIRETEAM
_newBox = createVehicle ["Box_NATO_Ammo_F",_this select 0,[],0,"CAN_COLLIDE"];
[_newBox,"[[[[""rhs_weap_m72a7""],[1]],[[""rhsusf_200rnd_556x45_mixed_box"",""rhsusf_20Rnd_762x51_SR25_m993_Mag"",""rhssaf_30rnd_556x45_SPR_G36"",""rhs_mag_30Rnd_556x45_Mk262_Stanag"",""hlc_20Rnd_762x51_mk316_M14"",""rhssaf_mag_br_m75"",""UK3CB_BAF_SmokeShellPurple"",""UK3CB_BAF_SmokeShellBlue"",""1Rnd_HE_Grenade_shell"",""rhs_mag_M433_HEDP"",""SmokeShell"",""1Rnd_Smoke_Grenade_shell"",""1Rnd_SmokeRed_Grenade_shell"",""1Rnd_SmokeYellow_Grenade_shell""],[3,5,20,20,5,8,2,3,9,3,8,8,2,2]],[[""ACE_epinephrine"",""ACE_morphine"",""ACE_packingBandage"",""ACE_tourniquet""],[4,4,16,4]],[[],[]]],false]"] call bis_fnc_initAmmoBox;;
[_newBox,2] call ace_cargo_fnc_setSize;
{
_x addCuratorEditableObjects [[_newBox],false ];
} foreach allCurators;
// LAT
_newBox = createVehicle ["Box_NATO_WpsLaunch_F",_this select 0,[],0,"CAN_COLLIDE"];
[_newBox,"[[[[""rhs_weap_M136_hp"",""rhs_weap_m72a7""],[1,1]],[[],[]],[[],[]],[[],[]]],false]"] call bis_fnc_initAmmoBox;
[_newBox,2] call ace_cargo_fnc_setSize;
{
_x addCuratorEditableObjects [[_newBox],false ];
} foreach allCurators;
// MEDICAL
_newBox = createVehicle ["ACE_medicalSupplyCrate_advanced",_this select 0,[],0,"CAN_COLLIDE"];
[_newBox,"[[[[],[]],[[],[]],[[""ACE_packingBandage"",""ACE_elasticBandage"",""ACE_tourniquet"",""ACE_morphine"",""ACE_epinephrine"",""ACE_salineIV"",""ACE_salineIV_500"",""ACE_salineIV_250"",""ACE_quikclot""],[40,35,12,10,8,1,4,4,15]],[[],[]]],false]"] call bis_fnc_initAmmoBox;;
[_newBox,2] call ace_cargo_fnc_setSize;
{
_x addCuratorEditableObjects [[_newBox],false ];
} foreach allCurators;
// SPECIAL
_newBox = createVehicle ["Box_NATO_Support_F",_this select 0,[],0,"CAN_COLLIDE"];
[_newBox,"[[[[],[]],[[],[]],[[""ACE_MX2A"",""ACE_Vector"",""TFAR_anprc152"",""ACE_DefusalKit"",""ACE_EntrenchingTool"",""ItemGPS"",""rhsgref_K98k_acc_sighthood_add"",""RKSL_optic_LDS"",""ACE_M26_Clacker"",""ItemMap"",""ACE_MapTools"",""ACE_microDAGR"",""MineDetector"",""rhsusf_acc_mrds"",""ACE_personalAidKit"",""ACE_RangeCard"",""ACE_surgicalKit"",""ToolKit"",""ACE_wirecutter"",""rhsgref_acc_zendl"",""bipod_01_F_blk""],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[[""B_AssaultPack_rgr"",""TFAR_rt1523g_bwmod""],[1,1]]],false]"] call bis_fnc_initAmmoBox;;
[_newBox,2] call ace_cargo_fnc_setSize;
{
_x addCuratorEditableObjects [[_newBox],false ];
} foreach allCurators;
// MANPADS
_newBox = createVehicle ["Box_NATO_WpsSpecial_F",_this select 0,[],0,"CAN_COLLIDE"];
[_newBox,"[[[[],[]],[[""rhs_fim92_mag""],[3]],[[],[]],[[],[]]],false]"] call bis_fnc_initAmmoBox;
[_newBox,2] call ace_cargo_fnc_setSize;
{
_x addCuratorEditableObjects [[_newBox],false ];
} foreach allCurators;
// JAVELIN
_newBox = createVehicle ["UK3CB_BAF_Box_WpsLaunch_Javelin",_this select 0,[],0,"CAN_COLLIDE"];
[_newBox,"[[[[""UK3CB_BAF_Javelin_Slung_Tube""],[4]],[[],[]],[[],[]],[[],[]]],false]"] call bis_fnc_initAmmoBox;
[_newBox,2] call ace_cargo_fnc_setSize;
{
_x addCuratorEditableObjects [[_newBox],false ];
} foreach allCurators;
// MORTAR HE 3CB
_newBox = createVehicle ["UK3CB_BAF_Box_L16_Ammo_HE",_this select 0,[],0,"CAN_COLLIDE"];
[_newBox,"[[[[],[]],[[""UK3CB_BAF_1Rnd_81mm_Mo_Shells"",""UK3CB_BAF_1Rnd_81mm_Mo_AB_Shells""],[9,3]],[[],[]],[[],[]]],false]"] call bis_fnc_initAmmoBox;
[_newBox,2] call ace_cargo_fnc_setSize;
{
_x addCuratorEditableObjects [[_newBox],false ];
} foreach allCurators;
// MORTAR SMOKE 3CB
_newBox = createVehicle ["UK3CB_BAF_Box_L16_Ammo_Smoke",_this select 0,[],0,"CAN_COLLIDE"];
[_newBox,"[[[[],[]],[[""UK3CB_BAF_1Rnd_81mm_Mo_Smoke_White""],[12]],[[],[]],[[],[]]],false]"] call bis_fnc_initAmmoBox;
[_this,2] call ace_cargo_fnc_setSize;
{
_x addCuratorEditableObjects [[_newBox],false ];
} foreach allCurators;
// MORTAR HE ACE
_newBox = createVehicle ["ACE_Box_82mm_Mo_Smoke",_this select 0,[],0,"CAN_COLLIDE"];
[_newBox,"[[[[],[]],[[""ACE_1Rnd_82mm_Mo_Smoke""],[12]],[[],[]],[[],[]]],false]"] call bis_fnc_initAmmoBox;
[_newBox,2] call ace_cargo_fnc_setSize;
{
_x addCuratorEditableObjects [[_newBox],false ];
} foreach allCurators;
// MORTAR SMOKE ACE
_newBox = createVehicle ["ACE_Box_82mm_Mo_HE",_this select 0,[],0,"CAN_COLLIDE"];
[_newBox,"[[[[],[]],[[""ACE_1Rnd_82mm_Mo_HE""],[12]],[[],[]],[[],[]]],false]"] call bis_fnc_initAmmoBox;
[_newBox,2] call ace_cargo_fnc_setSize;
{
_x addCuratorEditableObjects [[_newBox],false ];
} foreach allCurators;
// SPARE WHEEL
_newObjects = createVehicle ["ACE_Wheel",_this select 0,[],0,"CAN_COLLIDE"];
_newObjects setVariable ['s',0, true];
[_newObjects,1] call ace_cargo_fnc_setSize;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment