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 "Hardcoded Limits - M2TW"

From TWC Wiki
Jump to navigationJump to search
(General Hard Coded Limits for M2TW)
(General Hard Coded Limits for M2TW: note about abilities)
 
Line 7: Line 7:
 
* Max number of religions: 10
 
* Max number of religions: 10
 
* Max character name length: 42 (disputed)
 
* Max character name length: 42 (disputed)
* Max number of character types in descr_character.txt: 12
+
* Max number of character types in descr_character.txt: 12 (already in use) - abilities are also hard-coded to type
 
* Max ancillaries per general: 8
 
* Max ancillaries per general: 8
 
* Max number of units for a faction available in custom battle selection screen: 200
 
* Max number of units for a faction available in custom battle selection screen: 200

Latest revision as of 06:22, 12 October 2020

Creative Assembly have built in some limits to the games, meaning that modders can not have more than x amount of factions or y amount of units. Limits for Medieval II: Total War appear to be similar to Rome: Total War though some are slightly raised. See also Hardcoded Limits in RTW which may also apply unless a higher value is mentioned here.

General Hard Coded Limits for M2TW

  • Max number of crusades at once: 1
  • Max number of cultures: 7
  • Max number of religions: 10
  • Max character name length: 42 (disputed)
  • Max number of character types in descr_character.txt: 12 (already in use) - abilities are also hard-coded to type
  • Max ancillaries per general: 8
  • Max number of units for a faction available in custom battle selection screen: 200

Text Files

export_descr_unit.txt

  • Max Unit Entries: 500
  • Attack Delay (stat_pri): 1 to 100 see here

descr_mount.txt

  • Max mount types: 99

descr_sm_projectiles

  • Max no of exploding_[name]_shot entries: 9 see here

descr_sm_resources.txt

  • Max: 26

descr_sm_factions.txt

  • Min: ?
  • Max: 31

export_descr_buildings.txt

  • Maximum number of buildings per tree: 9.
  • Maximum number of building trees: 128.
  • Hidden_resources list Min: 2 Max: 64

export_descr_character_traits.txt

  • Max Affects per Trigger: 10
  • Max Levels per character type: 9 (0 to 8)

Campaign Map

  • Max number of regions: 200 (Including number of sea regions)
  • Max size of map_regions: 510x510 pixels
  • Max size of map_climates: 1021x1021 pixels
  • Max size of map_heights: 1021x1021 pixels
  • Max size of map_ground_types: 1021x1021 pixels
  • Max size of map_roughness: 1020x1020 pixels
  • Max size of map_features: 510x510 pixels
  • Max size of map_trade_routes: 510x510 pixels

Battle Map

  • Max size .worldterrain and .worldvegetation: around 501 rows/columns, see here
  • Max no of vegetation models per group (vegetation.db): 4

Interface

  • tga pages sizes (data/ui/"culture folder"/interface) : 510 x 510

See Also