EuedeAdodooedoe Posted September 25, 2016 Share Posted September 25, 2016 I've had this issue before and I believe if I try this method again, I'll get the same outcome. Basically, lets say I take the Deerclops' script, which has all of its loot in it. If I take that file, copy it into my mod in corresponding folder, edit some stuff in the copied file and run and enable the mod, then disable it, the loot or whatever I've edited will still be in the game until I reinstall it. How would I make sure that this does not happen? Keep everything in modmain or do something else entirely? How would I know when to write something inside modmain or have a new/copied script in corresponding folder placed with edited/new code information? Link to comment https://forums.kleientertainment.com/forums/topic/70422-how-to-make-sure-a-mod-doesnt-permanently-edit-game-files/ Share on other sites More sharing options...
DarkXero Posted September 25, 2016 Share Posted September 25, 2016 You are literally the only person that suffered from this. Ever. And I just did what you said. 1) Make mod. Create scripts/prefabs folder in mod folder. 2) Put deerclops.lua in prefabs folder. 3) Edit loot of deerclops.lua in the mod's prefabs folder. 4) Enable mod. 5) Host server. 6) Kill deerclops, see changed loot. 7) Disconnect. 8) Disable mod. 9) Resume server. 10) Kill deerclops, see loot returned to normal. I dare you to make your mod and upload it here. Break my game. Link to comment https://forums.kleientertainment.com/forums/topic/70422-how-to-make-sure-a-mod-doesnt-permanently-edit-game-files/#findComment-818121 Share on other sites More sharing options...
Mobbstar Posted September 25, 2016 Share Posted September 25, 2016 Just make sure to edit the copy, not the original Link to comment https://forums.kleientertainment.com/forums/topic/70422-how-to-make-sure-a-mod-doesnt-permanently-edit-game-files/#findComment-818136 Share on other sites More sharing options...
Auth Posted September 25, 2016 Share Posted September 25, 2016 Ooh I've had something like this happen before. For me, I just had to restart the game and then disable the mod again (Server's mod list said it was still active, despite me disabling it) as for what your problem is: lol idk Link to comment https://forums.kleientertainment.com/forums/topic/70422-how-to-make-sure-a-mod-doesnt-permanently-edit-game-files/#findComment-818171 Share on other sites More sharing options...
EuedeAdodooedoe Posted September 25, 2016 Author Share Posted September 25, 2016 (edited) Tested it and it works just like for you, @DarkXero! I guess it was just me editing the original files accidentally. Thanks for help! Edited September 25, 2016 by EuedeAdodooedoe Link to comment https://forums.kleientertainment.com/forums/topic/70422-how-to-make-sure-a-mod-doesnt-permanently-edit-game-files/#findComment-818175 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