Problems loading Civ icons

Seona

Chieftain
Joined
Aug 25, 2012
Messages
4
Location
Sydney, Australia
Hi guys,

As my first dip into modding, I've been trying to follow along with Kael's excellent Modding Guide. I seem to have hit a wall, however.

I'm up to adding in the icons for the new Civ (page 33 for those following along at home). I've opened the IconAtlas template file, added my icon and saved it as a dds. I've added the different sized files to the Art folder in ModBuddy. I've created the XML file to tell the game about these icons and updated the Civ's XML file to use them. As far as I can tell, I've done all the things I was supposed to.

When I build the mod and test it, however, I get the following error message:

Unable to load texture [CivSymbolsColorAustralia64.dds]

The screen goes black for a moment while this is displayed, then the list of Civs reappears without my new one.

Can anyone suggest what I may have done wrong? I'm guessing (hoping) it's something pretty basic.
 
The Kael's guide is outdated in some areas. In this case, you need to set "Import into VFS" to true for your .dds files (it's in the File Properties window in ModBuddy, if you can't see it, right-click on a file and select Properties).
 
Aha! Thanks for that, Pawel. I'd seen the note about the Guide not being kept up to date so I'd hoped it was just something like that. On the other hand, I haven't been able to find a more up-to-date resource to learn from. Can you suggest one?

Anyway, the good news is that my mod no longer throws the error. The bad news is that now I can't scroll throw the list of leaders when setting up a game using the mod. I can see the first three or so that fit in the screen and the top of the next one down, but there are no scroll bars.

I'm not sure if this is likely to be a problem with the images or the XML that I'm using, though. Has anyone ever run into this problem before or otherwise know what's causing it?


Tangentially related (sort of), with the IconAtlas templates, are those white circles supposed to be opaque or transparent? And am I supposed to put my icons above or below that later? I'm not sure from Kael's explanation whether the layer with the white circles is meant to be the alpha layer that masks the icons or if it's in addition to that layer, or how I'm meant to use it.
 
Hmm... I haven't gotten as far as UBs or UUs, just the new Civ and the new Leader.

The database log has raised more questions than it's answered, since it's showing errors with a whole bunch of things I haven't touched at all:

Code:
[plain][22627.913] constraint failed
[22627.913] While executing - 'INSERT INTO ArtDefine_StrategicView(StrategicViewType, TileType, Asset) VALUES(?,?,?)'
[22632.281] Validating Foreign Key Constraints...
[22632.281] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[22632.281] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[22632.281] Invalid Reference on ArtDefine_Landmarks.LayoutHandler - "SPECIAL" does not exist in ArtDefine_LandmarkTypes
[22633.015] Invalid Reference on Leader_MinorCivApproachBiases.LeaderType - "LEADER_HARALD" does not exist in Leaders
[22633.015] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_HARALD" does not exist in Leaders
[22633.015] Invalid Reference on Leader_Flavors.LeaderType - "LEADER_HARALD" does not exist in Leaders
[22633.545] Invalid Reference on UnitGameplay2DScripts.UnitType - "UNIT_HITTITE_WARCHARIOT" does not exist in Units
[22633.545] Invalid Reference on UnitGameplay2DScripts.UnitType - "UNIT_SUMERIAN_PHALANX" does not exist in Units
[22633.545] Failed Validation.
[22634.122] [/plain]

Is any of that likely to be making a difference here? LEADER_HARALD, UNIT_HITTITE_WARCHARIOT and UNIT_SUMERIAN_PHALANX aren't things that should be in any way related to what I've been doing. :(
 
Back
Top Bottom