I have another question . I hope that you can answer it. How do modders load dds files into modbuddy?
VFS.
The game includes what's called a "Virtual File System". For certain types of files, you just add the file to ModBuddy through the usual "Add Existing Item" interface, right-click on the file in ModBuddy, select "Properties", and in the small window that pops up the last line will be "Import into VFS". It defaults to False.
This flag needs to be set to True for:
> Any non-GameData XML
> Any Lua directly replacing pieces of the core game's UI.
> Any Lua intended to be inserted inside of other Lua files through an Include declaration
> Any new art assets, including DDS files.
The only things it should remain False for are:
> GameData XML or SQL added through the OnModActivated command in the Actions tab.
> Lua added through any Content command (InGameUIAddin, etc.)
flyinghorse301 said:
Every time I build my unique building, my city icon disappears.
What's happened is that you've given it an invalid art definition. That <ArtDefine> field is important; you can't just create a new value for this, any buildings must either have a null value here or use one of the existing buildings' definitions. (Currently we have no way to add new art defines.)