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 "Medieval II: Total War - Modding Index"

From TWC Wiki
Jump to navigationJump to search
(+)
(+)
Line 16: Line 16:
  
  
==General Set-up Information==
+
==General Information==
 +
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=143183 Crashes and how to fix them] - by [[uanime5]]
 
===Mod-folder Set-up and Resources===
 
===Mod-folder Set-up and Resources===
 
'''The recommended starting point for any new Medieval II: Total War mod is to use a [https://www.twcenter.net/forums/showthread.php?352216 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.'''
 
'''The recommended starting point for any new Medieval II: Total War mod is to use a [https://www.twcenter.net/forums/showthread.php?352216 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.'''
Line 32: Line 33:
  
 
==Units==
 
==Units==
===Getting a Unit in Game===
+
===Getting Units in Game===
 
* Tutorial - [https://forums.totalwar.org/vb/showthread.php?t=75706 Adding a New Unit] - by [[Musashi]]
 
* Tutorial - [https://forums.totalwar.org/vb/showthread.php?t=75706 Adding a New Unit] - by [[Musashi]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=74945 Adding Other Factions Units to New Faction] - by [[M3rcury15]]  
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=74945 Adding Other Factions Units to New Faction] - by [[M3rcury15]]  
Line 40: Line 41:
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=78236 Creating Dismounted Version of Existing Unit] - by [[Zorgrath]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=78236 Creating Dismounted Version of Existing Unit] - by [[Zorgrath]]
 
* Tutorial - [https://forums.totalwar.org/vb/showthread.php?t=79455 Guide to Formatted modeldb File and Syntax Checker] - by [[KnightErrant]]
 
* Tutorial - [https://forums.totalwar.org/vb/showthread.php?t=79455 Guide to Formatted modeldb File and Syntax Checker] - by [[KnightErrant]]
* Tutorial - [https://forums.totalwar.org/vb/showthread.php?t=79007 Enabling War Wagons and Wagon Walls] - by [[DukeofSerbia]]
+
* Tutorial - [https://www.twcenter.net/forums/showthread.php?82549 Enabling War Wagons and Wagon Walls] - by [[DukeofSerbia]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=546486 Taro's bag o' tricks (tutorial + some recources)] - by [[Taro_M]] - <small>multiple topics and sections</small>
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=546486 Taro's bag o' tricks (tutorial + some recources)] - by [[Taro_M]] - <small>multiple topics and sections</small>
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=581052 The Guide to the BMDB (battle_models.modeldb) for absolute beginners and non-English speakers] - by [[BM309K58SMERCH]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=581052 The Guide to the BMDB (battle_models.modeldb) for absolute beginners and non-English speakers] - by [[BM309K58SMERCH]]
Line 46: Line 47:
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=319020 How to add a mangonel to retrofit or bare kingdoms mod] - by [[Ishan]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=319020 How to add a mangonel to retrofit or bare kingdoms mod] - by [[Ishan]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=247647 How to add mercenaries] - by [[impspy]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=247647 How to add mercenaries] - by [[impspy]]
 +
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=204431 How to make Mounted Greekfirethrowers/Naffatun with just text] - by [[Eothese]]
 
* ''Tutorial - [https://www.twcenter.net/forums/showthread.php?t=173510 How to add a Greek Fire Unit] - by [[J@mes]]'' - <small>images missing</small>
 
* ''Tutorial - [https://www.twcenter.net/forums/showthread.php?t=173510 How to add a Greek Fire Unit] - by [[J@mes]]'' - <small>images missing</small>
 
* Answer - [https://forums.totalwar.org/vb/showthread.php?t=83291 Adding a Unit to the Game - Solutions to FAQs] - by [[Hesford]]
 
* Answer - [https://forums.totalwar.org/vb/showthread.php?t=83291 Adding a Unit to the Game - Solutions to FAQs] - by [[Hesford]]
Line 51: Line 53:
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=230009 How to remove "unlocalized placement text"] - by [[Nakharar]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=230009 How to remove "unlocalized placement text"] - by [[Nakharar]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=192389 How to add an animal handler unit (Wardogs)] - by [[Eothese]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=192389 How to add an animal handler unit (Wardogs)] - by [[Eothese]]
 +
* Answer - [https://www.twcenter.net/forums/showthread.php?t=356981 Quick and dirty method for enabling units for all factions] - by [[Taiji]]
 
* Tool - [https://www.twcenter.net/forums/showthread.php?84043 formatted modeldb file and associated syntax checker] - by [[KnightErrant]]  
 
* Tool - [https://www.twcenter.net/forums/showthread.php?84043 formatted modeldb file and associated syntax checker] - by [[KnightErrant]]  
  
Line 118: Line 121:
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=110099 How to make crossbowmen rate of fire slower] - by [[asiJa]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=110099 How to make crossbowmen rate of fire slower] - by [[asiJa]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=120626 The Holy Banana of Jerusalem (Projectile)] - by [[Aranruth]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=120626 The Holy Banana of Jerusalem (Projectile)] - by [[Aranruth]]
 +
* Answer - [https://www.twcenter.net/forums/showthread.php?t=357435 How to use weapon upgrades sensibly] - by [[Taiji]]
  
 
===Formations===
 
===Formations===
Line 138: Line 142:
 
====Strat Models====
 
====Strat Models====
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=360928 Forts: Everything you need to know about permanent, stone and/or buildable forts] - by [[UraniumAtom]]  
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=360928 Forts: Everything you need to know about permanent, stone and/or buildable forts] - by [[UraniumAtom]]  
Answer - [https://www.twcenter.net/forums/showthread.php?t=295845 Creating a World - Replacing Strat Models ] - by [[Gigantus]]
+
* Answer - [https://www.twcenter.net/forums/showthread.php?t=295845 Creating a World - Replacing Strat Models ] - by [[Gigantus]]
 +
* Answer - [https://www.twcenter.net/forums/showthread.php?t=236332 How to: Change Fort model on Campaign and Battlemap] - by [[Göteborgare]] <small>images missing</small>
  
 
==Campaign Elements==
 
==Campaign Elements==
Line 151: Line 156:
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=168310 Example of Transforming a Faction into Another] - by [[Zymran]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=168310 Example of Transforming a Faction into Another] - by [[Zymran]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=144431 How to create an emerging faction] - by [[Swagger]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=144431 How to create an emerging faction] - by [[Swagger]]
 +
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=221709 How to create an emerging faction with Barons Alliance script] - by [[Polpolgio]]
 
* Tutorial - [[Emergent_Factions_-_M2TW| Guide to Emergent Factions in M2TW]] - TWC Wiki Article  
 
* Tutorial - [[Emergent_Factions_-_M2TW| Guide to Emergent Factions in M2TW]] - TWC Wiki Article  
  
Line 160: Line 166:
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=572483 Creating a World - Killing characters multiple ways] - by [[Gigantus]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=572483 Creating a World - Killing characters multiple ways] - by [[Gigantus]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=83818 Creating Hyper-Extended Family Trees] - by [[Lopus]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=83818 Creating Hyper-Extended Family Trees] - by [[Lopus]]
 +
* Answer - [https://www.twcenter.net/forums/showthread.php?t=296296 Making a Family Tree With an Under Age Faction Heir or Leader] - by [[TNZ]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=117566 HowTo: Custom Portraits] - by [[antirelic]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=117566 HowTo: Custom Portraits] - by [[antirelic]]
  
 
====Agents====
 
====Agents====
 +
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=341973 Working Patriarch & Redesigned Bishops] - by [[gracul]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?643718 Creating a World - Faction Limits for Agents] - by [[Gigantus]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?643718 Creating a World - Faction Limits for Agents] - by [[Gigantus]]
 
* Resource - [[Assassins| Guide to Game Mechanism Behind Assassins]] - TWC Wiki Article
 
* Resource - [[Assassins| Guide to Game Mechanism Behind Assassins]] - TWC Wiki Article
Line 169: Line 177:
 
* Tutorial - [https://forums.totalwar.org/vb/showthread.php?t=77176 Beginners Guide to Coding Traits] - by [[Alpaca]]
 
* Tutorial - [https://forums.totalwar.org/vb/showthread.php?t=77176 Beginners Guide to Coding Traits] - by [[Alpaca]]
 
* Tutorial - [https://forums.totalwar.org/vb/showthread.php?t=77177 Beginners Guide to Triggers & Monitors] - by [[Alpaca]]
 
* Tutorial - [https://forums.totalwar.org/vb/showthread.php?t=77177 Beginners Guide to Triggers & Monitors] - by [[Alpaca]]
 +
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=203889 How To: The Ancillary Guide] - by [[Swagger]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=381048 Leader traits with faction-wide effects] - by [[gracul]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=381048 Leader traits with faction-wide effects] - by [[gracul]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=391736 How piety works and how to activate the alternative piety mode] - by [[Hellenikon]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=391736 How piety works and how to activate the alternative piety mode] - by [[Hellenikon]]
Line 180: Line 189:
 
===Buildings===
 
===Buildings===
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=221100 A Guide to Export_Descr_Buildings.txt] - by [[Mythic_Commodore]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=221100 A Guide to Export_Descr_Buildings.txt] - by [[Mythic_Commodore]]
 +
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=221102 How to Make New Buildings] - by [[Mythic_Commodore]]
 +
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=278092 Mines] - by [[EarendilElenthol]]
 +
* Answer - [https://www.twcenter.net/forums/showthread.php?t=77459 Converting Huge Cities to Castles] - by [[severdhope]]
 
   
 
   
 
===Army/Unit Recruitment===
 
===Army/Unit Recruitment===
Line 223: Line 235:
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?728591 AI Personalities] - by [[z3n]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?728591 AI Personalities] - by [[z3n]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?749175 Invade and Defend Decisions] - by [[z3n]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?749175 Invade and Defend Decisions] - by [[z3n]]
 +
* Answer - [https://www.twcenter.net/forums/showthread.php?t=198357 Know how about invasions and Ai-horde-mode behavior] - by [[Userpro]]
  
 
==Scripting==
 
==Scripting==
Line 229: Line 242:
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?696575 Creating a World - Disasters and the add_events command] - by [[Gigantus]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?696575 Creating a World - Disasters and the add_events command] - by [[Gigantus]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?702927 Creating a World - Building and maintaining unique Buildings] - by [[Gigantus]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?702927 Creating a World - Building and maintaining unique Buildings] - by [[Gigantus]]
* Tutorial - [https://www.twcenter.net/forums/showthread.php?p=6546386 Tutorial for a Garrisonscript] - by [[weissnicht]]
+
* Tutorial - [https://www.twcenter.net/forums/showthread.php?322545 Tutorial for a Garrisonscript] - by [[weissnicht]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=295610 The placement of units, Coded and Scripted - using various commands] - by [[Archaon]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=295610 The placement of units, Coded and Scripted - using various commands] - by [[Archaon]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=375921 How to implement a field-cost script] - by [[Amon Amarth 930]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=375921 How to implement a field-cost script] - by [[Amon Amarth 930]]
 +
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=292296 Yes/No Event Tutorial] - by [[Swagger]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=320881 Make a settlement a power centre for training special units] - by [[Ishan]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=320881 Make a settlement a power centre for training special units] - by [[Ishan]]
 
* Answer - [https://forums.totalwar.org/vb/showthread.php?t=72085 Scripted unit recruitment pool replenishment] - by [[Epistolary Richard]]
 
* Answer - [https://forums.totalwar.org/vb/showthread.php?t=72085 Scripted unit recruitment pool replenishment] - by [[Epistolary Richard]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=105745 Scripting based on Difficulty and AI/Player] - by [[tornnight]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=105745 Scripting based on Difficulty and AI/Player] - by [[tornnight]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=344341 The use of destroy_units in the campaign script] - by [[Gorrrrrn]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=344341 The use of destroy_units in the campaign script] - by [[Gorrrrrn]]
 +
* Answer - [https://www.twcenter.net/forums/showthread.php?t=374314 How to spawn family members via script] - by [[OfficerJohn]]
 +
* Answer - [https://www.twcenter.net/forums/showthread.php?t=349073 Creating a script to give all the names you want to a settlement] - by [[Polpolgio]]
  
 
==Sounds==
 
==Sounds==
Line 286: Line 302:
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?p=3795851 Nakharar's Basics: Resources] - by [[Nakharar]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?p=3795851 Nakharar's Basics: Resources] - by [[Nakharar]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=202229 Nakharar's Basics: Rebels] - by [[Nakharar]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=202229 Nakharar's Basics: Rebels] - by [[Nakharar]]
 
+
* Answer - [https://www.twcenter.net/forums/showthread.php?t=272509 Increased Movement Points(Cavalry, Infantry and/or Siege)] - by [[spanish_emperor]]
 
* Answer - [[Changing_the_Counter_from_Turns_to_Years| Changing the Counter from Turns to Years]] - TWC Wiki Article
 
* Answer - [[Changing_the_Counter_from_Turns_to_Years| Changing the Counter from Turns to Years]] - TWC Wiki Article
 
* Answer - [[Changing_the_Number_of_Years_per_Turn| Changing the Number of Years per Turn]] - TWC Wiki Article
 
* Answer - [[Changing_the_Number_of_Years_per_Turn| Changing the Number of Years per Turn]] - TWC Wiki Article
 
* Answer - [[Removing_the_Pope| How to Remove the Pope]] - TWC Wiki Article
 
* Answer - [[Removing_the_Pope| How to Remove the Pope]] - TWC Wiki Article
 
* Answer - [https://forums.totalwar.org/vb/showpost.php?p=462545&postcount=34| How to make a movie from battle replay] - by [[Eyeswater]]
 
* Answer - [https://forums.totalwar.org/vb/showpost.php?p=462545&postcount=34| How to make a movie from battle replay] - by [[Eyeswater]]
 +
* Answer - [https://www.twcenter.net/forums/showthread.php?t=309517 Miniscript to hide/unhide stratmap-ui whilst ingame] - by [[Userpro]]
  
  

Revision as of 02:17, 17 May 2020

Medieval II: Total War Modding Banner


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

For master list of modding tools (e.g. model exporters) see M2TW Modding Tools (to be merged here)

See also M2TW Modding Tutorials Category for tutorials contained on this Wiki.

The below listing provides links to tutorials, useful answers to common modding questions, resources and tools, divided by category.
When adding items please keep to existing format with the type of article first;

  • Tutorial = extensive tutorial, 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.

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

Mod-folder Set-up and Resources

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.

Unpacking

Modders will normally need to unpack the base game to access the original files. Sounds and animations remain packed within the unpacked file structure, see sections below for unpacking them.

Units

Getting Units in Game

Models

Textures

Animations

Unit Sprites

Unit Cards

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

Unit Flags/Banners

Unit Stats and Abilities

Formations

Mapping (Campaign Map)

Strat Models

Campaign Elements

Cultures

Factions

Characters

Agents

Traits, Ancillaries and Attributes

Names

Buildings

Army/Unit Recruitment

Diplomacy

Religion

Guilds and Missions

Events

Events can also be added via Scripting:

Battle Maps

Custom Maps

Environment

Battle Map Structures

AI

(this might be split into CAI/BAI)

Scripting

Sounds

Voices

Effects

Music

UI

Menu and Loading Screens

Videos

Text Descriptions

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

Miscellaneous


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