Warlords Under Siege: Official Modding Guide

This is the official modding guide for Warlords Under Siege. It will be updated as modding capabilities expand.

 

Introduction

Warlords Under Siege aims to expose as much for modders data as possible. At first the modding capabilities will be limited, but as the development continues we’ll do what we can to provide you with more tools and data to play with.

Mods possible now:

  • Overriding enemy waves

Development plans (at least):

  • Creating new Maps
  • Editing unit data

Potentially:

  • Modding existing cards
  • Modding existing skills
  • Adding new cards
  • Adding new skills

Modding Enemy Waves

Warlords Under Siege allows you to override enemy waves in any map. To get started, download the EXAMPLE MOD[drive.google.com].

Place the extracted content into

SysDrive:\user\AppData\LocalLow\RedKar Limited\Warlords_ Under Siege\Mods

The mod should now appear as a new mission in the mission selection screen.

When you open the example mod you will see the following:

Map1 – Map1 is the internal name of the map. In this case it represents Western Valley. Analogically, Map2 represents Passage of the Dead. You can override both of these maps if you wish. Name of the folder determines which map will be overridden. Contents of the folder will determine the mission details.

metaData Generated automatically when uploading and updating the mod. Can be ignored, and you don’t need it when uploading to the workshop for the first time.

pic.jpg Used as the thumbnail for the workshop.

When you open the Map1 folder, you’ll see three files:

MissionDescription.txt – This file contains the description which appears in the mission selection screen
MissionName.txt – This file contains the name of the mission
Wavesl.json – This file contains the definitions of the enemy waves which will spawn

Waves.json contains a number of pre-defined wave. Wave definition looks like this:

{
    "Enemies": [
        {
            "Name": "Giant_BOSS_enemy",
            "OverrideSquadSize": false,
            "MinSquadSizeOverride": 0,
            "MaxSquadSizeOverride": 0,
            "IsBoss": false,
            "OverrideFlagNumbers": true,
            "MinNumberOfFlags": 5,
            "MaxNumberOfFlags": 5
        },
        {
            "Name": "Skeleton_archers_enemy",
            "OverrideSquadSize": true,
            "MinSquadSizeOverride": 9,
            "MaxSquadSizeOverride": 10,
            "IsBoss": false,
            "OverrideFlagNumbers": false,
            "MinNumberOfFlags": 0,
            "MaxNumberOfFlags": 0
        }
    ],
    "Points": 18000
}

Remember that each definition ends with a comma. Order of defined waves determines the order they spawn in, with each wave starting exactly on the minute after the last wave.

Defining enemies in a wave

Parameter
Functionality
Name
id of enemy you want to spawn
OverrideSquadSize
When true, you can determine the minimum and maximum number of soldiers in a squad. Default is 3-6, with 10 being maximum for most units. Some units are always capped to 1, like Giants and Trolls.
IsBoss
When set to true, a message about a boss coming will appear during this wave
OverrideFlagNumbers
When set to true, you can determine minimum and maximum number of enemy squads (flags) of this particular type that will spawn. These units have priority when spawning. Setting minimum and maximum to 1 will ensure one enemy only. Setting minimum to 0, and maximum to 10, means that between 0 and 10 squads will spawn.

Each wave has associated points value. This value determines the strength of the wave. The more points are give to the wave, the more enemies will spawn. Try to keep this range within a sane amount – remember, not everyone has an uber PC 🙂

“Points”: 18000

Players will be give a fate roll for killing the units equivalent to the value of the wave. This means that if you create 35 waves, players will be given 34 rolls (remembering that last roll is not given because all enemies are already dead).

Uploading Mods to The Workshop

Currently uploading mods to the workshop is a HEAVY WIP. Please bear with us as we upgrade the GUI to be a bit more friendly and responsive.

You can access the Upload Menu from the Main Menu, by clicking the “Upload Mod” in the bottom right corner.


Uploading a new mod

Title: Your mod title
Description: Description visible in the workshop.
Content folder path: Full path to your mod folder. Example:

C:\Users\MrWarlords\AppData\LocalLow\RedKar Limited\Warlords_ Under Siege\Mods\WaveOverrideExampleMod

Preview image Path: Full path to your preview image. Example:

C:\Users\MrWarlords\AppData\LocalLow\RedKar Limited\Warlords_ Under Siege\Mods\WaveOverrideExampleMod\pic.jpg

When you click the upload button, the mod will begin uploading to the workshop. At the moment there is no feedback regarding success or failure. It’s best to simply alt tab from the game and check if the mod uploaded to the workshop. You can check it by going to your profile, and checking your workshop items.

Uploading an exiting mod

When you click to view next, the game will try to get the details of the next mod in the list which you own and you’re subscribed to. As long as you’re the owner, details of the mod will show up and you’ll be able to update them. Some of these you can do from the workshop menu. The most important is the Contents folder.

t
To update your mod, simply put in the path to he folder where your mod is and click the tick-box next to it. Tick-box tells the game to update this property. If you only click the title tick-box for example, only the title will be updated.

We know this is far from perfect, and will soon provide you with better tools to manage your mods.

 

Enemy Data Tables

Unit ID
Unit
Max Squad Size
Points cost / model
Goblin_Scout_enemy
Goblin Scout
10
10
Goblin_Warrior_enemy
Goblin Warrior
10
30
Goblin_Archer_enemy
Goblin Archer
10
15
Shaman_BOSS_enemy
Orc Shaman
800
1
Orc_Warrior_enemy
Orc Warrior
60
10
Orc_Archer_enemy
Orc Archer
85
10
Orc_Wolf_Raider_enemy
Wolf Raider
120
10
Black_Orc_enemy
Black Orc
100
10
Orc_Chieftain_BOSS_enemy
Orc Chieftain
1200
1
Rock_Troll_enemy
Rock Troll
800
1
Giant_BOSS_enemy
Giant
3000
1
Basic_zombies_enemy
Zombie
5
10
Armored_zombies_enemy
Armoured Zombie
20
10
Skeleton_Infantry_enemy
Skeleton
8
10
Skeleton_archers_enemy
Skeleton Archer
25
10
Skeleton_spearmen_enemy
Skeleton with Spear
25
10
Skeleton_heavy_infantry_enemy
Heavy Skeletons
50
10
Undead_Centurion_enemy
Undead Centurion
450
1
dark_mage
Dark Mage
1000
1
great_summoner
Great Summoner
1400
6
wild_hunt_boss_enemy
Wild Hunt
600
6

Thanks to Komisarek for his great guide, all credit to his effort. you can also read the original guide from Steam Community. enjoy the game.

About Robins Chew

I'm Robins, who love to play the mobile games from Google Play, I will share the gift codes in this website, if you also love mobile games, come play with me. Besides, I will also play some video games relresed from Steam.

Leave a Comment