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.

Medieval II: Total War - Modding Index

From TWC Wiki
Revision as of 06:18, 26 May 2020 by Makanyane (talk | contribs) (General Information: re-arranged - needs more converter stuff from below added)
Jump to navigationJump to search
Medieval II: Total War Modding Banner


Tutorials, resources and tools for modding Medieval II: Total War:

The below listing provides links to tutorials, useful answers to common modding questions, resources and tools, divided by category.
See also M2TW Modding Tutorials Category for tutorials contained on this Wiki and the M2TW Modding Category for other pages.

You are welcome to edit this page, please read these notes for guidance:-
When adding subject areas please use this layout.

When adding items please keep to existing format with the type of article first;

  • Tutorial = extensive tutorial or guide, step by step how to mod something etc.
  • Answer = short piece on minor topic or answer to frequently asked question.
  • Resource = lists of things that work in-game, docudemons, templates, downloads of helpful starting set-ups etc.
  • Tool = modding tools, for extracting, modifying, verifying, re-packing etc.

If you remove a link because an item is superseded, shown not to work, etc. please copy the link to the discussion page and note your reason for removal.

Items marked in bold are likely to be widely useful and form a good starting point on the subject. Items marked in italics may be of limited use, due to missing images or being superseded by later articles.

General Information

The recommended starting point for any new Medieval II: Total War mod is to use a Bare Geomod folder as the base, this provides the modder with a fully functional mod-folder that already incorporates bug-fixes for the vanilla game.

All aspects of the Medieval II: Total War game are modifiable, subject to some Hardcoded Limits and behaviours. Additionally, the M2TW Engine Overhaul Project is now making it possible to change some of that hard-coding by memory editing the game after loading.

M2TW and Computer Set-up

For any problems getting M2TW to run without mods refer to Medieval II Technical Discussion & Support

Mod Installation and Launching

Due to changes to the Steam version of M2TW some older methods may not work, or will only work for disc users.

Older Methods

Mod-Folder Set-up

M2TW allows a mod to be placed in a 'mod-folder', the contents of the mod-folder will be used instead of vanilla files with the same names, if the file_first command is used.

Troubleshooting Errors

Unpacking and Finding the Files

Modders will normally need to unpack the base game to access the original files. After unpacking with CA's tool the sounds and animations remain packed within the 'unpacked' file structure, IDX or similar tool is needed to access them.

Converters & Special Format Editors

Some M2TW files are provided in proprietary formats developed by CA, they need conversion to and from formats that can be read and edited in publicly available software programs.

.texture/.dds

The battle-map textures for units, buildings and landscape are stored in .texture format which is a .dds type compressed file with additional header information.

.strings.bin/.txt

The files in the /text folder are stored in .strings.bin format, the game will recreate most of these files from a .txt file if you supply one with the correct name and format. In some cases it may be desireable to edit the .strings.bin file directly.

.mesh/3d programs

.cas/3d programs

Units

Getting Units in Game

Models

Textures

Animations

Unit Sprites

Unit Cards

Making unit cards could also be treated solely as a UI issue, but most mods choose to use renders of the unit model in animation pose.

Unit Flags/Banners

Unit Stats, Abilities and Projectiles

Formations

Campaign Map

Mapping

Resources and Hidden_Resources

Strat Models

See also Characters section for figure strat models.

Campaign Elements

Cultures

Factions

Emergent Factions and Hordes

Characters

Agents

Character Strat Models

Adding different levels of character strat model requires having additional models/textures and changes to traits.

Traits, Ancillaries and Attributes

The commands and conditions used in setting traits and ancillaries overlap with those used in Scripting.

Names

Note: most name problems won't crash M2TW, but they will stop the battle editor loading!

Buildings and Settlements

Army/Unit Recruitment

Recruitment can also involve Scripting and Events.

Diplomacy

Religion

Guilds and Missions

Events

Events can also be added via Scripting.

Battle Maps

For more information on the wiki see Category:M2TW Battle Map Modding.

Custom Maps

Environment

Battle Map Structures

AI

See also The AI Workshop.

Scripting

Sounds

Voices

Effects

Music

UI

Menu and Loading Screens

Videos

Text Descriptions

This section is for general information about all text areas, for unit descriptions see Units section, etc.

Console Commands and Config Preferences

Adjustments that can be made via in-game console commands or in players .cfg preferences instead of in modded files:

Tool Support and Format Research

This section is only likely to be of use to tool developers or those with obscure problems with tools/file format.

Miscellaneous

Historical Reference

See Also


Total War Modding

Indexes to Tools, Tutorials & Resources by Game:
Three Kingdoms | Warhammer I & II | Attila | Rome II | Shogun 2 | Napoleon: Total War | Empire: Total War | Medieval II: Total War | Rome: Total War
Cross Platform Information:
Modelling, Textures and Graphics - Modding Index

Main Categories for Other Modding Pages on the Wiki:
M2TW Modding Category | RTW Modding Category

Modding Workshops on TWC:
Three Kingdoms | Brittania | Warhammer I & II | Attila | Rome II | Shogun 2 | Napoleon: Total War | Empire: Total War | Medieval II: Total War | Rome: Total War | Medieval I

YOU can help us improve this Wiki! ~ Look for Ways to Help and Things to Do. ~ If you need further advice, please post here.