• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Channeled attacking {adding a casting time to an attack}

Status
Not open for further replies.
Level 8
Joined
Nov 9, 2008
Messages
502
Hello. I'm trying to get down to make a map based from UFO: Aftershock.

What I need is to find a decent attacking system that incorporates a casting time and can be used by AI. Since I haven't touched on AI mechanics I'm guessing that basing an attack from a spell makes it difficult to work the AI effectively. Also using a spell for attacking would mean using a projectile system which I'm not fond of since I can't seem to get to grips with it.

So is there a way to put 'casting times' on normal attacks so when a unit attacks he must 'aim' for 2 secs (in which time he can cancel or not) before he attacks.

I don't know where to begin. Pausing units isn't effective and slowing a units attack speed won't work seeing as in warcraft 3 attacks are made as soon as you issue the order.

Units will be primarily ranged but melee attacks will exist so must be taken into consideration.

Both the AI and the player units will be affected by this.

Thanks.

EDIT: this is a crux of the map as it's vital in some situations that you may hit your target before he hits you, as your enemy will likely be able to do serious damage in few attacks.
 
Last edited:
Status
Not open for further replies.
Top