Log in

View Full Version : Help please with Trait problem



brvdon
03-04-2007, 01:15
Hi, i have been through the tutorial for the traits system and i added a new trait. The trait doesnt seem to register though.

The game loads and runs fine. When a new guy comes to age he doesnt get the trait and im 99% sure he should be (that is the intention anyway)

Below is what ive added and where, any help and advice would be greatly welcomed as i cant understand why its not working, im guessing ive missed something


added to edct

Trait SonOfZeus
Characters family

Level Son_Of_Zeus
Description Son_Of_Zeus_desc
EffectsDescription Son_Of_Zeus_effects_desc
GainMessage Son_Of_Zeus_gain_desc
Epithet Son_Of_Zeus_epithet_desc
Threshold 1

Effect Command 5
Effect Authority 5
Effect LocalPopularity 5
Effect Piety 10
Effect TroopMorale 10
Effect PersonalSecurity 5
Effect Law 5
Effect Chivalry -10
Effect HitPoints 20


Trigger fixed_birth2
WhenToTest CharacterComesOfAge


Affects SonOfZeus 1 Chance 100

(i have also tried random_birth trigger, and have inserted the affect sonofzeus to existing triggers with same issue.)

added to export descr vnvs enums

Son_Of_Zeus
Son_Of_Zeus_desc
Son_Of_Zeus_gain_desc
Son_Of_Zeus_epithet_desc
Son_Of_Zeus_effects_desc

added to export vnvs

{Son_Of_Zeus}Son of Zeus
{Son_Of_Zeus_desc}Many rumours say this man is born from The Mighty Pagan God Zeus. Though many would laugh this away as blahshemy, it is easily seen that this man is more than mere mortal. As the ancient hero Achilles is remembered throughout the ages, so shall this man be.
{Son_Of_Zeus_effects_desc}+5 Command, +5 Authority, +5 to popularity (improves public order), +10 Piety, +10 Morale for all troops on the battlefield, +5 to personal security (improves the chances of detecting and foiling assassination attempts), +5 to law (improves public order), +10 Dread, +20 to your general's hitpoints (how many hits your general can take before dying)
{Son_Of_Zeus_epithet_desc}the Immortal

As far as i can tell by what i have read on here this should now give all new family members the trait Son_Of_Zeus but it doesnt

please help its driving me crazy

(i plan on putting the chance on random birth with a chance of 1, not many should get the trait but when it appears it should ensure a good general either to fight with or to defend against)

thanks for any advixe you can give

Foz
03-04-2007, 06:14
Let's start at the beginning. Have you followed all necessary steps to set your game up for modding? Simply unpacking the files with the unpacker isn't enough. See this link:

https://forums.totalwar.org/vb/showthread.php?t=76289

Let me know if you've got everything in the first post covered. If you do, I'll see about more suggestions. Note that I'm not trying to be insulting here, it's just that I have no way of knowing how experienced you are at M2TW modding and modding in general...

alpaca
03-04-2007, 15:37
First of all, enable error logging (add the following to your config):

[log]
to = logs/system.log.txt
level = * error
You should also add a gain desc to your export_vnvs.txt if you want to have one.