Advertisement
Civilization Fanatics' Center  

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.

Go Back   Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization

Notices

Reply
 
Thread Tools
Old Nov 12, 2005, 02:19 AM   #1
PTM
Chieftain
 
PTM's Avatar
 
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.
PTM is offline   Reply With Quote
Old Nov 12, 2005, 08:55 AM   #2
Colonel Kraken
Deity
 
Colonel Kraken's Avatar
 
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.
Colonel Kraken is offline   Reply With Quote
Old Nov 12, 2005, 10:27 PM   #3
PTM
Chieftain
 
PTM's Avatar
 
Join Date: Nov 2005
Posts: 93
I see. Anybody else have anymore input (bump)?
PTM is offline   Reply With Quote
Old Nov 13, 2005, 12:38 AM   #4
Calantyr
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.
Calantyr is offline   Reply With Quote
Reply

Bookmarks

Go Back Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization > Adding a New Trait

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


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


Advertisement

All times are GMT -6. The time now is 01:55 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
This site is copyright © Civilization Fanatics' Center.
Support CFC: Amazon.com | Amazon UK | Amazon DE | Amazon CA | Amazon FR