You are looking for thisto spawn nato roundsCode:5Rnd_127x99_as50
i have tried alot of diffrent codes for these, check all forums and wikis i know but i still cant get the nato rounds to spawn , anyone have an idea why?
You are looking for thisto spawn nato roundsCode:5Rnd_127x99_as50
Originally Posted by VindictusMods
Originally Posted by sd333221
lool thanks, i put the same but _NATO at the end.. silly me.. Thanks!
Nope still dosnt go in to my ammo box :/
_abox = _this select 0; _dayz_wep"M14_EP1","Remington870_lamp","ACE_TAC50_SD","SCAR _H_LNG_Sniper_SD","SCAR_H_STD_TWS_SD","revolver_go ld_ep1","AKS_GOLD","SVD_Camo","M4A3_CCO_EP1","BAF_ AS50_TWS","M4A1_AIM_SD_camo","BAF_L85A2_RIS_CWS"," BAF_AS50_scoped","Winchester1866","LeeEnfield","re volver_EP1","FN_FAL","FN_FAL_ANPVS4","m107_DZ", "Mk_48_DZ","DMR","M16A2","M16A2GL","bizon_silenced ","AK_74","M4A1_Aim","AKS_74_kobra","AKS_74_U","AK _47_M","M24","M1014","M4A1","MP5SD","MP5A5","hunti ngrifle","Crossbow","glock17_EP1","M9", "M9SD","Colt1911","UZI_EP1","Binocular","Binocular _Vector","NVGoggles","ItemGPS","ItemMap","ItemComp ass","ItemWatch","ItemFlashlight","ItemFlashlightR ed","ItemKnife","ItemHatchet","ItemMatchbox", "ItemEtool","ItemToolbox"];
_dayz_mag"30Rnd_556x45_Stanag","10Rnd_762x54_SVD","5rnd_127 x99_NATO","30Rnd_762x39_AK47","20rnd_762x51_SB_SCA R","30Rnd_556x45_StanagSD","30Rnd_545x39_AKSD","20 Rnd_762x51_DMR","30Rnd_762x39_AK47","5Rnd_762x51_M 24","10Rnd_127x99_m107","8Rnd_B_Beneli_74Slug","1R nd_HE_M203","FlareWhite_M203", "FlareGreen_M203","1Rnd_Smoke_M203","200Rnd_556x45 _M249","8Rnd_B_Beneli_Pellets","30Rnd_9x19_MP5","3 0Rnd_9x19_MP5SD","100Rnd_762x51_M240","15Rnd_W1866 _Slug","5x_22_LR_17_HMR", "10x_303","15Rnd_9x19_M9","15Rnd_9x19_M9SD","7Rnd_ 45ACP_1911","17Rnd_9x19_glock17","8Rnd_9x18_Makaro v","6Rnd_45ACP","8Rnd_9x18_Makarov","BoltSteel","P ipeBomb","HandGrenade_west", "FoodSteakRaw","FoodSteakCooked","FoodCanBakedBean s","FoodCanSardines","FoodCanPasta","ItemSodaCoke" ,"ItemSodaPepsi","ItemWaterbottle","HandRoadFlare" ,"HandChemGreen","HandChemBlue", "HandChemRed","ItemSandbag","ItemTankTrap","ItemWi re","ItemBandage","ItemPainkiller","ItemMorphine", "ItemEpinephrine","ItemAntibiotic","ItemBloodbag", "ItemHeatPack","PartWoodPile","PartWheel", "PartFueltank","PartGlass","PartEngine","PartGener ic","5Rnd_127x99_as50","ACE_5Rnd_127x99_B_TAC50"," ACE_5Rnd_127x99_B_TAC50","PartVRotor","ItemJerryca n","ItemGenerator","ItemTent","Skin_Soldier1_DZ"," 64Rnd_9x19_SD_Bizon","20Rnd_762x51_FNFAL","Skin_Su rvivor2_DZ","Skin_Camo1_DZ","Skin_Sniper1_DZ"]; _dayz_bpk
"DZ_Patrol_Pack_EP1","DZ_Assault_Pack_EP1","DZ_Civ ilBackpack_EP1","DZ_ALICE_Pack_EP1","DZ_Backpack_E P1"];
{_abox addWeaponCargo [_x,100];} forEach _dayz_wep;
{_abox addMagazineCargo [_x,100];} forEach _dayz_mag;
{_abox addBackpackCargo [_x,2];} forEach _dayz_bpk;
Might I recommend swapping to a different, more updated code? A lot of these guns are banned in DayZ (Not blacklisted, but not in the game).
Wait a second, I found the problem, change "5rnd_127x99_NATO" to "5Rnd_127x99_AS50". This is some really sloppy coding, but good luck! Lol...
Last edited by lockdown6435; 08-08-2012 at 03:39 AM.
Originally Posted by VindictusMods
Originally Posted by sd333221
Thanks, yeah its an outdated script, but havent got to changing it.. Is the nato rounds in your script? anyway thanks for the update!
Derp im too tierd to do this xD nvm yeah thanks!
Last edited by cadez; 08-08-2012 at 03:41 AM.
Check it again, your solution is there. But this is my script. It's very minimalist and only has a few guns, but it's the only guns I use.
Code:_location = (position player); _className = "AmmoBoxBig"; _heli = createVehicle [_className, _location, [], 0, "CAN_COLLIDE"]; _heli setVariable ["ObjectID", 654654, true]; _dayz_wep =["DMR","BAF_L85A2_RIS_CWS","BAF_AS50_scoped", "bizon_silenced", "M9SD","Binocular_Vector","NVGoggles","ItemGPS","ItemMap","ItemCompass","ItemWatch","ItemFlashlightRed","ItemKnife","ItemHatchet","ItemMatchbox", "ItemEtool","ItemToolbox","M4A1_AIM_SD_camo",]; _dayz_mag =["20Rnd_762x51_DMR","30Rnd_556x45_StanagSD","5Rnd_127x99_as50", "PartWheel","PartEngine","PartGeneric", "15Rnd_9x19_M9SD","PipeBomb","ItemTent","ItemWire", "FoodSteakRaw","FoodSteakCooked", "ItemBandage","ItemPainkiller","ItemMorphine","ItemEpinephrine","ItemAntibiotic","ItemBloodbag", "PartFueltank","ItemJerrycan","Skin_Sniper1_DZ", "ItemSodaMdew","64Rnd_9x19_SD_Bizon","30Rnd_556x45_StanagSD"]; _dayz_bpk =["DZ_Backpack_EP1"]; {_heli addWeaponCargo [_x,5];} forEach _dayz_wep; {_heli addMagazineCargo [_x,250];} forEach _dayz_mag; {_heli addBackpackCargo [_x,5];} forEach _dayz_bpk; sleep 600; deleteVehicle _heli;
Originally Posted by VindictusMods
Originally Posted by sd333221
just check out your script, when i check back on mine i wanna facepalm on how bad i code.. have only been coding for a month but still mine looks like shit next to yours
damn yours clean. i have too sit about 5min to find 1 problem in mine, really nice work on yours!
Last edited by cadez; 08-08-2012 at 03:47 AM.
Haha. Mine is mostly a copy and paste and I modified mine down to what I needed by replacing/deleting/adding. But looking at your script I highly recommend adding a deleteVehicle line such as I did. At the end of your script, just as mine is add...
Code:{_abox addWeaponCargo [_x,100];} forEach _dayz_wep; {_abox addMagazineCargo [_x,100];} forEach _dayz_mag; {_abox addBackpackCargo [_x,2];} forEach _dayz_bpk; //START ADDING CODE HERE TO REMOVE THE BOX! sleep 120; //gives you 2 minutes to access the box and grab what you need deleteVehicle _abox; //deletes the crate from the server to remove all trace except in the logs
Originally Posted by VindictusMods
Originally Posted by sd333221
ahh okey! and that does? removed the bike i spawn or everything i spawned?
"sleep 600;
deleteVehicle _heli;" what does that do exactly? delete a heli or?