| General | Hosted Sites | Civ5 | CivRev | Civ4Col | Civ4 | Civ3 | Civ2 | Civ1 | Misc | Marketplace |
![]() |
|
|
Welcome to Civilization Fanatics' Center. You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
King
Join Date: May 2006
Posts: 822
|
I need a good tutorial on how to add traits!
I've tried on my own to no avail, and the seach hasn't yielded much. Help would be appreciated.
__________________
Modding: The Ultimate in Replay Value |
|
|
|
|
|
#2 |
|
Dry Bones
Join Date: Oct 2008
Location: Los Angeles
Posts: 5,539
|
|
|
|
|
|
|
#3 |
|
King
Join Date: May 2006
Posts: 822
|
That is somewhat useful, but it doesn't tell me exactly why mine isn't working. Could it be that I don't have description TXT_KEY files? (In other words, I just type the name in English.)
Edit: Or perhaps it's that the Short Descriptions link to nothing. I'd like to be told for sure, though.
__________________
Modding: The Ultimate in Replay Value Last edited by Bahmo; May 28, 2009 at 09:45 PM. |
|
|
|
|
|
#4 |
|
Dry Bones
Join Date: Oct 2008
Location: Los Angeles
Posts: 5,539
|
Replacing TXT_KEY files with english or not linking them should work, might be one of those weird errors. Try redoing the trait.
|
|
|
|
|
|
#5 |
|
King
Join Date: May 2006
Posts: 822
|
Assuming I do want to add the TXT tags, do they need to be added to one of the existing files, or can I create my own file and put it in the folder?
__________________
Modding: The Ultimate in Replay Value |
|
|
|
|
|
#6 |
|
Dry Bones
Join Date: Oct 2008
Location: Los Angeles
Posts: 5,539
|
You can add your own and put it anywhere in the Text xml folder, even if you make a subfolder in the Text folder.
|
|
|
|
|
|
#7 |
|
King
Join Date: May 2006
Posts: 822
|
Alright, all that is done, but it is still not working! Why?!
__________________
Modding: The Ultimate in Replay Value |
|
|
|
|
|
#8 |
|
Dry Bones
Join Date: Oct 2008
Location: Los Angeles
Posts: 5,539
|
Post the traitinfos then.
|
|
|
|
|
|
#9 | |
|
King
Join Date: May 2006
Posts: 822
|
Here they are. Sorry to just dump the text on you like this, but I don't have a zip program.
Quote:
__________________
Modding: The Ultimate in Replay Value |
|
|
|
|
|
|
#10 |
|
Dry Bones
Join Date: Oct 2008
Location: Los Angeles
Posts: 5,539
|
If you know how to change file extensions, you could make a copy and change the extension to .zip or so. It won't be compressed, but you would be able to upload it.
Also, what does the "Nautical" trait do? Does it have some python related function that may be malfunctioning? |
|
|
|
|
|
#11 |
|
King
Join Date: May 2006
Posts: 822
|
It gives a production bonus for certain naval units. I might also add a promotion. That's not done, so now, it really doesn't do anything, but I don't see why that would make it malfunction.
Edit: What is it you'd want me to upload?
__________________
Modding: The Ultimate in Replay Value |
|
|
|
|
|
#12 |
|
Prince
Join Date: Oct 2005
Posts: 461
|
When you say 'it isn't working', what exactly is/is not happening.
Does the game spit out an error when loading? If it loads, does whatever leader you have assigned the trait to have it listed? If it is listed for the leader, is it simply not doing anything in game? |
|
|
|
|
|
#13 |
|
King
Join Date: May 2006
Posts: 822
|
The mod loads, but that's it. The new traits are neither displayed when you choose/look up a leader, nor do they have their effects.
__________________
Modding: The Ultimate in Replay Value |
|
|
|
|
|
#14 |
|
Dry Bones
Join Date: Oct 2008
Location: Los Angeles
Posts: 5,539
|
This is a little obvious, but did you edit the LeaderHeadInfos?
|
|
|
|
|
|
#15 |
|
King
Join Date: May 2006
Posts: 822
|
Indeed I did, although not all of them, just a few to test the mod.
Edit: Would you like me to post that, too? Also, you have not answered whether maybe not having a custom ini may be the problem!
__________________
Modding: The Ultimate in Replay Value |
|
|
|
|
|
#16 |
|
Dry Bones
Join Date: Oct 2008
Location: Los Angeles
Posts: 5,539
|
I don't think so, but you can just copy one from another mod and rename it if you want to try it.
|
|
|
|
|
|
#17 | |
|
King
Join Date: May 2006
Posts: 822
|
Failure here, too. Here's an interesting question. For whatever reason, my laptop does not allow me to modify and save files in the program folders. I found a way around it, in the form of doing them somewhere else and then copying them into the folders, but could that be responsible for a malfunction?
Edit: I did another experiment, where I spliced the stuff into another mod, which had a bunch of errors at the start. Apparently, my new text file may be part of the problem, so I'll post it now. Quote:
__________________
Modding: The Ultimate in Replay Value Last edited by Bahmo; Jun 01, 2009 at 09:45 PM. |
|
|
|
|
|
|
#18 |
|
Dry Bones
Join Date: Oct 2008
Location: Los Angeles
Posts: 5,539
|
If you use Notepad++, it would be easier to see errors, because the tags are clearly identified and it points out errors in Red.
|
|
|
|
|
|
#19 |
|
King
Join Date: May 2006
Posts: 822
|
Well, I don't have that program. Recall that in its own mod, this file wasn't read at all; the mod just loaded without it.
__________________
Modding: The Ultimate in Replay Value |
|
|
|
|
|
#20 |
|
Deity
Join Date: Mar 2003
Posts: 6,296
|
If I were you I'd start over. And try to add a single trait first, get that to work and then move on to adding others. Much easier to debug and begin working on things if you focus on a single addition rather then go for a whole slew of additions. Also makes it much harder for those of us trying to help you to focus on what the issue could be with so many different additions.
__________________
Do not PM me with questions about modding. I will not answer. If you want help with something, start a thread on it, or post in a related existing thread. |
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [TUTORIAL] MY Add a Civ Tutorial | Charcoal | Civ4 - Modding Tutorials & Reference | 357 | May 02, 2013 01:54 PM |
| Tutorial: How to add a new leader in the game | frenchman | Civ3 - Tutorials, Reference, & Guides | 48 | Jun 20, 2012 08:36 AM |
| How do I add my own new traits? | Cía | Civ4 - Creation & Customization | 1 | Aug 04, 2008 04:35 AM |
| I propose to create a tutorial : how to add a new civ in the game | frenchman | Civ3 - Creation & Customization | 8 | Jul 23, 2004 05:55 AM |