找回密码
 点一下
查看: 2498|回复: 1

Walkable Walls/Doodads

  [复制链接]
发表于 2008-9-4 16:15:43 | 显示全部楼层 |阅读模式
I've noticed as well as been asked how to make custom made walls (for instance) walkable for ground units.
This is why I've made this tutorial which explains how to do it.

The Wall Itself
First of all you'll be needing a wall model, there are some cool ones downloadable here, here and here.
However there are doodads and destructibles within the World Editor you could use aswell.

Object Editing
You can't use common doodads like the "Pier" or "Wall End Short" to make the walkable wall.
Basing the wall on these doodads will make the units go right through it and not ON it.
Therefore you should base your wall on a destructible like the "Stone Ramp" (found under Bridges/Ramps).

So edit the ramp field values so it fits for your wall (size, shadow, pathing etc.)
If the field "Pathing - Is Walkable" is set to False, adjust it to True.

Pathing
Usually the pathing doesn't fit your new wall, so I'd adjust the field "Pathing - Pathing Texture" to NONE.
However, now the units are able "enter" the wall from all directions.

Pathing Blockers
To prevent the units from "entering" the wall from all kinds of directions, you should use Pathing Blockers.
Place the Pathing Blockers around the wall where you don't want the units to be walking or entering.
This doesn't work within the WE, only in-game the units are able to walk on the walls.
wall2.jpg
(This image shows the footmen's in-game)
wall3.jpg
(This image shows how I placed one of the footman units inside the World Editor)

HINTS

1.You can edit a Pathing Blocker's Pathing Texture to a larger texture; so you don't have to place a large amount of Pathing Blockers around your castle, city etc.
wall1.jpg < Example: Replacing the current Pathing Blocker's pathing texture with a massive gate's pathing texture.

2.Usually people uses a model of a stair for the units to walk on to get to the wall.
3.Simply adjust the Pathing Blockers so they lead the unit up on the stair and further onto the wall model.
4.You'll probably gonna have to adjust the "Art - Fixed Rotation" for the wall doodad.
发表于 2008-9-4 16:39:19 | 显示全部楼层
怎么说…………这几条实在有些旧了~~旧了五六年老~~不过转转也好~~也许有人还不知道罢~~
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 点一下

本版积分规则

Archiver|移动端|小黑屋|地精研究院

GMT+8, 2024-11-23 17:47 , Processed in 0.120425 second(s), 22 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表