If you want to modify the game, like adding some custom abilities in Wildermyth, this guide will explain how you can do that, by create a mod of your own, let’s check it out.
Create your new mod
In the top left, click “mods,” and select “new mod” in the bottom left.
Enter all of the required information and click the big “CREATE” button.
When you make a new mod, a folder with your mod name will be placed next to the “heart of the forest” mod in your install directory.
Setting up the file hierarchy
Make sure you use lower case folder names.
“data” and “sites” are required for this mod guide.
Inside “data,” the following folders are also required.
Inside of “effects,” you will need a hero class folder. In my case, I added a “mystic” folder.
Now, make sure you save and close your game. Next we are going to be copying some base game files to modify.
Modifying a similar base-game ability to the custom ability we want Part 1
Place the copied effect file in your mod effects folder. Rename the file to a useful name such as I have below.
Open your .JSON file that you have renamed in your text editor of choice. I just used notepad.
Edit the highlighted areas so that they are changed from the base game name to your mod name. I changed “mysticArches” to “mysticMushroomancy.”
And finally, add the “modId” line.
Now back into the BASE GAME aspects folder, find and copy the “mystic” file.
Similar to above, paste this file into your mod aspects folder.
Open the “mystic” .JSON file and near the bottom, above the square bracket [ , place the following. I simply copy and pasted the arches entry and modified to my liking.
Now that we have all of this set up, we can enter the in-game editor, and finish our modification.
Modifying a similar base-game ability to the custom ability we want Part 2
In the top left, go to the “effects” tab (ctrl-2 hotkey).
If everything went correctly, you should see your modded files at the top of the list.
If not, make sure your mod is actually loaded by clicking “mods” in the top left and ticking your mod.
Make sure your tags are setup so that they match the aspect name of your mod, and change mod name, and blurb to whatever you want.
Scroll down to the ability group. This is where you set the ability icon and cool down.
Scroll down to the targets group. This is where you set how the ability is targeted. I chose to keep my Mushroomancy ability the same as Arches, so this is largely unchanged.
Modifying a similar base-game ability to the custom ability we want Part 3
There are a lot of goodies in here that you can play around with.
In the particle group, I changed a few things around to make the mushroom attack look more like poison, and less like a tree being summoned.
Next up is the defense roll group. This is where you decide how the enemies get to defend against your attacks. In my case, I made the mushroom a melee defense roll.
Next is arguably the most complex part of the file to edit, the spawn group.
Feel free to go into the scenery lab and look for tags that the base game uses if you don’t want to make your own scenery items. I used a custom drawing, so I used the itemID instead of tags for my file.
Near the very bottom of the file, is the onHit group. This is where you decide what your ability does when it hits. In my case, I wanted the mushroom to poison when it hits, so I changed pinned to poisoned under the addAspects subgroup.
“I want to use a custom drawing for my ability!”
Save your mod and quit out of the game. Back to the folders we go.
Place your .PNG into your mod sites > scenery folder. Don’t worry about the .json file in my screenshot. That gets generated by the game.
Go the BASE GAME folders again, and into the assets > data > scenery folder. Copy the file that you want your scenery to show up in. I chose the forest, because it’s a mushroom.
Now go back to your mod folders, into the assets > data > scenery folder and paste your .JSON file.
Open the copied .JSON folder and at the very bottom, above the square bracket ] , add in your scenery definition.
I copied the “trunk” entry and changed everything I needed to my mushroom. The most important being the tags and id.
Test it out
This will let you test things easier by enabling the developer tools.
Boot up the game, go the tools again, and enter the combat lab.
Right click a mystic and select your new ability from the drop down. Click “grant” and test out your ability on the enemies!
Related Posts:
- Wildermyth Intermediate Strategy Guide
- Wildermyth Mods for Playing Lazy (Mods Recommand)
- Wildermyth Guide on Time Mechanic
- Wildermyth Guide for Age of Ulstryx