;description=brown track
;author=Uwe Post
;copyright=the BVE RouteBuilder team 2002,goto routebuilder.bve-routes.com - made with switch by Ruediger Huelsmann
;modified by eezypeazy to improve efficiency

CreateMeshBuilder,
Addvertex, -0.8,0,-0.4
Addvertex, -0.72,0,-0.4
Addvertex, -0.8,0,25.5
Addvertex, -0.72,0,25.5
addface,2,3,1,0
setcolor,180,190,200

CreateMeshBuilder,
Addvertex, 0.72,0,-0.4
Addvertex, 0.8,0,-0.4
Addvertex, 0.72,0,25.5
Addvertex, 0.8,0,25.5
addface, 2,3,1,0
setcolor,180,190,200

CreateMeshBuilder,
Addvertex, -0.76,0,-0.1
Addvertex, -0.76,-0.17,-0.1
Addvertex, -0.76,0,25.1
Addvertex, -0.76,-0.17,25.1
addface2, 2,3,1,0
setcolor,85,50,50

CreateMeshBuilder,
Addvertex, 0.76,0,-0.1
Addvertex, 0.76,-0.17,-0.1
Addvertex, 0.76,0,25.1
Addvertex, 0.76,-0.17,25.1
addface2, 2,3,1,0
setcolor,85,50,50

CreateMeshBuilder,
Addvertex, -1.35,-0.17,-0.05
Addvertex, 1.35,-0.17,-0.05
Addvertex, -1.35,-0.17,25
Addvertex, 1.35,-0.17,25
addface, 2,3,1,0


LoadTexture,..\track\schwellen5.png
SetTextureCoordinates,0,1.02,10
SetTextureCoordinates,1,-0.02,10
SetTextureCoordinates, 2,1.02,0
SetTextureCoordinates, 3,-0.02,0
Setdecaltransparentcolor, 0,0,255

CreateMeshBuilder,
Addvertex, -2.8,-0.4,-0.05
Addvertex, -1.35,-0.17,-0.05
Addvertex, -2.8,-0.4,25
Addvertex, -1.35,-0.17,25
addface, 2,3,1,0


LoadTexture,..\track\schotter1.png
SetTextureCoordinates, 0,1,10
SetTextureCoordinates,1,0,10
SetTextureCoordinates, 2,1,0
SetTextureCoordinates,3,0,0

CreateMeshBuilder,
Addvertex, 1.35,-0.17,-0.05
Addvertex, 2.8,-0.4,-0.05
Addvertex, 1.35,-0.17,25
Addvertex, 2.8,-0.4,25
addface, 2,3,1,0


LoadTexture, ..\track\schotter1.png
SetTextureCoordinates, 0,0,10
SetTextureCoordinates, 1,1,10
SetTextureCoordinates, 2,0,0
SetTextureCoordinates, 3,1,0

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

CreateMeshBuilder,
Addvertex, -0.8,0,-0.4
Addvertex, -0.72,0,-0.4
Addvertex, -0.8,0,25.5
Addvertex, -0.72,0,25.5
addface,2,3,1,0
setcolor,180,190,200
translate, 4,0,0,

CreateMeshBuilder,
Addvertex, 0.72,0,-0.4
Addvertex, 0.8,0,-0.4
Addvertex, 0.72,0,25.5
Addvertex, 0.8,0,25.5
addface, 2,3,1,0
setcolor,180,190,200
translate, 4,0,0,

CreateMeshBuilder,
Addvertex, -0.76,0,-0.1
Addvertex, -0.76,-0.17,-0.1
Addvertex, -0.76,0,25.1
Addvertex, -0.76,-0.17,25.1
addface2, 2,3,1,0
setcolor,85,50,50
translate, 4,0,0,

CreateMeshBuilder,
Addvertex, 0.76,0,-0.1
Addvertex, 0.76,-0.17,-0.1
Addvertex, 0.76,0,25.1
Addvertex, 0.76,-0.17,25.1
addface2, 2,3,1,0
setcolor,85,50,50
translate, 4,0,0,

CreateMeshBuilder,
Addvertex, -1.35,-0.17,-0.05
Addvertex, 1.35,-0.17,-0.05
Addvertex, -1.35,-0.17,25
Addvertex, 1.35,-0.17,25
addface, 2,3,1,0


LoadTexture,..\track\schwellen5.png
SetTextureCoordinates,0,1.02,10
SetTextureCoordinates,1,-0.02,10
SetTextureCoordinates, 2,1.02,0
SetTextureCoordinates, 3,-0.02,0
Setdecaltransparentcolor, 0,0,255
translate, 4,0,0,

CreateMeshBuilder,
Addvertex, -2.8,-0.4,-0.05
Addvertex, -1.35,-0.17,-0.05
Addvertex, -2.8,-0.4,25
Addvertex, -1.35,-0.17,25
addface, 2,3,1,0


LoadTexture,..\track\schotter1.png
SetTextureCoordinates, 0,1,10
SetTextureCoordinates,1,0,10
SetTextureCoordinates, 2,1,0
SetTextureCoordinates,3,0,0
translate, 4,0,0,

CreateMeshBuilder,
Addvertex, 1.35,-0.17,-0.05
Addvertex, 2.8,-0.4,-0.05
Addvertex, 1.35,-0.17,25
Addvertex, 2.8,-0.4,25
addface, 2,3,1,0


LoadTexture, ..\track\schotter1.png
SetTextureCoordinates, 0,0,10
SetTextureCoordinates, 1,1,10
SetTextureCoordinates, 2,0,0
SetTextureCoordinates, 3,1,0
translate, 4,0,0,
;Birmingham Cross-City BVE Route Object
;Cross-City South
;---------------------------------------
;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,-2.66, 6.22, 0,
AddVertex,0.6, 6.22, 0,
AddVertex,0.6, 4.33, 0,
AddVertex,-2.66, 4.33, 0,
AddFace,0,1,2,3,
GenerateNormals,

LoadTexture,Mk3_LMast_Lc.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex,-2.79, 6.0, 0,
AddVertex,-2.64, 6.0, 0,
AddVertex,-2.64, -0.3, 0,
AddVertex,-2.79, -0.3, 0,
AddVertex,-2.64, 6.0, -0.07,
AddVertex,-2.64, 6.0, 0.07,
AddVertex,-2.64, -0.3, 0.07,
AddVertex,-2.64, -0.3, -0.07,
AddVertex,-2.79, 6.0, -0.07,
AddVertex,-2.79, 6.0, 0.07,
AddVertex,-2.79, -0.3, 0.07,
AddVertex,-2.79, -0.3, -0.07,
AddFace,0,1,2,3,
AddFace2,4,5,6,7,
AddFace2,8,9,10,11,
GenerateNormals,

LoadTexture,Mk3_Mast2_3D.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 0.49, 0,
SetTextureCoordinates,2, 0.49, 1,
SetTextureCoordinates,3, 0, 1,
SetTextureCoordinates,4, 0.51, 0,
SetTextureCoordinates,5, 1, 0,
SetTextureCoordinates,6, 1, 1,
SetTextureCoordinates,7, 0.51, 1,
SetTextureCoordinates,8, 0.51, 0,
SetTextureCoordinates,9, 1, 0,
SetTextureCoordinates,10, 1, 1,
SetTextureCoordinates,11, 0.51, 1,

CreateMeshBuilder,
AddVertex,-2.795, 2.92, -0.08,
AddVertex,-2.635, 2.92, -0.08,
AddVertex,-2.635, 2.64, -0.08,
AddVertex,-2.795, 2.64, -0.08,
AddVertex,-2.795, 2.92, 0.08,
AddVertex,-2.795, 2.64, 0.08,
AddVertex,-2.635, 2.92, 0.08,
AddVertex,-2.635, 2.64, 0.08,
AddFace,0,1,2,3,
AddFace,4,0,3,5,
AddFace,1,6,7,2,
SetColor,255,255,255,
GenerateNormals,

LoadTexture,id_plate_2.png,
SetTextureCoordinates,0, 0.27, 0,
SetTextureCoordinates,1, 0.70, 0,
SetTextureCoordinates,2, 0.70, 1,
SetTextureCoordinates,3, 0.27, 1,
SetTextureCoordinates,4, 0, 0,
SetTextureCoordinates,5, 0, 1,
SetTextureCoordinates,6, 1, 0,
SetTextureCoordinates,7, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex,-2.635, 0.95, -0.06,
AddVertex,-2.635, 0.95, 0.06,
AddVertex,-2.635, 0.8, 0.06,
AddVertex,-2.635, 0.8, -0.06,
AddFace,0,1,2,3,
GenerateNormals,

LoadTexture,Mk3_Mast_Label_2.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

CreateMeshBuilder,
AddVertex,-2.635, 0.16, -0.04,
AddVertex,-2.635, 0.16, 0.04,
AddVertex,-2.635, 0.05, 0.04,
AddVertex,-2.635, 0.05, -0.04,
AddFace,0,1,2,3,
GenerateNormals,

LoadTexture,Mk3_Mast_Label_1.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

CreateMeshBuilder,
AddVertex,-2.95, -0.15, 0.23,
AddVertex,-2.48, -0.15, 0.23,
AddVertex,-2.48, -0.15, -0.23,
AddVertex,-2.95, -0.15, -0.23,
AddVertex,-2.95, -0.93, 0.23,
AddVertex,-2.95, -0.93, -0.23,
AddVertex,-2.48, -0.93, -0.23,
AddVertex,-2.48, -0.93, 0.23,
AddFace,0,1,2,3,
AddFace,0,3,5,4,
AddFace,3,2,6,5,
AddFace,2,1,7,6,
GenerateNormals,

LoadTexture,Concrete1.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,
SetTextureCoordinates,4, 1, 0,
SetTextureCoordinates,5, 0, 2,
SetTextureCoordinates,6, 1, 2,
SetTextureCoordinates,7, 2, 0,

CreateMeshBuilder,
AddVertex,-0.008, 4.864, 0,
AddVertex,0.008, 4.864, 0,
AddVertex,0.008, 4.914, 4.166,
AddVertex,-0.008, 4.914, 4.166,
AddVertex,0.008, 4.914, 20.832,
AddVertex,-0.008, 4.914, 20.832,
AddVertex,0.008, 4.864, 25,
AddVertex,-0.008, 4.864, 25,
AddFace,0,1,2,3,
AddFace,3,2,4,5,
AddFace,5,4,6,7,
SetColor,150,150,150,
GenerateNormals,

;L wire
CreateMeshBuilder,
AddVertex,-0.008, 5.68, 0,
AddVertex,0.008, 5.68, 0,
AddVertex,0.008, 5.48, 4.166,
AddVertex,-0.008, 5.48, 4.166,
AddVertex,0.008, 5.38, 12.499,
AddVertex,-0.008, 5.38, 12.499,
AddVertex,0.008, 5.48, 20.832,
AddVertex,-0.008, 5.48, 20.832,
AddVertex,0.008,  5.68, 25,
AddVertex,-0.008, 5.68, 25,
AddVertex,0.008,4.914,4.166,
AddVertex,-0.008,4.914,4.166,
AddVertex,0.008,4.914,12.499,
AddVertex,-0.008,4.914,12.499,
AddVertex,0.008,4.914,20.832,
AddVertex,-0.008,4.914,20.832,
AddFace,0,1,2,3,
AddFace,3,2,4,5,
AddFace,5,4,6,7,
AddFace,7,6,8,9
AddFace,3,2,10,11
AddFace,5,4,12,13
AddFace,7,6,14,15
SetColor,150,150,150,
GenerateNormals,



;;;;;;;;;;;;

;L InsulatornWire
CreateMeshBuilder,
AddVertex,0, 5.92, 0,
AddVertex,0, 5.96, 0,
AddVertex,0, 5.60, 6.25,
AddVertex,0, 5.56, 6.25,
AddVertex,0, 5.48, 12.5,
AddVertex,0, 5.44, 12.5,
AddVertex,0, 5.60, 18.75,
AddVertex,0, 5.56, 18.75,
AddVertex,0, 5.96, 25,
AddVertex,0, 5.92, 25,
AddVertex,0.2, 5.96, 25,
AddVertex,0.2, 5.92, 25,
AddVertex,-0.02, 5.92, 0,
AddVertex,-0.02, 5.56, 6.25,
AddVertex,-0.02, 5.44, 12.5,
AddVertex,-0.02, 5.56, 18.75,
AddVertex,-0.02, 5.92, 25,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
AddFace,3,2,4,5,
AddFace,5,4,2,3,
AddFace,5,4,6,7,
AddFace,7,6,4,5,
AddFace,7,6,8,9,
AddFace,9,8,6,7,
AddFace,9,8,10,11,
AddFace,0,3,13,12,
AddFace,3,5,14,13,
AddFace,5,7,15,14,
AddFace,7,9,16,15,
SetColor,150,150,150,
GenerateNormals,
Translate, -3,0,0,

;L insulator
CreateMeshBuilder,
AddVertex,0.05, 5.94, 24.89,
AddVertex,0.05, 6.05, 25,
AddVertex,0.05, 5.94, 25.11,
AddVertex,0.05, 5.83, 25,
AddVertex,0.01, 6.05, 25,
AddVertex,0.01, 5.94, 24.89,
AddVertex,0.01, 5.83, 25,
AddVertex,0.01, 5.94, 25.11,
AddFace,0,1,2,3,
AddFace,4,1,0,5,
AddFace,5,0,3,6,
AddFace,4,1,2,7,
AddFace,7,2,3,6,
AddFace,4,5,6,7,
SetColor,160,50,40,
GenerateNormals,
Translate, -2.9,0,0,

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;R assy
CreateMeshBuilder
AddVertex,2.96, 6.22, 0
AddVertex,0.5, 6.22, 0
AddVertex,0.5, 4.33, 0
AddVertex,2.96, 4.33, 0
AddFace,3,2,1,0
GenerateNormals

LoadTexture,Mk3_LMast_Rc.png
SetTextureCoordinates,0, 0, 0
SetTextureCoordinates,1, 1, 0
SetTextureCoordinates,2, 1, 1
SetTextureCoordinates,3, 0, 1
SetDecalTransparentColor,0,0,0,
Translate, 2.9,0,0,

CreateMeshBuilder
AddVertex,3.09, 6.0, 0
AddVertex,2.94, 6.0, 0
AddVertex,2.94, -0.3, 0
AddVertex,3.09, -0.3, 0
AddVertex,2.94, 6.0, -0.07
AddVertex,2.94, 6.0, 0.07
AddVertex,2.94, -0.3, 0.07
AddVertex,2.94, -0.3, -0.07
AddVertex,3.09, 6.0, -0.07
AddVertex,3.09, 6.0, 0.07
AddVertex,3.09, -0.3, 0.07
AddVertex,3.09, -0.3, -0.07
AddFace,3,2,1,0
AddFace2,7,6,5,4
AddFace2,11,10,9,8
GenerateNormals

LoadTexture,Mk3_Mast2_3D.png
SetTextureCoordinates,0, 0, 0
SetTextureCoordinates,1, 0.49, 0
SetTextureCoordinates,2, 0.49, 1
SetTextureCoordinates,3, 0, 1
SetTextureCoordinates,4, 0.51, 0
SetTextureCoordinates,5, 1, 0
SetTextureCoordinates,6, 1, 1
SetTextureCoordinates,7, 0.51, 1
SetTextureCoordinates,8, 0.51, 0
SetTextureCoordinates,9, 1, 0
SetTextureCoordinates,10, 1, 1
SetTextureCoordinates,11, 0.51, 1
Translate, 2.9,0,0,

CreateMeshBuilder
AddVertex,3.095, 2.93, -0.08
AddVertex,2.935, 2.93, -0.08
AddVertex,2.935, 2.64, -0.08
AddVertex,3.095, 2.64, -0.08
AddVertex,3.095, 2.93, 0.08
AddVertex,3.095, 2.64, 0.08
AddVertex,2.935, 2.93, 0.08
AddVertex,2.935, 2.64, 0.08
AddFace,3,2,1,0
AddFace,5,3,0,4
AddFace,2,7,6,1
SetColor,255,255,255
GenerateNormals

LoadTexture,id_plate_2.png
SetTextureCoordinates,0, 0.05, 0
SetTextureCoordinates,1, 0.23, 0
SetTextureCoordinates,2, 0.23, 1
SetTextureCoordinates,3, 0.05, 1
SetTextureCoordinates,4, 0, 0
SetTextureCoordinates,5, 0, 1
SetTextureCoordinates,6, 0.24, 0
SetTextureCoordinates,7, 0.24, 1
SetDecalTransparentColor,0,0,0,
Translate, 2.9,0,0,

CreateMeshBuilder,
AddVertex,2.935, 0.95, 0.06,
AddVertex,2.935, 0.95, -0.06,
AddVertex,2.935, 0.8, -0.06,
AddVertex,2.935, 0.8, 0.06,
AddFace,0,1,2,3,
GenerateNormals,

LoadTexture,Mk3_Mast_Label_2.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,
Translate, 2.9,0,0,

CreateMeshBuilder,
AddVertex,2.935, 0.16, 0.04,
AddVertex,2.935, 0.16, -0.04,
AddVertex,2.935, 0.05, -0.04,
AddVertex,2.935, 0.05, 0.04,
AddFace,0,1,2,3,
GenerateNormals,

LoadTexture,Mk3_Mast_Label_1.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,
Translate, 2.9,0,0,

CreateMeshBuilder
AddVertex,3.25, -0.15, 0.23
AddVertex,2.78, -0.15, 0.23
AddVertex,2.78, -0.15, -0.23
AddVertex,3.25, -0.15, -0.23
AddVertex,3.25, -0.93, 0.23
AddVertex,3.25, -0.93, -0.23
AddVertex,2.78, -0.93, -0.23
AddVertex,2.78, -0.93, 0.23
AddFace,3,2,1,0
AddFace,4,5,3,0
AddFace,5,6,2,3
AddFace,6,7,1,2
GenerateNormals,

LoadTexture,Concrete1.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,
SetTextureCoordinates,4, 0, 1,
SetTextureCoordinates,5, 0, 2,
SetTextureCoordinates,6, 0, 0,
SetTextureCoordinates,7, 1, 1,
Translate, 2.9,0,0,

CreateMeshBuilder,
AddVertex,-0.008, 4.864, 0,
AddVertex,0.008, 4.864, 0,
AddVertex,0.008, 4.914, 4.166,
AddVertex,-0.008, 4.914, 4.166,
AddVertex,0.008, 4.914, 20.832,
AddVertex,-0.008, 4.914, 20.832,
AddVertex,0.008, 4.864, 25,
AddVertex,-0.008, 4.864, 25,
AddFace,0,1,2,3,
AddFace,3,2,4,5,
AddFace,5,4,6,7,
SetColor,150,150,150,
GenerateNormals,


;R wire
CreateMeshBuilder,
AddVertex,-0.008, 5.68, 0,
AddVertex,0.008, 5.68, 0,
AddVertex,0.008, 5.48, 4.166,
AddVertex,-0.008, 5.48, 4.166,
AddVertex,0.008, 5.38, 12.499,
AddVertex,-0.008, 5.38, 12.499,
AddVertex,0.008, 5.48, 20.832,
AddVertex,-0.008, 5.48, 20.832,
AddVertex,0.008,  5.68, 25,
AddVertex,-0.008, 5.68, 25,
AddVertex,0.008,4.914,4.166,
AddVertex,-0.008,4.914,4.166,
AddVertex,0.008,4.914,12.499,
AddVertex,-0.008,4.914,12.499,
AddVertex,0.008,4.914,20.832,
AddVertex,-0.008,4.914,20.832,
AddFace,0,1,2,3,
AddFace,3,2,4,5,
AddFace,5,4,6,7,
AddFace,7,6,8,9
AddFace,3,2,10,11
AddFace,5,4,12,13
AddFace,7,6,14,15
SetColor,150,150,150,
GenerateNormals,
Translate, 4,0,0,

CreateMeshBuilder,
AddVertex,-0.008, 4.864, 0,
AddVertex,0.008, 4.864, 0,
AddVertex,0.008, 4.914, 4.166,
AddVertex,-0.008, 4.914, 4.166,
AddVertex,0.008, 4.914, 20.832,
AddVertex,-0.008, 4.914, 20.832,
AddVertex,0.008, 4.864, 25,
AddVertex,-0.008, 4.864, 25,
AddFace,0,1,2,3,
AddFace,3,2,4,5,
AddFace,5,4,6,7,
SetColor,150,150,150,
GenerateNormals,
Translate, 4,0,0,

;R return wire
CreateMeshBuilder,
AddVertex,0, 5.92, 0,
AddVertex,0, 5.96, 0,
AddVertex,0, 5.60, 6.25,
AddVertex,0, 5.56, 6.25,
AddVertex,0, 5.48, 12.5,
AddVertex,0, 5.44, 12.5,
AddVertex,0, 5.60, 18.75,
AddVertex,0, 5.56, 18.75,
AddVertex,0, 5.96, 25,
AddVertex,0, 5.92, 25,
AddVertex,-0.2, 5.96, 25,
AddVertex,-0.2, 5.92, 25,
AddVertex,0.02, 5.92, 0,
AddVertex,0.02, 5.56, 6.25,
AddVertex,0.02, 5.44, 12.5,
AddVertex,0.02, 5.56, 18.75,
AddVertex,0.02, 5.92, 25,
AddFace,0,1,2,3,
AddFace,3,2,1,0,
AddFace,3,2,4,5,
AddFace,5,4,2,3,
AddFace,5,4,6,7,
AddFace,7,6,4,5,
AddFace,7,6,8,9,
AddFace,9,8,6,7,
AddFace,11,10,8,9,
AddFace,12,13,3,0,
AddFace,13,14,5,3,
AddFace,14,15,7,5,
AddFace,15,16,9,7
SetColor,150,150,150,
GenerateNormals,
Translate, 6.15,0,0,


;R return insulator
CreateMeshBuilder,
AddVertex,-0.05, 5.94, 24.89,
AddVertex,-0.05, 6.05, 25,
AddVertex,-0.05, 5.94, 25.11,
AddVertex,-0.05, 5.83, 25,
AddVertex,-0.01, 6.05, 25,
AddVertex,-0.01, 5.94, 24.89,
AddVertex,-0.01, 5.83, 25,
AddVertex,-0.01, 5.94, 25.11,
AddFace,3,2,1,0,
AddFace,5,0,1,4,
AddFace,6,3,0,5,
AddFace,7,2,1,4,
AddFace,6,3,2,7,
AddFace,7,6,5,4,
SetColor,160,50,40,
GenerateNormals,
Translate, 6.1,0,0,







