;--------------------------------------
;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,-11.2, 5, 0,
AddVertex,-11.2, 5, 26,
AddVertex,-11.2,12, 26,
AddVertex,-11.2, 12, 0,
AddFace,3,2,1,0,

GenerateNormals,

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

CreateMeshBuilder,
AddVertex,-10, 4, 0,
AddVertex,-10, 4, 26,
AddVertex,-10, 8, 26,
AddVertex,-10, 8, 0,
AddFace,3,2,1,0,

GenerateNormals,

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

CreateMeshBuilder,
AddVertex,-5.1, 2.1, 0,
AddVertex,-5.1, 2.1, 26,
AddVertex,-4.8, 2.1, 26,
AddVertex,-4.8,-6, 26,
AddVertex,-4.8,-6, 0,
AddVertex,-4.8, 2.1, 0,
AddFace,0,1,2,5,
AddFace,2,3,4,5,
SetColor,130,130,130,

GenerateNormals,

;LoadTexture,00Brick.bmp,
LoadTexture,Brickwall.bmp,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,5,0,
SetTextureCoordinates,2,5,0.05,
SetTextureCoordinates,3,5,2,
SetTextureCoordinates,4,0,2,
SetTextureCoordinates,5,0,0.05,

CreateMeshBuilder,
AddVertex,-5.3,1.45,0,
AddVertex,-6.2,3,0,
AddVertex,-11.2,6,0,
AddVertex,-5.3,1.45,26,
AddVertex,-6.2,3,26,
AddVertex,-11.2,6,26,
AddFace,0,1,4,3,
AddFace,1,2,5,4,
GenerateNormals,

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

CreateMeshBuilder,
Addvertex,-5.2, 1.2, 0,
Addvertex,-5.2, 1.2, 25.3,
Addvertex,-5.2, 3.4, 25.3,
Addvertex,-5.2, 3.4, 0,

AddFace,3,2,1,0,

GenerateNormals,

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


