From Victoria 2 Wiki
Jump to navigation Jump to search

Modding, or creating mods, is the act of modifying the behavior of the base game (often referred as vanilla), either for personal use, or to release publicly to other players. As with all Paradox games, Victoria II is moddable to a decent extent.

Motivations of modders may vary widely: better translation to native language, more events or decisions, better map, major overhaul, etc.

Modding is not magic or heresy, anybody can learn to build a mod, and this guide is intended to lower the entry barriers to the world of Vicky 2 modding.

Yet, however good the documentation, there is still a learning curve to it, and it cannot replace the need to read some working vanilla code, and do lots of trial & error experimentations!

For a list of notable mods the community has created, see List of mods.


Game data


Tools & utilities


Various other modding tips

  • Your most important tool for figuring out crash issues is the time when the game crashes - if it crashes during startup, you have a grammar issue somewhere in your code (e.g. missing }). If it crashes when you click on 'Start Game' or some time during gameplay, you have a context issue somewhere in the code (e.g. typo in a production_type).
  • Factories can have at most 4 input goods.
  • A roundabout way to restrict where factories can be built using a non-hardcoded trigger is to apply a highly negative throughput bonus in their production type.