HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Disease Cloud - Plauge Ward - Aloc'ish - Detecting attacks, Groundbreaking?

02-01-2004, 10:42 AM#1
Grater
I discovered this mysterious creature when playing around with a custom disease ability, the plauge ward is created after an abombination dies or meat wagon fires as part of the disease ability, it continues to produce disease for 10 seconds. If the plauge ward unit type is changed to something else, then the "plauge ward" unit is unselectable, invunerable, but targettable.

It's a fairly difficult creature to detect because being Aloc'ish it doesn't activate "Unit enters region" (as Aloc units arent in regions), it is however detected by "Unit spawns a summoned unit".

Like an Aloc'd unit it becomes far more normal after a Hide/Unhide.

The strange part is it seems to have some sort of permament invunerability that I cannot remove.

The Abombination version of disease cloud is nothing ground breaking, it only allows you to automatically create an Aloc+Invunerable unit on a units death.

INTRODUCING: A new way to detect attacks?

On the other hand, the Meat Wagon version of disease cloud is VERY interesting, the plauge ward unit is created at the instance & location the projectile hits the ground. I dont believe there is any other way to do this, because "Unit is attacked" event fires before the unit attacks, and "Unit takes damage" only works when a unit is damaged and is hard to use.

Now, the catch, unfortunately a fairly large one, is "Unit spawns a summoned Unit" doesn't fire for the Meat Wagon version. An event that detects the creation of the plauge ward unit would allow some very intesting stuff.

EDIT: WOOHOO! I found the solution. if the plauge ward unit has an autocast ability, say heal, and that is set as the default active ability then the moment the plauge ward unit appears it is issued the order, this order can be detected with the normal "Unit - A unit Is issued an order with no target" event. This is great ;)
02-01-2004, 03:53 PM#2
th15
i'd be interested in using this to create an ability similar to burning oil on non-artillery attack units. Right now i have to spawn a dumym unit for the burning effect. Does the plague ability for the meatwagon work if its attack is missile instad of artillery?
02-01-2004, 07:16 PM#3
Narwanza
Finding out the exact position of where a projectile hit is really not that difficult. Just an issued order targeting point event with an order = attack condition. To find out exactly when the projectile hits just do the projectile speed / distance it travels, and wait that amout of time in seconds.
02-01-2004, 09:49 PM#4
Grater
Quote:
Originally posted by Narwanza
Finding out the exact position of where a projectile hit is really not that difficult. Just an issued order targeting point event with an order = attack condition. To find out exactly when the projectile hits just do the projectile speed / distance it travels, and wait that amout of time in seconds.

Sorry but you have no idea because very often units attack without an order being given. (ie when they auto-aquire targets)


The limitation of only working for artillery attack is unfortunate, but I still believe this is a usable ability atleast in some roles.

As a little test/demo I made a big catapult unit called a "Ground breaker" which basically creates a fancy earthquake with every attack. I believe this effect would be impossible without using the plauge ward.
02-01-2004, 09:52 PM#5
weaaddar
even when they autoaquire they will give an order...
02-01-2004, 09:58 PM#6
Grater
Okay the order doesn't fire one of these events:
Events
Unit - A unit Is issued an order targeting a point
Unit - A unit Is issued an order targeting an object
Unit - A unit Is issued an order with no target

What does it fire?
02-01-2004, 10:12 PM#7
weaaddar
well I did a get curorderid and it does definetly have something there.
it may not fire an event though.
02-02-2004, 01:16 AM#8
Quell
Nice pun with the ability that gave an example. :P
Well, I can see how this is groundbreaking, although if it's only void for artillery, then I don't see how I could use it.
02-02-2004, 01:19 AM#9
MysticGeneral
Nice find. I think so anyways. I think I'll be using this little tip in the future.
02-02-2004, 01:55 AM#10
Grater
The funny thing is I didnt notice the pun until I had almost finished the map, then I decided I liked the pun enough to keep it 8))

I think I'll use the "Groundbreaker" in one of my maps, altough definitely limited to one per player :WD:
02-02-2004, 02:10 AM#11
35263526
I can definitely see a use for this in my map. Great find, Grater. Your peon slaying abilities continue to amaze me!
02-02-2004, 10:21 AM#12
iceslushee
this isn't anything special I used this ages ago in a map that when you hit the ground it create blight