- Porting the Files
- 2. your_character.json
Take the animation names from the xml and use one of the templates to make a json for your character. You can add any extra animations after the main 9. Now, you are going to want to look at the offset. It may not always be accurate. I recommend that if your extra animation has your character standing still, you should set the offset to 0,0. Mess around with the others and see what doesn't look messy.
Now pay very close attention to where it says "like". You have to set this to a pre-existing character, so pick the character that is proportionally closest to yours.
- 3. custom_chars.json
,"tankman" : { "icons" : [ 8 ,9 ] ,"uniqueicons" : false ,"like" : "tankman" }
If your character has custom icons, set uniqueicons to true
In our example, setting "like" to tankman allows the game to read the tankman.json we created.
- 4. Adding your character to the game
- 5. Playing the game!
- 6. Fixes for those who built their version with the new updates.
A week 7 update for Modding+ was released about a month ago, and this tutorial doesn't exactly work with it.....or does it? The thing is, it works, but you will need to make an hscript file with it. Grab your trusty code editor, copy the hscript file that your character is "based" on, and make the same changes to the animation names and the offsets that you made in the json. This should get the characters working now, but this is only for if you downloaded the code from the github page and then built your exe using powershell or command prompt (I'm using Windows).