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.

Battle models.modeldb

From TWC Wiki
Revision as of 14:37, 25 September 2007 by Makanyane (talk | contribs) (WIP needs more)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

The battle_models.modeldb file controls how a unit should look on the battle map in M2TW. It controls which skins and models are used for each unit. The file is located in data/unit_models - that folder is visible after unpacking

The equivalent of this file in RTW is descr_model_battle.txt.

Converting to editable format

The vanilla battle_models.modeldb is a remarkably unfriendly document to try and edit as all lines run into one large block of undifferentiated text. Various modders have issued formatted versions of the original file to make modifying it easier. See:

has various validating and balancing functions for export_descr_unit.txt and battle_models.modeldb, etc.
makes the modeldb file a lot easier to edit - also includes a syntax checker

If using a re-formatted version of the file please check it is for the version / patch of M2TW you are using!

YOU can help us improve this Wiki! ~ Look for ways to help and editing advice. ~ If you need further advice, please post here.