From Europa Universalis 4 Wiki
Jump to navigation Jump to search

Modding is a very broad topic. This page serves as a portal to all modding-related pages on the wiki. If you are new to modding, have a look at the Scripting Tutorial for an introduction.

Game data[edit | edit source]

  • Triggers - 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
  • Effects - Used in order to dynamically affect the game
  • Modifier list - Script modifiers that affect aspects of the game.
  • 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
  • Variables - Persistent values that are either associated with a specific country or province.

Tools & utilities[edit | edit source]

Extensions[edit | edit source]

General Map/Game Editors[edit | edit source]

Image Editors[edit | edit source]

  • Gimp - A free and open source Photoshop alternative. Great for all types of image editing from simple cropping and resizing, to more complicated tasks like compositing and photo manipulation.
  • Paint.NET - A clean and polished basic photo editing tool. It has fewer features overall than Gimp, but what it does do it does very well. Great for getting started.
  • Krita - A free and open source painting program, ideal for creating custom artwork for loading screens and event images.

3D Modelling Tools[edit | edit source]

  • Blender - Free and open source 3D modelling software with tools for modelling, sculpting, texturing, and animating.
  • io_pdx_mesh - A plugin for Blender and Maya, vital for 3D modelling in EU4. Allows you to import and export Paradox's .mesh file format directly, as well as easily work with materials and animations.
  • JoroDox mod making tool (wiki page: JoroDox mod making tool)
  • Clausewitz Maya Exporter - A tool allowing for easier creation of 3D models (units) to use in mods for newer Clausewitz games.

Other Modding Tools[edit | edit source]

  • The Validator - Find errors quickly and with minimal pain! (Wiki Page: The Validator)
  • EU4 Province Color Picker
  • Paradox Node Editor - Visual Application for Editing EU4 Missions
  • Music Mod Creation Tool - A tool that creates all the files, scripts and folders needed to add music to EU4 and other Paradox Interactive games.
  • EU4 Localisation Generator - This tool lets you write localisation in one language, and then have it duplicated into the other languages. This DOES NOT translate your mod, but it will stop people from complaining about missing localisation when they try to play your mod in an "unsupported" language. Requires Java.
  • The Modding Git Guide is a community made guide for using Git, GitHub/GitLab, and related tools such as KDiff3. It can be a useful stop for questions beyond this wiki, and contains step by step guides for much of what is talked about here. Though the examples are HOI4 based, the principles apply equally well to any Paradox game mod.
  • Winmerge - A merging tool that lets you solve merge conflits, or simply view differences between different files and folders (e.g. compare a mod's file with vanilla).

Miscellaneous[edit | edit source]

Tips[edit | edit source]

  • If you use Microsoft Windows, consider using Notepad++. Standard Notepad is considerably unreliable when it comes to respecting structure and format, and can bring a bunch of unnecessary headaches.
  • If you use a GNU/Linux distribution, almost any text editor will respect structure and format. Examples of free text editors (or IDEs) that will respect structure and format include gedit, Geany, Atom, Vim, nano and Emacs.
  • If you use Microsoft Windows, 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. (Alternatively, just use Notepad++'s "Find in Files" functionality, which is a lot better than Windows at searching.)
  • 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 as 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.
  • If you use Windows and want to merge mods, you could use WinMerge, an easy tool for merging folders and files.
  • To upload a thumbnail with your mod, you must call it "thumbnail.png", it must be 512 x 512 or lower, it must be placed directly in the folder of your mod, and the line 'picture="thumbnail.png"' should be added to the second line of the descriptor.
Documentation EffectsTriggersModifiersScopesVariablesLocalisationCustomizable localizationRun filesList of event pictures
Scripting Scripted functionAdvisorsAgesBookmarksBuildingsCasus belliColonial regionsCountriesCultureDecisionsDefinesDiplomatic actionsDisastersEmpire of ChinaEstatesEventsFactionsGovernmentGreat projectsHistoryHoly Roman EmpireIdea groupsInstitutionsMercenariesMissionsModifiersNation designerOn ActionsParliamentPeace treatiesPoliciesRebel typesReligionSubject typesTechnologyTrade companiesTrade goodsUnits
Map MapNation designerRandom New WorldTrade nodes
Graphics 3D ModelsInterfaceGraphical AssetsFontsParticlesShadersUnit models
Audio MusicSound
Other Console commandsChecksumJoroDox mod making toolMod structureTroubleshootingThe ValidatorRun files
Guides Adding a provinceSave-game editingScripting Tutorial