To position it in your map, just do
Code: Select all
group norico
shift x y z
scale x y z
end
Code: Select all
define norico
mesh
vertex -1 -1 0
vertex 1 -1 0
vertex 1 1 0
vertex -1 1 0
vertex -1 -1 .999999
vertex 1 -1 .999999
vertex 1 1 .999999
vertex -1 1 .999999
diffuse 1 1 1 0
face #south
vertices 0 1 5 4
passable
endface
face #east
vertices 1 2 6 5
passable
endface
face #north
vertices 2 3 7 6
passable
endface
face #west
vertices 3 0 4 7
passable
endface
face #bottom
vertices 0 1 2 3
passable
endface
face #top
vertices 4 5 6 7
passable
endface
# Reverse
face #south
vertices 4 5 1 0
endface
face #east
vertices 5 6 2 1
endface
face #north
vertices 6 7 3 2
endface
face #west
vertices 7 4 0 3
endface
face #bottom
vertices 3 2 1 0
endface
face #top
vertices 7 6 5 4
endface
end #mesh
mesh
vertex -.5 -.5 0
vertex .5 -.5 0
vertex .5 .5 0
vertex -.5 .5 0
vertex -.5 -.5 .999999
vertex .5 -.5 .999999
vertex .5 .5 .999999
vertex -.5 .5 .999999
diffuse 1 1 1 0
face #south
vertices 0 1 5 4
passable
endface
face #east
vertices 1 2 6 5
passable
endface
face #north
vertices 2 3 7 6
passable
endface
face #west
vertices 3 0 4 7
passable
endface
face #bottom
vertices 0 1 2 3
passable
endface
face #top
vertices 4 5 6 7
passable
endface
# Reverse
face #south
vertices 4 5 1 0
endface
face #east
vertices 5 6 2 1
endface
face #north
vertices 6 7 3 2
endface
face #west
vertices 7 4 0 3
endface
face #bottom
vertices 3 2 1 0
endface
face #top
vertices 7 6 5 4
endface
end #mesh
box
position 0 0 0
size 1 1 1
shootthrough
end
enddef