PDA

View Full Version : Some questions about Traits and Retinue.



SSJVegetaTrunks
11-27-2006, 22:58
First of all, which files will I need to change in order to change/make a trait or retinue? I know there are multiple ones you need to change. Also, what does "Threshold" then a number mean in the export_descr_character_traits file do?

Roman_Man#3
11-28-2006, 02:29
ave SSJVegetaTrunks!

i dont know much of the topic myself, but whle searching the guild and the twc, i discovered this useful peice of information. it is a guide written by Spartan at TWC, and it describes how to add a new VnV or trait-call me thick, but are they the same thing? or is VnV an ancillary?-to the game.here is the URL.

http://www.twcenter.net/forums/showthread.php?t=9091

hope it helps,
RM3

Apoc
11-28-2006, 12:23
VnVs = Traits; Ancillaries = Retinue

You will need to edit export_descr_character_traits.txt & export_VnVs.txt to add new traits, and export_ancillaries.txt & export_descr_ancillaries.txt (you can, in BI 1.6 at least, ignore the lookup files).

The 'Threshold' is the number which indicates how many times a trigger will have to 'be triggered' for the trait to be assigned. A 'Threshold' of 1 will assign the trait the first time it is triggered, a 'Threshold' of 2 the second time, 3 the third time, and so on (this is also how the different vnv levels work).

SSJVegetaTrunks
11-28-2006, 23:06
Thank you everyone. I used the guide though and found most of it out from there and from experimenting. I do have a question or two about triggers though.

Trigger trigger_t_lucretius_carus
WhenToTest CharacterTurnEnd
Condition EndedInSettlement
and RemainingMPPercentage = 100
and SettlementBuildingExists >= scriptorium
and IsGeneral
and I_TurnNumber >= 382
and I_TurnNumber <= 430

AcquireAncillary t_lucretius_carus chance 80

What does all of this mean? Thanks in advance. Oh, and is the chance out of 100, 100 being a sure chance and 0 being no chance? I really need to figure out how to use triggers right, or there's not much point of making the traits and retinue in the first place!

Apoc
11-28-2006, 23:16
Trigger trigger_t_lucretius_carus

Name of the trigger.


WhenToTest CharacterTurnEnd

When the trigger is tested.


Condition EndedInSettlement

Start of conditions - the condition is that the character has to have to be in a settlement at end turn.


and RemainingMPPercentage = 100

The character has to have all his movement points left.


and SettlementBuildingExists >= scriptorium

This building has to exist in the settlement where the character is located.


and IsGeneral

Character is a general.


and I_TurnNumber >= 382
and I_TurnNumber <= 430

The ancillary will only be available during the turns mentioned (turn 382 to 430).


AcquireAncillary t_lucretius_carus chance 80

The chance is 80 out of a hundred - 100 will assign the ancillary each time the conditions are met.

Hope this helps somewhat.

SSJVegetaTrunks
11-28-2006, 23:35
Thank you very much! I might have a few questions later, but this should definitely increase my abilites to make traits and retinue!

Makanyane
11-28-2006, 23:36
You need to make very sure Ancillary actually exists with exactly the same case _ and spelling and has appropriate references to descriptions and .tga - wonderful gizmo for testing that traits and ancillaries don't cause crashes is here:
https://forums.totalwar.org/vb/showthread.php?t=68697
unfortunately what it doesn't do is tell you if trigger conditions are actually valid (I've managed to add many that don't crash but don't work either) or if trait / ancillary effects actually work (again I've found some inc. vanilla that don't seem to do what they are meant to, LOL)