[z3r0]Stefan
New Member
In this tutorial I´m going to explain how to change your starting gear in dayz version 1.7.7
(original hive)
1. Open/unpbo your Dayz_server.pbo (located inside your @hive directory)
2. Edit the server_playerLogin.sqf found inside the compiles directory
3. find this code at the top
4. Change it the way your want!
To add weapons and items edit _inventory = [Your custom weapons/items]
To give yourself a backpack edit _backpack = [Your custom backpack]
This is is an example on how to put in the code
5. Safe the file and put it back into your compiles folder inside the dayz_code.pbo !
6.Start your server and enjoy your custom start gear!
You can/should use the DayZLoadoutGenerator to easily adjust your code! Google it
(original hive)
1. Open/unpbo your Dayz_server.pbo (located inside your @hive directory)
2. Edit the server_playerLogin.sqf found inside the compiles directory
3. find this code at the top
Code:
//Variables
_inventory = [];
_backpack = [];
_items = [];
_magazines = [];
_weapons = [];
_medicalStats = [];
_survival = [0,0,0];
_tent = [];
_state = [];
_direction = 0;
_model = "";
_newUnit = objNull;
_botActive = false;
To add weapons and items edit _inventory = [Your custom weapons/items]
To give yourself a backpack edit _backpack = [Your custom backpack]
This is is an example on how to put in the code
Code:
_inventory = [["AK_47_M"],["30Rnd_762x39_AK47","30Rnd_762x39_AK47","30Rnd_762x39_AK47","30Rnd_762x39_AK47","Skin_Sniper1_DZ","ItemSandbag","ItemSandbag"]];
_backpack = ["DZ_Backpack_EP1"];
6.Start your server and enjoy your custom start gear!
You can/should use the DayZLoadoutGenerator to easily adjust your code! Google it