So I've got a sponsor mod and I added dds images to my project.
I added Type: InGameUIAddIn, Name and Description: MySponsorIcon64, FileName: MySponsorIcon64.dds, Import into VFS: True.
I did the same thing to all the other dds files.
I opened FireTuner, and I am noticing a Runtime Error (one for each image.dds I import into my ModBuddy project).
Error opening/reading C:/PathToImageInMyMod/MySponsorIcon64.lua.
stack traceback:
[C] in function '(anonymous)'
It seems like the runtime is looking for a lua script whose file name is equal to the filename of a dds file. I'm looking at other modders' sponsors and I don't see a corresponding lua file for each image. Why am I getting this error? Can I just simply ignore it?
Am I setting the wrong values for importing each image? I've read that the content type for images is InGameUIAddin, but they didn't say if we could set Name and Description to whatever we want, as long as no other content has the same name.
As an aside problem, the game freezes as soon as I open the diplomacy screen (or when I meet another faction). I get a blank diplomacy screen forever, and the sponsor's image/animation and the buttons to the right don't even show up. I have a feeling that my unresolved runtime errors may somehow cause the diplomacy screen to freeze.
Other times, when I start a game, I lose several graphics layers on the map (can't see water, expedition sites, units - only the basic geography, the city labels, and unit icons). When I exit this missing graphics game (without closing the application), I try to start another game, even under "regular" (not under Mods), using an in-game faction. I still get the missing graphics. I will have to manually exit the game, and go to Windows Task Manager to kill CivBE because it didn't really close. Anybody else experience this?
I added Type: InGameUIAddIn, Name and Description: MySponsorIcon64, FileName: MySponsorIcon64.dds, Import into VFS: True.
I did the same thing to all the other dds files.
I opened FireTuner, and I am noticing a Runtime Error (one for each image.dds I import into my ModBuddy project).
Error opening/reading C:/PathToImageInMyMod/MySponsorIcon64.lua.
stack traceback:
[C] in function '(anonymous)'
It seems like the runtime is looking for a lua script whose file name is equal to the filename of a dds file. I'm looking at other modders' sponsors and I don't see a corresponding lua file for each image. Why am I getting this error? Can I just simply ignore it?
Am I setting the wrong values for importing each image? I've read that the content type for images is InGameUIAddin, but they didn't say if we could set Name and Description to whatever we want, as long as no other content has the same name.
As an aside problem, the game freezes as soon as I open the diplomacy screen (or when I meet another faction). I get a blank diplomacy screen forever, and the sponsor's image/animation and the buttons to the right don't even show up. I have a feeling that my unresolved runtime errors may somehow cause the diplomacy screen to freeze.
Other times, when I start a game, I lose several graphics layers on the map (can't see water, expedition sites, units - only the basic geography, the city labels, and unit icons). When I exit this missing graphics game (without closing the application), I try to start another game, even under "regular" (not under Mods), using an in-game faction. I still get the missing graphics. I will have to manually exit the game, and go to Windows Task Manager to kill CivBE because it didn't really close. Anybody else experience this?