
;--------------------------------------
;Maybank BVE Route Object File
;--------------------------------------
;(c) Tony Haylor 2003
;Email my1st.go@ntlworld.com
;
;Oject and textures by
;Robert Glass & Steve Green (c) 
;www.scotrailsim.co.uk
;www.trainsimcentral.co.uk
;with kind permission of Steve Green.
;Originally from Southern Route
;Blighton - Treston Park BVE
;Route Object.
;
;--------------------------------------
;
;Please seek permission before using
;any Maybank files in your own route.
;
;see 'Readme.txt' file.
;

CreateMeshBuilder,;front wr
Addvertex,7.2, 4.1, 0,
Addvertex,7.2, 4.1, 25,
Addvertex,7.2, -2.9, 25,
Addvertex,7.2, -2.9, 0,
AddFace,3,2,1,0,
GenerateNormals,

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

CreateMeshBuilder,;side wr
AddVertex,11.2, -2.9, 0,
AddVertex,11.2,6.1, 0,
AddVertex,7.2, 4.1, 0,
AddVertex,7.2, -2.9, 0,
AddFace,3, 2, 1, 0,
SetColor,100,100,100,

GenerateNormals,

CreateMeshBuilder,;roof wr
Addvertex,7, 4, 0,
Addvertex,7, 4, 25,
Addvertex,11.2, 6.1, 25,
Addvertex,11.2, 6.1, 0,
AddFace,0,1,2,3,
GenerateNormals,

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