View Full Version : Newb modding questions - Please help


jefmart1
Jan 06, 2008, 05:29 PM
Hi,

I am trying to create my first mod but I ran into a few problems.

I created a tech tree, but removing techs creates xml errors in the eventtriggers; can I delete all of the events without creating a problem?

Also, I wanted to use units from another mod; however the unit appearances seem to vary by civilization for the same unit. I only found one entry in the unitinfos XML file, so where in the XML files is the appearance controlled?

Thanks in advance!

Gaius Octavius
Jan 06, 2008, 06:01 PM
Welcome to the wonderful (and at times quite painful) world of modding Civilization IV!

Yes, once you start messing around with those techs you are going to get a fistful of errors. The simplest way to fix that is to change the tech prereqs to accommodate your new tech tree. If you don't want the extra events, you can remove them entirely without any problems (though make sure you get all the references to it, or you'll have new XML errors pop up). It really depends on how appropriate they are to your mod.

The unit that looks different for each civ is defined in the Art XML files. Look under XML/Art and find the unit defines file (its exact name escapes me at the moment) and you should find what you need there. Just tell it to use the same art for every cultural style. :)

Good luck!