;Object and textures (copyright) Alan Hudnott June 2010
;feel free to use this object in bve routes. 
;Delete the faces not required.
;If you require the full model, contact me via bve terminus personal message
;Please credit Alan Hudnott.


CreateMeshBuilder,
AddVertex,0,6,0,
AddVertex,0,6,25,
AddVertex,0,0,0,
AddVertex,0,0,25,
AddFace2,2,3,1,0,
GenerateNormals,
LoadTexture,houserow2.png
SetTextureCoordinates,0,1,0,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,1,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,


CreateMeshBuilder,
AddVertex,3,9,0,
AddVertex,3,9,25,
AddVertex,0,6,0,
AddVertex,0,6,25,
AddFace2,2,3,1,0,
GenerateNormals,
LoadTexture,houserow2tiles.png
SetTextureCoordinates,0,1,0,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,1,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,

;left side
CreateMeshBuilder,
AddVertex,6,0,0
AddVertex, 6,6,0
AddVertex,0,6,0
AddVertex, 0,0,0
Addface2, 0,1,2,3
GenerateNormals,
LoadTexture, coal.png
SetTextureCoordinates, 0,0,0
SetTextureCoordinates, 1,0,1
SetTextureCoordinates,2,1,1
SetTextureCoordinates,3,1,0
SetDecalTransparentColor,0,0,255,

;left side top
CreateMeshBuilder,
AddVertex,0,6,0
AddVertex,0,9,0
AddVertex, 6,9,0
AddVertex, 6,6,0
Addface2, 3,2,1,0
GenerateNormals,
LoadTexture,coaltoproof1.png
SetTextureCoordinates,0,1,0
SetTextureCoordinates,1,0,0
SetTextureCoordinates, 2,0,1
SetTextureCoordinates, 3,1,1
SetDecalTransparentColor,0,0,255,

;right side
CreateMeshBuilder,
AddVertex,6,0,0
AddVertex, 6,6,0
AddVertex,0,6,0
AddVertex, 0,0,0
Addface2, 0,1,2,3
GenerateNormals,
LoadTexture, coal.png
SetTextureCoordinates, 0,0,0
SetTextureCoordinates, 1,0,1
SetTextureCoordinates,2,1,1
SetTextureCoordinates,3,1,0
SetDecalTransparentColor,0,0,255,

;left side top
CreateMeshBuilder,
AddVertex,0,6,0
AddVertex,0,9,0
AddVertex, 6,9,0
AddVertex, 6,6,0
Addface2, 3,2,1,0
GenerateNormals,
LoadTexture,coaltoproof1.png
SetTextureCoordinates,0,1,0
SetTextureCoordinates,1,0,0
SetTextureCoordinates, 2,0,1
SetTextureCoordinates, 3,1,1
SetDecalTransparentColor,0,0,255,

;left side
CreateMeshBuilder,
AddVertex,6,0,25
AddVertex, 6,6,25
AddVertex,0,6,25
AddVertex, 0,0,25
Addface2, 0,1,2,3
GenerateNormals,
LoadTexture, coal.png
SetTextureCoordinates, 0,0,0
SetTextureCoordinates, 1,0,1
SetTextureCoordinates,2,1,1
SetTextureCoordinates,3,1,0
SetDecalTransparentColor,0,0,255,

;left side top
CreateMeshBuilder,
AddVertex,0,6,25
AddVertex,0,9,25
AddVertex, 6,9,25
AddVertex, 6,6,25
Addface2, 3,2,1,0
GenerateNormals,
LoadTexture,coaltoproof1.png
SetTextureCoordinates,0,1,0
SetTextureCoordinates,1,0,0
SetTextureCoordinates, 2,0,1
SetTextureCoordinates, 3,1,1
SetDecalTransparentColor,0,0,255,
