I'm working on my first Civ V mod and I'm having issues with incorporating Lua changes. (The XML changes seem to be working fine). Right now I am having two issues:
1. When opening a large Lua file (such as replacing the "AssignStartingPlots.lua" which is 462 KB), Mod Buddy takes a really long time to make any changes (even a single character change). Anyone know what the issue is? My best guess is that since Mod Buddy is constantly checking for programming errors, with a large file it needs to check after every single character change....
2. The changed Lua files don't seem to be working (being used) in the Mod. I know that for XML files, you need to update the database through Properties->Actions and then select "OnModActivated" and "UpdateDatabase" for each XML file. Do I need to do something similar to activate the Lua files?
Sorry if these are obvious (to experienced modders) questions. Thanks for any help you can provide!
EDIT: Okay, going through some online guides, it looks like I need to manually set the Import into VFS option to "True". Now going to try that!
1. When opening a large Lua file (such as replacing the "AssignStartingPlots.lua" which is 462 KB), Mod Buddy takes a really long time to make any changes (even a single character change). Anyone know what the issue is? My best guess is that since Mod Buddy is constantly checking for programming errors, with a large file it needs to check after every single character change....
2. The changed Lua files don't seem to be working (being used) in the Mod. I know that for XML files, you need to update the database through Properties->Actions and then select "OnModActivated" and "UpdateDatabase" for each XML file. Do I need to do something similar to activate the Lua files?
Sorry if these are obvious (to experienced modders) questions. Thanks for any help you can provide!
EDIT: Okay, going through some online guides, it looks like I need to manually set the Import into VFS option to "True". Now going to try that!