Difference between revisions of "Descr sm factions.txt"
(New page: ==In M2TW== The "descr_sm_facions.txt" is an important file in Medieval 2 total war, it determines various features of the various factions in-game, such as whether they are available in c...) |
(minor ed's and added to M2 category only at moment - could add RTW differences and add to othe section later.) |
||
Line 32: | Line 32: | ||
Symbol: What faction symbol the faction will use.<br> | Symbol: What faction symbol the faction will use.<br> | ||
− | Primary_colour: The main colour of the faction (this | + | Primary_colour: The main colour of the faction (this determines the middle colour within the border lines on the stratmap, not the colour of stratmap and battlemap models, it also determines the colour of deployment zone borders on the battlemap).<br> |
Secondary_colour: The secondary colour of the faction (this determines the outer colour of the border lines on the stratmap).<br> | Secondary_colour: The secondary colour of the faction (this determines the outer colour of the border lines on the stratmap).<br> | ||
Line 40: | Line 40: | ||
Logo_index: ?<br> | Logo_index: ?<br> | ||
− | Small_logo_index: ?<br> | + | Small_logo_index: ? ''In RTW this is the index to the position of the relevant logo on the UI interface tga's''.<br> |
Triumph_value: ?<br> | Triumph_value: ?<br> | ||
Line 53: | Line 53: | ||
Has_family_tree: Whether or not the faction has a family tree (In vanilla only the Papal States has this, the faction leader must be determined through scripting otherwise the faction will be leaderless when their first leader dies).<br> | Has_family_tree: Whether or not the faction has a family tree (In vanilla only the Papal States has this, the faction leader must be determined through scripting otherwise the faction will be leaderless when their first leader dies).<br> | ||
+ | |||
+ | ==See Also== | ||
+ | [[Emergent_Factions_-_M2TW|Emergent Factions in M2TW]] for section to add if emergent faction is required. | ||
+ | |||
+ | [[Category:MTW2Modding]] | ||
+ | [[Category:Modding]] |
Revision as of 11:07, 29 July 2007
In M2TW
The "descr_sm_facions.txt" is an important file in Medieval 2 total war, it determines various features of the various factions in-game, such as whether they are available in custom battles or not, what faction symbol to show on the loading screen and several other things. An example entry from the file is shown below:
faction england
culture northern_european
religion catholic
symbol models_strat/symbol_england.CAS
rebel_symbol models_strat/symbol_rebels.CAS
primary_colour red 215, green 0, blue 0
secondary_colour red 255, green 210, blue 0
loading_logo loading_screen/symbols/symbol128_england.tga
standard_index 12
logo_index FACTION_LOGO_ENGLAND
small_logo_index SMALL_FACTION_LOGO_ENGLAND
triumph_value 5
custom_battle_availability yes
can_sap no
prefers_naval_invasions yes
can_have_princess yes
has_family_tree yes
Breaking it down, What it all this means:
Faction: This is the faction the data applies to.
Culture: The culture group the faction is a part of, this determines what UI it uses and the character portrait set that characters from that faction will use.
Religion: The faction's religion.
Symbol: What faction symbol the faction will use.
Primary_colour: The main colour of the faction (this determines the middle colour within the border lines on the stratmap, not the colour of stratmap and battlemap models, it also determines the colour of deployment zone borders on the battlemap).
Secondary_colour: The secondary colour of the faction (this determines the outer colour of the border lines on the stratmap).
Loading_logo: Determines the symbol displayed on loading screens when entering a battle with that faction or loading a campaign.
Logo_index: ?
Small_logo_index: ? In RTW this is the index to the position of the relevant logo on the UI interface tga's.
Triumph_value: ?
Custom_battle_availability: Whether or not the faction can be used in custom battles (There is a limit of 20 factions that can be displayed on the custom battle "choose faction screen", any more will not show up unless others are removed.
Can_sap: Whether the faction cap sap in seiges (leftover from Rome: Total War, doesn't work)
Prefers_naval_invasions: Whether the faction prefers to use naval invasions, important for island nations or factions without much room to expand in their local area (such as spain, portugal and sicily)
Can_have_princesses: If the faction can have princesses (must have appropriate stratmap models)
Has_family_tree: Whether or not the faction has a family tree (In vanilla only the Papal States has this, the faction leader must be determined through scripting otherwise the faction will be leaderless when their first leader dies).
See Also
Emergent Factions in M2TW for section to add if emergent faction is required.