I have edited the Character Traits File and have changed the Export_VnVs to make it have sense. I have spent ages changing these files! Is there a program I can use to find errors in particular files?
I have edited the Character Traits File and have changed the Export_VnVs to make it have sense. I have spent ages changing these files! Is there a program I can use to find errors in particular files?
here is malrubius' trait and ancillary validator: https://forums.totalwar.org/vb/showthread.php?t=55732
next time remember to make back-ups of the files and only make little changes before testingand if you run into trouble again check the links database for tutorials (https://forums.totalwar.org/vb/local_links.php?catid=70)
Yeah - here's the basics:Originally Posted by kambiz
https://forums.totalwar.org/vb/showthread.php?t=38481
yes you can make new traits
Code:(in export_descr_character_traits.txt) ;------------------------------------------ Trait NewTrait Characters family Level New_Trait Description New_Trait_desc EffectsDescription New_Trait_effects_desc Threshold 1 Effect Command 1 Effect Management 1 ;========================================================= ;== TRIGGER DATA STARTS HERE == ;========================================================= ;------------------------------------------ Trigger V0010_Standard_Battle_Attacker_Crushing_Victory_VnV_Trigger WhenToTest PostBattle Condition WasAttacker and IsGeneral and WonBattle and BattleSuccess = crushing and I_ConflictType Normal and BattleOdds >= 0.5 and BattleOdds < 1.5 Affects GoodAttacker 2 Chance 100 Affects TacticalSkill 1 Chance 5 Affects NewTrait 1 Chance 5
Code:(in export_vnvs.txt) ¬-------------------- {New_Trait} New Trait {New_Trait_desc} This is a new trait just to show of my immense modding skills.... mwahahahaha. {New_Trait_effects_desc} +1 Command, +1 Management
Code:(in descr_strat) character Vibius Brutus, named character, age 30, , x 114, y 63 traits GoodCommander 1 , GoodAdministrator 2 , PoliticsSkill 1 , Intelligent 2 , MathematicsSkill 2 , NewTrait 1 army unit roman generals guard cavalry early exp 1 armour 0 weapon_lvl 0
now this is just a quick trait that i just threw together but you get the general idea... use the guide to make new traits that you want and follow the layout of the traits already there
hope this helps![]()
GMM
Last edited by GiantMonkeyMan; 08-07-2006 at 22:42.
I ain't added new ones or deleted any old ones. I have edited thresholds and eddited/created/deleted effects in the trait section. In trigger section I have eddited/deleted/added traits and have edited points and chances. Are u sure the validator cheked this. I did as the instructions said and I don't know how to find if I have errors from the 3 files that are produced.
I think the main thing I did when I changed numbers to postive or negative I made it so there was always 2 spaces between the number so negatives will have the wrong amount of spaces or just 1 space so that positive numbers were wrong. Would this tool find it?
you can't have negatives unfortunately...
thresholds are like a tally that each time the required results of a trigger are made another one of the threshold is added, when it reaches a certain amount on the threshold it will make that level of the trait be gained
but, as well as thresholds, negatives can't be used at all i don't think which is why the trait validator isn't working![]()
GMM
no no no. I meant the effects like:
command 1
command -1
I have on some of them:
command 1 (1 space, should be 2)
And on others:
command -1 (2 spaces, should be 1)
Could the validator find mistakes like this?
I changed all the effects so they were correct and it still crashed. Any ideas on what other mistakes I made when editing this file?
Bookmarks