NokiMo
Victorius
Victorius

patreon


Enemies & Cards - Preview & Modding

Hey!

With 0.1.9 around the corner, there is something I would like to reveal. It's about modding support for doing things related to combat. As you know for combat 2.0 I've redone everything related to combat from zero. That includes enemies, they were all re-rendered, and their code re-written. 

This has changed their modding support. Now making new enemies is much easier, and comes with many integrated ways, and tools to make it as easy as possible. There is a multitude of functions covering all ordinary and some more unique actions enemies might do, that includes attacking, blocking, healing, buffing, debuffing, removing status effects, stealing status effects, ... . All these also support doing it on multiple targets at once.

Code for actions, looks like this:

The way new code functions enables for modding even for people that don't know programming, you can simply copy-paste actions from different enemies, and just change numbers, eq. {"damage": 4} to {"damage": 7}, making new enemies like that resembles solving puzzles. As for other properties:

And that's all that's needed to make an enemy. After changing these attributes, you just need to make enemy images for each state, for example ghoul images are: ghoul_idle, ghoul_attack, ghoul_dead. For 4K image should be max 480 pixel wide per one width, and max 1000 pixel high. FHD version takes half of that. Images can be wider if one wants to, but they might overlap with neighbouring enemies.

Template would be distributed along with game files in game/modding/templates. There will be various templates for modding. Of course after making an enemy one would need to add it to a list of enemies for let's say, random combat encounter. I'll add needed informations/examples to templates.

The next few versions I want to add many new stuff to the game, besides events. Including new enemies, status effects, cards, and more. With the new combat system, adding those takes me 5x less time than before. 

Making cards now doesn't require making card image, just provide the image that is supposed to be inside the card, the rest is writing attributes, descriptions, tips, etc. When making card text one can use created list of descriptions, and tips, just giving words to fill them. It is more complex than just writing description directly, but it will make it possible for card to make use of many systems, like auto-calc of card damage, or translations (when added).

Above is the code of Bite card, it uses all complex systems of the new card system so it might look as something hard to do, but making cards is really not hard. I'll soon make some tutorials for modding the new combat/card system, probably in the form of youtube videos.

Thank you for attention!

Stay sane, be horny, Astral Lust awaits.


Related Creators