;--------------------------------------
;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.
;
;Please seek permission before using
;any Maybank files in your own route.
;
;see 'Readme.txt' file.
;


CreateMeshBuilder,
AddVertex,-3.4, 6.9, 0,
AddVertex,-2.89, 6.9, 0,
AddVertex,-2.89, 5.3, 0,
AddVertex,-3.4, 5.3, 0,
AddFace,0,1,2,3,
GenerateNormals,

LoadTexture,Mk1_Girder_Support_Lrg.bmp,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,
SetDecalTransparentColor,197,197,197,

CreateMeshBuilder,
AddVertex,24.9, 6.9, 0,
AddVertex,24.4, 6.9, 0,
AddVertex,24.4, 5.3, 0,
AddVertex,24.9, 5.3, 0,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,Mk1_Girder_Support_Lrg.bmp,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,
SetDecalTransparentColor,197,197,197,

CreateMeshBuilder,
AddVertex,-2.93, 6.85, 0,
AddVertex,24.43, 6.85, 0,
AddVertex,24.43, 5.91, 0,
AddVertex,-2.93, 5.91, 0,
AddFace,0,1,2,3,
GenerateNormals,
;;;;;;;;add 4 tiles + 3.04
LoadTexture,Mk1_Girder_Tile.bmp,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 36, 0,
SetTextureCoordinates,2, 36, 1,
SetTextureCoordinates,3, 0, 1,
SetDecalTransparentColor,197,197,197,

CreateMeshBuilder,
AddVertex,-3.47, 6.83, 0,;x1
AddVertex,-3.26, 6.83, 0,;x1
AddVertex,-3.26, -0.9, 0,;x1
AddVertex,-3.47, -0.9, 0,;x1
AddFace,0,1,2,3,
GenerateNormals,

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

CreateMeshBuilder,
AddVertex,24.97, 6.83, 0,;x1
AddVertex,24.76, 6.83, 0,;x1
AddVertex,24.76, -0.9, 0,;x1
AddVertex,24.97, -0.9, 0,;x1
AddFace,3,2,1,0,
GenerateNormals,

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

