Difference between revisions of "Hardcoded Limits - M2TW"
From TWC Wiki
Jump to navigationJump to search (Moved info from old Hardcoded page to separate from RTW) |
(→General Hard Coded Limits for M2TW: note about abilities) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[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 - RTW|Hardcoded Limits in RTW]] which may also apply unless a higher value is mentioned here. | [[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 - RTW|Hardcoded Limits in RTW]] which may also apply unless a higher value is mentioned here. | ||
− | ==Hard Coded Limits for M2TW | + | ==General Hard Coded Limits for M2TW== |
− | |||
* Max number of crusades at once: 1 | * Max number of crusades at once: 1 | ||
* Max number of cultures: 7 | * Max number of cultures: 7 | ||
− | * Max character name length: 42 | + | * Max number of religions: 10 |
− | * Max number of | + | * 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 | * Max number of units for a faction available in custom battle selection screen: 200 | ||
+ | ==Text Files== | ||
===[[export_descr_unit.txt]]=== | ===[[export_descr_unit.txt]]=== | ||
− | * Max: 500 | + | * Max Unit Entries: 500 |
+ | * Attack Delay (stat_pri): 1 to 100 see [https://www.twcenter.net/forums/showthread.php?95670-The-Hardcoded-List&p=15655493&viewfull=1#post15655493 here] | ||
+ | |||
+ | ===[[descr_mount.txt]]=== | ||
+ | * Max mount types: 99 | ||
+ | |||
+ | ===[[descr_sm_projectiles]]=== | ||
+ | * Max no of exploding_[name]_shot entries: 9 see [https://www.twcenter.net/forums/showthread.php?95670-The-Hardcoded-List&p=12712785&viewfull=1#post12712785 here] | ||
===[[descr_sm_resources.txt]]=== | ===[[descr_sm_resources.txt]]=== | ||
Line 20: | Line 29: | ||
* Max: 31 | * Max: 31 | ||
− | ===Map | + | ===[[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 number of regions: 200 (Including number of sea regions) | ||
* Max size of '''map_regions''': 510x510 pixels | * Max size of '''map_regions''': 510x510 pixels | ||
Line 30: | Line 48: | ||
* Max size of '''map_trade_routes''': 510x510 pixels | * Max size of '''map_trade_routes''': 510x510 pixels | ||
− | ===[ | + | ==Battle Map== |
− | * | + | * Max size .worldterrain and .worldvegetation: around 501 rows/columns, see [https://www.twcenter.net/forums/showthread.php?95670-The-Hardcoded-List&p=12038285&viewfull=1#post12038285 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== | ==See Also== | ||
− | * [ | + | * [https://www.twcenter.net/forums/showthread.php?t=95670 Hardcoded Limits thread on TWC] |
+ | * [https://www.twcenter.net/forums/showthread.php?568506-New-hardcoded-list New hardcoded list on TWC] | ||
*[[Hardcoded Limits - RTW|Hardcoded Limits in RTW]] | *[[Hardcoded Limits - RTW|Hardcoded Limits in RTW]] | ||
− | + | [[Category: M2TW Modding]] |
Latest revision as of 05: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.
Contents
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