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
(Additional Note)
Line 45: Line 45:
 
==Additional content==
 
==Additional content==
  
   script <path to script file from data folder of the mod> (RTW-Alexander only)
+
   '''alexander''' <region_names> <region_names> <region_names>.... (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.
+
  '''script''' <path to script file from data folder of the mod> (RTW-Alexander only)
 +
 
 +
Rome-Total War: Alexander only condition. By replacing '''hold_regions''' with '''alexander''' allow 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 04:56, 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

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

Rome-Total War: Alexander only condition. By replacing hold_regions with alexander allow 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.