PDA

View Full Version : A CTD! Help me!



Melea Lord
08-05-2006, 08:51
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?

GiantMonkeyMan
08-05-2006, 16:21
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 testing :thumbsup: and if you run into trouble again check the links database for tutorials (https://forums.totalwar.org/vb/local_links.php?catid=70)

kambiz
08-07-2006, 13:01
Hiya;
Is it possible to modify traits and ancillaries ???

Thanks

Stuie
08-07-2006, 13:12
Hiya;
Is it possible to modify traits and ancillaries ???

Thanks

Yeah - here's the basics:

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

kambiz
08-07-2006, 21:53
Hey Sruie;
Very good guid ,But Infact I wanna know ,Is it possible to create New traits and ancillaries in mods?

Thank you for Response
-Kambiz

GiantMonkeyMan
08-07-2006, 22:41
yes you can make new traits


(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



(in export_vnvs.txt)

&#172;--------------------

{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



(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 :thumbsup:
GMM

kambiz
08-08-2006, 10:30
Thanks a lot GiantMonkeyMan ,Yes It will help.

Melea Lord
08-11-2006, 19:04
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?

GiantMonkeyMan
08-12-2006, 09:30
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 :wall:

GMM

Melea Lord
08-12-2006, 09:57
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?

Melea Lord
08-12-2006, 12:27
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?