Civ added in a mod not showing up!

IrohKnowsBest

Chieftain
Joined
Aug 28, 2011
Messages
1
I created a fairly simple mod that adds a civ to the game, and while modbuddy says it's fine and the game doesn't seem to crash when I enable the mod, the civ doesn't show up on the set up game screen. (and yes, I did create a leader, icon, trait, building and unit as well) If necessary I can provide the xml strings I used, but assuming that this is just me being stupid, I'll just ask if anyone else has this problem? Or if anyone can help me?

Thanks very much.
 
I created a fairly simple mod that adds a civ to the game, and while modbuddy says it's fine and the game doesn't seem to crash when I enable the mod, the civ doesn't show up on the set up game screen. (and yes, I did create a leader, icon, trait, building and unit as well) If necessary I can provide the xml strings I used, but assuming that this is just me being stupid, I'll just ask if anyone else has this problem? Or if anyone can help me?

Thanks very much.

These things tend to be a result of a mistake somewhere, so double-check your xml. There are times when I've looked and looked, but not spotted a mistake until eventually realising where it is.

If you've copied/pasted code from elsewhere, check for additional tags. You may find that there's an extra one as a result, but modbuddy hasn't highlighted it with a squiggly underline.
 
Can you please post your mod files? I'll take a quick peek through em and see what I can find.
 
Could be an XML error, could be that you didn't set the OnModActivated action. Lots of things can go wrong, and ModBuddy doesn't look for programming errors when it builds, so the fact that it built successfully means nothing.

In general, this is why it's best to start small in a mod. Also, make sure you're checking your log files; the xml.log will tell you some of the mistakes you made in the XML, so there's less need to ask us for help. To enable logging, you just have to go into your config.ini file and change the enabling flag from 0 to 1.
 
Back
Top Bottom