;Birmingham Cross-City BVE Route Object
;Cross-City South
;---------------------------------------
;By Anthony Bowden 2002-2008
;www.railsimroutes.co.uk
;
;This file may be freely re-used
;
;Please acknowledge the original authors
;and keep this header intact
;
;See 'Readme.txt'

CreateMeshBuilder,
AddVertex,1.9, -0.29, 25.3,
AddVertex,1.9, -0.29, 0,
AddVertex,8.5, -0.29, 0,
AddVertex,21.06, -6.29, 0,
AddVertex,21.06, -6.29, 25.3,
AddVertex,8.5, -0.29, 25.3,
AddFace,5,2,1,0,
AddFace,4,3,2,5,
GenerateNormals,

LoadTexture,RailObjects\Ballast_gnc_XP.bmp,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 2, 0,
SetTextureCoordinates,2, 2, 0.5,
SetTextureCoordinates,3, 2, 1,
SetTextureCoordinates,4, 0, 1,
SetTextureCoordinates,5, 0, 0.5,

CreateMeshBuilder,
AddVertex,8.0, 1.5, 0,
AddVertex,8.0, 1.5, 25.1,
AddVertex,8.0, -0.3, 25.1,
AddVertex,8.0, -0.3, 0,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,Common_Textures\Fence2.bmp,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 8, 0,
SetTextureCoordinates,2, 8, 1,
SetTextureCoordinates,3, 0, 1,
SetDecalTransparentColor,150,150,150,