MY Add a Civ Tutorial

I forgot the post those work two now. But now those treads can help other people:D Thanks anyway:goodjob:


glad you got it working ;)
 
This post is to help anyone else who might run into the problem I was having when I created my first civ.

I followed the instructions, and when it said "you can now play your civ", I tried, and it didn't work. So I fried my brain searching for errors. I found the following errors:
typos (custom_civ was custmo_civ or something)
wrong reference (txt_key_leader_custom_pedia was txt_key_leader_custom or something like that)
picture dimensions (513x512 instead of 512x512)
dumb stuff I did when I didn't understand why I was doing it (unitclass_custom_archer instead of unitclass_archer)

After fixing all that, it still didn't work. I could load the mod, but when I got to the civ select screen, it would crash when I chose my custom civ. I spent hours searching this site and my files and elsewhere on the internet. The solution was this:
I copied the files and folders from assets/art to assets/xml/art and everything worked fine. The tutorial directly references the first, and the downloaded "newciv" creates it, but putting those files in the second location was my solution.

If this helps anyone else, I'll be super happy, cause I was about to swear a little swear wordy. :eek:

PS Thanks a ton for the tutorial - turned months into days.
PPS Whoever it was that posted that this is in fact the HARDEST civ to edit was right. It is not the easiest to edit, it is just the most editable - the difference matters to a noob.
 
thank you for the Tutorial, but when I load up my mod I get this error:

error.jpg


then all the units get error messages saying they won't load and when I start a game I am automatically defeated.

does anyone know what the problem is?

I have attached the unit info file, my UU is the sniper, the first unit on the list
 
thank you for the Tutorial, but when I load up my mod I get this error:

error.jpg


then all the units get error messages saying they won't load and when I start a game I am automatically defeated.

does anyone know what the problem is?

I have attached the unit info file, my UU is the sniper, the first unit on the list

read through the thread.. >ahem< see alot of my posts

also it could mean:

some syntax error

you did not assign the UU to your civ (and only your civ)

you did not define it in the xml files

etc

check all the files and make sure there the syntax is correct... most of the time there is a missing/etra comma or space

or the UU is not defined in the correct XML files (Units and civ)

make your you defined it correctly (Review this thread for the common mistakes on that...


I am on vacation right now so I cant review that file right now


but re-check your files and such syntax...did I say syntax?

hope that helps ;)
 
Just got my first civ into the game, but there are a lot of bugs to iron out. Does anyone know how to make a song a civilization's theme music? (I already have the files.)
 
Another problem: Only one of my two leaderhead buttons shows up in the game. Both portraits show up, but my second LH button does not. Any help?
 
Another problem: Only one of my two leaderhead buttons shows up in the game. Both portraits show up, but my second LH button does not. Any help?

probably a syntax error or the button art is not the proper file type/size

check to make sure you arent missing any taglines or commas/spaces/etc in the xml files


best bet is to compare both leaderhead XML and Art files of each leaderhead files and see what the difference is (besides of course the different names :crazyeye: )

use the format for the one leadhead files that works.... :)


hope that helps ;)
 
I load civ IV vanilla & when i pick my NEW civ it says (1.) text_key_civ_angola_desc on the left & then (2.) for the leader name it says text_key_leader_dickhickman
 

Attachments

I load civ IV vanilla & when i pick my NEW civ it says (1.) text_key_civ_angola_desc on the left & then (2.) for the leader name it says text_key_leader_dickhickman

you just have to define those in the text folder files


POST #1 Part 5 explains this...

also you can find the text folder in the assets/xml/text path and follow the examples in those files to define them txt file definitiions

the great thing about txt taglines they dont have to be in a specific xml file.... (you can create your own if you want) just make sure you follow the format in the file and define the txt tags correctly and of course make sure the file is in the text folder


CIV4 reads the whole text folder files - so as long as they are defined and match the units/buildings/leaderheads/etc xml taglines you will be ok

hope that helps ;)
 
uhh srry but could u try & explain how to do it like what files to look at & where to look but i will try it on my own in the meantime
 
hey thanks i got it. i had to move the gametextinfos of my new civ to the text file but then i also had to change the encoding.
 
hey thanks i got it. i had to move the gametextinfos of my new civ to the text file but then i also had to change the encoding.

np glad you got it working :goodjob:
 
hey i got another question
y is my civ flag all white although in the file where it has
<bFlagWhite>adjflkajsdlf;kaj</bFlagWhite>
i put an 0 & it is still white

i also did all tht alpha channell stuff but it doesnt help
 
hey i got another question
y is my civ flag all white although in the file where it has

i put an 0 & it is still white

i also did all tht alpha channell stuff but it doesnt help

Is the flag the right size? and is it in the correct location?

does all your tagline point to your the proper path where the flag img file should be placed?
 
Back
Top Bottom