Coupla problems with my mod.

Mouthwash

Escaped Lunatic
Joined
Sep 26, 2011
Messages
9,370
Location
Hiding
1. Pacifism invokes a 1.7 million happiness cost for each unit now. Which is hard for me to fathom, because I haven't touched the civic.

2. I removed Confucianism and now Taoism has the Confucian icon, even in Civilopedia.

Thanks.
 
How do I do that? I've never touched the DLL before.
 
Last edited:
1. You most likely broken the xml <> pattern somewhere or set up incorrect numeric/binary value pattern.

2. IMHO Its better to disable a religion rather than completely remove it - then you can avoid the font issues.
OR you need to edit the fonts file graphics and erase those religions graphics as well
 
1. You most likely broken the xml <> pattern somewhere or set up incorrect numeric/binary value pattern.

Translate that into idiot-speak please?

2. IMHO Its better to disable a religion rather than completely remove it - then you can avoid the font issues.

How would you even do that?

OR you need to edit the fonts file graphics and erase those religions graphics as well

That's what I'm trying to do now. EDIT: And failing at. You gotta explain this to me too.
 
Last edited:
Ah, K-Mod (which I'm using as a base) didn't have that. Thanks!
 
Last edited:
Translate that into idiot-speak please?

The xml files has certain structure - which tags follow which tags.
When tag opening/closing is broken file usually fails to load and game will complain.
However there is a less noticeable error when tags were switch around or incorrect tag was used - like using a Boolean value tag instead of Integer - the game still loads but results are unpredictable ;)

This probably what happened - you were editing it and copy/pasted into wrong part or missed/erased one of the tags.

Post your Civics file - I can take a look ;)

RE: religions I will have look at it on more details once I get to my Civ files ;)
 
RE: religions I will have look at it on more details once I get to my Civ files ;)

Problem was solved in the previous posts.

The xml files has certain structure - which tags follow which tags.
When tag opening/closing is broken file usually fails to load and game will complain.
However there is a less noticeable error when tags were switch around or incorrect tag was used - like using a Boolean value tag instead of Integer - the game still loads but results are unpredictable ;)

This probably what happened - you were editing it and copy/pasted into wrong part or missed/erased one of the tags.

Post your Civics file - I can take a look ;)

I don't think I've done anything like that but here ya go.
 

Attachments

.There is an XML validator program that checks your XML against your schema files.

edit It looks like you have some elements in your XML file that are not defined on the schema file but then I may not have the same schema file as you.
 
.There is an XML validator program that checks your XML against your schema files.

edit It looks like you have some elements in your XML file that are not defined on the schema file but then I may not have the same schema file as you.

That program is for C2C, what did you expect?

Yeah the xml has <iExtraHappiness>0</iExtraHappiness> which I guess is part of the mod.
It is possible that there were some more correspondences between modified xml and rest of the mod which got corrupted when you removed the religions. Looks puzzling ;)

90% sure that this showed up before I touched the religions.
 
No it is not just for C2C. It compares your XML file with your schema. Works for any mod.

It does not check the contents of the tags just that all the tags used are the ones in the schema and in the correct order and valid structure.
 
That program is for C2C, what did you expect?
I'm always baffled by your answers like this.
You know, here in CFC we have a lot of very intelligent people trying to be helpful wherever they can.
First you should assume that they are right, and you are the one lacking in knowledge related to the given subject.

EDIT: sry didn't notice this conversation was already 3 weeks old
 
Back
Top Bottom