Help with civilization creation

Pattousai

Chieftain
Joined
Apr 7, 2007
Messages
31
02/11
Hello there, I would like to know if there's a way to disable the vanilla civilizations on a mod. Wipe them from the Civ selection, pedia entries and such; without erasing every******thing in the xml.

02/08
Hello there.

I was following the My Add a Civ Tutorial by Charcoal, and followed most of things right, at least is what I think.

But...

1: The Leaderhead don't show. The LeaderHeadButton is Ok, but the LeaderHead itself is just plain shock pink, and when I change to a normal CivLeader, it gets like behind a glass or something.
2: The flag don't work. It's all white.

Do any of you know the problem? If necessary, I can upload the .dds or everything needed that can help solve this question.

Thanks.
 
A pink leaderhead is the equivilent of a 404 error, it can't find the file specified. Try checking your artdefine again. There may be a problem with the background.
 
Thank you, mechaerik. The LH was a comma misplaced in the artdefine. It is now working.

The all-white-flag problem still continues.
 
General Tso, I tried, and it did nothing. The flag continues to be just plain white. Not bright white, just white. I'll double-check every entry for the Flag again, just to be sure it isn't another 404.

EDIT: The flag only uses yellow and blue as colors.

EDIT2: Yeah, it was another 404 problem. Modding involves so much crossed information that's easy to forget something. Thanks everyone for the help, will contact again when needed.
 
for the white flag problem:

download DXTbmp, google it and you'll find it.

open up the dds file that is the flag. Go over to the part that says "alpha channel", send it to editor. This will open up paint. Bucket Paint it all black, and save it. Close paint.

then hit the "refresh after edit" button, under the alpha channel portion, it'll be black now. Then save the flag and it'll work.
 
02/11
Hello there, I would like to know if there's a way to disable the vanilla civilizations on a mod. Wipe them from the Civ selection, pedia entries and such; without erasing every******thing in the xml.
 
Why do want to erase the civs? It would be far simpler to rename them and change some stuff.
 
I suppose you might try commenting them out. Start with <!-- at the start of your comment and end with --> . There's a better example at the top of your XML file, just copy that. Everything between those marks will be ignored, and it doesn't even have to be the same line. I've pretty much done the same in my own modding.

I forget the exact name of the Civilization defines file though...if you've already customized your own Civs, you likely know already, but I'm sure you'll find it. Anyway, I think that's the only XML file you'll have to edit to do this. I've only got two Civs in my own mod when I load it up, so I'd say it works. :goodjob:

Oh, and in case anyone hasn't guessed it by now, I use Notepad++ . :D Really good XML editor, if you're looking for one. Google it if you're interested. You can collapse tag trees so you don't have to scroll past them, plus a lot of other features I'm still not totally familiar with.
 
That would work, but that may have unforeseen problems. Also, the Leaderheads would still be there, and if you remove those, you'll have to modify the DiplomacyInfos. And any other references.

EDIT: I agree with Tssha- Notepad++ is an extremely good editor, and it also can edit python and c++ files easily. I suggest you get it; its free.
 
Oh, right, I remember now, I had to disable the leaders too...geez, this was so long ago and I wasn't really very serious in those days...heck, I'm still not very serious about it. :p

Yeah, I guess you'd have to comment out the leaders too, or else they'd be under the Leaders section of the Civilopedia. However, commenting it out is a pretty safe thing to do...provided you don't leave a tag unclosed, of course. Once the leaders and the civs are commented out, they'll disappear from the Civilopedia.
 
Thanks both, Tssha and mechaerik. So, I just need to comment out the civs and the leaders? Looks simple.
 
Back
Top Bottom