UPDATE -
I've managed to create a fully working "Summon" skill that can both be used by any unit in the game and summon any unit in the game.
Summons are fully autonomous units and act exactly the same as regular units.
Summons can use the "Summon" skill as well to create even more units, provided that they have the "Summon" skill.
Things it cannot do just yet:
- Range is fixed at only adjacent tiles I am working on changing it.
- Units cannot be summoned contained inside another unit. (summon-feeding)
- Summoning is currently a free action, I believe that it should take a turn.
- There is currently no limit to the number of summons.
- When summoning units, their 2Dsprites may be facing the wrong angle, making them seem invisible. They correct themselves automatically when the camera rotates so I have not deemed this an issue worth fixing at the moment.
Next Objective -
Figure out how to get the full summon system into a single mod. Currently the system functions by modifying/creating methods in the game and it's unrealistic to expect people to follow a tutorial to modify the game's code themselves. I expect this to take about a week.