;--------------------------------------
;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 West Coast Main Line BVE 
;Route Object Watford Jcn - Milton Keynes Central
;
;--------------------------------------
;
;Please seek permission before using
;any Maybank files in your own route.
;
;see 'Readme.txt' file.
;

CreateMeshBuilder,
AddVertex,13.1,1.4,7.4,
AddVertex,13.1,1.2,7.4,
AddVertex,12.9,1.2,7.4,
AddVertex,12.9,1.4,7.4,
AddFace,0,1,2,3,
SetColor,255,255,255,

GenerateNormals,

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

;A
CreateMeshBuilder,
AddVertex,-3,6.1,7.53,
AddVertex,-3,7.5,7.53,
AddVertex,13.2,7.5,7.53,
AddVertex,13.2,6.1,7.53,
AddFace,0,1,2,3,
SetColor,230,230,240,

GenerateNormals,

LoadTexture,Bridge_FB1.bmp,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,3, 11, 0,
SetTextureCoordinates,2, 11, 1,
SetTextureCoordinates,1, 0, 1,

;D
CreateMeshBuilder,
AddVertex,12.7,-0.5,7.5,
AddVertex,12.7,7.5,7.5,
AddVertex,14.7,7.5,7.5,
AddVertex,14.7,-0.5,7.5,
AddFace,0,1,2,3,
SetColor,130,130,130,

GenerateNormals,

LoadTexture,00Brick5.bmp,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,3, 1, 0,
SetTextureCoordinates,2, 1, 3,
SetTextureCoordinates,1, 0, 3,

;K
CreateMeshBuilder,
AddVertex,-3,6.1,7.5,
AddVertex,-3,6.1,9.5,
AddVertex,12.7,6.1,9.5,
AddVertex,12.7,6.1,7.5,
AddFace,0,1,2,3,
SetColor,130,130,130,

GenerateNormals,

LoadTexture,00Brick5.bmp,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,3, 1, 0,
SetTextureCoordinates,2, 1, 3,
SetTextureCoordinates,1, 0, 3,

;L
CreateMeshBuilder,
AddVertex,-3,-0.5,6.5,
AddVertex,-3,7.5, 6.5,
AddVertex,-3,7.5, 9.5,
AddVertex,-3,-0.5, 9.5,
AddFace,0,1,2,3,
SetColor,130,130,130,

GenerateNormals,

LoadTexture,00Brick5.bmp,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,3, 1, 0,
SetTextureCoordinates,2, 1, 3,
SetTextureCoordinates,1, 0, 3,

;L2
CreateMeshBuilder,
AddVertex,-3, -0.5, 6.5,
AddVertex,-3, 7.5, 6.51,
AddVertex,-3, 7.5, 6.5,
AddVertex,-3, -0.5, 0.5,
AddFace,3,2,1,0,
SetColor,130,130,130,

GenerateNormals,

LoadTexture,00Brick5.bmp,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,3, 2, 0,
SetTextureCoordinates,2, 2, 3,
SetTextureCoordinates,1, 0, 3,

;L
CreateMeshBuilder,
AddVertex,-2.99,-0.5,0.5,
AddVertex,-2.99,2.15, 0.5,
AddVertex,-2.99,2.15, 2.5,
AddVertex,-2.99,-0.5, 2.5,
AddFace,0,1,2,3,
SetColor,130,130,130,

GenerateNormals,

LoadTexture,00Brick5.bmp,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,3, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,1, 0, 1,

;L
CreateMeshBuilder,
AddVertex,-4.5,-0.5,6.5,
AddVertex,-4.5,7.5, 6.5,
AddVertex,-4.5,7.5, 9.5,
AddVertex,-4.5,-0.5, 9.5,
AddFace,0,1,2,3,
SetColor,130,130,130,

GenerateNormals,

LoadTexture,00Brick5.bmp,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,3, 1, 0,
SetTextureCoordinates,2, 1, 3,
SetTextureCoordinates,1, 0, 3,

;L2
CreateMeshBuilder,
AddVertex,-4.5,-0.5,6.5,
AddVertex,-4.5,7.5, 6.51,
AddVertex,-4.5,7.5, 6.5,
AddVertex,-4.5,-0.5, 0.5,
AddFace,3,2,1,0,
SetColor,130,130,130,

GenerateNormals,

LoadTexture,00Brick5.bmp,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,3, 1, 0,
SetTextureCoordinates,2, 1, 4,
SetTextureCoordinates,1, 0, 4,

;L
CreateMeshBuilder,
AddVertex,-5.5,-0.5,0.5,
AddVertex,-5.5,1.6, 0.5,
AddVertex,-2.99,1.6, 0.5,
AddVertex,-2.99,-0.5, 0.5,
AddFace,0,1,2,3,
SetColor,130,130,130,

GenerateNormals,

LoadTexture,00Brick5.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,3, 1, 1,
SetTextureCoordinates,2, 1, 2,
SetTextureCoordinates,1, 0, 2,

;L
CreateMeshBuilder,
AddVertex,-4.5,-0.5,9.5,
AddVertex,-4.5,7.5, 9.5,
AddVertex,-3,7.5, 9.5,
AddVertex,-3,-0.5, 9.5,
AddFace,0,1,2,3,
SetColor,130,130,130,

GenerateNormals,

LoadTexture,00Brick5.bmp,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,3, 1, 0,
SetTextureCoordinates,2, 1, 3,
SetTextureCoordinates,1, 0, 3,

;Stair Base

CreateMeshBuilder,
AddVertex,-4.5, 4.1, 6,
AddVertex,-4.5, 6.3, 8,
AddVertex,-3, 6.3, 8,
AddVertex,-3, 4.1, 6,
AddFace,0,1,2,3,

GenerateNormals,

LoadTexture,Steps.bmp,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1.5,0,
SetTextureCoordinates,2,1.5,1,
SetTextureCoordinates,3,0,1,
;Transparent 0,0,0

CreateMeshBuilder,
AddVertex,-4.5, -0.3, 1.5,
AddVertex,-4.5, 4.1, 5,
AddVertex,-3, 4.1, 5,
AddVertex,-3, -0.3, 1.5,
AddFace,0,1,2,3,

GenerateNormals,

LoadTexture,Steps.bmp,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,2,0,
SetTextureCoordinates,2,2,1,
SetTextureCoordinates,3,0,1,
;Transparent 0,0,0


;M
CreateMeshBuilder,
AddVertex,12.7,-0.5,7.5,
AddVertex,12.7,7.5, 7.5,
AddVertex,12.7,7.5, 10.5,
AddVertex,12.7,-0.5, 10.5,
AddFace,3,2,1,0,
SetColor,130,130,130,

GenerateNormals,

LoadTexture,00Brick5.bmp,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,3, 1, 0,
SetTextureCoordinates,2, 1, 3,
SetTextureCoordinates,1, 0, 3,


;M
CreateMeshBuilder,
AddVertex,12.7,-0.5,10.5,
AddVertex,12.7,7.5, 10.5,
AddVertex,12.7,-0.4, 16.5,
AddVertex,12.7,-0.5, 16.5,
AddFace,3,2,1,0,
SetColor,130,130,130,

GenerateNormals,

LoadTexture,00Brick5.bmp,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,3, 3, 0,
SetTextureCoordinates,2, 3, 3,
SetTextureCoordinates,1, 0, 3,


;M
CreateMeshBuilder,
AddVertex,12.7,-0.5,14.5,
AddVertex,12.7,2.5, 14.5,
AddVertex,12.7,2.5, 16.5,
AddVertex,12.7,-0.5, 16.5,
AddFace,3,2,1,0,
SetColor,130,130,130,

GenerateNormals,

LoadTexture,00Brick5.bmp,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,3, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,1, 0, 1,


CreateMeshBuilder,
AddVertex,-3,7.5,8,
AddVertex,0.5,7.5, 8,
AddVertex,-3,5.2, 8,
AddFace,0,1,2,
SetColor,175,189,209,

GenerateNormals,

CreateMeshBuilder,
AddVertex,12.7,7.5,8,
AddVertex,8.5,7.5, 8,
AddVertex,12.7,5.2, 8,
AddFace,2,1,0,
SetColor,175,189,209,


GenerateNormals,

