View Full Version : How to add new civilizations to BUG mod/sevopedia


Cybah
Aug 17, 2008, 06:25 PM
Well, how to add new civilizations? Just added a new civilization (with a new leader) to my mod but I don't get the last step. Can't start a new game with a new leader from that new civilization. The game crashes to desktop. :( No xml error when starting the mod.

EmperorFool
Aug 17, 2008, 06:53 PM
Well, how to add new civilizations? Just added a new civilization (with a new leader) to my mod but I don't get the last step. Can't start a new game with a new leader from that new civilization. The game crashes to desktop. :( No xml error when starting the mod.

BUG uses the standard CivilizationInfo objects loaded from the XML files. You can add new civilizations just as you would with stock BTS. Search the main modding and customization forum for a tutorial.

Sadly, Civ doesn't provide a meaningful error message when you have a problem with your XML changes.

Cybah
Aug 17, 2008, 06:56 PM
well... I get sevopedia errors. Can't select the new civilization. You mean, I must have made a xml mistake?

EmperorFool
Aug 17, 2008, 06:59 PM
You said "crashes to desktop" -- not Python errors. I might be able to help if you can post the error message you get from Sevopedia. Or are you saying that the Civ shows in the list, but clicking it does nothing? Please be as specific as possible.

Cybah
Aug 17, 2008, 07:07 PM
meh.... you were right. my fault only. I forgot the file: CIV4ArtDefines_Civilization.xml

EmperorFool
Aug 17, 2008, 07:24 PM
It sounds to me like you haven't set up the button for the new civ correctly. You must be running a different version of BUG than I have, but both of those conditions would grab the button from the CivilizationInfo object and pass it to the table control.

If that's not the problem, disable Python exception popups and enable logging. Then you can post the contents of Logs/PythonErr.log so I can see the C++ exception itself (not shown in the popup).

Cybah
Aug 17, 2008, 07:38 PM
see my last post (edit ;)). it's only a new revision of sevopedia for german mods I've done together with thomas sg. it's the same bug version.

nevermind. problem solved. :)

alerum68
Aug 17, 2008, 09:24 PM
Cybah, can you do us a favor and not post a new thread for something like this, but instead limit it to the Questions about BUG Mod?