Crash problem with new civilisation mods: HELP!

JBG

Prince
Joined
Mar 14, 2004
Messages
533
Location
Cambridge, UK
I have been looking around, and while lots of people have complained about this problem, *no-one* has addressed it:

I have just completed a new civilisation in a mod. I followed the tutorials, and dealt with the initial error messages the game threw at me. Despite the error messages the mod was still very useable.

I went through file-by-file zapping the errors as they came up in the XML files. Now, all the XML files load fine - and then I get an error message, which says Civ4 has to close and do I want to send an error report.

Can someone please help me out of this? A lot of people have complained of this probalem but I have not yet found an answer.

I can send the mod files to anyone on request. Once this problem is sorted out, I'll post the mod on the forums.

Thanks,

JBG
 
No-one? Someone *please* respond! :cry:
 
JBG said:
I went through file-by-file zapping the errors as they came up in the XML files. Now, all the XML files load fine - and then I get an error message, which says Civ4 has to close and do I want to send an error report

This is almost certainly because the game is trying to access a file it cannot find - maybe a splash screen or graphic.

Sometimes deleting the catalogue files in the cache will cause this to happen, but usually before any XML files load, and only once. (afterwards it will load fine)

This also happens if you try to place a unit on a map that doesn't have the art defined properly.

Did you replace the splash screen by chance?
 
No. I didn't replace any graphics. I only created some new ones, as per the two top 'create your own civ' tutorials. Besides, when I previously had the error messages, (problems with text in XMLs) after those went the game would load fine and all of my graphics were visible in the civilopedia.

I'm at my wits' end here!
 
No. The moment I installed the game for the first time, I downloaded the 1.52 patch.

And I went through the files and noticed I'd not maned one of the graphics files properly - but I STILL get the error!
 
Mine is currently the only mod I have.

The fatal error thing (which I think must be the XP version of 'this program has performed an illegal operation...') has only started happening after I fixed the problems in the XML files (i.e. correcting typos, &c that had previously caused errors). With the previous errors, I could load and play the mod, but I wouldn't have a UU, or wouldn't have a player colour, or something.
 
did you try to do something with music?

i had a problem with my italian mod with xml, correct it and then, civ4 COTD when it was loading...

i corrected it by deleting the audio xml files
 
I didn't know you *could* fiddle around with the audio files.

The only things (and I mean the only things) I did were to specify which command audios the game should use when using units, and which music to play in the background in diplomacy sequences. I didn't actually create any new ones. The only XML files I did sound-sort-of-stuff in were the copies of CIV4LeaderHeadInfos.xml and CIV4CivilizationInfos.xml that I have in the mod's directory.
 
Okay, this is odd: Out of sheer deperation I moved the Interface folder from the XML part of my mod's directory, and it works.

The only thing is that now my civilisation doesn't have a colour. Obviously I've done something in the colours files to screw it up. All I did was add two new colours (Aqua and Dark Aqua), as follows:
From CIV4ColorVals.xml
<ColorVal>
<Type>COLOR_PLAYER_AQUA</Type>
<fRed>0.05</fRed>
<fGreen>0.50</fGreen>
<fBlue>1.00</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<Type>COLOR_PLAYER_AQUA_TEXT</Type>
<fRed>0.12</fRed>
<fGreen>0.45</fGreen>
<fBlue>0.90</fBlue>
<fAlpha>1.00</fAlpha>
<ColorVal>
<Type>COLOR_PLAYER_DARK_AQUA</Type>
<fRed>0.00</fRed>
<fGreen>0.30</fGreen>
<fBlue>0.60</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
<ColorVal>
<Type>COLOR_PLAYER_DARK_AQUA_TEXT</Type>
<fRed>0.3</fRed>
<fGreen>0.50</fGreen>
<fBlue>1.00</fBlue>
<fAlpha>1.00</fAlpha>
</ColorVal>
And (from CIV4PlayerColorInfos.xml)
<PlayerColorInfo>
<Type>PLAYERCOLOR_AQUA</Type>
<ColorTypePrimary>COLOR_PLAYER_AQUA</ColorTypePrimary>
<ColorTypeSecondary>COLOR_PLAYER_BLACK</ColorTypeSecondary>
<TextColorType>COLOR_PLAYER_AQUA_TEXT</TextColorType>
</PlayerColorInfo>
<PlayerColorInfo>
<Type>PLAYERCOLOR_DARK_AQUA</Type>
<ColorTypePrimary>COLOR_PLAYER_DARK_AQUA</ColorTypePrimary>
<ColorTypeSecondary>COLOR_PLAYER_WHITE</ColorTypeSecondary>
<TextColorType>COLOR_PLAYER_DARK_AQUA_TEXT</TextColorType>
</PlayerColorInfo>

I can't see anything wrong with either of those - can you?
 
How very embarrasing...

As you may notice, the first of the two quote boxes in my last post contains the crucial error: I missed out two <tags>.

Just goes to show I suppose. Thanks very much for rallying round, though, people!
 
Aha. Ho ho. My troubles aren't over.


Whenever I try and build the civ's UU it bombs to the desktop.
And the UU's entry in the civilopedia doesn't display any text either.

Any idea what could be causing this?
 
Back
Top Bottom