Jump to content
Sign in to follow this  
Sakowski

Any tools to make ammobox?

Recommended Posts

So as the topic says I am not sure either if its a good place but yea, is there any tool to make a ammobox quickly? I know http://13th-vdv.co.uk/dowaf/weapon.php only as one but hell that takes ages...

I need one to make a refilling ammobox with all weapons and equipments :-|

Share this post


Link to post
Share on other sites

ArmA 2 East

/////////////////////////////////////////////////////
// Called from an ammocrate's init field via:
//   null = this execVM "ammo.sqf";
/////////////////////////////////////////////////////

while {alive _this} do
{

// Remove the stock items from the crate
clearMagazineCargo _this;
clearWeaponCargo _this;

/////////////////////////////////////////////////////
// WEAPONS
/////////////////////////////////////////////////////

// Main Battle Rifles (MBR)
_this addWeaponCargo ["Saiga12K", 100];
_this addWeaponCargo ["AK_107_Kobra", 100];
_this addWeaponCargo ["AK_107_GL_Kobra", 100];
_this addWeaponCargo ["AK_107_PSO", 100];
_this addWeaponCargo ["AK_107_GL_PSO", 100];
_this addWeaponCargo ["AKS_74_U", 100];

// Submachineguns (SMG)
_this addWeaponCargo ["bizon", 100];
_this addWeaponCargo ["Bizon_Silenced", 100];

// Light Machineguns (LMG);
_this addWeaponCargo ["RPK_74", 100];
_this addWeaponCargo ["PK", 100];
_this addWeaponCargo ["Pecheneg", 100];

// Sniper rifles
_this addWeaponCargo ["SVD", 100];
_this addWeaponCargo ["SVD_Camo", 100];
_this addWeaponCargo ["ksvk", 100];
_this addWeaponCargo ["VSS_Vintorez", 100];

// Pistols
_this addWeaponCargo ["Makarov", 100];
_this addWeaponCargo ["MakarovSD ", 100];

// AT & AA
_this addWeaponCargo ["RPG7V", 100];
_this addWeaponCargo ["RPG18", 100];
_this addWeaponCargo ["Javelin", 100];
_this addWeaponCargo ["SMAW", 100];
_this addWeaponCargo ["Igla", 100];
_this addWeaponCargo ["Stinger", 100];

/////////////////////////////////////////////////////
// AMMO
/////////////////////////////////////////////////////

// LMG ammo
_this addMagazineCargo ["100Rnd_762x54_PK", 100];
_this addMagazineCargo ["75Rnd_545x39_RPK", 100];

// Sniper Rifle ammo
_this addMagazineCargo ["10Rnd_762x54_SVD", 100];
_this addMagazineCargo ["5Rnd_127x108_KSVK", 100];
_this addMagazineCargo ["20Rnd_9x39_SP5_VSS", 100];

// MBR ammo
_this addMagazineCargo ["30Rnd_545x39_AK", 100];
_this addMagazineCargo ["30Rnd_545x39_AKSD", 100];
_this addMagazineCargo ["8Rnd_B_Saiga12_74Slug", 100];  // Combat shotgun

// SMG ammo
_this addMagazineCargo ["64Rnd_9x19_Bizon", 100];
_this addMagazineCargo ["64Rnd_9x19_SD_Bizon", 100];

// Pistol ammo
_this addMagazineCargo ["8Rnd_9x18_Makarov", 100];
_this addMagazineCargo ["8Rnd_9x18_MakarovSD", 100];

// GP-25 ammo
_this addMagazineCargo ["1Rnd_HE_GP25", 100];
_this addMagazineCargo ["1Rnd_Smoke_GP25", 100];
_this addMagazineCargo ["1Rnd_SmokeGreen_GP25", 100];
_this addMagazineCargo ["1Rnd_SmokeRed_GP25", 100];
_this addMagazineCargo ["FlareGreen_GP25", 100];
_this addMagazineCargo ["FlareRed_GP25", 100];
_this addMagazineCargo ["FlareWhite_GP25", 100];

// AT & AA ammo
_this addMagazineCargo ["Javelin", 100];
_this addMagazineCargo ["RPG18", 100];
_this addMagazineCargo ["PG7VL", 100];
_this addMagazineCargo ["Igla", 100];
_this addMagazineCargo ["SMAW_HEAA", 100];
_this addMagazineCargo ["SMAW_HEDP", 100];
_this addMagazineCargo ["Stinger", 100];

// Items
_this addWeaponCargo ["Binocular", 100];
_this addWeaponCargo ["NVGoggles", 100];
_this addWeaponCargo ["ItemGPS", 100];
_this addWeaponCargo ["LaserDesignator", 100];
_this addMagazineCargo ["LaserBatteries", 100];

// Grenades & Satchels
_this addMagazineCargo ["HandGrenade_East", 100];
_this addMagazineCargo ["SmokeShell", 100];
_this addMagazineCargo ["SmokeShellGreen", 100];
_this addMagazineCargo ["SmokeShellRed", 100];
_this addMagazineCargo ["PipeBomb", 100];
_this addMagazineCargo ["Mine", 100];

// Restock time.
sleep 1800;
};
[/spoiler]

ArmA 2 West

/////////////////////////////////////////////////////
// Called from an ammocrate's init field via:
//   null = this execVM "ammo.sqf";
/////////////////////////////////////////////////////

while {alive _this} do
{

// Remove the stock items from the crate
clearMagazineCargo _this;
clearWeaponCargo _this;

/////////////////////////////////////////////////////
// WEAPONS
/////////////////////////////////////////////////////

// Main Battle Rifles (MBR)
_this addWeaponCargo ["M1014", 100];
_this addWeaponCargo ["M16A2", 100];
_this addWeaponCargo ["M16A2GL", 100];
_this addWeaponCargo ["M16A4", 100];
_this addWeaponCargo ["M16A4_GL", 100];
_this addWeaponCargo ["M16A4_ACG_GL", 100];
_this addWeaponCargo ["M16A4_ACG", 100];
_this addWeaponCargo ["M4A1", 100];
_this addWeaponCargo ["M4A1_HWS_GL", 100];
_this addWeaponCargo ["M4A1_HWS_GL_camo", 100];
_this addWeaponCargo ["M4A1_HWS_GL_SD_Camo", 100];
_this addWeaponCargo ["M4A1_RCO_GL", 100];
_this addWeaponCargo ["M4A1_Aim", 100];
_this addWeaponCargo ["M4A1_Aim_camo", 100];
_this addWeaponCargo ["M4A1_AIM_SD_camo", 100];

// Submachineguns (SMG)
_this addWeaponCargo ["MP5A5", 100];
_this addWeaponCargo ["MP5SD", 100];

// Light Machineguns (LMG);
_this addWeaponCargo ["M240", 100];
_this addWeaponCargo ["M249", 100];

// Sniper rifles
_this addWeaponCargo ["DMR", 100];
_this addWeaponCargo ["M4SPR", 100];
_this addWeaponCargo ["M107", 100];
_this addWeaponCargo ["M24", 100];
_this addWeaponCargo ["M40A3", 100];

// Pistols
_this addWeaponCargo ["Colt1911", 100];
_this addWeaponCargo ["M9", 100];
_this addWeaponCargo ["M9SD", 100];

// AT & AA
_this addWeaponCargo ["Javelin", 100];
_this addWeaponCargo ["M136", 100];
_this addWeaponCargo ["SMAW", 100];
_this addWeaponCargo ["Stinger", 100];

/////////////////////////////////////////////////////
// AMMO
/////////////////////////////////////////////////////

// LMG ammo
_this addMagazineCargo ["100Rnd_762x51_M240", 100];
_this addMagazineCargo ["200Rnd_556x45_M249", 100];

// Sniper Rifle ammo
_this addMagazineCargo ["20Rnd_762x51_DMR", 100];
_this addMagazineCargo ["10Rnd_127x99_m107", 100];
_this addMagazineCargo ["5Rnd_762x51_M24", 100];

// MBR ammo
_this addMagazineCargo ["20Rnd_556x45_Stanag", 100];
_this addMagazineCargo ["30Rnd_556x45_G36", 100];
_this addMagazineCargo ["30Rnd_556x45_G36SD", 100];
_this addMagazineCargo ["30Rnd_556x45_Stanag", 100];
_this addMagazineCargo ["30Rnd_556x45_StanagSD", 100];
_this addMagazineCargo ["8Rnd_B_Beneli_74Slug", 100];  // Combat shotgun

// SMG ammo
_this addMagazineCargo ["30Rnd_9x19_MP5", 100];
_this addMagazineCargo ["30Rnd_9x19_MP5SD", 100];

// Pistol ammo
_this addMagazineCargo ["15Rnd_9x19_M9", 100];
_this addMagazineCargo ["15Rnd_9x19_M9SD", 100];
_this addMagazineCargo ["7Rnd_45ACP_1911", 100];

// M203 ammo
_this addMagazineCargo ["1Rnd_HE_M203", 100];
_this addMagazineCargo ["1Rnd_Smoke_M203", 100];
_this addMagazineCargo ["1Rnd_SmokeGreen_M203", 100];
_this addMagazineCargo ["1Rnd_SmokeRed_M203", 100];
_this addMagazineCargo ["FlareGreen_M203", 100];
_this addMagazineCargo ["FlareRed_M203", 100];
_this addMagazineCargo ["FlareWhite_M203", 100];

// AT & AA ammo
_this addMagazineCargo ["Javelin", 100];
_this addMagazineCargo ["M136", 100];
_this addMagazineCargo ["SMAW_HEAA", 100];
_this addMagazineCargo ["SMAW_HEDP", 100];
_this addMagazineCargo ["Stinger", 100];

// Items
_this addWeaponCargo ["Binocular", 100];
_this addWeaponCargo ["NVGoggles", 100];
_this addWeaponCargo ["ItemGPS", 100];
_this addWeaponCargo ["LaserDesignator", 100];
_this addMagazineCargo ["LaserBatteries", 100];

// Grenades & Satchels
_this addMagazineCargo ["HandGrenade_West", 100];
_this addMagazineCargo ["SmokeShell", 100];
_this addMagazineCargo ["SmokeShellGreen", 100];
_this addMagazineCargo ["SmokeShellRed", 100];
_this addMagazineCargo ["PipeBomb", 100];
_this addMagazineCargo ["Mine", 100];

// Restock time.
sleep 1800;
};
[/spoiler]

OA East

/////////////////////////////////////////////////////
// Called from an ammocrate's init field via:
//   null = this execVM "ammo-oae.sqf";
/////////////////////////////////////////////////////

while {alive _this} do
{

// Remove the stock items from the crate
clearMagazineCargo _this;
clearWeaponCargo _this;

/////////////////////////////////////////////////////
// WEAPONS
/////////////////////////////////////////////////////

// Rifles
_this addWeaponCargo ["AK_74", 100];
_this addWeaponCargo ["AK_74_GL", 100];
_this addWeaponCargo ["AK_74_GL_kobra", 100];
_this addWeaponCargo ["AK_47_M", 100];
_this addWeaponCargo ["AK_47_S", 100];
_this addWeaponCargo ["AKS_74", 100];
_this addWeaponCargo ["AKS_74_GOSHAWK", 100];
_this addWeaponCargo ["AKS_74_kobra", 100];
_this addWeaponCargo ["AKS_74_NSPU", 100];
_this addWeaponCargo ["AKS_74_pso", 100];
_this addWeaponCargo ["AKS_74_U", 100];
_this addWeaponCargo ["FN_FAL", 100];
_this addWeaponCargo ["FN_FAL_ANPVS4", 100];
_this addWeaponCargo ["G36A_camo", 100];
_this addWeaponCargo ["G36C_camo", 100];
_this addWeaponCargo ["G36_C_SD_camo", 100];
_this addWeaponCargo ["G36K_camo", 100];
_this addWeaponCargo ["LeeEnfield", 100];
_this addWeaponCargo ["Sa58P_EP1", 100];
_this addWeaponCargo ["Sa58V_EP1", 100];
_this addWeaponCargo ["Sa58V_RCO_EP1", 100];
_this addWeaponCargo ["Sa58V_CCO_EP1", 100];

// Light Machineguns (LMG);
_this addWeaponCargo ["PK", 100];
_this addWeaponCargo ["RPK_74", 100];

// Sniper rifles
_this addWeaponCargo ["KSVK", 100];
_this addWeaponCargo ["SVD_des_EP1", 100];
_this addWeaponCargo ["SVD", 100];
_this addWeaponCargo ["SVD_NSPU_EP1", 100];

// Sidearm
_this addWeaponCargo ["glock17_EP1", 100];
_this addWeaponCargo ["Makarov", 100];
_this addWeaponCargo ["MakarovSD", 100];
_this addWeaponCargo ["Colt1911", 100];
_this addWeaponCargo ["revolver_EP1", 100];
_this addWeaponCargo ["revolver_gold_EP1", 100];
_this addWeaponCargo ["Sa61_EP1", 100];
_this addWeaponCargo ["UZI_EP1", 100];
_this addWeaponCargo ["UZI_SD_EP1", 100];

// AT & AA
_this addWeaponCargo ["Igla", 100];
_this addWeaponCargo ["MetisLauncher", 100];
_this addWeaponCargo ["RPG7V", 100];
_this addWeaponCargo ["RPG18", 100];
_this addWeaponCargo ["Strela", 100];

/////////////////////////////////////////////////////
// AMMO
/////////////////////////////////////////////////////

// Rifle ammo
_this addMagazineCargo ["30Rnd_545x39_AK", 100];
_this addMagazineCargo ["30Rnd_762x39_AK47", 100];
_this addMagazineCargo ["30Rnd_762x39_SA58", 100];
_this addMagazineCargo ["20Rnd_762x51_FNFAL", 100];
_this addMagazineCargo ["100Rnd_556x45_BetaCMag", 100];
_this addMagazineCargo ["30Rnd_556x45_G36", 100];
_this addMagazineCargo ["30Rnd_556x45_G36SD", 100];
_this addMagazineCargo ["30Rnd_762x39_SA58", 100];

// LMG ammo
_this addMagazineCargo ["100Rnd_762x54_PK", 100];
_this addMagazineCargo ["75Rnd_545x39_RPK", 100];

// Sniper Rifle ammo
_this addMagazineCargo ["5Rnd_127x108_KSVK", 100];
_this addMagazineCargo ["10Rnd_762x54_SVD", 100];

// Sidearm ammo
_this addMagazineCargo ["8Rnd_9x18_Makarov", 100];
_this addMagazineCargo ["8Rnd_9x18_MakarovSD", 100];
_this addMagazineCargo ["7Rnd_45ACP_1911", 100];
_this addMagazineCargo ["17Rnd_9x19_glock17", 100];
_this addMagazineCargo ["6Rnd_45ACP", 100];
_this addMagazineCargo ["20Rnd_B_765x17_Ball", 100];
_this addMagazineCargo ["30Rnd_9x19_UZI", 100];
_this addMagazineCargo ["30Rnd_9x19_UZI_SD", 100];

// M203 ammo
_this addMagazineCargo ["1Rnd_HE_GP25", 100];
_this addMagazineCargo ["1Rnd_Smoke_GP25", 100];
_this addMagazineCargo ["1Rnd_SmokeGreen_GP25", 100];
_this addMagazineCargo ["1Rnd_SmokeRed_GP25", 100];
_this addMagazineCargo ["1Rnd_SmokeYellow_GP25", 100];
_this addMagazineCargo ["FlareGreen_GP25", 100];
_this addMagazineCargo ["FlareRed_GP25", 100];
_this addMagazineCargo ["FlareWhite_GP25", 100];
_this addMagazineCargo ["FlareYellow_GP25", 100];

// AT & AA ammo
_this addMagazineCargo ["Igla", 100];
_this addMagazineCargo ["AT13", 100];
_this addMagazineCargo ["RPG18", 100];
_this addMagazineCargo ["Strela", 100];
_this addMagazineCargo ["PG7V", 100];
_this addMagazineCargo ["PG7VL", 100];
_this addMagazineCargo ["PG7VR", 100];
_this addMagazineCargo ["OG7", 100];

// Items
_this addWeaponCargo ["Binocular", 100];
_this addWeaponCargo ["Binocular_Vector", 100];
_this addWeaponCargo ["NVGoggles", 100];
_this addWeaponCargo ["ItemGPS", 100];
_this addWeaponCargo ["LaserDesignator", 100];
_this addMagazineCargo ["LaserBatteries", 100];

// Grenades & Satchels
_this addMagazineCargo ["HandGrenade_East", 100];
_this addMagazineCargo ["SmokeShell", 100];
_this addMagazineCargo ["SmokeShellGreen", 100];
_this addMagazineCargo ["SmokeShellRed", 100];
_this addMagazineCargo ["SmokeShellYellow", 100];
_this addMagazineCargo ["SmokeShellBlue", 100];
_this addMagazineCargo ["SmokeShellPurple", 100];
_this addMagazineCargo ["SmokeShellOrange", 100];
_this addMagazineCargo ["PipeBomb", 100];
_this addMagazineCargo ["Mine", 100];
_this addMagazineCargo ["IR_Strobe_Target", 100];
_this addMagazineCargo ["IR_Strobe_Marker", 100];

// Restock time.
sleep 1800;
};
[/spoiler]

OA West

/////////////////////////////////////////////////////
// Called from an ammocrate's init field via:
//   null = this execVM "ammo-oaw.sqf";
/////////////////////////////////////////////////////

while {alive _this} do
{

// Remove the stock items from the crate
clearMagazineCargo _this;
clearWeaponCargo _this;

/////////////////////////////////////////////////////
// WEAPONS
/////////////////////////////////////////////////////

// Rifles
_this addWeaponCargo ["M14_EP1", 100];
_this addWeaponCargo ["M16A2", 100];
_this addWeaponCargo ["M16A2GL", 100];
_this addWeaponCargo ["M4A1", 100];
_this addWeaponCargo ["M4A3_RCO_GL_EP1", 100];
_this addWeaponCargo ["M4A3_CCO_EP1", 100];
_this addWeaponCargo ["SCAR_L_CQC_CCO_SD", 100];
_this addWeaponCargo ["SCAR_L_CQC", 100];
_this addWeaponCargo ["SCAR_L_CQC_Holo", 100];
_this addWeaponCargo ["SCAR_L_CQC_EGLM_Holo", 100];
_this addWeaponCargo ["SCAR_L_STD_EGLM_RCO", 100];
_this addWeaponCargo ["SCAR_L_STD_EGLM_TWS", 100];
_this addWeaponCargo ["SCAR_L_STD_HOLO", 100];
_this addWeaponCargo ["SCAR_L_STD_Mk4CQT", 100];
_this addWeaponCargo ["SCAR_H_CQC_CCO", 100];
_this addWeaponCargo ["SCAR_H_CQC_CCO_SD", 100];
_this addWeaponCargo ["SCAR_H_STD_EGLM_Spect", 100];
_this addWeaponCargo ["SCAR_H_LNG_Sniper", 100];
_this addWeaponCargo ["SCAR_H_LNG_Sniper_SD", 100];
_this addWeaponCargo ["SCAR_H_STD_TWS_SD", 100];
_this addWeaponCargo ["G36A_camo", 100];
_this addWeaponCargo ["G36C_camo", 100];
_this addWeaponCargo ["G36_C_SD_camo", 100];
_this addWeaponCargo ["G36K_camo", 100];

// Light Machineguns (LMG);
_this addWeaponCargo ["m240_scoped_EP1", 100];
_this addWeaponCargo ["M249_EP1", 100];
_this addWeaponCargo ["M249_m145_EP1", 100];
_this addWeaponCargo ["M249_TWS_EP1", 100];
_this addWeaponCargo ["M60A4_EP1", 100];
_this addWeaponCargo ["Mk_48_DES_EP1", 100];
_this addWeaponCargo ["MG36_camo", 100];

// Sniper rifles
_this addWeaponCargo ["m107", 100];
_this addWeaponCargo ["m107_TWS_EP1", 100];
_this addWeaponCargo ["M110_NVG_EP1", 100];
_this addWeaponCargo ["M110_TWS_EP1", 100];
_this addWeaponCargo ["M24_des_EP1", 100];

// Sidearm
_this addWeaponCargo ["glock17_EP1", 100];
_this addWeaponCargo ["M9", 100];
_this addWeaponCargo ["M9SD", 100];
_this addWeaponCargo ["Colt1911", 100];

// AT & AA
_this addWeaponCargo ["Javelin", 100];
_this addWeaponCargo ["M136", 100];
_this addWeaponCargo ["MAAWS", 100];
_this addWeaponCargo ["Stinger", 100];
_this addWeaponCargo ["M47Launcher_EP1", 100];

/////////////////////////////////////////////////////
// AMMO
/////////////////////////////////////////////////////

// Rifle ammo
_this addMagazineCargo ["20Rnd_762x51_DMR", 100];
_this addMagazineCargo ["20Rnd_762x51_B_SCAR", 100];
_this addMagazineCargo ["20Rnd_762x51_SB_SCAR", 100];
_this addMagazineCargo ["30Rnd_556x45_Stanag", 100];
_this addMagazineCargo ["30Rnd_556x45_StanagSD", 100];
_this addMagazineCargo ["30Rnd_556x45_G36", 100];
_this addMagazineCargo ["30Rnd_556x45_G36SD", 100];

// LMG ammo
_this addMagazineCargo ["100Rnd_762x51_M240", 100];
_this addMagazineCargo ["200Rnd_556x45_M249", 100];
_this addMagazineCargo ["100Rnd_556x45_BetaCMag", 100];

// Sniper Rifle ammo
_this addMagazineCargo ["10Rnd_127x99_m107", 100];
_this addMagazineCargo ["5Rnd_762x51_M24", 100];

// Sidearm ammo
_this addMagazineCargo ["15Rnd_9x19_M9", 100];
_this addMagazineCargo ["15Rnd_9x19_M9SD", 100];
_this addMagazineCargo ["7Rnd_45ACP_1911", 100];
_this addMagazineCargo ["17Rnd_9x19_glock17", 100];

// M203 ammo
_this addMagazineCargo ["1Rnd_HE_M203", 100];
_this addMagazineCargo ["1Rnd_Smoke_M203", 100];
_this addMagazineCargo ["1Rnd_SmokeGreen_M203", 100];
_this addMagazineCargo ["1Rnd_SmokeRed_M203", 100];
_this addMagazineCargo ["1Rnd_SmokeYellow_M203", 100];
_this addMagazineCargo ["FlareGreen_M203", 100];
_this addMagazineCargo ["FlareRed_M203", 100];
_this addMagazineCargo ["FlareWhite_M203", 100];
_this addMagazineCargo ["FlareYellow_M203", 100];

// AT & AA ammo
_this addMagazineCargo ["Javelin", 100];
_this addMagazineCargo ["M136", 100];
_this addMagazineCargo ["MAAWS_HEAT", 100];
_this addMagazineCargo ["MAAWS_HEDP", 100];
_this addMagazineCargo ["Stinger", 100];
_this addMagazineCargo ["Dragon_EP1", 100];

// Items
_this addWeaponCargo ["Binocular", 100];
_this addWeaponCargo ["Binocular_Vector", 100];
_this addWeaponCargo ["NVGoggles", 100];
_this addWeaponCargo ["ItemGPS", 100];
_this addWeaponCargo ["LaserDesignator", 100];
_this addMagazineCargo ["LaserBatteries", 100];

// Grenades & Satchels
_this addMagazineCargo ["HandGrenade_West", 100];
_this addMagazineCargo ["SmokeShell", 100];
_this addMagazineCargo ["SmokeShellGreen", 100];
_this addMagazineCargo ["SmokeShellRed", 100];
_this addMagazineCargo ["SmokeShellYellow", 100];
_this addMagazineCargo ["SmokeShellBlue", 100];
_this addMagazineCargo ["SmokeShellPurple", 100];
_this addMagazineCargo ["SmokeShellOrange", 100];
_this addMagazineCargo ["PipeBomb", 100];
_this addMagazineCargo ["Mine", 100];
_this addMagazineCargo ["IR_Strobe_Target", 100];
_this addMagazineCargo ["IR_Strobe_Marker", 100];

// Restock time.
sleep 1800;
};
[/spoiler]

Please try to use the search tool next time.

Share this post


Link to post
Share on other sites

Well forgot to add that I need ACE weapons and equipment not the vanilla ones

Edited by Sakowski

Share this post


Link to post
Share on other sites

Then you could use one of above codes, grab the ACE classes from here and make a script yourself with the help of some texteditor.

You don't really expect that someone doing all that work for you, don't you? :p

Share this post


Link to post
Share on other sites
Then you could use one of above codes, grab the ACE classes from here and make a script yourself with the help of some texteditor.

You don't really expect that someone doing all that work for you, don't you? :p

Nope therefor I decided since there is no program to do it quicket using http://13th-vdv.co.uk/dowaf/weapon.php, I didnt expect anyone doing work for me, all I wanted is a answer if there is a program.

Share this post


Link to post
Share on other sites

I doubt there is a program. Honestly that link is a bit silly to have for something this simple.

Again, search. "ace refill ammo" or "ace refill script". You'll get something.

Share this post


Link to post
Share on other sites

So after long time making now it does not want to work... I have placed it into the mission folder and put null0 = this execVM "ammocrate.sqf";

into the init place and they do not show up... any ideas?

It does not say its missing nor anything no errors, I go up to the crate open it and theres nothing beside the already stuff that you spawn without adding

EDIT: Used null0 = this execVM "support\scripts\ammocrate.sqf"; that one seemed to work weirdly where it gives me guns which I never have chosen...

When I changed the name to ammocrates it does not work but using same null0 = this execVM "support\scripts\ammocrate.sqf"; so annoying...

Edited by Sakowski

Share this post


Link to post
Share on other sites

Sorry for the bump but really need help with that...

Share this post


Link to post
Share on other sites

Well you didn't even post your code, how are we supposed to find out what's wrong?

Share this post


Link to post
Share on other sites

I just tested this real quick, and it works just fine. (i got an error related to ACE_FN_FAL_PARA, might be cause i didn't have ACEX_RU nor ACEX_USNAVY on).

You did name the script ammocrate.sqf, right?

Share this post


Link to post
Share on other sites

yes... but it does not work, I am confused with this, as well for the record I have folders in the mission (editing MSO) I have renamed it back to ammocrate.sqf as I was playing around maybe will get it to work somehow but no luck...

Now I have placed it simply inside the root folder of the mission where all the stuff is like mission.sqm and subfolders and I get ammocrate.sqf not found...

Edited by Sakowski

Share this post


Link to post
Share on other sites

Errr. Strange.

That's what you have in your ammobox init, then: null0 = this execVM "ammocrate.sqf";

Be sure to wait a bit, when testing, as it may take some time to load all the weapons in the crate (might be that MSO takes quite a while to initialize).

If it does solve the problem, you may want to consider removing some of the stuff in there to have it load faster: Not sure why you would have fifty of each item, knowing that your ammobox's gonna refill every ten minutes anyway.

Edit: let me check again, but i seem to see some outdated classnames in there.

Edit again: nope, these are just from ACEX_RU and ACEX_USNavy.

Everything's fine on my end.

Edited by BlackMamb

Share this post


Link to post
Share on other sites
Errr. Strange.

That's what you have in your ammobox init, then: null0 = this execVM "ammocrate.sqf";

Be sure to wait a bit, when testing, as it may take some time to load all the weapons in the crate (might be that MSO takes quite a while to initialize).

If it does solve the problem, you may want to consider removing some of the stuff in there to have it load faster: Not sure why you would have fifty of each item, knowing that your ammobox's gonna refill every ten minutes anyway.

Edit: let me check again, but i seem to see some outdated classnames in there.

Edit again: nope, these are just from ACEX_RU and ACEX_USNavy.

Everything's fine on my end.

Its all working now... it was all my stupidness because I was placing the sqf into MPMission not into SP Mission where I was editing it...

Sorry about that and thanks for helping out!

Share this post


Link to post
Share on other sites

No problem buddy. Glad to see you figured it out, and you hopefully will sleep a lil'bit less stupid tonight.

Better that than the other way around.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×