CreateMeshBuilder
AddVertex, 0, 0, 0
AddVertex, 0, 4, 0
AddVertex, 25, 4, 0
AddVertex, 25, 0, 0
AddFace, 0, 1, 2, 3
GenerateNormals
LoadTexture,XDHouse3_Front.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,1,0
SetTextureCoordinates,3,1,1

CreateMeshBuilder
AddVertex, 0, 0, 12
AddVertex, 0, 4, 12
AddVertex, 25, 4, 12
AddVertex, 25, 0, 12
AddFace, 3,2,1,0
GenerateNormals
LoadTexture,XDHouse3_Front.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,1,0
SetTextureCoordinates,3,1,1

CreateMeshBuilder
AddVertex, 0, 0, 12
AddVertex, 0, 4, 12
AddVertex, 0, 9, 6
AddVertex, 0, 4, 0
AddVertex, 0, 0, 0
AddFace, 0, 1, 2, 3, 4
GenerateNormals
LoadTexture,XDHouse3_Side.png
SetTextureCoordinates,0,1,0
SetTextureCoordinates,1,1,0.5
SetTextureCoordinates,2,0.5,1
SetTextureCoordinates,3,0,0.5
SetTextureCoordinates,4,0,0

CreateMeshBuilder
AddVertex, 25, 0, 0
AddVertex, 25, 4, 0
AddVertex, 25, 9, 6
AddVertex, 25, 4, 12
AddVertex, 25, 0, 12
AddFace, 0, 1, 2, 3, 4
GenerateNormals
LoadTexture,XDHouse3_Side.png
SetTextureCoordinates,0,1,0
SetTextureCoordinates,1,1,0.5
SetTextureCoordinates,2,0.5,1
SetTextureCoordinates,3,0,0.5
SetTextureCoordinates,4,0,0

CreateMeshBuilder
AddVertex, -0.4, 3.67, -0.4
AddVertex, -0.4, 9, 6
AddVertex, 25.4, 9, 6
AddVertex, 25.4, 3.67, -0.4
AddFace2, 0, 1, 2, 3
GenerateNormals
LoadTexture,XDRoof.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,1,0
SetTextureCoordinates,3,1,1

CreateMeshBuilder
AddVertex, -0.4, 3.67, 12.4
AddVertex, -0.4, 9, 6
AddVertex, 25.4, 9, 6
AddVertex, 25.4, 3.67, 12.4
AddFace2, 0, 1, 2, 3
GenerateNormals
LoadTexture,XDroof.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,1,0
SetTextureCoordinates,3,1,1
