Can someone tell me how I can create my own triggers please
for traits, ancillaries or scripting?
For traits and ancillaries look at existing files, make sure you put new triggers in same format as existing ones, make sure each trigger has a unique name (trigger name can be anything you like - it doesn't have to be referenced anywhere else). Look at existing ones to find examples of what conditions and effects can be used.
If you want help to do a specific thing with a trigger please post a bit more information.
Visit Total War Center Wiki for:
Total War Mods - Modding Portal - Total War Series
M2TW Modding - Battle Map Buildings - Techtrees - worldpkgdesc
Rome Remastered Modding - New Campaign Map
IWTE functions for RR - Unit models in RR
Example of existing trigger:
so you should be able to use GeneralCaptureSettlement as when to test, but I'm not sure about linking it to a specific settlement - there is a scripting conditionTrigger triumphs1
WhenToTest GeneralCaptureSettlement
Condition not CultureType roman
Affects VictorOthersVirtue 1 Chance 100
Affects HunnicFearsomeness 1 Chance 15
Affects VictorOthersVirtue 1 Chance 30
SettlementName
you could try using that in condition like;
I have no idea if it will work - make sure you give the affect 100% chance of getting a visible trait so you can see if it works and test it..Trigger new_trigger
WhenToTest GeneralCaptureSettlement
Condition SettlementName region_name
Affects .......
Failing that you need advice from some-one cleverer, or try searching forums for any similar questions and / or looking at export_descr_character_traits in any mods you've downloaded to see if you can find similar.
Visit Total War Center Wiki for:
Total War Mods - Modding Portal - Total War Series
M2TW Modding - Battle Map Buildings - Techtrees - worldpkgdesc
Rome Remastered Modding - New Campaign Map
IWTE functions for RR - Unit models in RR
Provided you've set up the trait itself correctly yes, the only file that triggers have anything to do with are the EDCT file.
Under the patronage of Roman_Man#3, Patron of Ishan
Click for my tools and tutorials
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein
from BI - don't know if it works or not....Trigger triumphs5
WhenToTest LeaderDestroyedFaction
Condition not CultureType roman
Affects VictorOthersVirtue 10 Chance 100
Affects HunnicFearsomeness 1 Chance 50
Visit Total War Center Wiki for:
Total War Mods - Modding Portal - Total War Series
M2TW Modding - Battle Map Buildings - Techtrees - worldpkgdesc
Rome Remastered Modding - New Campaign Map
IWTE functions for RR - Unit models in RR
There is no trigger (i.e. condition to test for this) but you can make a hidden traits that keeps track of the number of turns a character is in a settlement and then use a trigger that tests for that trait having a certain value.
You need two traits a positive and a negative trait so that you can reset the counter.
Under the patronage of Roman_Man#3, Patron of Ishan
Click for my tools and tutorials
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein