Practical Remote Spellcasting System

Article written by Impeached
Published on 09-11-2008; updated on 08-17-2014
Tags:

This tutorial is to help make a spellcasting system for an RPG that is flawless and easy to use.

It is also very easy to make. All you have to do is create a transport. Put a unit in it. Then, surround all but 1 tile of it, so the unit can only unload onto one tile.
Example:

Now, name the transport the spell you want, with the effect. For example, if you have the spell Lunge, name the transport something like “Lunge – +100 AP for 2 seconds”.

Now all the player has to do is hotkey a transport then press the hotkey to select their spell.
Examples: 1 | 2 | 3 | 4

As you can see from the pictures, you can easily just hotkey a transport and select it in battle. To cast a spell, all you must do is click the unit inside the transport. Then the unit will unload onto the one open tile, and the spell will be cast. Once the unit is in the unloading area, simply task it back into the transport and make the effect of the spell happen.
Example

Also, for optional cooldown time effects (for example, a 3 minute wait between each casting of that spell), just create a barrier on the open tile whenever the unit pops out, then remove it after X time.

Happy spellcasting. 😉

Do you want to comment on this article? Thank the author? Tribute resources for its improvement? Raze it to the ground?

Come by and visit its thread in the University Forum!