- Joined
- Mar 11, 2017
- Messages
- 587
Recently I tried turning a summoning non autocast spell, the phoenix, into an autocastable.
Not only I feel that my approach to triggering it with a mixture of gui and jass suffers from many, inevitable weaknesses due to lack of even basic programming knowledge..
I've also become aware that any and every autocast ability I try to choose as a base has some built-in AI-like behavior forced upon the caster, and/or some particular rules applied (for example the arrows that skip any "casting" event and are embedded into normal attacks similar to orbs).
Therefore after a fruitless search I ask: is it thinkable to create an autocast system via programming/triggering, that is able to render some useful spell (i.e. channel) autocast without the burden of the built-in ai or other weirdness that plague the vanilla autocast spells (this at the same time implies that the ai behavior be explicitly coded by the programmer as he/she desires)
If it's impossible, what are the most important limitations that make it so?
If it's possible to make then: has this already been made (and I'm not aware of it)?
____________
Edit: (TL;DR of the thread)
automatic spells are certainly codeable, but it is utterly impossible to offer the player the user-friendly UI that allows to turn automaticity on and off by right- clicking), unless one bases his automatic spell on pre-existing autocast abilities, each of which comes with issues regarding:
- unmodifiable AI-like behavior forced upon the caster (like for example running towards hurt allies and trying to cast the spell automatically if the base-spell is Priest-Heal. Every autocast spell has its own AI-like behavior)
- particular spell mechanics (like the arrows and similar not being cast as nirmal spells, but being treated as attack modifiers)
there is also the fact that a unit will screw its spells up if it has more than one autocast active at a given time. Sources:
Multiple Toggleable (autocast) abilities?
Autocasting doesn't stack
Also, my research was simply not accurate enough. In truth many years ago the very same questions were asked here: Automatic spells
Not only I feel that my approach to triggering it with a mixture of gui and jass suffers from many, inevitable weaknesses due to lack of even basic programming knowledge..
I've also become aware that any and every autocast ability I try to choose as a base has some built-in AI-like behavior forced upon the caster, and/or some particular rules applied (for example the arrows that skip any "casting" event and are embedded into normal attacks similar to orbs).
Therefore after a fruitless search I ask: is it thinkable to create an autocast system via programming/triggering, that is able to render some useful spell (i.e. channel) autocast without the burden of the built-in ai or other weirdness that plague the vanilla autocast spells (this at the same time implies that the ai behavior be explicitly coded by the programmer as he/she desires)
If it's impossible, what are the most important limitations that make it so?
If it's possible to make then: has this already been made (and I'm not aware of it)?
____________
Edit: (TL;DR of the thread)
automatic spells are certainly codeable, but it is utterly impossible to offer the player the user-friendly UI that allows to turn automaticity on and off by right- clicking), unless one bases his automatic spell on pre-existing autocast abilities, each of which comes with issues regarding:
- unmodifiable AI-like behavior forced upon the caster (like for example running towards hurt allies and trying to cast the spell automatically if the base-spell is Priest-Heal. Every autocast spell has its own AI-like behavior)
- particular spell mechanics (like the arrows and similar not being cast as nirmal spells, but being treated as attack modifiers)
there is also the fact that a unit will screw its spells up if it has more than one autocast active at a given time. Sources:
Multiple Toggleable (autocast) abilities?
Autocasting doesn't stack
Also, my research was simply not accurate enough. In truth many years ago the very same questions were asked here: Automatic spells
Last edited: