Tip: Creating Fake/walkthrough walls the easy way
Posted: Sun Sep 23, 2012 1:17 pm
While creating my mod I stumbeld upon this solution and decided to share it as I have seen some very complicated solutions for fake walls on the forums:
You can create fake walls that you can walk through easily like this:
Add following to objects.lua:
You have now a fake wall object for each dungeon type (actually a alcove clone with normal wall model). Then in dungeon editor do following (example):
How to add fake walls to level:

You can seen what fake wall looks like fromt each direction here:
front http://i.imgur.com/378vH.jpg
back http://i.imgur.com/zdZvq.jpg (sorry bad lightning but it looks like a normal wall)
You can create fake walls that you can walk through easily like this:
Add following to objects.lua:
Code: Select all
cloneObject{
name = "prison_walkthrough_wall",
baseObject = "prison_alcove",
model = "assets/models/env/prison_wall_01.fbx",
replacesWall = false,
placement = "wall",
editorIcon = 8,
}
cloneObject{
name = "dungeon_walkthrough_wall",
baseObject = "dungeon_alcove",
model = "assets/models/env/dungeon_wall_01.fbx",
replacesWall = false,
placement = "wall",
editorIcon = 8,
}
cloneObject{
name = "temple_walkthrough_wall",
baseObject = "temple_alcove",
model = "assets/models/env/temple_wall_01.fbx",
replacesWall = false,
placement = "wall",
editorIcon = 8,
} How to add fake walls to level:

You can seen what fake wall looks like fromt each direction here:
front http://i.imgur.com/378vH.jpg
back http://i.imgur.com/zdZvq.jpg (sorry bad lightning but it looks like a normal wall)