Jump to content

Recommended Posts

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

@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=69
in case the game loads the TUNING file after the mods(probably not) u might have to put that in some AfterInit function.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...