HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Need help here (Blizzard/Rain of fire and area of effect entangle)

12-14-2003, 01:37 PM#1
SirSalute
I'm been struggling to do a map on my own, but it seems tougher than I thought. Recently I created a spell based of blizzard and I wanted to replace the animation of the ice berg to the rain of 'tranquility'. Is there anyway to do this? Helps appreciated, it'll be even better if it doesn't requires trigger.

Another question, how am I going to make an area of effect entangle?(it means having the area of effect circle, and then entangle each and every of the enemy units within the circle) I think this will need trigger, but I'm a total newbie about jass, pls help me.

Thanks in advance.
12-14-2003, 02:41 PM#2
Bulletcatcher
For the first one, you'll first have to remove the effect of blizzard by editing the secondary spell effect. UMSWE can do this. Next, simply create triggers to detect when the spell is cast and create the tranquility special effect on the targetted area, wait however long the duration is, and then remove the effect.

For your second question, you'd have to make a trigger add all enemy units in the area of effect to an unit group variable, and then create invisible units to cast entangle on all units in the group.

These are the ways I do things: There are probably better ways.
12-14-2003, 02:52 PM#3
SirSalute
thanks a lot, i'm going to try this out, is it possible that after using the umswe to edit the spells, then go back to use the normal? gui make things easier for newbie like me. =P

another thing, =P, are those invisible units(dummy) being shown if reveal or alike spells are used?
12-14-2003, 04:44 PM#4
Bulletcatcher
Just slap the ''Invunerable (Neutral Passive)'' ability on the invisible units in the editor, and add ''Unknown (Aloc)'' through triggers when they are created. Use the ''Arthas (Cinematic)'' model, and set the shadow type to ''NONE''. Also give it the ''fly'' movement type, to prevent pathing problems.

Doing the above should make the units completely invisible, and no unit or player will be able to interact with them in any way.
12-14-2003, 05:05 PM#5
Taelrie
another way to do the area of effect entangle (this is important if you want to show the "effect" too) is make a rect (region in regular editor) in a place they can't reach. Then do a trigger where it detects the spell and MOVE the rect to the position of the caster (or if its a click and point spell the point of the target). Then you just do a trigger detecting whoever is in the region at the time (I THINK "unit enters rect" will work here but im not sure) and do another trigger saying that "every .01 seconds do X effect (in your case entangle roots)and place the effect in a random spot on the rect and turn it off after like 2 seconds). Thats all there is to it (well all there is applies to me not you). If you need help understanding this just reply it and ill "dumb it down" for ya :D .

Oh and if it causes a sync error (it sometimes does and I don't know why) you can always make a dummy unit with the entangling roots art, though this sometimes causes problems of its own.
12-14-2003, 05:10 PM#6
SirSalute
=D
i think i know almost of all you said, even though i not really sure if the region can be shifted through triggers. While I got to recharge, thanks for all the help given. I may be back =P
12-14-2003, 05:21 PM#7
Taelrie
it sure can! well I am not certain if it works with regular editor since I use USMWE and never had to use this kind of trigger before this but in USMWE the trigger is "Rect-Move to Point". Then it says Center "rect" on (bunch of choices but in your case Unit - position of unit). And voila you have a moved rect :D .
12-15-2003, 08:22 AM#8
SirSalute
Sorry for the trouble, i'm a bit dumb, i can't seems to find the secondary effect of the blizzard. I saw one ability call blizzard effect, but i dont see any link through both of the blizzard data. If i'm going to remove the effect from it, how am i going to use the normal blizzard, if i wanted to have both spells in the map(not on the same hero though):bgrun:
12-15-2003, 12:57 PM#9
Taelrie
well here is the part that I can't help you at. I don't have TFT so I have to edit the spells via extracting the data with winmpq and doing it manually so I have no idea how the TFT spell editor works :( . If you want to wait a week and a half ill get it for christmas :D .
12-15-2003, 01:20 PM#10
SirSalute
=] lol, i guess its worth the wait, i dont think i can complete my map within one week only right? I'll continue on other part of the map while trying my best to solve this. Thanks for the help anyway.
12-15-2003, 01:56 PM#11
Bulletcatcher
You could try just basing your new spell off blizzard, and setting the 'Data - Number of Shards' to 0. This *might* cause it to deal its damage without creating any blizzard effects, but it might also prevent the damage from being dealt.

Still, it's worth a try.
12-15-2003, 03:33 PM#12
Voi
U want the tranquility to heal?

Set shards to 0. Then make a unit with Tranquility model. Give the tranquility unit this ability: unknown (AIoc). In triggers make this:
If a unit casts blizzard then create a Tranquility unit at target point of issued order. Then pick all units in what-u-want range of last created unit (add conditions if u want) and set picked unit life to picked unit life +what-u-want. w8 1 second then remove/kill last created unit. You need 1 seconds cooldown at least because the tranquilty unit is only last created unit when it is last created... and if you have other units created via triggers make the unit to a variable.
12-16-2003, 04:55 AM#13
SirSalute
Heh, sorry for the lack of info guys, actually i wanted the animation of the tranquility only. Let me further explain the detail of that spell.

Acid Rain

-> Exactly like blizzard, except that it demages mechanical and buildings only.(This part is simple)
-> Next its the animation of that spell, I don't wish to see the blizzard shards and hope that only the rainning part of tranquility to replace that animation. Maybe I'll use Lordaeron's Rain instead.

Really appreciated the helps from you guys. I am trying to use only the object manager to complete this spell so that I won't be having too much trigger based spells. But I guess its not possible now. Maybe I based this spell with 'Earthquake' instead.
12-16-2003, 12:48 PM#14
Taelrie
well thats pretty easy. In my map I have a flying tranquility-crow (lol). anyway I thought it would be pretty cool just to see tranquility guys running around everywhere so if you want to do the tranquility effect you could just spawn a pig there and give the pig unit the tranquility animation (and remove wander). The only problem with this is that you could click on the unit but I don't really see any way to get past this short of hiding it but then we would lose the desired effect.

Either way just spawn it for neutral and it should work, unless someone tries to kill the tranquility (lol)... well just set the health really high to avoid that.
12-16-2003, 01:08 PM#15
SirSalute
but the blizzard animation will still be there. Sorry, i dont really get it.
Thanks for the advice though, i may tried it on other parts of the map.