Log in

View Full Version : My computer crashed after I created a new trait!! Help me please!



Death Match
04-25-2007, 11:33
I tried to add a trait "Religion" into play. I made a guy have a religion level of 3, so his name became "Gaius the Religious" in the game.
Gaius is a guy I created in the game by modding.
When I right-clicked his card, the game crashed. Here are the segments of files are eddited.

data\export_descr_character_traits.txt
;------------------------------------------
Trait Religion
Characters family
ExcludeCultures carthaginian, eastern, egyptian, greek, barbarian

Level Has_a_religion
Description Has_a_religion_desc
EffectsDescription Has_a_religion_effects_desc
Threshold 2

Effect Influence 2
Effect Electability 3
Effect SenateStanding 8
Effect BribeResistance 10
Effect Law 7
Effect TroopMorale 5
Effect PopularStanding 7
Effect Trading 15
Effect Management 3

Level Regular_church_visiter
Description Regular_church_visiterr_desc
EffectsDescription Regular_church_visiter_effects_desc
Threshold 4

Effect Influence 4
Effect Command -1
Effect Electability 7
Effect SenateStanding 12
Effect BribeResistance 30
Effect Law 10
Effect TroopMorale 10
Effect PopularStanding 10
Effect Trading 25
Effect Management 5

Level Devoted_to_religion
Description Devoted_to_religion_desc
EffectsDescription Devoted_to_religion_effects_desc
Epithet Devoted_to_religion_epithet_desc
Threshold 8

Effect Influence 7
Effect Command -3
Effect Electability 12
Effect SenateStanding 20
Effect BribeResistance 50
Effect Law 15
Effect TroopMorale 15
Effect PopularStanding 20
Effect Trading 50
Effect Management 10


data\text\export_VnVs.txt
{Has_a_religion} Has_a_religion

{Has_a_religion_desc}
This man has some religious mind in him, may be not so strong, but enough to change his ways of thinking.

¬--------------------

{Regular_church_visiter} Regular_church_visiter

{Regular_church_visiter_desc}
This man shows his religiousness quite openly by visiting churches.

¬--------------------

{Devoted_to_religion} Devoted_to_religion

{Devoted_to_religion_desc}
Religion is something that this man will always live with, and he always does not forget to pray.

{Devoted_to_religion_epithet_desc} the Religious

¬--------------------

data\world\maps\campaign\imperial_campaign\descr_strat.txt
character Gaius Julius, named character, heir, age 17, , x 93, y 77
traits GoodCommander 5 , NaturalMilitarySkill 5 , GoodDefender 50 , PoliticsSkill 5 , GoodAdministrator 5 , Austere 5
ancillaries aged_retainer, merchant, freeman_clerk, drillmaster
army
unit roman generals guard cavalry early exp 3 armour 3 weapon_lvl 3
unit roman hastati exp 3 armour 3 weapon_lvl 3
unit roman velite exp 3 armour 3 weapon_lvl 3
unit roman archer exp 3 armour 3 weapon_lvl 3

Makanyane
04-25-2007, 11:55
Use Tamur's trait validator to check for typos:
https://forums.totalwar.org/vb/showthread.php?t=68697

You've got at least one:
Description Regular_church_visiterr_desc

you either haven't posted or haven't done the entries in the VnVs file for any of the {....effects_desc}, which you definitely need.

Am curious though the general you showed in descr_strat doesn't seem to actually have the trait! did you just paste wrong version?

Squid
04-25-2007, 16:18
If he acquired the trait by trigger post that as well so we can have a look at it too.

Death Match
04-26-2007, 07:32
yep wrong version, it ill change it as i get chance