Difference between revisions of "Modding"

From Europa Universalis 4 Wiki
Jump to navigation Jump to search
m (Guides: added unit models)
(Asirra test)
Line 3: Line 3:
 
'''Modding''' is a very broad topic. This page serves as a portal to all modding-related pages on the wiki. Much information for this article is taken from [http://forum.paradoxplaza.com/forum/showthread.php?708154-User-Modifications-Reference-%97-Guides-Templates-and-Utilities the official User Modifications Reference — Guides, Templates and Utilities thread] in the EU4 Paradox forums; check there for updates.
 
'''Modding''' is a very broad topic. This page serves as a portal to all modding-related pages on the wiki. Much information for this article is taken from [http://forum.paradoxplaza.com/forum/showthread.php?708154-User-Modifications-Reference-%97-Guides-Templates-and-Utilities the official User Modifications Reference — Guides, Templates and Utilities thread] in the EU4 Paradox forums; check there for updates.
  
==Guides==
+
== Guides ==
 
* [[Advisor modding|Advisors]] - Adding custom advisors to the game
 
* [[Advisor modding|Advisors]] - Adding custom advisors to the game
 
* [[Console commands]] - Console commands are very useful for testing mods
 
* [[Console commands]] - Console commands are very useful for testing mods
Line 17: Line 17:
 
* [[Unit models]] - How to modify the unit models
 
* [[Unit models]] - How to modify the unit models
  
==Game data==
+
== Game data ==
 
* [[Commands]] - Used in order to dynamically affect the game
 
* [[Commands]] - Used in order to dynamically affect the game
 
* [[Conditions]] - Used in order to execute commands/events/decisions/etc. only when certain things are true
 
* [[Conditions]] - Used in order to execute commands/events/decisions/etc. only when certain things are true
Line 25: Line 25:
 
* [[Scopes]] - Used to determine what entity commands and conditions are executed and checked from
 
* [[Scopes]] - Used to determine what entity commands and conditions are executed and checked from
  
==Tools & utilities==
+
== Tools & utilities ==
 
* [http://forum.paradoxplaza.com/forum/showthread.php?708154-User-Modifications-Reference-%97-Guides-Templates-and-Utilities&p=15933914&viewfull=1#post15933914 Notepad++ Syntax Highlighter]
 
* [http://forum.paradoxplaza.com/forum/showthread.php?708154-User-Modifications-Reference-%97-Guides-Templates-and-Utilities&p=15933914&viewfull=1#post15933914 Notepad++ Syntax Highlighter]
 
* [http://forum.paradoxplaza.com/forum/showthread.php?722493-UTILITY-Java-Save-Game-Replayer&p=16157711&viewfull=1#post16157711 Java Save Game Replayer]
 
* [http://forum.paradoxplaza.com/forum/showthread.php?722493-UTILITY-Java-Save-Game-Replayer&p=16157711&viewfull=1#post16157711 Java Save Game Replayer]
Line 32: Line 32:
 
* [http://forum.paradoxplaza.com/forum/showthread.php?527308-Clausewitz-Save-Game-and-Scenario-Editor-Viewer&p=12203612&viewfull=1#post12203612 Clausewitz Save Game and Scenario Editor/Viewer]
 
* [http://forum.paradoxplaza.com/forum/showthread.php?527308-Clausewitz-Save-Game-and-Scenario-Editor-Viewer&p=12203612&viewfull=1#post12203612 Clausewitz Save Game and Scenario Editor/Viewer]
  
==Miscellaneous==
+
== Miscellaneous ==
 
* [[Checksum#What affects the Checksum|Checksum]]
 
* [[Checksum#What affects the Checksum|Checksum]]
  
==Tips==
+
== Tips ==
 
*Get [http://notepad-plus-plus.org/ '''Notepad++''']. Standard Notepad is considerably unreliable when it comes to respecting structure and format, and can bring a bunch of unnecessary headaches.
 
*Get [http://notepad-plus-plus.org/ '''Notepad++''']. Standard Notepad is considerably unreliable when it comes to respecting structure and format, and can bring a bunch of unnecessary headaches.
 
*Make sure your Europa Universalis IV folder is automatically indexed by Windows (right-click on folder, ''Properties'', ''Advanced Options''), so that when you search within it, the function can search within text files. When you first enable the setting, you'll have to wait a bit for Windows to do the indexing in the background.
 
*Make sure your Europa Universalis IV folder is automatically indexed by Windows (right-click on folder, ''Properties'', ''Advanced Options''), so that when you search within it, the function can search within text files. When you first enable the setting, you'll have to wait a bit for Windows to do the indexing in the background.

Revision as of 11:46, 15 September 2014

Modding is a very broad topic. This page serves as a portal to all modding-related pages on the wiki. Much information for this article is taken from the official User Modifications Reference — Guides, Templates and Utilities thread in the EU4 Paradox forums; check there for updates.

Guides

  • Advisors - Adding custom advisors to the game
  • Console commands - Console commands are very useful for testing mods
  • Country creation - How to get a new country into the game
  • Decisions - How to make a decision
  • Events - How to add new events to the game or change existing ones
  • Localisation - Used to display text in the game rather than code; e.g., turning "ENG" into "England"
  • Map - All modding pertaining to the map itself, from provinces to terrain
  • Missions - How to add new missions to the game or change existing ones
  • Mod catalogue - Used to tell the game how to run a mod
  • Music - Add custom music to the game
  • Structure - Details the structure any mod has to comply with
  • Unit models - How to modify the unit models

Game data

  • Commands - Used in order to dynamically affect the game
  • Conditions - Used in order to execute commands/events/decisions/etc. only when certain things are true
  • Country list - Basic info on all countries in the vanilla game, including country tags
  • Province ID map (warning: huge)
  • Province list - Province IDs are used in many commands
  • Scopes - Used to determine what entity commands and conditions are executed and checked from

Tools & utilities

Miscellaneous

Tips

  • Get Notepad++. Standard Notepad is considerably unreliable when it comes to respecting structure and format, and can bring a bunch of unnecessary headaches.
  • Make sure your Europa Universalis IV folder is automatically indexed by Windows (right-click on folder, Properties, Advanced Options), so that when you search within it, the function can search within text files. When you first enable the setting, you'll have to wait a bit for Windows to do the indexing in the background.
  • When trying to find a way to do something, look around the game's structure to see how the game accomplishes similar things. The previous point helps with that (how is X effect/trigger meant to be used?). It's also a useful technique to learn about proper format, how events, decisions and missions work, and how to balance your changes with the rest of the game.
  • Uncommon/unknown file types outside the gfx folder (i.e. .lua, .gfx, .gui) are usually normal text files, and can be opened a such.
  • Read the Modding section!
  • Save the List of Effects, Modifiers, Scopes, Triggers, and Localization Strings to a text file(s) for easy access. It's a quick reference to all the gears that make EU4 tick, and there's sometimes usage tips to be found.
  • If all else fails, drop us a question here in the Quick questions thread over at the official EU4 modding forum.