Welcome to the TWC Wiki! You are not logged in. Please log in to the Wiki to vote in polls, change skin preferences, or edit pages. See HERE for details of how to LOG IN.

Difference between revisions of "Descr win conditions.txt"

From TWC Wiki
Jump to navigationJump to search
(Created page with "{{RTW M2TW Modding Logo}}<br> ==File's Structure== This file contains setting of victory conditions of each factions. Each faction would have section like this. <faction>...")
 
(Conditions which could use together)
Line 24: Line 24:
 
   '''outlive''' <faction_name> <faction_name> <faction_name>.... (M2TW only)
 
   '''outlive''' <faction_name> <faction_name> <faction_name>.... (M2TW only)
 
Requires factions mentioned in condition to be destroyed (by player or others).
 
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==
 
==Stand alone conditions==

Revision as of 03:06, 28 January 2021

Rome:Total War & Remastered - Modding Index

M2TW Modding Index



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.

 survivor <character_name> (RTW-Alexander only)

Rome-Total War: Alexander only condition, Requires character mentioned in condition to survive through out the playthrough, losing character mentioned here would mean lose the campaign.

 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.

Additional content

 script <path to script file from data folder of the mod> (RTW-Alexander only)

Rome-Total War: Alexander only condition. Put at the end of victory condition of that faction so when win condition fulfilled would run the script before back to main menu.