TXT_KEY_CIV issues using Kael's tutorial

TheManFromMars

Warlord
Joined
Oct 25, 2010
Messages
102
Hello there,

So still working on getting a first Civ in the game for myself. Using Kael's tutorial seems helpful but it was written using beta I think, so some things seem different. Anyway some good help from the community helped me sort out the post .6 patch issue not showing certain civs, but now I'm having issues with just getting "TXT_KEY_CIV_BLAHBLAH_" etc messages instead of text coming up. I think my mind is a bit fried really, I should be able to work this out but can't.

Funny thing is when I took Kael's example literally, and did NO changes with his Celt example, it still just gave me "TXT_KEY_CIV_CELT_DESC_" kind of text instead of the proper stuff. So if his template is wrong I can't figure out what is right. I've also looked at other people's xmls and can't see any difference between mine and theirs, and Kael's.

Is there something not right in his guide? Or am I just screwing up?

Also, is there another step-by-step 'how to add a civ' guide? One that is up to date? Don't get me wrong, I enjoy learning for myself, to the extent i'm not pulling my hair out, and I've modded many games before, so I hate feeling like i'm just leeching info off the ocmmunity and appear like i'm not putting in the work, but I am and just want to get this bloody thing working and then move onwards and upwards.

Thanks in advance.
 
Most of the time when people report that problem, it's a result of not localizing the TXT_KEYs. Are you playing with en_US or some other language variant?
 
Thanks for the speedy reply.

I'm just using the US version, I'm sure. How would I check that? But I currently reside in the US and bought the game here, so I'm assuming it is US.

Unless I'm just being blind. I tested the 'new civ' process by pretty much just copying and pasting Kael's tut, and it got the TXT KEY errors then too.

Any other thoughts? I've attached the file if anyone wants to have a look.

Cheers in advance.
 

Attachments

If youre using the new patch, the civilopedia tags no longer work and they will break your code. take out all the <Civilopedia> tags and let me know if it works.
 
If youre using the new patch, the civilopedia tags no longer work and they will break your code. take out all the <Civilopedia> tags and let me know if it works.

Actually they do work for everything EXCEPT in
Code:
GameData>
	<Civilizations>
	</Civilizations>
</GameData>

They still work in <Units> etc
 
Thanks for the speedy reply.

I'm just using the US version, I'm sure. How would I check that? But I currently reside in the US and bought the game here, so I'm assuming it is US.
The question was if you play in English, since you appear clueles and live in US you probably do.

I can't download your file atm and haven't read that tutorial, but the issue here seems to be that you haven't defined values for txt strings, they go into files in assets\gameplay\newtext\en_us if you want to check their syntax
 
Actually they do work for everything EXCEPT in
Code:
GameData>
	<Civilizations>
	</Civilizations>
</GameData>

They still work in <Units> etc

oo didnt know that. Went over the code everything looks right, except no leader. If the civilopedia dont work, check your config.ini file and make sure it says this somewhere in there:

Language = en_US
 
It isn't the Civilopedia issue, I already fixed that thanks to members help. It also isn't the config, I checked that. It could be the leader being missing but that wouldn't make sense to me, seems irrelevant to names of cities, the civ itself etc. Resisting just copying someone elses working mod and adding my things, I need to learn this correctly, and heck I might even update Kael's tutorial once finished (i've written tuts for mods of other games before.)

And riwikawi or whatever your name is, I'm British, never said I was American, and I'm far from clueless, I understood the question, perhaps you didn't understand the answer. Defining the strings also does not seem to be an issue - I've observed a working 'new civ' mods structure and the related xmls and can't seem to identify a difference.

I obviously AM missing something, but I can't tell what. Anyone else fancy looking at the xmls or anyone else managed to get a Civ working mind telling me if this corrects itself when you've added the Leader?

Ta in advance
 
You know what? I don't even want to talk about it...
Let's just say it was something a little embarassing, PBK (problem before keyboard!)

Thanks for everyone's help, I had indeed pointed the action updates to the wrong file, but I only thought to check that after someone on here said they had checked it, and it was okay, so thanks everyone for your help. I'll finally get this done now!

Happy modding
 
Back
Top Bottom