<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.twcenter.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=81.170.251.39</id>
	<title>TWC Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.twcenter.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=81.170.251.39"/>
	<link rel="alternate" type="text/html" href="https://wiki.twcenter.net/index.php?title=Special:Contributions/81.170.251.39"/>
	<updated>2026-06-19T06:50:01Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.twcenter.net/index.php?title=Hardcoded_Limits_-_RTW&amp;diff=31773</id>
		<title>Hardcoded Limits - RTW</title>
		<link rel="alternate" type="text/html" href="https://wiki.twcenter.net/index.php?title=Hardcoded_Limits_-_RTW&amp;diff=31773"/>
		<updated>2010-11-05T06:04:48Z</updated>

		<summary type="html">&lt;p&gt;81.170.251.39: /* Hard Coded Limits for M2TW */  +ref&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[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.&lt;br /&gt;
&lt;br /&gt;
== Hardcoded Limits for RTW==&lt;br /&gt;
&lt;br /&gt;
This list is also duplicated here:&lt;br /&gt;
&lt;br /&gt;
[http://www.twcenter.net/forums/showthread.php?t=28608 TWC]&lt;br /&gt;
[http://forums.totalwar.org/vb/showthread.php?t=42905 The Guild]&lt;br /&gt;
&lt;br /&gt;
NOTE: If hard coded limits are found to be different for [[Medieval II: Total War]] please add them to the list below:&lt;br /&gt;
&lt;br /&gt;
===[[descr_model_battle.txt]]===&lt;br /&gt;
*Overall model number: Min ?, max 255. &lt;br /&gt;
&lt;br /&gt;
===[[descr_rebel_factions.txt]]===&lt;br /&gt;
*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.&lt;br /&gt;
&lt;br /&gt;
===[[descr_sm_factions.txt]]===&lt;br /&gt;
*Faction limit:&amp;lt;br&amp;gt;&lt;br /&gt;
: 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 &amp;quot;top five factions&amp;quot; for anything on the statistics screen as well.&amp;lt;br&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
===[[export_descr_ancillaries.txt]]===&lt;br /&gt;
*ExcludedAncillaries: Min 0, max 3. Default usage Extras cause CTD.&lt;br /&gt;
*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.&lt;br /&gt;
&lt;br /&gt;
===[[export_descr_buildings.txt]]===&lt;br /&gt;
*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). &lt;br /&gt;
:See [http://forums.totalwar.org/vb/showthread.php?t=52650 here] for a way to overcome the limitation on number of resources.&lt;br /&gt;
*Overall building tree number: Min ?, max 64. Experimentation. Extras CTD (error: &amp;quot;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.&amp;quot;).&lt;br /&gt;
*Levels per building tree: Min 1, max 9. Assumption, experimentation. Extras CTD.&lt;br /&gt;
*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 &amp;quot;levels&amp;quot; line.&lt;br /&gt;
*Units recruitable in a given city, not counting agents: Min 0, max 32. Default usage, experimentation. Extras CTD.&lt;br /&gt;
&lt;br /&gt;
===[[export_descr_character_traits.txt]]===&lt;br /&gt;
*Levels per trait: Min 1, max 9. &lt;br /&gt;
*Points required for a threshold: Min 1, max ≥ 600. &lt;br /&gt;
*Points assignable per trigger: Min 0, max ≥ 100. &lt;br /&gt;
*Antitraits: Min 0, max 10 (1.2)/20? (1.6).&lt;br /&gt;
*Affects per trigger: Min 1, max 11.&lt;br /&gt;
&lt;br /&gt;
===[[export_descr_unit.txt]]===&lt;br /&gt;
*Overall unit number: Min ?, max 500. JeromeGrasdyke. Extras CTD?&lt;br /&gt;
*Units per faction: Min ?, max 100. Experimentation. Extras don&#039;t appear for custom battles, but otherwise function normally.&lt;br /&gt;
*Units buildable per city: Min 0, max 32. Default usage, experimentation. Extras CTD.&lt;br /&gt;
*Men per non-general unit: Min 6, max 60. Experimentation. Extras CTD?&lt;br /&gt;
*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).&lt;br /&gt;
*Extras per unit: Min 2 (but 0 is okay as well), max ?. Experimentation.&lt;br /&gt;
*Collision mass: Min ?, max ≥ 100. Default usage.&lt;br /&gt;
*Number of officers: Min 0, max 3. Text file description.&lt;br /&gt;
*Number of mount effects: Min 0, max 3. Text file description.&lt;br /&gt;
*Mount bonus: ?&lt;br /&gt;
*Number of attributes: Min 0, max none? Experimentation, guess.&lt;br /&gt;
*Number of formations: Min 1, max 2. Text file description.&lt;br /&gt;
*HP: Min ?, max 15. Dev. Extra considered 15.&lt;br /&gt;
*Attack factor: Min 1 (missile), max 63. Experimentation, user interface. Zero results in no missile attack. Extra considered 63.&lt;br /&gt;
*Charge bonus: Min 0, max 63. Default usage, user interface. Extra considered 63.&lt;br /&gt;
*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&#039;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&#039;t allow the stated range. More range than is possible will be effectively reduced to the maximum possible for the velocity.&lt;br /&gt;
*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&#039;t actually use the ammo, such as drivers of chariots (experimentation). Ammunition use is tracked per unit (I&#039;m pretty sure), not per man, so if only half of your unit is firing at their target, they&#039;ll effectively have twice the ammo.&lt;br /&gt;
*Undocumented kill rate variable: ?&lt;br /&gt;
*Number of weapon attributes: Min 0, max none? Experimentation, guess.&lt;br /&gt;
*Armor factor: Min 0, max 63. Default usage, user interface. Extra considered 63.&lt;br /&gt;
*Defensive skill factor: Min 0, max 63. Default usage, user interface. Extra considered 63.&lt;br /&gt;
*Shield factor: Min 0, max 31. Default usage, user interface. Extra considered 31.&lt;br /&gt;
*Stat_heat: ?&lt;br /&gt;
*Terrain modifiers: ?&lt;br /&gt;
*Base morale: Min 0, max ?. Default usage.&lt;br /&gt;
*Charge distance: ?&lt;br /&gt;
*Fire delay: ?&lt;br /&gt;
*Turns to build: Min 0, max 244. Extra ignored.&lt;br /&gt;
&lt;br /&gt;
===[[descr_regions.txt]]===&lt;br /&gt;
*Resources per province: Min 0?, max 9? Extras ignored?&lt;br /&gt;
&lt;br /&gt;
===[[map_regions.tga]]===&lt;br /&gt;
*Number of provinces: Min ?, max 200. (max number includes sea region colours)&lt;br /&gt;
*Number of landmasses: Min ?, max 20. JeromeGrasdyke. Effects for extras unknown (not CTD).&lt;br /&gt;
&lt;br /&gt;
===[[Models]]===&lt;br /&gt;
*Number of faces/polys: Min ?, max 20,000 (for campaign-map models).&lt;br /&gt;
&lt;br /&gt;
==Hard Coded Limits for M2TW==&lt;br /&gt;
http://www.twcenter.net/forums/showthread.php?t=95670&lt;br /&gt;
&lt;br /&gt;
* Max number of crusades at once: 1&lt;br /&gt;
* Max number of cultures: 7&lt;br /&gt;
* Max character name length: 42&lt;br /&gt;
* Max number of agent types: 12&lt;br /&gt;
* Max number of units for a faction available in custom battle selection screen: 200&lt;br /&gt;
&lt;br /&gt;
===[[hidden_resources.txt]]===&lt;br /&gt;
* Min: 2&lt;br /&gt;
* Max: 64&lt;br /&gt;
&lt;br /&gt;
===[[export_desc_units.txt]]===&lt;br /&gt;
* Max: 500&lt;br /&gt;
&lt;br /&gt;
===[[desc_sm_resources.txt]]===&lt;br /&gt;
* Max: 26&lt;br /&gt;
&lt;br /&gt;
===[[descr_sm_factions.txt]]===&lt;br /&gt;
* Min: ?&lt;br /&gt;
* Max: 31&lt;br /&gt;
&lt;br /&gt;
===Map===&lt;br /&gt;
* Max number of regions: 200 (Including 2 sea regions)&lt;br /&gt;
* Max size of &#039;&#039;&#039;map_regions&#039;&#039;&#039;: 510x510 pixels&lt;br /&gt;
* Max size of &#039;&#039;&#039;map_climates&#039;&#039;&#039;: 1021x1021 pixels&lt;br /&gt;
* Max size of &#039;&#039;&#039;map_heights&#039;&#039;&#039;: 1021x1021 pixels&lt;br /&gt;
* Max size of &#039;&#039;&#039;map_ground_types&#039;&#039;&#039;: 1021x1021 pixels&lt;br /&gt;
* Max size of &#039;&#039;&#039;map_roughness&#039;&#039;&#039;: 1020x1020 pixels&lt;br /&gt;
* Max size of &#039;&#039;&#039;map_features&#039;&#039;&#039;: 510x510 pixels&lt;br /&gt;
* Max size of &#039;&#039;&#039;map_trade_routes&#039;&#039;&#039;: 510x510 pixels&lt;br /&gt;
&lt;br /&gt;
===Buildings===&lt;br /&gt;
* Maximum number of buildings per tree: 9.&lt;br /&gt;
* Maximum number of building trees: 128.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Modding]]&lt;/div&gt;</summary>
		<author><name>81.170.251.39</name></author>
	</entry>
</feed>