Nearly finished modpack: technical questions

isnorden

Amnesiac Modder
Joined
Jul 6, 2012
Messages
608
Location
Madison, Wisconsin, USA
I've spent the past few weeks putting this building/resource package together, but still have technical questions before it's ready to upload.


  1. Do the Lua files in my resource generator need to be added to the VFS?
  2. Should they load in a specific order?
  3. Do all the files in the ArtDefs folder (not just the pictures) need to be added to the VFS?
  4. Do I need to reload the landmark system if a mod puts new resources on the map?
  5. How do I get ModBuddy to "see" my Lua files as choices for an "InGameUIAddin"? I included them in the project, but couldn't add them in the Content window.

If anyone can help solve those problems, I'd appreciate that very much. Thank you again!
 
1, 3 and 5 - see http://forums.civfanatics.com/showthread.php?t=487846

Specifically for 5, see the note in post #3 of that thread

2 - unlikely (especially as you can't guarantee the load order of InGame addins anyway). If you need the lua files to execute in a specific order, you'll have to include them in such a way that that order can be guarenteed
 
Thank you; the reference page answered most of my questions, but I'm still struggling with getting ModBuddy to recognize the Lua scripts that handle resource generation. Three of those files use include() to reference others, so I added them to the VFS as the reference page said to do. When I tried to put a InGameUIAddin into the mod properties, though, the ony choices were XML files unrelated to the resource generator. Setting the Lua files back to "VFS = false" didn't help, so now I'm completely stumped. Could someone please fix this broken mod so the Lua scripts load in the right places? :help:
 
It's a silly interface issue with ModBuddy. You can either choose InGameUIAddin and then type the Lua filename by hand, or choose the Lua file first from the file dropdown, and then choose InGameUIAddin from its dropdown.
 
Back
Top Bottom