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
AddVertex,-1.4,3.4,-19.75
AddVertex,-1.15,3.6,-19.75
AddVertex,-0.4,3.72,-19.75
AddVertex,0.4,3.72,-19.75
AddVertex,1.15,3.6,-19.75
AddVertex,1.4,3.4,-19.75
AddVertex,1.4,1,-19.75
AddVertex,-1.4,1,-19.75
AddFace2,0,1,2,3,4,5,6,7
AddFace2,8,9,10,11,12,13,14,15
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,side1.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
SetDecalTransparentColor,0,0,0
CreateMeshBuilder;車端部
AddVertex,1.4,3.4,-19.75
AddVertex,1.4,3.4,-18.2
AddVertex,1.4,1,-18.2
AddVertex,1.4,1,-19.75
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
AddVertex,-1.4,3.4,-18.2
AddVertex,-1.4,3.4,-19.75
AddVertex,-1.4,1,-19.75
AddVertex,-1.4,1,-18.2
AddFace2,0,1,2,3
AddFace2,4,5,6,7
AddFace2,8,9,10,11
AddFace2,12,13,14,15
GenerateNormals
LoadTexture,side2.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
SetTextureCoordinates,8,0,0
SetTextureCoordinates,9,1,0
SetTextureCoordinates,10,1,1
SetTextureCoordinates,11,0,1
SetTextureCoordinates,12,1,0
SetTextureCoordinates,13,0,0
SetTextureCoordinates,14,0,1
SetTextureCoordinates,15,1,1
SetDecalTransparentColor,0,0,0
CreateMeshBuilder;側面〜屋根
AddVertex,1.15,3.6,-19.75
AddVertex,1.15,3.6,-0.25
AddVertex,1.4,3.4,-0.25
AddVertex,1.4,3.4,-19.75
AddVertex,-1.15,3.6,-0.25
AddVertex,-1.15,3.6,-19.75
AddVertex,-1.4,3.4,-19.75
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.75
AddVertex,0.4,3.72,-19.75
AddVertex,-0.4,3.72,-19.75
AddVertex,-1.15,3.6,-19.75
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.7
Translate,0,3.52,-10
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.75
AddVertex,-1.4,1,-19.75
AddFace2,0,1,2,3
GenerateNormals
SetColor,40,40,40
CreateMeshBuilder;機器
AddVertex,1,1,-15
AddVertex,1,1,-5
AddVertex,1,0.3,-5
AddVertex,1,0.3,-15
AddVertex,-1,1,-5
AddVertex,-1,1,-15
AddVertex,-1,0.3,-15
AddVertex,-1,0.3,-5
AddFace2,0,1,2,3
AddFace2,4,5,6,7
GenerateNormals
LoadTexture,underM.bmp
SetTextureCoordinates,0,0,0.5
SetTextureCoordinates,1,1,0.5
SetTextureCoordinates,2,1,1
SetTextureCoordinates,3,0,1
SetTextureCoordinates,4,1,0.5
SetTextureCoordinates,5,0,0.5
SetTextureCoordinates,6,0,1
SetTextureCoordinates,7,1,1
SetDecalTransparentColor,0,0,0
CreateMeshBuilder
Cube,0.9,0.3,8
Translate,0,0.7,-10
GenerateNormals
SetColor,40,40,40,120
;////////////////車輪−
CreateMeshBuilder
Cylinder,20,0.43,0.43,0.1
Rotate,0,0,1,90
Translate,-0.7,0.43,-18
SetColor,60,55,55
CreateMeshBuilder
Cylinder,20,0.43,0.43,0.1
Rotate,0,0,1,90
Translate,-0.7,0.43,-15.8
SetColor,60,55,55
CreateMeshBuilder
Cylinder,20,0.43,0.43,0.1
Rotate,0,0,1,90
Translate,0.7,0.43,-18
SetColor,60,55,55
CreateMeshBuilder
Cylinder,20,0.43,0.43,0.1
Rotate,0,0,1,90
Translate,0.7,0.43,-15.8
SetColor,60,55,55
;////////////////車輪＋
CreateMeshBuilder
Cylinder,20,0.43,0.43,0.1
Rotate,0,0,1,90
Translate,-0.7,0.43,-2
SetColor,60,55,55
CreateMeshBuilder
Cylinder,20,0.43,0.43,0.1
Rotate,0,0,1,90
Translate,-0.7,0.43,-4.2
SetColor,60,55,55
CreateMeshBuilder
Cylinder,20,0.43,0.43,0.1
Rotate,0,0,1,90
Translate,0.7,0.43,-2
SetColor,60,55,55
CreateMeshBuilder
Cylinder,20,0.43,0.43,0.1
Rotate,0,0,1,90
Translate,0.7,0.43,-4.2
SetColor,60,55,55
;////////////////車軸
CreateMeshBuilder
Cylinder,9,-0.1,-0.1,2.2
Rotate,0,0,1,90
Translate,0,0.43,-2
SetColor,60,55,55
CreateMeshBuilder
Cylinder,9,-0.1,-0.1,2.2
Rotate,0,0,1,90
Translate,0,0.43,-4.1
SetColor,60,55,55
CreateMeshBuilder
Cylinder,9,-0.1,-0.1,2.2
Rotate,0,0,1,90
Translate,0,0.43,-15.9
SetColor,60,55,55
CreateMeshBuilder
Cylinder,9,-0.1,-0.1,2.2
Rotate,0,0,1,90
Translate,0,0.43,-18
SetColor,60,55,55
CreateMeshBuilder;台車
AddVertex,-1.1,1,-1.8
AddVertex,-1.1,1,-4.4
AddVertex,-1.1,0.2,-4.4
AddVertex,-1.1,0.2,-1.8
AddVertex,-1.1,1,-15.6
AddVertex,-1.1,1,-18.2
AddVertex,-1.1,0.2,-18.2
AddVertex,-1.1,0.2,-15.6
AddVertex,1.1,1,-18.2
AddVertex,1.1,1,-15.6
AddVertex,1.1,0.2,-15.6
AddVertex,1.1,0.2,-18.2
AddVertex,1.1,1,-4.4
AddVertex,1.1,1,-1.8
AddVertex,1.1,0.2,-1.8
AddVertex,1.1,0.2,-4.4
AddFace2,0,1,2,3
AddFace2,4,5,6,7
AddFace2,8,9,10,11
AddFace2,12,13,14,15
GenerateNormals
LoadTexture,T10.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
SetTextureCoordinates,8,0,0
SetTextureCoordinates,9,1,0
SetTextureCoordinates,10,1,1
SetTextureCoordinates,11,0,1
SetTextureCoordinates,12,1,0
SetTextureCoordinates,13,0,0
SetTextureCoordinates,14,0,1
SetTextureCoordinates,15,1,1
SetDecalTransparentColor,0,0,0
;////////////////連結面
CreateMeshBuilder
Cube,0.5,0.2,0.4
Translate,0,0.8,-19.3
GenerateNormals
SetColor,50,50,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,-19.8
SetColor,125,125,126
CreateMeshBuilder
Cube,0.02,0.5,0.1
Translate,-1.3,1.8,-19.8
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.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