added a new civ, but now I can't get to it!

antaine

King
Joined
Aug 1, 2005
Messages
737
I used Kael's guide to add a new civ to the game. I made some changes to what he had in there, but only in the form of names, artwork, and a different unit than he has there.

When I load the mod, the leader choices appear without a scroll bar...I can't move the list down to get to it. When I make that civ part of a map, the map won't let you choose any leaders at all.

Is anyone willing to take a look at the files and see if they can identify what I've done wrong (since I'm sure my explanation makes no sense at all)? What's the best way to share that kind of file here?
 
If you've followed Kael's guide by the letter I noticed just yesterday there are a bunch of new attributes for the leader-table. Just find the Civ5Leader-file (don't remember exact name), copy everything for a leader and just paste it in your project. After that it's just a matter of making sure all the names are correct and all files have VFS set to true. I'm also not sure but from your OP it sounds like you took a civilization and just changed a few things. The example in Kael's guide is about adding a new civilization and leader, if you want to just edit attributes of existing leaders you need to use the update-commands (also found in Kael's guide).
 
VFS?

I did do cut-and-paste for the civ, except for a couple minor changes after I did the pasting.

1) I changed the name from Boudica to Brian Boru
2) I made my own artwork
3) I used the name Celts instead of Celt wherever it appeared to avoid conflicts with Queen of the Iceni

Brian is the same as Kael's Boudica as far as traits etc go, but I made a different unit and building (different than the two units he has in the tutorial).
 
I give up.

Will someone who knows a bit about adding civs be kind enough to take a look at what I've done (attached) and see if they can determine where I went wrong?

When I load the mod, and try to set up a game, I cannot scroll down to select Brian Boru (the leader and Celtic civ I'm trying to add)...there are no scroll bars. When I select "advanced", his name does not appear in the list.

If I add this civ to a world map in World Builder, the loading of that scenario is buggy (it only allows me to use "random" for leader/civ), but if this civ is player 1 it always starts me as him automatically. The civ seems to work then, but the selection process is intolerable.

halp?
 

Attachments

You've got two <Gamedata> tags at the start of the GameText.xml file. Take one out and that file will work fine. You've also forgotten to do the OnModActivated UpdateDatabase for the other files aside from Civ_Celt.xml and GameText.xml, so when it looks for a leader to display on the civ selection menu it can't find one and stops. The leaders, buildings, units, traits, and texture atlases won't work either unless you include their relevant xml files as well.
 
oh, I thought doing it once was enough for the whole project. Thanks so much.

Also, thanks for catching that typo...I reread every file 5 times before posting and didn't catch it.
 
Alright...that seems to have worked to a point, but now (that I can get farther), it gives an error saying it can't load my dds files (and I did the update database with them, too) every time it needs to call on one. Did something go wrong with my attempt to convert them from psd files?
 
Super. That worked, to a degree. I still don't get scroll bars and have to select my civ using the "advanced" option. The icons load, but some of them are not right (black boxes around them instead of a proper alpha-dds-thing), some are off-center (I think it's trying to load the 256 in place of the next size down on one screen)...but it works (loads/functions/no error messages/etc).
 
Alright, apparently the only improvement is that the game runs now. I still have no scroll bars to select civs when playing on a random map and the mod loaded, nor do I have the option of picking ANY civs when the mod is used in a map scenario (it only allows "random," but always assigns civ 1..."advanced" is unselectable). The icons and text for the UU and UB do not appear, nor does BoruDOM.dds as a background. In addition, the civ icons are all messed up wherever they are used.

I used the templates provided for everything, I still can't tell what I have done wrong.
 
Kael's Celt stuff works when used on its own, but when I replace my celt files with his and try to load my scenario, the scroll bar and not-being-able-to-choose-in-scenario issues reemerge. This is driving me nuts.

/sigh...I thought modding was supposed to be *easier* in Civ V than Civ IV...
 
There are two more things that I've noticed now:

Your icon texture atlases, the actual dds files, are the wrong sizes. You've got:
2048x2048 (correct, 256 size icons),
1024x1024 (correct, 128 size),
1024x1024 (incorrect, should be 640x640 for size 80 icons),
512x512 (correct, 64),
512x512 (incorrect, should be 360x360 for size 45 icons)
128x128 (incorrect, should be 256x256 for size 32 icons)

If you just scale the larger 2048x2048 image down and 'save as' each different size it will work.

Also, you missed the <Buildings></Buildings> tag in the CIV5Buildings.xml file.

Fix those two things and it should work swimmingly, all you need is a leader portrait now. ;)
 
I have one. I'll have to post an updated mod. As a test, I replaced all of my Celt files with Kael's Celt files and still had the problems with the absent scroll bars and lack of ability to choose any leader at all when loading a map scenario.

It's hard to describe, so when I have the opportunity, I'll put the latest version of the files up.

Thanks for catching the two problems with the dds files.
 
Well I sorted the scroll bar problem by completely starting my civ.xml from scratch. Could not find an error in it, mind.

Decided not to follow the guide directly step by step any more, and just poke about with stuff and learn the self taught method. Working so far. Although some info in kael's guide was very helpful in getting to understand the basic systems in place.
 
Back
Top Bottom