;--------------------------------------
;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.9, -0.5, 0,
AddVertex,-4,-0.5, 0,
AddVertex,-6,0.5, 0,
AddVertex,-9,0.25,0,
AddVertex,-1.9, -0.3, 26,
AddVertex,-4,-0.3, 26,
AddVertex,-6,0.5, 26,
AddVertex,-9,0.25,26,
AddFace,0,1,5,4,
AddFace,1,2,6,5,
AddFace,2,3,7,6,
GenerateNormals,

LoadTexture,grass5l.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0.75,
SetTextureCoordinates,2, 0, 0.5,
SetTextureCoordinates,3, 0, 0,
SetTextureCoordinates,4, 1, 1,
SetTextureCoordinates,5, 1, 0.75,
SetTextureCoordinates,6, 1, 0.5,
SetTextureCoordinates,7, 1, 0,

CreateMeshBuilder,
AddVertex,-9,0.25, 0,
AddVertex,-6,0.5, 0,
AddVertex,-4,-0.5, 0,
AddVertex,-1.9,-0.5, 0,
AddVertex,-1.9,-1,-1,
AddVertex,-9,-1,-1,
AddFace,0,1,2,3,4,5,
GenerateNormals,

LoadTexture,grass5l.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0.5,
SetTextureCoordinates,3, 2, 0.5,
SetTextureCoordinates,4, 2, 0,
SetTextureCoordinates,5, 0, 0,

CreateMeshBuilder,
AddVertex,-8, 0.25, 0,
AddVertex,-8, 3, 0,
AddVertex,-8, 3, 26,
AddVertex,-8, 0.25, 26,
AddFace,0,1,2,3,
GenerateNormals,

LoadTexture,fence6.bmp,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,5,0,
SetTextureCoordinates,3,5,1,
SetDecalTransparentColor,0,0,0,
