mornewsletter.blogg.se

Arma 3 respawn loadout
Arma 3 respawn loadout












Remember, you have to re-spawn for it to work. Save your work, upload your files, and start your server to test out the scripts. Now we have called the load-out script, and the world is a better place. ,"Generator_DZ",0.1] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf" Ībove "//Run the player monitor" add the following: //Custom Loadouts _void = execVM "R3F_Realism\R3F_Realism_Init.sqf" _playerMonitor = execVM "\z\addons\dayz_code\system\player_monitor.sqf"

arma 3 respawn loadout

Then Create a new text document in that folder called "loadout.sqf", is will warn you that you are changing the file type, thats ok.Ĭopy this code into your new lodout.sqf: //Default Loadout Thats easy, instead of the above we are going to put all the settings in a loadout.sqf and save that to a "Scripts" folder in our mission folder or mission.pbo.įirst, create a new folder in the Mission folder or PBO named Scripts. You can change the variables your self to what would be best for your server, including removing everything so players don't even get the stock dayz load-out.Ĭustom Load-Outs (includes default load-out)īut, you want even more controls, like load-outs for donators or admins. Here I have configured the default load-out to be a G17 and 2 clips, 2 bandages, one Morphine, Painkillers, Clean Water, Cooked Steak, a Flashlight and Hatchet. SpawnShoremode = 1 // Default = 1 (on shore)ĭayz_maxLocalZombies = 30 // Default = 30īelow this, add the following: //Default LoadoutĭefaultMagazines = ĭefaultWeapons =

arma 3 respawn loadout

Open the init.sqf in your mission folder or mission.pbo.Īt about line 20 of a stock Epoch init.sqf file you will find this: // DayZ Epoch config You will also see DefaultBackpackWeapon = "" in my loadout script, I assume it adds items to your back pack, but I don't know its limitations, if I can use guns and ammo. DefaultMagazines = ĭefaultMagazines is for any item you place in your primary ( food, ammo, parts, money) or secondary ( bandages, clips, m203 rounds) inventory.ĭefaultWeapons is for any guns/rifles or kit (hatchet, map, Bbnoculars, NVGs) items.ĭefaultBackpack is as it would sound, the pack you start out with. To start, this is tested on 1.0.2.4-5, and uses variables that Epoch Devs added to the Server Code. Setting Up the Default Load-out (no custom loadouts) This is not completely my work, some came from Axeman and AsianKid.

arma 3 respawn loadout

So I have been getting a lot of help from here with setting up my server, so I figured I would start making Tutorials on what I have learned.Īs follows are the instructions to change the starting gear from the default "bandage/painkiller/flashlight" to what ever you want, and how to set up custom gear for different users based on their UIDs.














Arma 3 respawn loadout