Using Leader Trait as Civilization Trait

Craig_Sutter

Deity
Joined
Aug 13, 2002
Messages
2,773
Location
Calgary, Canada
I have been trying (and failing) to use Victoria's Pax Britannia trait as a Civilization Trait for my Denmark Civilization (Great Heathen Army). That is the trait she has that cities on other continents (conquered or founded) generate a melee unit. I cannot seem to get it to work... either I am doing something fundamentally wrong with the set up of my code (possible) or the modifiers for a Leader trait cannot be migrated to a civilization trait. I have changed all of the relevant entries from TRAIT_LEADER_PAX_BRITANNIA to TRAIT_CIVILIZATION_GREAT_HEATHEN_ARMY and associated all of the modifiers (afaik) to the new trait copying Victoria's entry. I get a crash to the main menu though. I have previously succeeded in applying a civilization trait to another civilization, so I have an idea what I am doing... but I cannot figure out my failure here.

Am I attempting the impossible?
 
Sounds to me like you missed adding something(or a typos causing the game not to see it) to the database. That what the kick back to Main menu usually means. Did you check the Database.log and or Modding.log?
 
Back
Top Bottom