;Maybank BVE Route Object File
;--------------------------------------
;(c) Tony Haylor 2003
;Email my1st.go@ntlworld.com
;
;Object and textures by Anthony Bowden and
;Robert Glass  (c) 2001-2003.
;www.railsimroutes.co.uk
;Modified with permission by Steve Green 
;with kind permission of Anthony Bowden.
;
;---------------------------------------
;
;Please seek permission before using
;any Maybank files in your own route.
;
;see 'Readme.txt' file.
;

CreateMeshBuilder,
AddVertex,-1.22, -0.144, 25.2,
AddVertex,1.22, -0.144, 25.2,
AddVertex,1.34, -0.144, 16.8,
AddVertex,-1.1, -0.144, 16.8,
AddVertex,1.34, -0.144, 8.4,
AddVertex,-1.1, -0.144, 8.4,
AddVertex,1.22, -0.144, 0,
AddVertex,-1.22, -0.144, 0,
AddFace,0,1,2,3,
AddFace,3,2,4,5,
AddFace,5,4,6,7,
GenerateNormals,

LoadTexture,Tiepoint.bmp,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 3.33,
SetTextureCoordinates,3, 0, 3.33,
SetTextureCoordinates,4, 1, 6.66,
SetTextureCoordinates,5, 0, 6.66,
SetTextureCoordinates,6, 1, 10,
SetTextureCoordinates,7, 0, 10,

CreateMeshBuilder,
AddVertex,-2.4, -0.3, 0,
AddVertex,-2.4, -0.3, 25.2,
AddVertex,-1.22, -0.144, 25.2,
AddVertex,-1.1, -0.144, 16.8,
AddVertex,-1.1, -0.144, 8.4,
AddVertex,-1.22, -0.144, 0,
AddFace,0, 1, 2, 3, 4, 5,
GenerateNormals,

LoadTexture,Ballast.bmp,
SetTextureCoordinates,0, 0, 2,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 0.66,
SetTextureCoordinates,4, 1, 1.33,
SetTextureCoordinates,5, 1, 2,

CreateMeshBuilder,
AddVertex,1.22, -0.144, 0,
AddVertex,1.22, -0.144, 25.2,
AddVertex,2.4, -0.3, 25.2,
AddVertex,2.4, -0.3, 0,
AddFace,0, 1, 2, 3,
GenerateNormals,

LoadTexture,Ballast.bmp,
SetTextureCoordinates,0, 1, 2,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 0, 0,
SetTextureCoordinates,3, 0, 2,

CreateMeshBuilder,
AddVertex,-0.756,0,0,
AddVertex,-0.636,0,8.4,
AddVertex,-0.566,0,8.4,
AddVertex,-0.686,0,0,
AddVertex,-0.636,0,16.8,
AddVertex,-0.566,0,16.8,
AddVertex,-0.756,0,25.2,
AddVertex,-0.686,0,25.2,
AddFace,0,1,2,3,
AddFace,1,4,5,2,
AddFace,4,6,7,5,
GenerateNormals,

LoadTexture,Rail.bmp,
SetTextureCoordinates,0, 1, 0.33,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 0, 0,
SetTextureCoordinates,3, 0, 0.33,
SetTextureCoordinates,4, 1, 0.66,
SetTextureCoordinates,5, 0, 0,
SetTextureCoordinates,6, 1, 1,
SetTextureCoordinates,7, 0, 0,

CreateMeshBuilder,
AddVertex,-0.716,0,0,
AddVertex,-0.596,0,8.4,
AddVertex,-0.596,-0.144,8.4,
AddVertex,-0.716,-0.144,0,
AddVertex,-0.596,0,16.8,
AddVertex,-0.596,-0.144,16.8,
AddVertex,-0.716,0,25.2,
AddVertex,-0.716,-0.144,25.2,
AddFace2,0,1,2,3,
AddFace2,1,4,5,2,
AddFace2,4,6,7,5,
Setcolor,90,60,40,
GenerateNormals,

CreateMeshBuilder,
AddVertex,0.686,0,0,
AddVertex,0.806,0,8.4,
AddVertex,0.876,0,8.4,
AddVertex,0.756,0,0,
AddVertex,0.806,0,16.8,
AddVertex,0.876,0,16.8,
AddVertex,0.686,0,25.2,
AddVertex,0.756,0,25.2,
AddFace,0,1,2,3,
AddFace,1,4,5,2,
AddFace,4,6,7,5,
GenerateNormals,

LoadTexture,Rail.bmp,
SetTextureCoordinates,0, 1, 0.33,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 0, 0,
SetTextureCoordinates,3, 0, 0.33,
SetTextureCoordinates,4, 1, 0.66,
SetTextureCoordinates,5, 0, 0,
SetTextureCoordinates,6, 1, 1,
SetTextureCoordinates,7, 0, 0,

CreateMeshBuilder,
AddVertex,0.716,-0.144,0,
AddVertex,0.836,-0.144,8.4,
AddVertex,0.836,0,8.4,
AddVertex,0.716,0,0,
AddVertex,0.836,-0.144,16.8,
AddVertex,0.836,0,16.8,
AddVertex,0.716,-0.144,25.2,
AddVertex,0.716,0,25.2,
AddFace2,0,1,2,3,
AddFace2,1,4,5,2,
AddFace2,4,6,7,5,
Setcolor,90,60,40,
GenerateNormals,