;--------------------------------------
;Maybank BVE Route Object File
;--------------------------------------
;(c) Tony Haylor 2003
;Email my1st.go@ntlworld.com
;
;Object and textures (c) Anthony Bowden 2002.
;www.railsimroutes.co.uk
;Modified by Tony Haylor, 
;with kind permission of Anthony Bowden.
;Originally from Birmingham Cross-City
;BVE Route Object Cross-City South
;--------------------------------------
;
;Please seek permission before using
;any Maybank files in your own route.
;
;see 'Readme.txt' file.
;
CreateMeshBuilder,
AddVertex,-0.6, 0.005, -3,
AddVertex,-0.6, 0.005, 2.8,
AddVertex,0.6, 0.005, 2.8,
AddVertex,0.6, 0.005, -3,
AddFace,0,1,2,3,
GenerateNormals,

LoadTexture,Tienew.bmp,
SetTextureCoordinates,0, 0.24, 2.7,
SetTextureCoordinates,1, 0.24, 0.26,
SetTextureCoordinates,2, 0.76, 0.26,
SetTextureCoordinates,3, 0.76, 2.7,

CreateMeshBuilder,
;Ramp top
AddVertex,-0.11, 0.1, 0.65,
AddVertex,0.11, 0.1, 0.65,
AddVertex,0.11, -0.044, 0,
AddVertex,-0.11, -0.044, 0,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
SetColor,88,70,70,

GenerateNormals,

CreateMeshBuilder,
;Ramp back
AddVertex,-0.11, 0.1, 0.65,
AddVertex,0.11, 0.1, 0.65,
AddVertex,0.11, -0.044, 0.65,
AddVertex,-0.11, -0.044, 0.65,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
SetColor,88,70,70,

;----------

GenerateNormals,

CreateMeshBuilder,
;Ramp holder
AddVertex,-0.11, -0.05, 0.66,
AddVertex,0.11, -0.05, 0.66,
AddVertex,0.23, -0.044, 0.66,
AddVertex,-0.23, -0.044, 0.66,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
SetColor,88,70,70,

GenerateNormals,

CreateMeshBuilder,
;Ramp block 1 top
AddVertex,-0.11, 0.1, 1.20,
AddVertex,0.11, 0.1, 1.20,
AddVertex,0.11, 0.1, 0.70,
AddVertex,-0.11, 0.1, 0.70,
AddFace,0,1,2,3,
SetColor,180,150,95,

GenerateNormals,

CreateMeshBuilder,
;Ramp block 1 L side
AddVertex,-0.11, 0.1, 1.20,
AddVertex,-0.11, 0.1, 0.70,
AddVertex,-0.11, -0.044, 0.70,
AddVertex,-0.11, -0.044, 1.20,
AddFace,0,1,2,3,
SetColor,88,70,70,

GenerateNormals,

CreateMeshBuilder,
;Ramp block 1 R side
AddVertex,0.11, 0.1, 0.70,
AddVertex,0.11, 0.1, 1.20,
AddVertex,0.11, -0.044, 1.20,
AddVertex,0.11, -0.044, 0.70,
AddFace,0,1,2,3,
SetColor,88,70,70,

GenerateNormals,

CreateMeshBuilder,
;Ramp holder
AddVertex,-0.11, -0.05, 1.21,
AddVertex,0.11, -0.05, 1.21,
AddVertex,0.23, -0.044, 1.21,
AddVertex,-0.23, -0.044, 1.21,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
SetColor,88,70,70,

GenerateNormals,

CreateMeshBuilder,
;Block front
AddVertex,-0.11, 0.1, 0.70,
AddVertex,0.11, 0.1, 0.70,
AddVertex,0.11, -0.044, 0.70,
AddVertex,-0.11, -0.044, 0.70,
AddFace,0,1,2,3,
SetColor,88,70,70,

GenerateNormals,

CreateMeshBuilder,
;Block back
AddVertex,-0.11, 0.1, 1.20,
AddVertex,0.11, 0.1, 1.20,
AddVertex,0.11, -0.044, 1.20,
AddVertex,-0.11, -0.044, 1.20,
AddFace,3,2,1,0,
SetColor,88,70,70,
;-------

GenerateNormals,

CreateMeshBuilder,
;Ramp block 2 top
AddVertex,-0.11, 0.1, 1.75,
AddVertex,0.11, 0.1, 1.75,
AddVertex,0.11, 0.1, 1.25,
AddVertex,-0.11, 0.1, 1.25,
AddFace,0,1,2,3,
SetColor,180,150,95,

GenerateNormals,

CreateMeshBuilder,
;Ramp block 2 L side
AddVertex,-0.11, 0.1, 1.75,
AddVertex,-0.11, 0.1, 1.25,
AddVertex,-0.11, -0.044, 1.25,
AddVertex,-0.11, -0.044, 1.75,
AddFace,0,1,2,3,
SetColor,88,70,70,

GenerateNormals,

CreateMeshBuilder,
;Ramp block 2 R side
AddVertex,0.11, 0.1, 1.25,
AddVertex,0.11, 0.1, 1.75,
AddVertex,0.11, -0.044, 1.75,
AddVertex,0.11, -0.044, 1.25,
AddFace,0,1,2,3,
SetColor,88,70,70,

GenerateNormals,

CreateMeshBuilder,
;Block front
AddVertex,-0.11, 0.1, 1.25,
AddVertex,0.11, 0.1, 1.25,
AddVertex,0.11, -0.044, 1.25,
AddVertex,-0.11, -0.044, 1.25,
AddFace,0,1,2,3,
SetColor,88,70,70,

GenerateNormals,

CreateMeshBuilder,
;Block back
AddVertex,-0.11, 0.1, 1.75,
AddVertex,0.11, 0.1, 1.75,
AddVertex,0.11, -0.044, 1.75,
AddVertex,-0.11, -0.044, 1.75,
AddFace,3,2,1,0,
SetColor,88,70,70,

;---------------
GenerateNormals,

CreateMeshBuilder,
;Short ramp
AddVertex,0.11, 0.1, 1.77,
AddVertex,-0.11, 0.1, 1.77,
AddVertex,-0.11, -0.044, 1.9,
AddVertex,0.11, -0.044, 1.9,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
SetColor,88,70,70,

GenerateNormals,

CreateMeshBuilder,
;Ramp back
AddVertex,-0.11, 0.1, 1.77,
AddVertex,0.11, 0.1, 1.77,
AddVertex,0.11, -0.044, 1.77,
AddVertex,-0.11, -0.044, 1.77,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
SetColor,88,70,70,

GenerateNormals,

CreateMeshBuilder,
;L side
AddVertex,-0.11, 0.1, 1.77,
AddVertex,-0.11, -0.044, 1.77,
AddVertex,-0.11, -0.044, 1.9,
AddFace,0,1,2,
SetColor,88,70,70,

GenerateNormals,

CreateMeshBuilder,
;R side
AddVertex,0.11, 0.1, 1.77,
AddVertex,0.11, -0.044, 1.77,
AddVertex,0.11, -0.044, 1.9,
AddFace,2,1,0,
SetColor,88,70,70,

GenerateNormals,








