HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

colision problem

03-15-2008, 06:39 PM#1
SeriousEnemy
hey,
currently making a lightning hero for a friend of mine, but i got a little problem
every person i asked up to now couldnt help me :(
___

Spell:
picks every unit around the casting unit and stuns them, change there flying hight,...


problem:
nothing can run under a flying unit, i DONT want to turn off colision for the casting hero and i DONT want to make dummy units for every picked unit...
i havent found anything in the we and nothing in weu
are there any JASS scripts or sth that could solve this problem? (turn colision of for every picked unit and turn it on after finishing the spell)

thx for help
03-15-2008, 08:49 PM#2
Pyrogasm
You can't turn the collision of a unit off, but you can change all your flying units' collision sizes in the Object Editor, and that's the closest you can do. The field "Pathing - Collision Size" affects this.

The only problem is that flying units will now no longer collide with each other. The thing you want to do is impossible to get working properly because WCIII doesn't support multi-level pathing.
03-16-2008, 12:40 PM#3
SeriousEnemy
Quote:
Originally Posted by Pyrogasm
You can't turn the collision of a unit off, but you can change all your flying units' collision sizes in the Object Editor, and that's the closest you can do. The field "Pathing - Collision Size" affects this.

The only problem is that flying units will now no longer collide with each other. The thing you want to do is impossible to get working properly because WCIII doesn't support multi-level pathing.


damn!
ok thx for your fast help, now i need a special effect that looks like a pillar.. else it looks a bit crappy :P
03-16-2008, 01:36 PM#4
Pyrogasm
Wait... what am I talking about? Ground units can walk beneath air units normally. What's the problem with just setting the flyheights of the air units?
03-16-2008, 08:31 PM#5
SeriousEnemy
Quote:
Originally Posted by Pyrogasm
Wait... what am I talking about? Ground units can walk beneath air units normally. What's the problem with just setting the flyheights of the air units?

air units wont be picked.. the ground units change there flyhights
thats my problem.. i just want to make those ground units, who are currently flying, walkable and make them unwalkable after finishing the spell..
03-17-2008, 06:23 AM#6
Pyrogasm
Oh, so you're making ground units fly in the air, not making air units lower to the ground?
03-17-2008, 09:15 AM#7
SeriousEnemy
Quote:
Originally Posted by Pyrogasm
Oh, so you're making ground units fly in the air, not making air units lower to the ground?

its just for ground units not for air
got sth else for air units ^_^
03-18-2008, 01:14 AM#8
Pyrogasm
In that case it is impossible to do. The only way to go about it would to be to have your ground units actually air units in the first place so that other ground units could walk underneath them... but there wouldn't be any ground units anyway!

And I'm pretty sure the flyheight-trick bug doesn't change how units path around other units.
03-18-2008, 01:57 AM#9
Toadcop
Quote:
And I'm pretty sure the flyheight-trick bug doesn't change how units path around other units.
exactly. unit pathing is a weak point in war3 due series of reasons...
but well it was designed for an RTS and in does work well ^^
03-18-2008, 04:05 PM#10
SeriousEnemy
thx for you help ;)
maybe i report it the blizzard service.. but i think they wont do an update apart for me
03-18-2008, 04:16 PM#11
Strilanc
This sounds a lot like what the tornado spell does, or like what the undead spider hero does. You might want to consider using those; or making the unit use wind walk.

One reason you might not want units running under your airborne ground units is because once they come back down they need to fit somewhere.
03-19-2008, 07:37 PM#12
SeriousEnemy
Quote:
Originally Posted by Strilanc
or making the unit use wind walk.

*head rasping*
so easy.. but i just dont attend to it -,-'
thx xD
..omg..
03-20-2008, 07:43 AM#13
Gorman
lols nice Strilanc, pwned pyro u did.
but then units with the same controller still cant stand on each other.
03-20-2008, 09:01 AM#14
Pyrogasm
Quote:
Originally Posted by Gorman
but then units with the same controller still cant stand on each other.
There's always a "but". That's why I said "impossible".
03-20-2008, 03:10 PM#15
SeriousEnemy
its not really necessary because picked unit will be stunned too :)
thx for ur help again