Primus Palus 8 Posted September 29, 2012 I'm wanting to change what players spawn with on a Private Hive server. I've seen it before where all characters who spawn in have a map as opposed to public servers that don't. I want to change a few things people spawn in with. How do I do this?I'm also wanting to give certain people skins. I want them to respawn after death with the skin in their inventory. How do I do this? I've seen a Private Hive server before that does this (when you donate you can "buy" a skin that will always respawn in your inventory on respawn).Ideas? Is there a PhPMyAdmin guide out there that would be helpful for me. Share this post Link to post Share on other sites
Venzire 76 Posted September 30, 2012 (edited) I too am still pondering this. I wouldn't be tampering with anything too much on the database as you may break something. Are you running with a service provider or on your own box?SurvivalServers are bringing out many more admin tools to help with this. ;) Edited September 30, 2012 by Venzire Share this post Link to post Share on other sites
Primus Palus 8 Posted September 30, 2012 It's run on Survival Servers. I know it's possible, it's been done on a few servers I've been on hosted outside and not. I must just be missing something. Share this post Link to post Share on other sites
Calinthor 5 Posted October 3, 2012 (edited) Well, I was going to make some suggestions, but I don't know how "Survival Servers" operate.However, here's some information that may or may not be helpful.The default load out is located in the "config.bin" (you will need to unrap it to a .cpp) in the "dayz_code.pbo" file (you will need to unpack it).class CfgSurvival {class Inventory {class Default {magazines[] = {"ItemBandage", "ItemPainkiller"};weapons[] = {"ItemFlashlight"};backpackWeapon = "";backpack = "DZ_Patrol_Pack_EP1";};};If you were running a "Bliss"/Saintly/Sanctuary server and I think anti-rocket server, you can easily modify the custom load out in the database.There is another way, though. you can modify the "player_switchModel.sqf" file and add the weapons/items. I used the code before I found Sanctuary and subsequently Saintly server.It's alittle complicated, but essentially you unpack 'dayz_code.pbo' modify 'player_switchModel.sqf' by adding the following at the end of the file (modify the items to what you want), save that sqf in a folder in your mission directory (like '/mod" or "/fix") and then you have to compile it in your init.sqf to override the client version.Goes at the end of 'player_switchModel.sqf':player setVariable ["bodyName",dayz_playerName,true];// #Gold# If Fresh player give pistol_load = [] spawn{sleep 4;diag_log ("PRO_ED: Attempting post loadout");//if(secondaryweapon player == "" && primaryweapon player == "") thendiag_log str(weapons player);if(count (weapons player) <= 1) then{ player addWeapon "ItemMap"; player addMagazine "ItemWaterbottle";player addMagazine "FoodCanFrankBeans";player addMagazine "8Rnd_9x18_Makarov";player addMagazine "8Rnd_9x18_Makarov";player addWeapon "Makarov";player selectWeapon "Makarov";};};};Goes in 'init.sqf' in mission folder:player_switchModel = compile preprocessFileLineNumbers "mod\player_switchModel.sqf"; Edited October 3, 2012 by Calinthor 1 Share this post Link to post Share on other sites