PDA

View Full Version : Need Pathing Help


FreeWayLemon
01-01-2011, 05:11 PM
Hey Hive!

I am currently working on a maze map and I am kinda stuck right now.
I am not sure if I have to change the collision size to make that unit fit trough these cliffs.
I have already tried it and its not working.
Any ideas?

http://www.hiveworkshop.com/forums/attachment.php?attachmentid=95394&stc=1&d=1293905303

Thanks!

Dr. Boom
01-01-2011, 09:02 PM
Moin moin =)

I'm not 100% sure, but I think you can't hack the pathing of a cliff. Only thing I can think of is, make al units fly with 1 height. But when the maze would be useless if you don't but doodad anti air pathing blocks

Greetings and Peace
Dr. Boom

Vunjo
01-01-2011, 09:37 PM
hmm, unit scale maybe works? I think it should work.

Mac_MacNuggets
01-02-2011, 02:09 AM
Maybe invisible platforms will work. I can't confirm this because I have never used them before.

Dr Super Good
01-02-2011, 02:19 AM
Simply remove the unwalkable pathing from that area.

May not be possible in normal editor, but is defintaly possible in WC3 (I have cliffs which a normal peasant can walk over with no ramp in a test map where I generated the cliff using a java program (ignoring pathing map layer)).

Basically, there is a separate pathing map layer, WE for some stupid reason treats it as part of the terrain or separate doodads etc but the fact is it need not reflect the terrain at all.

Infact the stupid irony is that the terrain mesh is only 7 bytes per point (there are x+1 by y+1 points) where as the pathing and shadow maps use 16 bytes each per square.

Mac_MacNuggets
01-02-2011, 02:23 AM
Why don't you just make the hole bigger by removing one unit of wall?

FreeWayLemon
01-02-2011, 07:27 AM
Why don't you just make the hole bigger by removing one unit of wall?


It would make the entire map a bit bigger and some of my 'traps' would be senceless.

Simply remove the unwalkable pathing from that area.

How am I supposed to get this done? WEU?

hmm, unit scale maybe works? I think it should work.

I havent tried changing the unit scale yet. I just changed the collision size as I thought that was my problem.

D4RK_G4ND4LF
01-02-2011, 08:32 AM
I generated the cliff using a java program

mind to share it? :grin:


just use invisible platforms
easiest way to solve this
and if you want to see the pathing map you can press 'p' in the editor
triggers would work, too but you would have to enter every point manually (you could also check the cliff level/GetTerrainZ and write an algorithm to detect if it is a cliff edge but that would be overkill)

cboy123
01-02-2011, 09:10 AM
Hmm...Make a Region on that. Then Make Everyone to turn off their Collision Size to that Hole and When they leaves, turn on the Collision Size. Pupu.

FreeWayLemon
01-02-2011, 11:20 AM
just use invisible platforms

That works fine!
Thanks for the help everyone!

Edit: Can I place an unlimited amount of platforms, or is there a limit like with the destructibles?

Dr Super Good
01-02-2011, 09:12 PM
Well, the program I made is nothing more than load and save the w3e file of a map (terrain mesh file).
It has not interface, it was used for experimentation (testing water and cliff behaviour).