• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Walls

Status
Not open for further replies.
Level 7
Joined
Dec 28, 2009
Messages
257
yo. i finaly made my map but somehow.. units can pass trought walls!
(probably because theyre made from farms)
so, is there any way to make the walls unpassable?
i changed farms model file to destructible wall, increased scaling value and hp.

i heard about pahing blockers but that will be tons of work, so. anybody?
 
Level 19
Joined
Feb 4, 2009
Messages
1,313
what mainly matters for pathing is the pathing texture of the building (but if you made it a farm it will be set right anyway unless you changed it)
and the collision size of the unit you want to fit through
e.g. worker fit through 1x1 spaces while heroes don't
an easy way to check pathing is pressing 'P' while in the world editor
this will allow you to see the unpathable tiles in purple
 
Level 7
Joined
Dec 28, 2009
Messages
257
ah, right!
i changed vertical wall texture to stone wall (vertical) and it is!
still, theres one small place where units can pass but im making tripple walls so it is!

and also, is there any way to make my own ground texture?
like
x x x x
x x
x x
x x x x
x means red colour and nothing blue :/
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Yes: It's possible.
I don't know how big your path needs to be, you should check that out a little.
Anyhow, just create the path you like (needs to be a square file) and these are the color codes:

FFFFFF: Unwalkable/Unflyable
08FFFF: Unflyable
0000FF: Unbuildable
FF00FF: Unwalkable

(I believe this should be correct).

Create an image, it should look like this:
pathing4.jpg

Of course, with your shape... (note that it's actually a very small image).

Import it in your map as a .tga-file.
 
Status
Not open for further replies.
Top