
Here is a list of all known hardcodes to prevent any more new modders having to ask "is it possible" posts. Not that I hate the people who make these posts just that the letters 'N' and 'O' are beginning to fade on my keyboard.
If you know anymore hardcodes that aren't here, share them. So the chances are that anything you dont see on here is possible.
HARDCODES:-
-Faction number (21 including rebels)
-Max unit number (240 on huge, 60 on Normal) + max 3 officers per unit
-Model Limit (250)
-Unit Limit (500)
-Building limit (I'm not too sure on this but I think that it's 150 or something)
-Walls must be in a complete ring. i.e no seaside towns.
-Must be 3 factions controlled by one super-faction. (senate and romans) (not anymore -SubRosa)
-Province Limit (199)
-Unit line of Sight
[Some of the following are temporarary or incomplete]
export_descr_ancillaries.txt
-ExcludedAncillaries: Min 0, max 3. Default usage, experimentation. Extras cause CTD.
export_descr_buildings.txt
-Overall building tree number: Min ?, max 64. Experimentation. Extras CTD (error: "Settlement in region has not been given 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 5. Assumption, experimentation. Extras ignored.
export_descr_character_trait.txt
-Levels per trait: Min 1, max 9. Assumption, experimentation.
-Points required for a threshold: Min 1, max ¡Ý 600. Assumption, experimentation.
-Points assignable per trigger: Min 0, max ¡Ý 100. Assumption, experimentation.
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 unit: Min 6, max 60. Experimentation. Extras CTD?
-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 seems to have a maximum range, perhaps based on velocity or something of the sort. If the range is set to a higher value than the projectile's max, the projectile won't reach that far.
-Missile ammo: Min 2 (but 0 is okay as well), max ?. Experimentation (and guess).
-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. Experimentation, experimentation. Extra ignored.
-Animals (Pigs/Dogs): Cannot be used in conjuction with a mount. Cannot be given to units that require a secondary attack (ie. Missile troops and phalanx spearmen).
map_regions.tga
-Number of provinces: Min ?, max 200. Experimentation.
-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).
There are more but they escape me, help me fill in the gaps- post.
POSTER NUMBER ONE IN HOLY ROMAN PARTY XV
"Live forever, or die trying!"
TWH Baths Forumer of the Month - November 06
If you know anymore hardcodes that aren't here, share them. So the chances are that anything you dont see on here is possible.
-Faction number (21 including rebels)
-Max unit number (240 on huge, 60 on Normal) + max 3 officers per unit
-Model Limit (250)
-Unit Limit (500)
-Building limit (I'm not too sure on this but I think that it's 150 or something)
-Walls must be in a complete ring. i.e no seaside towns.
-
-Province Limit (199)
-Unit line of Sight
-ExcludedAncillaries: Min 0, max 3. Default usage, experimentation. Extras cause CTD.
-Overall building tree number: Min ?, max 64. Experimentation. Extras CTD (error: "Settlement in region has not been given 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 5. Assumption, experimentation. Extras ignored.
-Levels per trait: Min 1, max 9. Assumption, experimentation.
-Points required for a threshold: Min 1, max ¡Ý 600. Assumption, experimentation.
-Points assignable per trigger: Min 0, max ¡Ý 100. Assumption, experimentation.
-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 unit: Min 6, max 60. Experimentation. Extras CTD?
-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 seems to have a maximum range, perhaps based on velocity or something of the sort. If the range is set to a higher value than the projectile's max, the projectile won't reach that far.
-Missile ammo: Min 2 (but 0 is okay as well), max ?. Experimentation (and guess).
-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. Experimentation, experimentation. Extra ignored.
-Animals (Pigs/Dogs): Cannot be used in conjuction with a mount. Cannot be given to units that require a secondary attack (ie. Missile troops and phalanx spearmen).
-Number of provinces: Min ?, max 200. Experimentation.
-Number of landmasses: Min ?, max 20. JeromeGrasdyke. Effects for extras unknown (not CTD).
-Number of faces/polys: Min ?, max 20,000 (for campaign-map models).
There are more but they escape me, help me fill in the gaps- post.
"Live forever, or die trying!"
TWH Baths Forumer of the Month - November 06
[This message has been edited by Andalus (edited 01-02-2009 @ 06:00 PM).]