Web campaign editor (experimental)

If you liked this item, please rate it up on Steam Workshop page.

Author: Bombardier

Last revision: 10 Aug, 2021 at 21:10 UTC

File size: 339.97 KB

On Steam Workshop

Description:

Edit your campaign real-time from a web browser. Play around, setup your campaign and disable it afterwards once you are done.

This mod is a supercharged alternative to prop joe’s map painter mod.

Web app: https://imrz.github.io/tww2-campaign-editor/

Features
  • 🌀 Drag and drop lords/heroes (i.e teleport)
  • ⚔️ Create lords/armies (Right click on map)
  • 🦸 Create heroes (Right click on map)
  • 🔋 Replenish lords/heroes action points
  • ☠️ Kill lords/heroes
  • 🎌 Transfer regions
  • 💨 Abandon regions
  • 🔧 Modify province corruption (turn one)
  • 🌫️ Toggle shroud
  • 💰 Modify faction treasury by amount
  • 🏳️ Diplomacy (Force war, peace, confederation, etc)
  • 🗡️ Add items/ancillaries to lord/hero
  • 🎖️ Add traits to lord/hero
  • 🧍 Add units to armies
  • 🌁 Add undercities/pirate coves to settlements
  • Maybe more soon™

Instructions
  1. Press Windows+R and copy/paste in the following script to create the correct folder:
    powershell.exe mkdir $env:USERPROFILEwh2_web_editor_mod

    You can also manually create the folder yourself inside %USERPROFILE% or C:UsersYOUR_USERNAME. The folder name must be wh2_web_editor_mod.

  2. Subscribe to this mod. Start the launcher, don’t forget to activate the mod from the mod manager. And start a game.
  3. Once the campaign is fully loaded and you can interact with the game world, open up the web app[imrz.github.io] and click start. Select the folder that was previously created or use the shortcut to load up the campaign in the app.

    If the map won’t load, use Chrome as your browser. The webapp uses an experimental feature[caniuse.com] that isn’t supported by most browsers.

Compatibility with other mods

This mod should be compatible with other mods (like OvN) as it’s just a tiny script.

Currently the web app offers autocomplete functionality for vanilla data, like agent types, names and units. It is also possible to input modded keys directly, if you know the the specific key of course (with the help of AK or RPFM).

Caveats

The mod has only been tested on Windows operating systems at the moment.
The web app currently only works with the LATEST chromium-based browsers! Chrome, Edge, etc.

I am unable to automate every single step at the moment due to using a browser as the main user interface. I might consider converting the web app to a native app if there is high demand for it, as I will have more control/access over certain aspects. The downside will be that the app has to be manually installed/updated. But for now this is the best I can do, enjoy.