| 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 |
|
Chieftain
Join Date: Nov 2005
Posts: 93
|
Adding a New Trait
Hey, I had a quick question and I can't find any discussion about it here -
Is there a way to add new leader traits? I know how to add traits that have similar characteristics as those that already exist (ie health benefits) but how do I add traits that do things like modify happiness per city? I also can't figure out how to add traits that mess with production speed for certain buildings (a la the way Spiritual gives double production speed of temples). I tried to create a trait that gave 1 happiness per city. I used <iHappiness>1</iHappiness>, which I derived by looking at the way bonuses worker (like gold). I can get the game to load fine. The problem is that the bonus doesn't work. It shows up under the leader, but it doesn't nothing and the pop-up help on it is blank (it just says "Autocratic" in green with nothing below it). Any ideas on how to make this work? I looked into the python but can't seem to find what I need. Thanks. |
|
|
|
|
|
#2 |
|
Deity
Join Date: Dec 2001
Location: Grand Rapids, MI
Posts: 2,451
|
I think in order to add new xml tag definitions, you need to dig a little deeper. My feeling is that you'd have to have the SDK, but I really don't know.
|
|
|
|
|
|
#3 |
|
Chieftain
Join Date: Nov 2005
Posts: 93
|
I see. Anybody else have anymore input (bump)?
|
|
|
|
|
|
#4 |
|
Chieftain
Join Date: Nov 2005
Posts: 11
|
I think you can only use the tags that are already present. For now. Just mix and match what the other traits use to get your own one, that's what I'm doing.
|
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error when adding a new trait. | Chris41336 | Civ4 - Creation & Customization | 3 | Nov 21, 2008 05:09 PM |
| Adding new trait XML tag via SDK | ripple01 | Civ4 - SDK/Python | 2 | May 28, 2008 02:40 AM |
| Adding a new trait XML tag via SDK | ripple01 | Civ4 - Creation & Customization | 1 | May 25, 2008 10:52 PM |
| Help adding a shield per tile bonus in a trait | Telecide | Civ4 - Creation & Customization | 3 | Nov 17, 2007 10:27 AM |
| At what difficulty level does the Expansionist Trait become a very bad trait? | Artifex | Civ3 - General Discussions | 14 | Jan 05, 2004 06:20 PM |