Difference between revisions of "Descr win conditions.txt"
(→Conditions which could use together) |
|||
Line 24: | Line 24: | ||
'''Note:''' '''hold_regions''' and '''take_regions #''' must be using together, if only 1 exist, it would not able to to trigger victory condtiion. | '''Note:''' '''hold_regions''' and '''take_regions #''' must be using together, if only 1 exist, it would not able to to trigger victory condtiion. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
==Stand alone conditions== | ==Stand alone conditions== | ||
Line 45: | Line 40: | ||
Short campaign condition is follow normal victory condition and start with "short_campaign" to indicated start of condition for short campaign. Short campaign could use all condition which normal campaign could. | Short campaign condition is follow normal victory condition and start with "short_campaign" to indicated start of condition for short campaign. Short campaign could use all condition which normal campaign could. | ||
− | == | + | ==Alexander engine only condition== |
'''alexander''' <region_names> <region_names> <region_names>.... (RTW-Alexander only) | '''alexander''' <region_names> <region_names> <region_names>.... (RTW-Alexander only) | ||
+ | '''take_regions #''' | ||
+ | '''survivor''' <character_name> (RTW-Alexander only) | ||
'''script''' <path to script file from data folder of the mod> (RTW-Alexander only) | '''script''' <path to script file from data folder of the mod> (RTW-Alexander only) | ||
− | Rome-Total War: Alexander only condition. | + | Rome-Total War: Alexander only combination. |
+ | |||
+ | '''alexander''' act the same as '''hold_regions''' condition but allow additional condition of '''take_regions #''' , '''survivor''' and '''script'''. Requires '''survivor''' condition to exist somewhere in the file or it would cause ctd before reach faction selection menu. | ||
+ | |||
+ | '''survivor''' to set character survival as victory condition, only character with "immortal" trait could use in this condition. If character does not have immortal trait campaign would prompt defeat right from the start of campaign. | ||
+ | |||
+ | '''script''' to be using at the end of victory condition of that faction so when win condition fulfilled would run the script before back to main menu. | ||
+ | |||
==Additional Note== | ==Additional Note== |
Revision as of 06:53, 28 January 2021
Contents
File's Structure
This file contains setting of victory conditions of each factions. Each faction would have section like this.
<faction> .... (condition for normal campaign) .... (condition for normal campaign) short_campaign .... (condition for short campaign) .... (condition for short campaign) .... (condition for short campaign)
Conditions which could use together
hold_regions <region_names> <region_names> <region_names>....
Requires the faction to control the regions listed after this. Multiple regions can be used by separating their names with a space. You must use the internal name of a region as using in descr_regions.txt which that campaign using. This can be used together with take_regions.
take_regions #
Requires the faction to be in control of at least # regions. This can be used together with hold_regions.
outlive <faction_name> <faction_name> <faction_name>.... (M2TW only)
Requires factions mentioned in condition to be destroyed (by player or others).
Note: hold_regions and take_regions # must be using together, if only 1 exist, it would not able to to trigger victory condtiion.
Stand alone conditions
take_rome (RTW only)
Requires non-roman culture faction to have at least 50 regions, including Rome (require settlement with internal name "Rome" in descr_regions.txt), to win the campaign.
imperator (RTW only)
Requires roman culture faction to have at least 50 regions, including Rome (require settlement with internal name "Rome" in descr_regions.txt), and win the civil war over senate. This using by roman faction only in vanilla, although in reality it is practically the same as take_rome condition.
outlive_factions <faction_name> <faction_name> <faction_name>.... (RTW only)
Requires faction to have at least 15 regions and factions mentioned in condition to be destroyed (by player or others).
short campaign condition
Short campaign condition is follow normal victory condition and start with "short_campaign" to indicated start of condition for short campaign. Short campaign could use all condition which normal campaign could.
Alexander engine only condition
alexander <region_names> <region_names> <region_names>.... (RTW-Alexander only) take_regions # survivor <character_name> (RTW-Alexander only) script <path to script file from data folder of the mod> (RTW-Alexander only)
Rome-Total War: Alexander only combination.
alexander act the same as hold_regions condition but allow additional condition of take_regions # , survivor and script. Requires survivor condition to exist somewhere in the file or it would cause ctd before reach faction selection menu.
survivor to set character survival as victory condition, only character with "immortal" trait could use in this condition. If character does not have immortal trait campaign would prompt defeat right from the start of campaign.
script to be using at the end of victory condition of that faction so when win condition fulfilled would run the script before back to main menu.
Additional Note
In RTW, If in descr_strat.txt using "options bi", AI would not able to trigger their own victory condition. Basically, AI could not make player lose by declare winning under such option.