HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Spell Boundarys

06-09-2005, 03:21 PM#1
Tim.
Im not positive how this is run, whether by skin, model, game constant, trigger, or simply somthing that cannot be altered. My question is; is it possible to block a spell from being cast through an area. Such as Terrain Boundrays. They block the path of units movemnt, but is it possible to make somthing similar that wont let spells, such as Carrian Swarm to be cast through them. (The spell effect may pass through the boundary, but the damage delt cannot.)
06-09-2005, 04:01 PM#2
Anitarf
You can set maximum damage on spells like shockwave or carrion swarm. They will not deal anymore damage once they reach their maximum. All you need to do afterwards is place some neutral hostile units that can't attack or move, and that can't be attacked normaly, but they do recieve damage from spells. These units could then be your damage blockers. I'm not certain it will work 100%, try it.
06-09-2005, 05:55 PM#3
Tim.
One step ahead of you there. I already tried this, however the result is explained here:

http://www.wc3campaigns.com/showthre...751#post726751

Any other posibilities?
06-09-2005, 07:09 PM#4
shadow1500
some spells like immolation wont do damage to friendly units even if u set the targets allowed to friendly, it might be hard coded that the spell cannot effect debris.
06-09-2005, 08:02 PM#5
Anitarf
Quote:
Originally Posted by Tim.
One step ahead of you there. I already tried this, however the result is explained here:

http://www.wc3campaigns.com/showthre...751#post726751

Any other posibilities?
Were your crates destructibles, or units? If they were destructibles, perhaps the spell is hardcoded not to waste it's damage on them, instead make them regular units.
06-09-2005, 09:51 PM#6
Tim.
Alright. Is it possible to make units unselectable but still take damage? (Locus for example removes selection, but also gives invulnerablility.)
06-09-2005, 09:57 PM#7
Joey.
Tim, you won't need to, just set the selection scale to .10 and the model will cover the circle, since we made 0.01 secs to select a unit of hidden view, then no one would be the wiser.
06-09-2005, 10:57 PM#8
Tim.
Yeah I know Joe, im just curious if its possible or not.

Come ot think of it, Joe, do you remember what we did with the negative selection scale before?
06-10-2005, 01:58 AM#9
shadow1500
Quote:
Alright. Is it possible to make units unselectable but still take damage? (Locus for example removes selection, but also gives invulnerablility.)
yea, if u give a unit a locust and a chaos transform ability it will transform and the unit will be unselectable but attackable.
06-10-2005, 02:21 AM#10
Joey.
The negative selection scale removed the Life Bars, in which case has nothing to do with the Selection scale size.
06-10-2005, 07:40 PM#11
Tim.
Quote:
Originally Posted by shadow1500
yea, if u give a unit a locust and a chaos transform ability it will transform and the unit will be unselectable but attackable.

Hmm. In that case I would have to make all the obstacles cast 'Transform' at map start. Lag up the wazzoo..Neverthless that sounds promising.

Quote:
The negative selection scale removed the Life Bars, in which case has nothing to do with the Selection scale size.


Are you sure? I dont recall if the selection circle still appeared.