When I added a mesh to a map I got this when I started the server:
Code: Select all
invalid mesh face (0.000000)
Edit: Here's the code:
Code: Select all
#Right
mesh
Vertex -5 25 50.5
Vertex -5 25 10
Vertex -5 -25 50.5
Vertex -5 -25 10
face
vertices 0 1 2 3
endface
face
vertices 3 2 1 0
endface
end
#Left
mesh
Vertex 5 25 50.5
Vertex 5 25 10
Vertex 5 -25 50.5
Vertex 5 -25 10
face
vertices 0 1 2 3
endface
face
vertices 3 2 1 0
endface
end
#Front
mesh
Vertex -5 25 50.5
Vertex -5 25 10
Vertex 5 25 50.5
Vertex 5 25 10
face
vertices 0 1 2 3
endface
face
vertices 3 2 1 0
endface
end
#Back
mesh
Vertex -5 -25 50.5
Vertex -5 -25 10
Vertex 5 -25 50.5
Vertex 5 -25 10
face
vertices 0 1 2 3
endface
face
vertices 3 2 1 0
endface
end
#Top
mesh
Vertex -5 25 50.5
Vertex -5 25 50.5
Vertex -5 -25 50.5
Vertex -5 -25 50.5
Vertex 5 25 50.5
Vertex 5 25 50.5
Vertex 5 -25 50.5
Vertex 5 -25 50.5
face
vertices 0 1 2 3 4 5 6 7
endface
face
vertices 7 6 5 4 3 2 1 0
endface
end
#Bottom
mesh
Vertex -5 25 10
Vertex -5 25 10
Vertex -5 -25 10
Vertex -5 -25 10
Vertex 5 25 10
Vertex 5 25 10
Vertex 5 -25 10
Vertex 5 -25 10
face
vertices 0 1 2 3 4 5 6 7
endface
face
vertices 7 6 5 4 3 2 1 0
endface
end