Aralvar Posted October 22, 2013 Share Posted October 22, 2013 Hello, I am wondering if anyone is willing to give me instructions on how to mod the death penalty in Sandbox mode. I'd like to make it so I keep certain items on death and lose everything else. I'd also like it if everything from my corpse gets looted by an NPC every time or is lost somehow so that i can't get my stuff back from my body, but that comes second and isn't too important. If anyone is interested in helping me, I would GREATLY appreciate it! Changing the death penalty is what it takes for me to enjoy the game, so I really mean it when I say I greatly appreciate it. If you would be interested in helping me, please contact me through reply, private message, on Skype (my skype is prophetraz1311), or Steam (my steam is Mah little Desert Eagle). Thank you! EDIT: What I need to know, specifically, is what files to edit and what I should type in to accomplish this. I was told this is a fairly easy thing to do, but for a noob like me who's only really interested in modding a couple things in the game; this is quite difficult. =P Link to comment Share on other sites More sharing options...
RoboMat Posted October 22, 2013 Share Posted October 22, 2013 Hm lets see basically you will need to store the player's inventory upon his death and reload it on the next character creation. You should be able to use the mod data of GameTime to make persistent saves from character to character. Not sure if it works on death but you could try the OnSave event first and for loading and comparing the mod data you could use OnNewGame (not sure if it is called like that). For starters you should take a look at this:http://pz-mods.net/guide/get-what-data-getmoddata/http://pz-mods.net/guide/event-reference/http://theindiestone.com/forums/index.php/topic/61-robomats-modding-tutorials-updated-01102013/ Spelunking in the source code might help too Link to comment Share on other sites More sharing options...
Aralvar Posted October 22, 2013 Author Share Posted October 22, 2013 I have no idea how to do what you've suggested but I'm doing my best to learn from the information you've given me. I'll respond later when I've either succeeded or need more help. Link to comment Share on other sites More sharing options...
RoboMat Posted October 22, 2013 Share Posted October 22, 2013 Ask away if you need more help. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now