itachipirate Posted June 19, 2015 Share Posted June 19, 2015 Hey I'm working on a mod and I've added a custom armor tuning value to the scripts/tuning file. I see that in the modmain.lua to load prefabfiles you use "Prefabfiles = {" but what would I use to tell the modmain to load "scripts/tuning.lua" All help would be appreciated. Thanks guys! Link to comment https://forums.kleientertainment.com/forums/topic/55470-help-with-loading-script/ Share on other sites More sharing options...
Seiai Posted June 19, 2015 Share Posted June 19, 2015 @itachipirate,if u load your own tuning.lua, this will overwrite the whole tuning.lua from the game, u should only overwrite the stuff u want to overwrite(modmain.lua):GLOBAL.TUNING.WHATEVERUWANTTOCHANGE=69in case the game loads the TUNING file after the mods(probably not) u might have to put that in some AfterInit function. Link to comment https://forums.kleientertainment.com/forums/topic/55470-help-with-loading-script/#findComment-648473 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