;--------------------------------------
;Maybank BVE Route Object File
;--------------------------------------
;(c) Tony Haylor 2003
;Email my1st.go@ntlworld.com
;
;Object and textures (c) Steve Green.
;www.trainsimcentral.co.uk
;with kind permission of Steve Green.
;
;--------------------------------------
;
;Please seek permission before using
;any Maybank files in your own route.
;
;see 'Readme.txt' file.
;
CreateMeshBuilder,
AddVertex,-1.4, -0.3, 0,
AddVertex,-1.4, -0.28, 26,
AddVertex,-7, 0.2, 26,
AddVertex,-7, 0.2, 0,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,ballast.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 10, 1,
SetTextureCoordinates,2, 10, 0,
SetTextureCoordinates,3, 0, 0,

CreateMeshBuilder,
AddVertex,1.4, -0.3, 0,
AddVertex,1.4, -0.28, 26,
AddVertex,7, 0.2, 26,
AddVertex,7, 0.2, 0,
AddFace,0,1,2,3,
GenerateNormals,

LoadTexture,ballast.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 10, 1,
SetTextureCoordinates,2, 10, 0,
SetTextureCoordinates,3, 0, 0,

CreateMeshBuilder,
AddVertex,-5, 0, 0,
AddVertex,-5, 0, 26,
AddVertex,-20.2, 8.02, 26,
AddVertex,-20.2, 8, 0,
AddFace,1,0,3,2,
GenerateNormals,

LoadTexture,grass6a.bmp,
SetTextureCoordinates,0, 0,0,
SetTextureCoordinates,1, 0,1,
SetTextureCoordinates,2, 1,1,
SetTextureCoordinates,3, 1,0,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex,5, 0, 0,
AddVertex,5, 0, 26,
AddVertex,20.2, 8.02, 26,
AddVertex,20.2, 8, 0,
AddFace,2,3,0,1,
GenerateNormals,

LoadTexture,grass6a.bmp,
SetTextureCoordinates,0, 0,0,
SetTextureCoordinates,1, 0,1,
SetTextureCoordinates,2, 1,1,
SetTextureCoordinates,3, 1,0,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex,-15,7, 10,
AddVertex,-15, 0, 10,
AddVertex,-8, 0, 10,
AddVertex,-8,7, 10,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,tree1.bmp,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,0,1,
SetTextureCoordinates,2,1,1,
SetTextureCoordinates,3,1,0,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex,15,7, 10,
AddVertex,15, 0, 10,
AddVertex,8, 0, 10,
AddVertex,8,7, 10,
AddFace,0,1,2,3,
GenerateNormals,

LoadTexture,tree1.bmp,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,0,1,
SetTextureCoordinates,2,1,1,
SetTextureCoordinates,3,1,0,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex,21, 7, 26,
AddVertex,21, 11, 26,
AddVertex,21, 11, -1,
AddVertex,21, 7, -1,
AddFace,0,1,2,3,
GenerateNormals,

LoadTexture,hedgerow3.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 2, 0,
SetTextureCoordinates,3, 2, 1,
SetDecalTransparentColor,0,0,0,
