HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Walking through trees

02-14-2007, 07:59 PM#1
CommanderZ
I searched for this on this forum and found several ways how to achieve this:
- Locust - impossible for me, I need the unit to be playable by player
- Collision off - does not accept cliffs and has problems with pathfinding
- and finally - Flying - It seems ideal for me. I can sacrifice flying for it and I have already put Air blockers all over the cliffs. But I still cannot force the unit to walk on ground I selected dryad and changed its movement type to Flying. But she began to really fly over the ground, when I set Flying height to -120 she was sometimes OK, but sometimes she was still above ground and sometimes she was half body underground
02-14-2007, 09:51 PM#2
Themerion
"when I set Flying height to -120 she was sometimes OK"

Did you set Max Height and Min Height too?
02-15-2007, 08:15 AM#3
CommanderZ
I set both to -120. But I don't see any sense in it - when both were on zero she was flying several ingame feet over ground :(
02-15-2007, 09:16 AM#4
Pheonix-IV
That's because the game engine dynamically adjusts fly height depending on the terrain below when passing over cliffs, trees ect, a flying unit can never really be on the ground.
02-15-2007, 10:26 AM#5
CommanderZ
Hmm, is here any other way how to make unit walk through trees?
02-15-2007, 11:00 AM#6
StockBreak
Quote:
Originally Posted by CommanderZ
- Collision off - does not accept cliffs and has problems with pathfinding
Uhm, what do you mean with "does not accept cliffs"?Units with
Collapse JASS:
call SetUnitPathing( yourUnit, false )

can walk freely over cliffs, trees, other units etc... The only problem is that you have to "manually" (by clicking many times) order them to pass over cliffs.
02-15-2007, 11:11 AM#7
CommanderZ
But I don't want them to walk over cliffs :(
02-15-2007, 04:22 PM#8
WNxCryptic
Replace the trees with a dummy unit w/ the appropriate models and no collision.
02-15-2007, 04:28 PM#9
The)TideHunter(
Hmm.
Does collision stop pathing blockers? Because if they still get stopped when collision is off, just replace all the air blockers with ground blockers and turn off collision.
02-15-2007, 05:12 PM#10
CommanderZ
VNXcrytic: I need to give this ability only to a single unit / max. several units
Tide: I tried it (see attached map) and unit with col. off can walk through everything (if you spam your orders enough). even both blocker don't stop it.
Attached Files
File type: w3xcollisiontest.w3x (18.8 KB)