HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Dodging Attacks

09-18-2005, 12:37 PM#1
James59281
I'm making a map where it will be possible to dodge attacks.

I got to wondering... what's the difference between the fields "damage spill distance" and "damage spill radius?"

Also...
I'm using artillery attack types for projectiles to make them dodgeable. Is it possible to make a projectile carry on until it hits a wall or unit, rather than disappearing at the point where it was originally targeted? (still allowing for dodging of course)
09-18-2005, 05:12 PM#2
Ant
Quote:
Originally Posted by James59281
I'm using artillery attack types for projectiles to make them dodgeable. Is it possible to make a projectile carry on until it hits a wall or unit, rather than disappearing at the point where it was originally targeted? (still allowing for dodging of course)

My limited knowledge says: NO!
I believe that projectiles, once created, are impossible to modify.
Use carrion swarm or a unit instead.
And if you really really want the projectile to stop once it reaches a unit or wall, the only way to do it is to make the projectile a unit.

I'm assuming of course, that your projectile is fired straight and doesn't take a ballistic flight path, which is why you want it to go past the point it was targeted. I also think dodgable projectiles are quite bad since it gives a false indication of dodging and one can move in any direction to dodge it.

So I'll recommend using an ability based off carrion swarm. At the worst, just make it so the max damage = damage so that the damage only is dealt to one person. Then maybe make your walls all structures so they can absorb the damage. The problem with this is that the image of the projectile doesn't disappear.

If you want the image to disappear, you have to use a unit as a projectile, and move it forward. Lots of ways to do it, experiment yourself for best result.
09-18-2005, 06:11 PM#3
James59281
Thanks. I think i'll go for the carrion swarm ability. it seems much less complicated than triggering the unit movement. But i was also wondering something else.

Is it possible to test how far a projectile is from a unit?
09-18-2005, 08:36 PM#4
Anitarf
Quote:
Originally Posted by James59281
Thanks. I think i'll go for the carrion swarm ability. it seems much less complicated than triggering the unit movement. But i was also wondering something else.

Is it possible to test how far a projectile is from a unit?
What sort of projectile? Remember that attack or spell projectiles are objects unmanipulateable to the triggers. There's no way to know of their existence, position, state, whatever. If you have a unit "projectile", on the other hand, that's quite simple, unit positions are an open book to an inquisitive trigger.
09-18-2005, 10:36 PM#5
QuatreDan
Quote:
Originally Posted by James59281
I'm making a map where it will be possible to dodge attacks.

I got to wondering... what's the difference between the fields "damage spill distance" and "damage spill radius?"

Also...
I'm using artillery attack types for projectiles to make them dodgeable. Is it possible to make a projectile carry on until it hits a wall or unit, rather than disappearing at the point where it was originally targeted? (still allowing for dodging of course)

Ok, well, I don't know the difference between the two fields. If I were to guess, I'd say the radius were like its max field of damage, and the distance is how far the damage can go within that radius.

As far as your projectiles go, you only have two choices: Either you have it land where it was fired (artillery), or you have it hit the target it was aimed at (normal). It's very black and white; there's no in-between.

You can still have "normal" projectiles do splash damage and vice versa, however, again, the projectile either hits where the unit was or hits the unit. You can't make your own conditions like "tries to hit the unit unless there's a wall in the way".

Of course, there are always other possibilities through triggering and custom abilities and the combination of the two. I myself haven't tried to do anything like you're trying to do, so I couldn't even tell you where to start. Good luck, though.
09-19-2005, 07:08 AM#6
Anitarf
Oh, as far as damage spill distance/radius is concerned, I think that's used with "line" attacks such as that of the balista/glavie thrower.