trevor1030 0 Report post Posted December 17, 2018 I am coming from 7 Days to die to play a more realistic game and i was wondering how all the scripts work as in giving a player a compass or map, I know a buddy of mine told me awhile ago you could give starter gear? Just wondering how i would go about that on this server as i have never used this host before.Thanks! Quote Share this post Link to post Share on other sites More sharing options...
StealthyMartian 65 Report post Posted December 17, 2018 Not to worry. Here is a link that I have going to show some basic starting gear edits that can be done within the files. https://survivalservers.com/wiki/index.php?title=Setting_up_Custom_Loadout Right now with modding just coming out there isn't much out there yet but each day more is coming i have noticed. Quote Share this post Link to post Share on other sites More sharing options...
trevor1030 0 Report post Posted December 17, 2018 Not to worry. Here is a link that I have going to show some basic starting gear edits that can be done within the files. https://survivalservers.com/wiki/index.php?title=Setting_up_Custom_Loadout Right now with modding just coming out there isn't much out there yet but each day more is coming i have noticed. Awesome currently checking out the link now, i was curious why we can only do 4 items? For example i wanted to do a map, compass and a few other items but goes over 4, is there a way to add more then 4 items? Thanks Quote Share this post Link to post Share on other sites More sharing options...
Capps 43 Report post Posted December 17, 2018 The amount of items you can hold entirely depends on how much "space" each time takes up. So you can add more lines to add more gear, however if your character can only hold so much gear, the additional gear likely isn't being added into the inventory. One way to get around that would be to add a backup to each characters starting gear. This little bit of code should when added to your code give players a backpack on spawn! (I haven't actually tested this myself) itemEnt = player.GetInventory().CreateInInventory("AssaultBag_Green"); itemBs = ItemBase.Cast(itemEnt); StealthyMartian 1 Quote Share this post Link to post Share on other sites More sharing options...
peterng 1 Report post Posted December 18, 2018 I am coming from 7 Days to die to play a more realistic game and i was wondering how all the scripts work as in giving a player a compass or map, I know a buddy of mine told me awhile ago you could give starter gear? Just wondering how i would go about that on this server as i have never used this host before. Thanks! My friends asked me the same question this morning so quickly made a class and shared with them. You can check it out here: https://github.com/nguyenph88/Dayz-Standalone-Default-Loadout The script will allow you to be spawn with: an M4, a handgun, some stuff and a Hatchback Just open DefaultPlayerLoadout.c and make changes according to your needs StealthyMartian 1 Quote Share this post Link to post Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.