You are viewing our Forum Archives. To view or take place in current topics click here.
DayZ weapon spawn script
Posted:

DayZ weapon spawn scriptPosted:

24680
  • Ladder Climber
Status: Offline
Joined: Mar 10, 201113Year Member
Posts: 321
Reputation Power: 12
Status: Offline
Joined: Mar 10, 201113Year Member
Posts: 321
Reputation Power: 12
Note: this is detected by battleeye so use at your own risk
Download cheat engine (its easier then Hxd)
go to your arma 2 oa file
and make a new folder where the .exe is
call its MyScripts
make a text file called ammo.sqf
and a text file called cargo.sqf


save this as ammo.sqf
_abox = "AmmoBoxBig" createVehicle (position player); [_abox] execVM "\MyScripts\cargo.sqf";

save this as cargo.sqf
 _abox = _this select 0; _dayz_wep =["M14_EP1","Remington870_lamp","M4A3_CCO_EP1","M4A1_AIM_SD_camo","BAF_L85A2_RIS_CWS","BAF_AS50_scoped","Winchester1866","LeeEnfield","revolver_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","huntingrifle","Crossbow","glock17_EP1","M9", "M9SD","Colt1911","UZI_EP1","Binocular","Binocular_Vector","NVGoggles","ItemGPS","ItemMap","ItemCompass","ItemWatch","ItemFlashlight","ItemFlashlightRed","ItemKnife","ItemHatchet","ItemMatchbox", "ItemEtool","ItemToolbox"]; _dayz_mag =["30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","20Rnd_762x51_DMR","30Rnd_762x39_AK47","5Rnd_762x51_M24","10Rnd_127x99_m107","8Rnd_B_Beneli_74Slug","1Rnd_HE_M203","FlareWhite_M203", "FlareGreen_M203","1Rnd_Smoke_M203","200Rnd_556x45_M249","8Rnd_B_Beneli_Pellets","30Rnd_9x19_MP5","30Rnd_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_Makarov","6Rnd_45ACP","8Rnd_9x18_Makarov","BoltSteel","PipeBomb","HandGrenade_west", "FoodSteakRaw","FoodSteakCooked","FoodCanBakedBeans","FoodCanSardines","FoodCanPasta","ItemSodaCoke","ItemSodaPepsi","ItemWaterbottle","HandRoadFlare","HandChemGreen","HandChemBlue", "HandChemRed","ItemSandbag","ItemTankTrap","ItemWire","ItemBandage","ItemPainkiller","ItemMorphine","ItemEpinephrine","ItemAntibiotic","ItemBloodbag","ItemHeatPack","PartWoodPile","PartWheel", "PartFueltank","PartGlass","PartEngine","PartGeneric","PartVRotor","ItemJerrycan","ItemGenerator","ItemTent","Skin_Soldier1_DZ","Skin_Survivor2_DZ","Skin_Camo1_DZ","Skin_Sniper1_DZ"]; _dayz_bpk =["DZ_Patrol_Pack_EP1","DZ_Assault_Pack_EP1","DZ_CivilBackpack_EP1","DZ_ALICE_Pack_EP1","DZ_Backpack_EP1"]; {_abox addWeaponCargo [_x,100];} forEach _dayz_wep; {_abox addMagazineCargo [_x,100];} forEach _dayz_mag; {_abox addBackpackCargo [_x,2];} forEach _dayz_bpk;

start arma 2 combined ops
go to main menu
alt + tab
start cheat engine
select arma2oa.exe
(not going to tell you how to use cheat engine google for that)
now for your first scan search for a string


code
private ["_dummy"]; _dummy = [_this,"onload"] execVM "\ca\ui\scripts\dedicatedServerInterface.sqf";


now change the value of that to this
private ["_dummy"]; _dummy = [_this,"onload"] execVM "\MyScripts\ammo.sqf";

now save
close cheat engine
go into a server
press right shift + p
then look around on the ground there will be a box with lots of stuff

there is a way to add other weapons to the script if you want to know pm me
thanks to loki114 on uc for making this tut
#2. Posted:
wsam566
  • New Member
Status: Offline
Joined: Oct 17, 201113Year Member
Posts: 7
Reputation Power: 0
Status: Offline
Joined: Oct 17, 201113Year Member
Posts: 7
Reputation Power: 0
tellme how to use cheat engine for this game i really need help
#3. Posted:
nickbmx2
  • TTG Senior
Status: Offline
Joined: Jul 18, 200915Year Member
Posts: 1,785
Reputation Power: 238
Status: Offline
Joined: Jul 18, 200915Year Member
Posts: 1,785
Reputation Power: 238
If only there were a way to steal Arma II... DayZ looks really cool.
*Goes to steal Arma II*
#4. Posted:
United_Kingdom
  • TTG Addict
Status: Offline
Joined: Dec 16, 200915Year Member
Posts: 2,863
Reputation Power: 381
Status: Offline
Joined: Dec 16, 200915Year Member
Posts: 2,863
Reputation Power: 381
If only battle-eye didn't detect this, would be nice to spawn a couple of weapons.
#5. Posted:
24680
  • Ladder Climber
Status: Offline
Joined: Mar 10, 201113Year Member
Posts: 321
Reputation Power: 12
Status: Offline
Joined: Mar 10, 201113Year Member
Posts: 321
Reputation Power: 12
well there is another one battle eye doesn't detect but i've never tried it
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.