;////////////////前面
CreateMeshBuilder
AddVertex,-1.4,3.4,-19.75
AddVertex,-1.15,3.6,-19.75
AddVertex,-0.4,3.72,-19.83
AddVertex,0.4,3.72,-19.83
AddVertex,1.15,3.6,-19.75
AddVertex,1.4,3.4,-19.75
AddVertex,-1.25,3.35,-19.85
AddVertex,-1.1,3.47,-19.86
AddVertex,-0.4,3.55,-19.93
AddVertex,0.4,3.55,-19.93
AddVertex,1.1,3.47,-19.86
AddVertex,1.25,3.35,-19.85
AddVertex,-0.4,3.35,-19.95
AddVertex,0.4,3.35,-19.95
AddVertex,-1.4,1.15,-19.8
AddVertex,-1.25,1.15,-19.9
AddVertex,-0.4,1.15,-20
AddVertex,0.4,1.15,-20
AddVertex,1.25,1.15,-19.9
AddVertex,1.4,1.15,-19.8
AddVertex,-1.4,1,-19.7
AddVertex,-1.25,1,-19.8
AddVertex,-0.4,1,-19.9
AddVertex,0.4,1,-19.9
AddVertex,1.25,1,-19.8
AddVertex,1.4,1,-19.7
AddFace2,0,1,6
AddFace2,1,7,6
AddFace2,1,2,7
AddFace2,2,8,7
AddFace2,2,3,9,8
AddFace2,3,10,9
AddFace2,3,4,10
AddFace2,4,11,10
AddFace2,4,5,11
AddFace2,6,7,12
AddFace2,7,8,12
AddFace2,8,9,13,12
AddFace2,9,10,13
AddFace2,10,11,13
AddFace2,0,6,15,14
AddFace2,6,12,16,15
AddFace2,12,13,17,16
AddFace2,13,11,18,17
AddFace2,11,5,19,18
AddFace2,14,15,21,20
AddFace2,15,16,22,21
AddFace2,16,17,23,22
AddFace2,17,18,24,23
AddFace2,18,19,25,24
GenerateNormals
LoadTexture,face9.bmp
SetTextureCoordinates,0,0,0.114
SetTextureCoordinates,1,0.09,0.043
SetTextureCoordinates,2,0.357,0
SetTextureCoordinates,3,0.643,0
SetTextureCoordinates,4,0.91,0.043
SetTextureCoordinates,5,1,0.114
SetTextureCoordinates,6,0.053,0.132
SetTextureCoordinates,7,0.107,0.09
SetTextureCoordinates,8,0.357,0.061
SetTextureCoordinates,9,0.643,0.061
SetTextureCoordinates,10,0.893,0.09
SetTextureCoordinates,11,0.947,0.132
SetTextureCoordinates,12,0.357,0.132
SetTextureCoordinates,13,0.643,0.132
SetTextureCoordinates,14,0,0.918
SetTextureCoordinates,15,0.053,0.918
SetTextureCoordinates,16,0.357,0.918
SetTextureCoordinates,17,0.643,0.918
SetTextureCoordinates,18,0.947,0.918
SetTextureCoordinates,19,1,0.918
SetTextureCoordinates,20,0,0.99
SetTextureCoordinates,21,0.053,0.99
SetTextureCoordinates,22,0.357,0.99
SetTextureCoordinates,23,0.643,0.99
SetTextureCoordinates,24,0.947,0.99
SetTextureCoordinates,25,1,0.99
SetDecalTransparentColor,0,0,0
CreateMeshBuilder;窓
AddVertex,-1.25,3.35,-19.83
AddVertex,-0.4,3.35,-19.94
AddVertex,0.4,3.35,-19.94
AddVertex,1.25,3.35,-19.83
AddVertex,-1.25,2,-19.85
AddVertex,-0.4,2,-19.96
AddVertex,0.4,2,-19.96
AddVertex,1.25,2,-19.85
AddFace,0,1,5,4
AddFace,1,2,6,5
AddFace,2,3,7,6
GenerateNormals
SetColor,62,63,70,180
CreateMeshBuilder;スカート
AddVertex,-1.4,1,-19.3
AddVertex,-1.4,1,-19.7
AddVertex,-1.25,1,-19.8
AddVertex,1.25,1,-19.8
AddVertex,1.4,1,-19.7
AddVertex,1.4,1,-19.3
AddVertex,-1.4,0.9,-19.35
AddVertex,-1.4,0.9,-19.8
AddVertex,-1.25,0.9,-19.9
AddVertex,1.25,0.9,-19.9
AddVertex,1.4,0.9,-19.8
AddVertex,1.4,0.9,-19.35
AddVertex,-1.25,0.4,-19.6
AddVertex,-1.25,0.4,-19.9
AddVertex,-1.1,0.4,-20
AddVertex,1.1,0.4,-20
AddVertex,1.25,0.4,-19.9
AddVertex,1.25,0.4,-19.6
AddVertex,-1.22,0.3,-19.8
AddVertex,-1.07,0.3,-19.9
AddVertex,1.07,0.3,-19.9
AddVertex,1.22,0.3,-19.8
AddFace,0,1,7,6
AddFace,1,2,8,7
AddFace,2,3,9,8
AddFace,3,4,10,9
AddFace,4,5,11,10
AddFace,6,7,13,12
AddFace,7,8,14,13
AddFace,8,9,15,14
AddFace,9,10,16,15
AddFace,10,11,17,16
AddFace,12,13,18
AddFace,13,14,19,18
AddFace,14,15,20,19
AddFace,15,16,21,20
AddFace,16,17,21
GenerateNormals
LoadTexture,skirt.bmp
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,0,0
SetTextureCoordinates,3,1,0
SetTextureCoordinates,4,1,0
SetTextureCoordinates,5,1,0
SetTextureCoordinates,6,0,0.15
SetTextureCoordinates,7,0,0.15
SetTextureCoordinates,8,0,0.15
SetTextureCoordinates,9,1,0.15
SetTextureCoordinates,10,1,0.15
SetTextureCoordinates,11,1,0.15
SetTextureCoordinates,12,0,0.9
SetTextureCoordinates,13,0,0.9
SetTextureCoordinates,14,0.06,0.9
SetTextureCoordinates,15,0.94,0.9
SetTextureCoordinates,16,1,0.9
SetTextureCoordinates,17,1,0.9
SetTextureCoordinates,18,0,0.9
SetTextureCoordinates,19,0.06,0.9
SetTextureCoordinates,20,0.94,0.9
SetTextureCoordinates,21,1,0.9
SetDecalTransparentColor,0,0,0
CreateMeshBuilder;スカート裏
AddVertex,1.4,1,-19.3
AddVertex,-1.4,1,-19.3
AddVertex,1.4,0.9,-19.35
AddVertex,-1.4,0.9,-19.35
AddVertex,1.25,0.4,-19.6
AddVertex,-1.25,0.4,-19.6
AddVertex,1.22,0.3,-19.8
AddVertex,-1.22,0.3,-19.8
AddFace,0,1,3,2
AddFace,2,3,5,4
AddFace,4,5,7,6
GenerateNormals
SetColor,40,40,40
CreateMeshBuilder;接合部
AddVertex,-1.4,1,-19.7
AddVertex,-1.4,1.15,-19.8
AddVertex,-1.4,3.4,-19.75
AddVertex,-1.15,3.6,-19.75
AddVertex,-0.4,3.72,-19.83
AddVertex,0.4,3.72,-19.83
AddVertex,1.15,3.6,-19.75
AddVertex,1.4,3.4,-19.75
AddVertex,1.4,1.15,-19.8
AddVertex,1.4,1,-19.7
AddVertex,-1.4,1,-19.3
AddVertex,-1.4,3.4,-19.3
AddVertex,-1.15,3.6,-19.3
AddVertex,-0.4,3.72,-19.3
AddVertex,0.4,3.72,-19.3
AddVertex,1.15,3.6,-19.3
AddVertex,1.4,3.4,-19.3
AddVertex,1.4,1,-19.3
AddFace2,0,10,1
AddFace2,1,10,11,2
AddFace2,2,11,12,3
AddFace2,3,12,13,4
AddFace2,4,13,14,5
AddFace2,5,14,15,6
AddFace2,6,15,16,7
AddFace2,7,16,17,8
AddFace2,8,17,9
GenerateNormals
LoadTexture,side5.bmp
SetTextureCoordinates,0,0,0.99
SetTextureCoordinates,1,0,0.918
SetTextureCoordinates,2,0,0.114
SetTextureCoordinates,3,0,0.043
SetTextureCoordinates,4,0,0
SetTextureCoordinates,5,0,0
SetTextureCoordinates,6,0,0.043
SetTextureCoordinates,7,0,0.114
SetTextureCoordinates,8,0,0.918
SetTextureCoordinates,9,0,0.99
SetTextureCoordinates,10,1,0.97
SetTextureCoordinates,11,1,0.114
SetTextureCoordinates,12,1,0.043
SetTextureCoordinates,13,1,0
SetTextureCoordinates,14,1,0
SetTextureCoordinates,15,1,0.043
SetTextureCoordinates,16,1,0.114
SetTextureCoordinates,17,1,0.97
CreateMeshBuilder;仕切り
AddVertex,-1.4,3.4,-18.5
AddVertex,1.4,3.4,-18.5
AddVertex,1.4,1,-18.5
AddVertex,-1.4,1,-18.5
AddFace2,0,1,2,3
GenerateNormals
LoadTexture,wall.bmp
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,1,0
SetTextureCoordinates,2,1,1
SetTextureCoordinates,3,0,1
SetDecalTransparentColor,0,0,0
;ワイパー
CreateMeshBuilder
Cylinder,3,0.01,0.01,0.7
Rotate,0,0,1,-40
Rotate,0,1,0,5
Translate,-0.85,2.25,-19.93
GenerateNormals
SetColor,83,81,80
CreateMeshBuilder
Cylinder,3,0.01,0.01,0.7
Rotate,0,0,1,-40
Rotate,0,1,0,5
Translate,-0.9,2.25,-19.93
GenerateNormals
SetColor,83,81,80
;アンテナ
CreateMeshBuilder
Cylinder,6,0.1,0.13,0.2
Translate,0,3.7,-19
GenerateNormals
SetColor,113,111,110
CreateMeshBuilder
Cylinder,6,0.05,0.06,0.2
Translate,0,3.9,-19
GenerateNormals
SetColor,70,120,80
CreateMeshBuilder
Cylinder,4,0.01,0.05,0.2
Rotate,0,1,0,45
Rotate,1,0,0,80
Translate,0,3.98,-18.9
GenerateNormals
SetColor,70,120,80
CreateMeshBuilder;胴受け
AddVertex,-1,1.2,-19.8
AddVertex,1,1.2,-19.8
AddVertex,1,0.4,-19.8
AddVertex,-1,0.4,-19.8
AddFace,0,1,2,3
GenerateNormals
LoadTexture,douke.bmp
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,1,0
SetTextureCoordinates,2,1,1
SetTextureCoordinates,3,0,1
;////////////////連結器
CreateMeshBuilder
AddVertex,-0.14,1,-19.8
AddVertex,0.14,1,-19.8
AddVertex,0.14,0.8,-19.8
AddVertex,-0.14,0.8,-19.8
AddVertex,-0.14,1,-20.1
AddVertex,0.14,1,-20.1
AddVertex,0.14,0.8,-20.1
AddVertex,-0.14,0.8,-20.1
AddFace,0,1,5,4
AddFace,1,2,6,5
AddFace,2,3,7,6
AddFace,3,0,4,7
AddFace,4,5,6,7
GenerateNormals
LoadTexture,connector.bmp
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,1,0
SetTextureCoordinates,2,1,1
SetTextureCoordinates,3,0,1
SetTextureCoordinates,4,0,0
SetTextureCoordinates,5,1,0
SetTextureCoordinates,6,1,1
SetTextureCoordinates,7,0,1
CreateMeshBuilder
Cylinder,4,0.07,0,0.1
Rotate,1,0,0,90
Rotate,0,0,1,45
Translate,-0.05,0.9,-20.2
SetColor,90,90,99
CreateMeshBuilder
Cylinder,4,0.07,0.07,0.1
Rotate,1,0,0,90
Rotate,0,0,1,45
Translate,-0.05,0.9,-20.1
SetColor,90,90,99
CreateMeshBuilder
Cube,0.2,0.1,0.1
Translate,0,0.7,-20
SetColor,70,65,65
CreateMeshBuilder
Cylinder,9,0.1,0.1,0.35
Rotate,0,0,1,90
Translate,0,0.7,-20.03
SetColor,120,120,120
CreateMeshBuilder
Cube,1,0.2,0.3
Translate,0,0.8,-19.2
SetColor,40,40,40
CreateMeshBuilder;妻面
AddVertex,-1.4,3.4,-0.25
AddVertex,-1.15,3.6,-0.25
AddVertex,-0.4,3.72,-0.25
AddVertex,0.4,3.72,-0.25
AddVertex,1.15,3.6,-0.25
AddVertex,1.4,3.4,-0.25
AddVertex,1.4,1,-0.25
AddVertex,-1.4,1,-0.25
AddFace2,0,1,2,3,4,5,6,7
GenerateNormals
SetColor,161,161,161
;////////////////側面
CreateMeshBuilder
AddVertex,1.4,3.4,-18.2
AddVertex,1.4,3.4,-1.8
AddVertex,1.4,1,-1.8
AddVertex,1.4,1,-18.2
AddVertex,-1.4,3.4,-1.8
AddVertex,-1.4,3.4,-18.2
AddVertex,-1.4,1,-18.2
AddVertex,-1.4,1,-1.8
AddFace2,0,1,2,3
AddFace2,4,5,6,7
GenerateNormals
LoadTexture,side3.bmp
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,1,0
SetTextureCoordinates,2,1,1
SetTextureCoordinates,3,0,1
SetTextureCoordinates,4,1,0
SetTextureCoordinates,5,0,0
SetTextureCoordinates,6,0,1
SetTextureCoordinates,7,1,1
SetDecalTransparentColor,0,0,0
CreateMeshBuilder;車端部+
AddVertex,1.4,3.4,-1.8
AddVertex,1.4,3.4,-0.25
AddVertex,1.4,1,-0.25
AddVertex,1.4,1,-1.8
AddVertex,-1.4,3.4,-0.25
AddVertex,-1.4,3.4,-1.8
AddVertex,-1.4,1,-1.8
AddVertex,-1.4,1,-0.25
AddFace2,0,1,2,3
AddFace2,4,5,6,7
GenerateNormals
LoadTexture,side2.bmp
SetTextureCoordinates,0,1,0
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,0,1
SetTextureCoordinates,3,1,1
SetTextureCoordinates,4,0,0
SetTextureCoordinates,5,1,0
SetTextureCoordinates,6,1,1
SetTextureCoordinates,7,0,1
SetDecalTransparentColor,0,0,0
CreateMeshBuilder;車端部-
AddVertex,1.4,3.4,-19.3
AddVertex,1.4,3.4,-18.2
AddVertex,1.4,1,-18.2
AddVertex,1.4,1,-19.3
AddVertex,-1.4,3.4,-18.2
AddVertex,-1.4,3.4,-19.3
AddVertex,-1.4,1,-19.3
AddVertex,-1.4,1,-18.2
AddFace2,0,1,2,3
AddFace2,4,5,6,7
GenerateNormals
LoadTexture,side4.bmp
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,1,0
SetTextureCoordinates,2,1,1
SetTextureCoordinates,3,0,1
SetTextureCoordinates,4,1,0
SetTextureCoordinates,5,0,0
SetTextureCoordinates,6,0,1
SetTextureCoordinates,7,1,1
SetDecalTransparentColor,0,0,0
CreateMeshBuilder;側面〜屋根
AddVertex,1.15,3.6,-19.3
AddVertex,1.15,3.6,-0.25
AddVertex,1.4,3.4,-0.25
AddVertex,1.4,3.4,-19.3
AddVertex,-1.15,3.6,-0.25
AddVertex,-1.15,3.6,-19.3
AddVertex,-1.4,3.4,-19.3
AddVertex,-1.4,3.4,-0.25
AddFace2,0,1,2,3
AddFace2,4,5,6,7
GenerateNormals
LoadTexture,side2.bmp
SetTextureCoordinates,0,0,0.1
SetTextureCoordinates,1,1,0.1
SetTextureCoordinates,2,1,0
SetTextureCoordinates,3,0,0
SetTextureCoordinates,4,0,0.1
SetTextureCoordinates,5,1,0.1
SetTextureCoordinates,6,1,0
SetTextureCoordinates,7,0,0
SetColor,165,165,166
CreateMeshBuilder;窓
AddVertex,1.38,3.1,-19.7
AddVertex,1.38,3.1,-0.3
AddVertex,1.38,1.9,-0.3
AddVertex,1.38,1.9,-19.7
AddVertex,-1.38,3.1,-0.3
AddVertex,-1.38,3.1,-19.7
AddVertex,-1.38,1.9,-19.7
AddVertex,-1.38,1.9,-0.3
AddFace,0,1,2,3
AddFace,4,5,6,7
GenerateNormals
SetColor,50,99,85,150
;////////////////屋根上
CreateMeshBuilder
AddVertex,-1.15,3.6,-0.25
AddVertex,-0.4,3.72,-0.25
AddVertex,0.4,3.72,-0.25
AddVertex,1.15,3.6,-0.25
AddVertex,1.15,3.6,-19.3
AddVertex,0.4,3.72,-19.3
AddVertex,-0.4,3.72,-19.3
AddVertex,-1.15,3.6,-19.3
AddFace2,0,1,6,7
AddFace2,1,2,5,6
AddFace2,2,3,4,5
GenerateNormals
LoadTexture,roof.bmp
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0.3,0
SetTextureCoordinates,2,0.7,0
SetTextureCoordinates,3,1,0
SetTextureCoordinates,4,1,1
SetTextureCoordinates,5,0.7,1
SetTextureCoordinates,6,0.3,1
SetTextureCoordinates,7,0,1
CreateMeshBuilder
Cube,1.2,0.1,9.4
Translate,0,3.52,-9.7
GenerateNormals
SetColor,130,130,131
CreateMeshBuilder
Cube,1.25,0.1,2
Translate,0,3.52,-9.5
GenerateNormals
SetColor,130,130,131
CreateMeshBuilder;天井
AddVertex,-1.4,3.4,-0.25
AddVertex,1.4,3.4,-0.25
AddVertex,1.4,3.4,-19.75
AddVertex,-1.4,3.4,-19.75
AddFace2,0,1,2,3
GenerateNormals
SetColor,160,160,160
CreateMeshBuilder;空調
AddVertex,-1.1,3.5,-7.8
AddVertex,-1.05,3.75,-7.8
AddVertex,-0.92,3.9,-7.8
AddVertex,-0.3,4.1,-7.8
AddVertex,0.3,4.1,-7.8
AddVertex,0.92,3.9,-7.8
AddVertex,1.05,3.75,-7.8
AddVertex,1.1,3.5,-7.8
AddVertex,1.1,3.5,-11.2
AddVertex,1.05,3.75,-11.2
AddVertex,0.92,3.9,-11.2
AddVertex,0.3,4.1,-11.2
AddVertex,-0.3,4.1,-11.2
AddVertex,-0.92,3.9,-11.2
AddVertex,-1.05,3.75,-11.2
AddVertex,-1.1,3.5,-11.2
AddFace,0,1,14,15
AddFace,1,2,13,14
AddFace,2,3,12,13
AddFace,3,4,11,12
AddFace,4,5,10,11
AddFace,5,6,9,10
AddFace,6,7,8,9
AddFace,7,6,5,4,3,2,1,0
AddFace,15,14,13,12,11,10,9,8
GenerateNormals
LoadTexture,ac.bmp
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0.1,0
SetTextureCoordinates,2,0.2,0
SetTextureCoordinates,3,0.4,0
SetTextureCoordinates,4,0.6,0
SetTextureCoordinates,5,0.8,0
SetTextureCoordinates,6,0.9,0
SetTextureCoordinates,7,1,0
SetTextureCoordinates,8,1,1
SetTextureCoordinates,9,0.9,1
SetTextureCoordinates,10,0.8,1
SetTextureCoordinates,11,0.6,1
SetTextureCoordinates,12,0.4,1
SetTextureCoordinates,13,0.2,1
SetTextureCoordinates,14,0.1,1
SetTextureCoordinates,15,0,1
CreateMeshBuilder
Cube,0.2,0.05,0.15
Translate,0,3.87,-2.1
GenerateNormals
SetColor,180,181,182
CreateMeshBuilder
Cube,0.15,0.1,0.12
Translate,0,3.8,-2.1
GenerateNormals
SetColor,140,141,142
;////////////////床下
CreateMeshBuilder
AddVertex,-1.4,1,-0.25
AddVertex,1.4,1,-0.25
AddVertex,1.4,1,-19.7
AddVertex,1.25,1,-19.8
AddVertex,-1.25,1,-19.8
AddVertex,-1.4,1,-19.7
AddFace2,0,1,2,3,4,5
GenerateNormals
SetColor,40,40,40

;////////////////連結面
CreateMeshBuilder
Cube,0.4,1,0.3
Translate,0,2.1,0
SetColor,55,50,40
CreateMeshBuilder
Cube,0.2,0.1,1
Translate,0,0.9,0
SetColor,50,50,40
CreateMeshBuilder
Cube,0.5,0.2,0.4
Translate,0,0.8,-0.7
GenerateNormals
SetColor,50,50,40
CreateMeshBuilder
Cube,0.02,0.5,0.1
Translate,1.3,1.8,-0.2
SetColor,125,125,126
CreateMeshBuilder
Cube,0.02,0.5,0.1
Translate,-1.3,1.8,-0.2
SetColor,125,125,126







CreateMeshBuilder
Cube,0.4,0.7,9.5,
GenerateNormals
SetColor,125,125,126
Translate,1,0.3,-9.7,

CreateMeshBuilder
Cube,0.4,0.7,9.5,
GenerateNormals
SetColor,125,125,126
Translate,-1,0.3,-9.7,

translateall,0,0,10


