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 141: Line 141:
 
* Answer - [https://www.twcenter.net/forums/showthread.php?640264 Better Visibility for Small Arms Bullets] - by [[Medusa0]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?640264 Better Visibility for Small Arms Bullets] - by [[Medusa0]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?757502 How to make arrows stay in the ground longer (very easy)] - by [[AleksiMizaro]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?757502 How to make arrows stay in the ground longer (very easy)] - by [[AleksiMizaro]]
 +
* Resource - [https://www.twcenter.net/forums/showthread.php?t=225753 Experiments with units and results] - by [[alhoon]]
  
 
===Formations===
 
===Formations===
Line 161: Line 162:
 
* Resource - [https://forums.totalwar.org/vb/showthread.php?t=81780 Stripped Down Map] - by [[Alpaca]]
 
* Resource - [https://forums.totalwar.org/vb/showthread.php?t=81780 Stripped Down Map] - by [[Alpaca]]
 
* Resource - [https://forums.totalwar.org/vb/showthread.php?t=74616 Vanilla Map Settlement Position Numbers] - by Nem Godslayer
 
* Resource - [https://forums.totalwar.org/vb/showthread.php?t=74616 Vanilla Map Settlement Position Numbers] - by Nem Godslayer
 +
* Tool - [https://www.twcenter.net/forums/showthread.php?438278 TW Map Reader] - by [[Withwnar]]
  
 
====Resources and Hidden_Resources====
 
====Resources and Hidden_Resources====
Line 215: Line 217:
  
 
====Traits, Ancillaries and Attributes====
 
====Traits, Ancillaries and Attributes====
 +
:''The commands and conditions used in setting traits and ancillaries overlap with those used in [[#Scripting|Scripting]]
 
* 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]]
Line 229: Line 232:
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=404087 Varied Adoption] - by [[Meneth]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=404087 Varied Adoption] - by [[Meneth]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=257175 Setting Heirs to your preference] - by [[konny]] - <small>using Authority</small>
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=257175 Setting Heirs to your preference] - by [[konny]] - <small>using Authority</small>
 +
* Answer - [https://www.twcenter.net/forums/showthread.php?t=313758 TimeWithArmy Condition]  - by [[konny]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=77469 Want tougher AI generals to fight? Here's how] - by [[DrJambo]] - <small>adds Command stars by trait</small>
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=77469 Want tougher AI generals to fight? Here's how] - by [[DrJambo]] - <small>adds Command stars by trait</small>
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=75622 Make all ancilliaries transferable] - by [[Furin]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=75622 Make all ancilliaries transferable] - by [[Furin]]
 
* Resource - [https://forums.totalwar.org/vb/showthread.php?t=73974 List of Character Attributes] - supplied by [[CA]], posted by [[Epistolary Richard]]
 
* Resource - [https://forums.totalwar.org/vb/showthread.php?t=73974 List of Character Attributes] - supplied by [[CA]], posted by [[Epistolary Richard]]
 +
* Resource - [https://www.twcenter.net/forums/showthread.php?t=108931 Trait List for Generals] - by [[bamsuls]]
  
 
====Names====
 
====Names====
Line 294: Line 299:
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=299867 Battlemap Building Textures] - by [[Makanyane]] <small> needs updating for IWTE</small>
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=299867 Battlemap Building Textures] - by [[Makanyane]] <small> needs updating for IWTE</small>
 
* Resource - [http://www.twcenter.net/forums/downloads.php?do=file&id=3115 Permanent Stone Forts for SS6.3 Late Campaign] - by [[Rozanov]]
 
* Resource - [http://www.twcenter.net/forums/downloads.php?do=file&id=3115 Permanent Stone Forts for SS6.3 Late Campaign] - by [[Rozanov]]
 +
* Resource - [https://www.twcenter.net/forums/showthread.php?746123 Fort fixes for Crusades Campaign forts] - by [[Gigantus]]
  
 
==AI==
 
==AI==
Line 323: Line 329:
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=226270 How to create a complex religion change script] - by [[Polpolgio]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=226270 How to create a complex religion change script] - by [[Polpolgio]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=485535 Unique Names (and avoiding labels)] - by [[Withwnar]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=485535 Unique Names (and avoiding labels)] - by [[Withwnar]]
 +
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=532711 Give a region to another faction via script] - by [[Withwnar]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=472792 Complex Interactive Events] - by [[AJStoner]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=472792 Complex Interactive Events] - by [[AJStoner]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=554195 Creating Localised Re-Emerging Factions without using the Horde Ability] - by [[TMK]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=554195 Creating Localised Re-Emerging Factions without using the Horde Ability] - by [[TMK]]
Line 333: Line 340:
 
* 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?650584 Instant garrisons and their disbandment] - by [[Gigantus]]
 
* 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=374314 How to spawn family members via script] - by [[OfficerJohn]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=467867 Emergent Generals Script] - by [[SonofPeverel]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=467867 Emergent Generals Script] - by [[SonofPeverel]]
Line 344: Line 352:
 
* Answer - [https://www.twcenter.net/forums/showthread.php?642934 diplomacy_mission: how to use] - by [[Withwnar]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?642934 diplomacy_mission: how to use] - by [[Withwnar]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?644400 Reload-safe Yes/No Events] - by [[Withwnar]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?644400 Reload-safe Yes/No Events] - by [[Withwnar]]
 +
* Answer - [https://www.twcenter.net/forums/showthread.php?t=537616 Script to add a "Capital" building] - by [[Withwnar]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=523836 How to disable autoresolve for the player] - by [[Aikanár]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=523836 How to disable autoresolve for the player] - by [[Aikanár]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?279441 Working with 'restrict_autoresolve' command] - by [[Archaon]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?279441 Working with 'restrict_autoresolve' command] - by [[Archaon]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?279461 Guide to 'restrict_clickable_area' Command ] - by [[Archaon]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?279461 Guide to 'restrict_clickable_area' Command ] - by [[Archaon]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=309918 King's Purse script] - by [[Vegas_Bear]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=309918 King's Purse script] - by [[Vegas_Bear]]
 +
* Answer - [https://www.twcenter.net/forums/showthread.php?t=397155 Carl - the Taxman (economy script)] - by [[Fred Putz]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=518270 Sapping on the Campaign map] - by [[David93]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=518270 Sapping on the Campaign map] - by [[David93]]
 +
* Answer - [https://www.twcenter.net/forums/showthread.php?606609 Accelerating Stratmap Animations via Script] - by [[Gigantus]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=401790 Adding blank keyboard shortcuts for scripting purposes] - by [[gracul]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=401790 Adding blank keyboard shortcuts for scripting purposes] - by [[gracul]]
 
* Resource - [https://www.twcenter.net/forums/showthread.php?295898 Diplomacy Modification By Scripting Research Thread] - by [[Archaon]]  
 
* Resource - [https://www.twcenter.net/forums/showthread.php?295898 Diplomacy Modification By Scripting Research Thread] - by [[Archaon]]  
 
* Resource - [https://www.twcenter.net/forums/showthread.php?291398 Archaon's Loyal Allies (Player restrictions on attacking aliies)] - by [[Archaon]]  
 
* Resource - [https://www.twcenter.net/forums/showthread.php?291398 Archaon's Loyal Allies (Player restrictions on attacking aliies)] - by [[Archaon]]  
 +
* Resource - [https://www.twcenter.net/forums/showthread.php?t=465419 Forced Diplomacy v1.2] - by [[Withwnar]]
 +
* Resource - [https://www.twcenter.net/forums/showthread.php?746123 Script Fixes for Kingdom Campaigns (Welsh Uprising & Kalmar Union)] - by [[Gigantus]]
 +
* Tool - [https://www.twcenter.net/forums/showthread.php?539626 TWCapital v1.4: script generator for a Faction Capital building] - by [[Withwnar]]
  
 
==Sounds==
 
==Sounds==
Line 384: Line 398:
 
===Menu and Loading Screens===
 
===Menu and Loading Screens===
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=347694 31 factions without the Faction Select screen crashing] - by [[uanime5]] - <small>attachments missing</small>
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=347694 31 factions without the Faction Select screen crashing] - by [[uanime5]] - <small>attachments missing</small>
 +
* Resource - [https://www.twcenter.net/forums/showthread.php?677656 29 Factions on selection display] - by [[Gigantus]] <small>included in Bare Geomod</small>
 
===Videos===
 
===Videos===
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=413942 Creating your own Menu Background video] - by [[Neige]]
 
* Tutorial - [https://www.twcenter.net/forums/showthread.php?t=413942 Creating your own Menu Background video] - by [[Neige]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=108337 How to add own video into the game] - by [[AliAS]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=108337 How to add own video into the game] - by [[AliAS]]
 
===Text Descriptions===
 
===Text Descriptions===
For general information about all text areas, for unit descriptions see Units section, etc:
+
:''For general information about all text areas, for unit descriptions see Units section, etc:''
 +
 
 +
* Resource -[https://www.twcenter.net/forums/showthread.php?636796 converted battle tooltips shared and strat TXT files]- by [[Gigantus]]
 +
 
  
 
==Console Commands and Config Preferences==
 
==Console Commands and Config Preferences==
Line 397: Line 415:
  
 
==Tool Support and Format Research==
 
==Tool Support and Format Research==
 +
* Answer - [https://www.twcenter.net/forums/showthread.php?t=404211 Quotes strings.bin file format] - by [[Tellos Athenaios]]
  
 
==Miscellaneous==
 
==Miscellaneous==
Line 411: Line 430:
 
* 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?635725 Changing hidden keyboard settings (console key)] - by [[Gigantus]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=309517 Miniscript to hide/unhide stratmap-ui whilst ingame] - by [[Userpro]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=309517 Miniscript to hide/unhide stratmap-ui whilst ingame] - by [[Userpro]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=517411 Unified Mod Version Tracking \ Troubleshooting Proposal] - by [[Germanicu5]]
 
* Answer - [https://www.twcenter.net/forums/showthread.php?t=517411 Unified Mod Version Tracking \ Troubleshooting Proposal] - by [[Germanicu5]]

Revision as of 04:14, 19 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.

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

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.

Common Tools and Resources

Tools and resources that cover multiple areas of the game.

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, 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

Characters

Agents

Traits, Ancillaries and Attributes

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

Names

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

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 & III | Attila | Rome II | Shogun 2 | Napoleon: Total War | Empire: Total War | Medieval II: Total War | Rome: Total War & Remastered
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:
Troy | Three Kingdoms | Brittania | Warhammer I, II & III | Attila | Rome II | Shogun 2 | Napoleon | Empire | Medieval II | Rome | Rome Remastered | Medieval I

Other Wiki Sections: Total War Center | Total War Series | Total War Mods | TWC Wiki