;--------------------------------------
;Maybank BVE Route Object File
;--------------------------------------
;(c) Tony Haylor 2003
;Email my1st.go@ntlworld.com
;
;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.


;LH field a
CreateMeshBuilder,,,,
AddVertex,-200,0,30,
AddVertex,0,0,26,
AddVertex,0,0,0,
AddVertex,-200,0,0,
AddFace,0,1,2,3
SetColor,218,218,192,

GenerateNormals,,,,

LoadTexture,Grass6a.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,8,0,
SetTextureCoordinates,2,8,2,
SetTextureCoordinates,3,0,2,
SetDecalTransparentColor,0,0,0,


;RH field a
CreateMeshBuilder,,,,
AddVertex,0,0,26,
AddVertex,200,0,30,
AddVertex,200,0,0,
AddVertex,0,0,0,
AddFace,0,1,2,3

GenerateNormals,,,,

LoadTexture,Grass6a.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,7,0,
SetTextureCoordinates,2,7,2,
SetTextureCoordinates,3,0,2,

;LH field b
CreateMeshBuilder,,,,
AddVertex,-200,0,0,
AddVertex,0,0,0,
AddVertex,0,-5,-5,
AddVertex,-200,-15,-15,
AddFace,0,1,2,3
SetColor,218,218,192,

GenerateNormals,,,,

LoadTexture,Grass6.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,8,0,
SetTextureCoordinates,2,8,0.3,
SetTextureCoordinates,3,0,0.3,
SetDecalTransparentColor,0,0,0,

;RH field b
CreateMeshBuilder,,,,
AddVertex,0,0,0,
AddVertex,200,0,0,
AddVertex,200,-15,-15,
AddVertex,0,-5,-5,
AddFace,0,1,2,3

GenerateNormals,,,,

LoadTexture,Grass6.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,8,0,
SetTextureCoordinates,2,8,0.3,
SetTextureCoordinates,3,0,0.3,
