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 - RTW"

From TWC Wiki
Jump to navigationJump to search
 
(export_descr_buildings.txt)
 
(25 intermediate revisions by 12 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.
+
{{RTW Modding Logo}}
 +
[[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. The information for this list of limits for [[Rome: Total War]] has mainly been taken from these threads:
 +
[https://www.twcenter.net/forums/showthread.php?t=28608 TWC], [http://forums.totalwar.org/vb/showthread.php?t=42905 The Guild]
  
 +
For Hardcoded Limits for M2TW go [[Hardcoded Limits - M2TW|here]]
  
== Hardcoded Limits ==
+
== Hardcoded Limits for RTW==
 +
===[[descr_model_battle.txt]]===
 +
*Overall model number: Min ?, max 255.
  
This list is also duplicated here:
+
===[[descr_rebel_factions.txt]]===
 +
*Units per event: Min 1?, max 20 for non-regional events at least. Extras cause error message with -show_err but possibly no other ill effects.
  
[http://forums.totalwar.org/vb/showthread.php?t=42905 The Guild]
+
===[[descr_sm_factions.txt]]===
 +
*Faction limit:<br>
 +
: Min 2, max 21. Note that the maximum must include, for unexpanded RTW, one rebel faction, four Roman factions (including a Senate and the Roman alliance), six barbarian factions, four Greek factions, three Eastern factions, two Carthaginian factions, and an Egyptian faction, as far as faction-culture correspondence goes. In BI the culture restrictions and Roman alliance/Senate limitations are lifted, but there still must presumably be a rebel faction. Fewer factions than 21 are possible, but two must be listed in descr_strat.txt or game will KTM with error message. Fewer then 5 will also cause a crash if the player attempts to view "top five factions" for anything on the statistics screen as well.<br>
 +
 +
===[[export_descr_ancillaries.txt]]===
 +
*ExcludedAncillaries: Min 0, max 3. Default usage Extras cause CTD.
 +
*Effects: Min 0, max 8. Assumption, experimentation. Extras make it impossible to gain ancillary through a trigger and cause erratic effects if an existing ancillary is transferred.
  
'''descr_model_battle.txt'''
+
===[[export_descr_buildings.txt]]===
Overall model number: Min ?, max 255.  
+
*Hidden resources: Min 1?, 63 or 64 tbc. Extras cause a CTD, not including rome causes a CTD (for some TW games), not including italy as a hidden resource prevents [[Marian reforms]] (so will removing it from  [[descr_regions.txt]] which is necessary anyway if removing from EDB).
 +
:See [http://forums.totalwar.org/vb/showthread.php?t=52650 here] for a way to overcome the limitation on number of resources.
 +
*Overall building tree number: Min 3, max 64. Experimentation. "core_building", "defenses", and "port_buildings" require to exist or would not pass on startup check, Extras would give CTD (error: "Settlement in [X] region has not been given [X] a core building. Any settlements above village level must have an appropriate core building! This settlement is level 1, and should have a level 0 core building.").
 +
*Levels per building tree: Min 1, max 9. Assumption, experimentation. Extras CTD.
 +
*Upgrades per building level: Min 0, max ?. Although 8 is max based on default usage, based on possible number of buildings level in the tree. Each building levels could use more than 1 upgrades condition line as define in upgrades section as long as it is in the same tree descend down.
 +
*Units recruitable in a given city, not counting agents: Min 0, max 32. Default usage, experimentation. Extras CTD.
 +
*Capability effects active in single building in one settlement: Min 0, max 32. Default usage, experimentation. Extras CTD.
  
'''descr_rebel_factions.txt'''
+
===[[export_descr_character_traits.txt]]===
Units per event: Min 1?, max 20 for non-regional events at least. Extras cause error message with -show_err but possibly no other ill effects.
+
*Levels per trait: Min 1, max 9.
 +
*Points required for a threshold: Min 1, max ≥ 600.
 +
*Points assignable per trigger: Min 0, max ≥ 100.
 +
*Antitraits: Min 0, max 10 (1.2)/20? (1.6) (doesn't work in M2TW).
 +
*Affects per trigger: Min 1, max 11.
 +
*Conditions per trigger: Min 1, max 12.
  
'''descr_sm_factions.txt'''
+
===[[export_descr_unit.txt]]===
Faction limit: Min ?, max 21. Note that the maximum must include, for unexpanded RTW, one rebel faction, four Roman factions (including a Senate and the Roman alliance), six barbarian factions, four Greek factions, three Eastern factions, two Carthaginian factions, and an Egyptian faction, as far as faction-culture correspondence goes. In BI the culture restrictions and Roman alliance/Senate limitations are lifted, but there still must presumably be a rebel faction. Fewer factions than 21 are possible.
+
*Overall unit number: Min ?, max 500. JeromeGrasdyke. Extras CTD?
 +
*Units per faction: Min ?, max 100. Experimentation. Extras don't appear for custom battles, but otherwise function normally.
 +
*Units buildable per city: Min 0, max 32. Default usage, experimentation. Extras CTD.
 +
*Men per non-general unit: Min 6, max 60. Experimentation. Extras CTD?
 +
*Men per general unit: Min ?, max 31. Experimentation. Extras ignored, even if they come from another source (Influence, personal security, or faction leader/heir status).
 +
*Extras per unit: Min 2 (but 0 is okay as well), max ?. Experimentation.
 +
*Collision mass: Min ?, max ≥ 100. Default usage.
 +
*Number of officers: Min 0, max 3. Text file description.
 +
*Number of mount effects: Min 0, max 3. Text file description.
 +
*Mount bonus: ?
 +
*Number of attributes: Min 0, max none? Experimentation, guess.
 +
*Number of formations: Min 1, max 2. Text file description.
 +
*HP: Min ?, max 15. Dev. Extra considered 15.
 +
*Attack factor: Min 1 (missile), max 63. Experimentation, user interface. Zero results in no missile attack. Extra considered 63.
 +
*Charge bonus: Min 0, max 63. Default usage, user interface. Extra considered 63.
 +
*Missile range: Min 20 (at least for javelins), max special. Experimentation, experimentation. Every projectile has an effective maximum range as well, indirectly determined by the velocity and angle ranges specified in descr_projectile_new.txt; increasing this file's range sufficiently will require you to increase the velocity and/or angle range in that file for the change to work properly. Later versions of RTW give an error message if the velocity doesn't allow the stated range. More range than is possible will be effectively reduced to the maximum possible for the velocity.
 +
*Missile ammo: Min 2 (but 0 is okay as well), max ?. Experimentation (and guess). Note that ammunition is determined per man, not per unit, and it apparently counts even men who don't actually use the ammo, such as drivers of chariots (experimentation). Ammunition use is tracked per unit (I'm pretty sure), not per man, so if only half of your unit is firing at their target, they'll effectively have twice the ammo.
 +
*Undocumented kill rate variable: ?
 +
*Number of weapon attributes: Min 0, max none? Experimentation, guess.
 +
*Armor factor: Min 0, max 63. Default usage, user interface. Extra considered 63.
 +
*Defensive skill factor: Min 0, max 63. Default usage, user interface. Extra considered 63.
 +
*Shield factor: Min 0, max 31. Default usage, user interface. Extra considered 31.
 +
*Stat_heat: ?
 +
*Terrain modifiers: ?
 +
*Base morale: Min 0, max ?. Default usage.
 +
*Charge distance: ?
 +
*Fire delay: ?
 +
*Turns to build: Min 0, max 244. Extra ignored.
  
'''export_descr_ancillaries.txt'''
+
===[[descr_regions.txt]]===
ExcludedAncillaries: Min 0, max 3. Default usage Extras cause CTD.
+
*Resources per province: Min 0?, max 9? Extras ignored?
<br>Effects: Min 0, max 8. Assumption, experimentation. Extras make it impossible to gain ancillary through a trigger and cause erratic effects if an existing ancillary is transferred.
 
  
'''export_descr_buildings.txt'''
+
===[[map_regions.tga]]===
<br>Hidden resources: Min 1?, max 63 or 64 (not sure which). Extras cause a CTD, not including rome causes a CTD (I think), not including italy prevents Marian reforms (I think). Experimentation, experimentation. But see here for a way to overcome the limitation.
+
*Number of provinces: Min ?, max 200. (max number includes sea region colours)
<br>Overall building tree number: Min ?, max 64. Experimentation. Extras CTD (error: "Settlement in [X] region has not been given [X] a core building. Any settlements above village level must have an appropriate core building! This settlement is level 1, and should have a level 0 core building.").
+
*Number of landmasses: Min ?, max 20. JeromeGrasdyke. Effects for extras unknown (not CTD).
<br>Levels per building tree: Min 1, max 9. Assumption, experimentation. Extras CTD.
+
*Dimensions: Min ?, max 510*510 (referred from descr_terrain)
<br>Upgrades per building level: Min 0, max 8. Default usage, logic based on previous. Levels can only be upgraded to levels listed after them on the "levels" line.
 
<br>Units recruitable in a given city, not counting agents: Min 0, max 32. Default usage, experimentation. Extras CTD.
 
  
'''export_descr_character_trait.txt'''
+
===[[Models]]===
<br>Levels per trait: Min 1, max 9.
+
*Number of faces/polys: Min ?, max 20,000 (for campaign-map models).
<br>Points required for a threshold: Min 1, max ≥ 600.
 
<br>Points assignable per trigger: Min 0, max ≥ 100.
 
<br>Antitraits: Min 0, max 10 (1.2)/20? (1.6).  
 
  
'''export_descr_unit.txt'''
 
<br>Overall unit number: Min ?, max 500. JeromeGrasdyke. Extras CTD?
 
<br>Units per faction: Min ?, max 100. Experimentation. Extras don't appear for custom battles, but otherwise function normally.
 
<br>Units buildable per city: Min 0, max 32. Default usage, experimentation. Extras CTD.
 
<br>Men per non-general unit: Min 6, max 60. Experimentation. Extras CTD?
 
<br>Men per general unit: Min ?, max 31. Experimentation. Extras ignored, even if they come from another source (Influence, personal security, or faction leader/heir status).
 
<br>Extras per unit: Min 2 (but 0 is okay as well), max ?. Experimentation.
 
<br>Collision mass: Min ?, max ≥ 100. Default usage.
 
<br>Number of officers: Min 0, max 3. Text file description.
 
<br>Number of mount effects: Min 0, max 3. Text file description.
 
<br>Mount bonus: ?
 
<br>Number of attributes: Min 0, max none? Experimentation, guess.
 
<br>Number of formations: Min 1, max 2. Text file description.
 
<br>HP: Min ?, max 15. Dev. Extra considered 15.
 
<br>Attack factor: Min 1 (missile), max 63. Experimentation, user interface. Zero results in no missile attack. Extra considered 63.
 
<br>Charge bonus: Min 0, max 63. Default usage, user interface. Extra considered 63.
 
<br>Missile range: Min 20 (at least for javelins), max special. Experimentation, experimentation. Every projectile has an effective maximum range as well, indirectly determined by the velocity and angle ranges specified in descr_projectile_new.txt; increasing this file's range sufficiently will require you to increase the velocity and/or angle range in that file for the change to work properly. Later versions of RTW give an error message if the velocity doesn't allow the stated range. More range than is possible will be effectively reduced to the maximum possible for the velocity.
 
<br>Missile ammo: Min 2 (but 0 is okay as well), max ?. Experimentation (and guess). Note that ammunition is determined per man, not per unit, and it apparently counts even men who don't actually use the ammo, such as drivers of chariots (experimentation). Ammunition use is tracked per unit (I'm pretty sure), not per man, so if only half of your unit is firing at their target, they'll effectively have twice the ammo.
 
<br>Undocumented kill rate variable: ?
 
<br>Number of weapon attributes: Min 0, max none? Experimentation, guess.
 
<br>Armor factor: Min 0, max 63. Default usage, user interface. Extra considered 63.
 
<br>Defensive skill factor: Min 0, max 63. Default usage, user interface. Extra considered 63.
 
<br>Shield factor: Min 0, max 31. Default usage, user interface. Extra considered 31.
 
<br>Stat_heat: ?
 
<br>Terrain modifiers: ?
 
<br>Base morale: Min 0, max ?. Default usage.
 
<br>Charge distance: ?
 
<br>Fire delay: ?
 
<br>Turns to build: Min 0, max 244. Extra ignored.
 
  
'''map_regions.txt'''
+
[[Category: RTW Modding]]
<br>Resources per province: Min 0?, max 9? Extras ignored?
 
 
 
'''map_regions.tga'''
 
<br>Number of provinces: Min ?, max 200.
 
<br>Number of landmasses: Min ?, max 20. JeromeGrasdyke. Effects for extras unknown (not CTD).
 
 
 
'''Models'''
 
Number of faces/polys: Min ?, max 20,000 (for campaign-map models).
 
 
 
Thanks to all who helped compile this list.
 

Latest revision as of 00:33, 31 December 2020

Rome:Total War & Remastered - Modding Index


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. The information for this list of limits for Rome: Total War has mainly been taken from these threads: TWC, The Guild

For Hardcoded Limits for M2TW go here

Hardcoded Limits for RTW

descr_model_battle.txt

  • Overall model number: Min ?, max 255.

descr_rebel_factions.txt

  • Units per event: Min 1?, max 20 for non-regional events at least. Extras cause error message with -show_err but possibly no other ill effects.

descr_sm_factions.txt

  • Faction limit:
Min 2, max 21. Note that the maximum must include, for unexpanded RTW, one rebel faction, four Roman factions (including a Senate and the Roman alliance), six barbarian factions, four Greek factions, three Eastern factions, two Carthaginian factions, and an Egyptian faction, as far as faction-culture correspondence goes. In BI the culture restrictions and Roman alliance/Senate limitations are lifted, but there still must presumably be a rebel faction. Fewer factions than 21 are possible, but two must be listed in descr_strat.txt or game will KTM with error message. Fewer then 5 will also cause a crash if the player attempts to view "top five factions" for anything on the statistics screen as well.

export_descr_ancillaries.txt

  • ExcludedAncillaries: Min 0, max 3. Default usage Extras cause CTD.
  • Effects: Min 0, max 8. Assumption, experimentation. Extras make it impossible to gain ancillary through a trigger and cause erratic effects if an existing ancillary is transferred.

export_descr_buildings.txt

  • Hidden resources: Min 1?, 63 or 64 tbc. Extras cause a CTD, not including rome causes a CTD (for some TW games), not including italy as a hidden resource prevents Marian reforms (so will removing it from descr_regions.txt which is necessary anyway if removing from EDB).
See here for a way to overcome the limitation on number of resources.
  • Overall building tree number: Min 3, max 64. Experimentation. "core_building", "defenses", and "port_buildings" require to exist or would not pass on startup check, Extras would give CTD (error: "Settlement in [X] region has not been given [X] a core building. Any settlements above village level must have an appropriate core building! This settlement is level 1, and should have a level 0 core building.").
  • Levels per building tree: Min 1, max 9. Assumption, experimentation. Extras CTD.
  • Upgrades per building level: Min 0, max ?. Although 8 is max based on default usage, based on possible number of buildings level in the tree. Each building levels could use more than 1 upgrades condition line as define in upgrades section as long as it is in the same tree descend down.
  • Units recruitable in a given city, not counting agents: Min 0, max 32. Default usage, experimentation. Extras CTD.
  • Capability effects active in single building in one settlement: Min 0, max 32. Default usage, experimentation. Extras CTD.

export_descr_character_traits.txt

  • Levels per trait: Min 1, max 9.
  • Points required for a threshold: Min 1, max ≥ 600.
  • Points assignable per trigger: Min 0, max ≥ 100.
  • Antitraits: Min 0, max 10 (1.2)/20? (1.6) (doesn't work in M2TW).
  • Affects per trigger: Min 1, max 11.
  • Conditions per trigger: Min 1, max 12.

export_descr_unit.txt

  • Overall unit number: Min ?, max 500. JeromeGrasdyke. Extras CTD?
  • Units per faction: Min ?, max 100. Experimentation. Extras don't appear for custom battles, but otherwise function normally.
  • Units buildable per city: Min 0, max 32. Default usage, experimentation. Extras CTD.
  • Men per non-general unit: Min 6, max 60. Experimentation. Extras CTD?
  • Men per general unit: Min ?, max 31. Experimentation. Extras ignored, even if they come from another source (Influence, personal security, or faction leader/heir status).
  • Extras per unit: Min 2 (but 0 is okay as well), max ?. Experimentation.
  • Collision mass: Min ?, max ≥ 100. Default usage.
  • Number of officers: Min 0, max 3. Text file description.
  • Number of mount effects: Min 0, max 3. Text file description.
  • Mount bonus: ?
  • Number of attributes: Min 0, max none? Experimentation, guess.
  • Number of formations: Min 1, max 2. Text file description.
  • HP: Min ?, max 15. Dev. Extra considered 15.
  • Attack factor: Min 1 (missile), max 63. Experimentation, user interface. Zero results in no missile attack. Extra considered 63.
  • Charge bonus: Min 0, max 63. Default usage, user interface. Extra considered 63.
  • Missile range: Min 20 (at least for javelins), max special. Experimentation, experimentation. Every projectile has an effective maximum range as well, indirectly determined by the velocity and angle ranges specified in descr_projectile_new.txt; increasing this file's range sufficiently will require you to increase the velocity and/or angle range in that file for the change to work properly. Later versions of RTW give an error message if the velocity doesn't allow the stated range. More range than is possible will be effectively reduced to the maximum possible for the velocity.
  • Missile ammo: Min 2 (but 0 is okay as well), max ?. Experimentation (and guess). Note that ammunition is determined per man, not per unit, and it apparently counts even men who don't actually use the ammo, such as drivers of chariots (experimentation). Ammunition use is tracked per unit (I'm pretty sure), not per man, so if only half of your unit is firing at their target, they'll effectively have twice the ammo.
  • Undocumented kill rate variable: ?
  • Number of weapon attributes: Min 0, max none? Experimentation, guess.
  • Armor factor: Min 0, max 63. Default usage, user interface. Extra considered 63.
  • Defensive skill factor: Min 0, max 63. Default usage, user interface. Extra considered 63.
  • Shield factor: Min 0, max 31. Default usage, user interface. Extra considered 31.
  • Stat_heat: ?
  • Terrain modifiers: ?
  • Base morale: Min 0, max ?. Default usage.
  • Charge distance: ?
  • Fire delay: ?
  • Turns to build: Min 0, max 244. Extra ignored.

descr_regions.txt

  • Resources per province: Min 0?, max 9? Extras ignored?

map_regions.tga

  • Number of provinces: Min ?, max 200. (max number includes sea region colours)
  • Number of landmasses: Min ?, max 20. JeromeGrasdyke. Effects for extras unknown (not CTD).
  • Dimensions: Min ?, max 510*510 (referred from descr_terrain)

Models

  • Number of faces/polys: Min ?, max 20,000 (for campaign-map models).