It was interesting that all the replies from people on this subject say that only by modifying dayz_code can you achieve custom starting gear. That is only kinda true, as you can play on plenty of servers that have custom starting gear and they do not require you to download their own signed version of dayz_code. I'll be having an official video for this quick how-to later on (youtube dayzguidez), but in the meanwhile you can follow the below steps.
Note: Like I said, "kinda true". You cannot remove the starting gear without editing dayz_code, but you can add on items. Also, until the video is out for this, the how-to is for ADVANCED users.
1. Unpack dayz_server.pbo, and open compile/server_playerLogin.sqf
2. Scroll down ~line 18, or simply search for "_inventory".
3. Edit the line to your hearts content. For example:
4. Re-pack dayz_server.pbo, and now any newly spawned characters will have the additional gear.
As noted earlier, this will only APPEND items to the current loadout IE; your players will start with the usual painkillers, flashlight, and bandage. Also, be wary of line 77 which looks like the below.
You do NOT want to edit that line, as that is for players returning to the server.
Note: Like I said, "kinda true". You cannot remove the starting gear without editing dayz_code, but you can add on items. Also, until the video is out for this, the how-to is for ADVANCED users.
1. Unpack dayz_server.pbo, and open compile/server_playerLogin.sqf
2. Scroll down ~line 18, or simply search for "_inventory".
3. Edit the line to your hearts content. For example:
Code:
_inventory = [["ItemMap","ItemMatchbox"],["FoodMRE","8Rnd_9x18_Makarov"]];
As noted earlier, this will only APPEND items to the current loadout IE; your players will start with the usual painkillers, flashlight, and bandage. Also, be wary of line 77 which looks like the below.
Code:
_inventory = _primary select 4;
You do NOT want to edit that line, as that is for players returning to the server.