CreateMeshBuilder;妻面
AddVertex,-1.4,3.3,-0.25
AddVertex,-1.2,3.5,-0.25
AddVertex,-0.4,3.6,-0.25
AddVertex,0.4,3.6,-0.25
AddVertex,1.2,3.5,-0.25
AddVertex,1.4,3.3,-0.25
AddVertex,1.4,1,-0.25
AddVertex,-1.4,1,-0.25
AddVertex,-1.4,3.3,-19.75
AddVertex,-1.2,3.5,-19.75
AddVertex,-0.4,3.6,-19.75
AddVertex,0.4,3.6,-19.75
AddVertex,1.2,3.5,-19.75
AddVertex,1.4,3.3,-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,190,190,192
;////////////////側面
CreateMeshBuilder
AddVertex,1.4,3.3,-18.1
AddVertex,1.4,3.3,-1.9
AddVertex,1.4,1,-1.9
AddVertex,1.4,1,-18.1
AddVertex,-1.4,3.3,-1.9
AddVertex,-1.4,3.3,-18.1
AddVertex,-1.4,1,-18.1
AddVertex,-1.4,1,-1.9
AddFace2,0,1,2,3
AddFace2,4,5,6,7
GenerateNormals
LoadTexture,side1.bmp
SetTextureCoordinates,0,0,0.1
SetTextureCoordinates,1,1,0.1
SetTextureCoordinates,2,1,1
SetTextureCoordinates,3,0,1
SetTextureCoordinates,4,0,0.1
SetTextureCoordinates,5,1,0.1
SetTextureCoordinates,6,1,1
SetTextureCoordinates,7,0,1
SetDecalTransparentColor,0,0,0
CreateMeshBuilder;車端部
AddVertex,1.4,3.3,-19.75
AddVertex,1.4,3.3,-18.1
AddVertex,1.4,1,-18.1
AddVertex,1.4,1,-19.75
AddVertex,1.4,3.3,-1.9
AddVertex,1.4,3.3,-0.25
AddVertex,1.4,1,-0.25
AddVertex,1.4,1,-1.9
AddVertex,-1.4,3.3,-0.25
AddVertex,-1.4,3.3,-1.9
AddVertex,-1.4,1,-1.9
AddVertex,-1.4,1,-0.25
AddVertex,-1.4,3.3,-18.1
AddVertex,-1.4,3.3,-19.75
AddVertex,-1.4,1,-19.75
AddVertex,-1.4,1,-18.1
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.1
SetTextureCoordinates,1,1,0.1
SetTextureCoordinates,2,1,1
SetTextureCoordinates,3,0,1
SetTextureCoordinates,4,1,0.1
SetTextureCoordinates,5,0,0.1
SetTextureCoordinates,6,0,1
SetTextureCoordinates,7,1,1
SetTextureCoordinates,8,0,0.1
SetTextureCoordinates,9,1,0.1
SetTextureCoordinates,10,1,1
SetTextureCoordinates,11,0,1
SetTextureCoordinates,12,1,0.1
SetTextureCoordinates,13,0,0.1
SetTextureCoordinates,14,0,1
SetTextureCoordinates,15,1,1
SetDecalTransparentColor,0,0,0
CreateMeshBuilder;窓
AddVertex,1.38,3.1,-19.6
AddVertex,1.38,3.1,-0.4
AddVertex,1.38,1.9,-0.4
AddVertex,1.38,1.9,-19.6
AddVertex,-1.38,3.1,-0.4
AddVertex,-1.38,3.1,-19.6
AddVertex,-1.38,1.9,-19.6
AddVertex,-1.38,1.9,-0.4
AddFace,0,1,2,3
AddFace,4,5,6,7
GenerateNormals
SetColor,87,95,99,220
CreateMeshBuilder;側面〜屋根
AddVertex,1.2,3.5,-19.75
AddVertex,1.2,3.5,-0.25
AddVertex,1.4,3.3,-0.25
AddVertex,1.4,3.3,-19.75
AddVertex,-1.2,3.5,-0.25
AddVertex,-1.2,3.5,-19.75
AddVertex,-1.4,3.3,-19.75
AddVertex,-1.4,3.3,-0.25
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,0.1
SetTextureCoordinates,3,0,0.1
SetTextureCoordinates,4,0,0
SetTextureCoordinates,5,1,0
SetTextureCoordinates,6,1,0.1
SetTextureCoordinates,7,0,0.1
;////////////////屋根上
CreateMeshBuilder
AddVertex,-1.2,3.5,-0.25
AddVertex,-0.4,3.6,-0.25
AddVertex,0.4,3.6,-0.25
AddVertex,1.2,3.5,-0.25
AddVertex,-1.2,3.5,-19.75
AddVertex,-0.4,3.6,-19.75
AddVertex,0.4,3.6,-19.75
AddVertex,1.2,3.5,-19.75
AddFace2,0,1,5,4
AddFace2,1,2,6,5
AddFace2,2,3,7,6
GenerateNormals
LoadTexture,roof.bmp
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0.4,0
SetTextureCoordinates,2,0.6,0
SetTextureCoordinates,3,1,0
SetTextureCoordinates,4,0,1
SetTextureCoordinates,5,0.4,1
SetTextureCoordinates,6,0.6,1
SetTextureCoordinates,7,1,1
CreateMeshBuilder;空調
AddVertex,-0.93,3.5,-7.4
AddVertex,-0.9,3.9,-7.4
AddVertex,-0.85,3.95,-7.4
AddVertex,-0.3,4,-7.4
AddVertex,0.3,4,-7.4
AddVertex,0.85,3.95,-7.4
AddVertex,0.9,3.9,-7.4
AddVertex,0.93,3.5,-7.4
AddVertex,-0.93,3.5,-12.6
AddVertex,-0.9,3.9,-12.6
AddVertex,-0.85,3.95,-12.6
AddVertex,-0.3,4,-12.6
AddVertex,0.3,4,-12.6
AddVertex,0.85,3.95,-12.6
AddVertex,0.9,3.9,-12.6
AddVertex,0.93,3.5,-12.6
AddFace,0,1,9,8
AddFace,1,2,10,9
AddFace,2,3,11,10
AddFace,3,4,12,11
AddFace,4,5,13,12
AddFace,5,6,14,13
AddFace,6,7,15,14
AddFace,7,6,5,4,3,2,1,0
AddFace,8,9,10,11,12,13,14,15
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,0,1
SetTextureCoordinates,9,0.1,1
SetTextureCoordinates,10,0.2,1
SetTextureCoordinates,11,0.4,1
SetTextureCoordinates,12,0.6,1
SetTextureCoordinates,13,0.8,1
SetTextureCoordinates,14,0.9,1
SetTextureCoordinates,15,1,1
CreateMeshBuilder;天井
AddVertex,-1.4,3.3,-0.25
AddVertex,1.4,3.3,-0.25
AddVertex,1.4,3.3,-19.75
AddVertex,-1.4,3.3,-19.75
AddFace2,0,1,2,3
GenerateNormals
SetColor,190,190,192
;////////////////床下
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
AddFace2,1,4,7,2
AddFace2,5,0,3,6
GenerateNormals
LoadTexture,under.bmp
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,1,0
SetTextureCoordinates,2,1,0.5
SetTextureCoordinates,3,0,0.5
SetTextureCoordinates,4,1,0
SetTextureCoordinates,5,0,0
SetTextureCoordinates,6,0,0.5
SetTextureCoordinates,7,1,0.5
SetDecalTransparentColor,0,0,0
CreateMeshBuilder
Cube,0.9,0.3,8
Translate,0,0.7,-10
GenerateNormals
SetColor,40,40,40,120
;////////////////車輪−
CreateMeshBuilder
Cylinder,14,0.43,0.43,0.1
Rotate,0,0,1,90
Translate,-0.53,0.43,-18
SetColor,60,60,60
CreateMeshBuilder
Cylinder,14,0.43,0.43,0.1
Rotate,0,0,1,90
Translate,-0.53,0.43,-15.9
SetColor,60,60,60
CreateMeshBuilder
Cylinder,14,0.43,0.43,0.1
Rotate,0,0,1,90
Translate,0.53,0.43,-18
SetColor,60,60,60
CreateMeshBuilder
Cylinder,14,0.43,0.43,0.1
Rotate,0,0,1,90
Translate,0.53,0.43,-15.9
SetColor,60,60,60
;////////////////車輪＋
CreateMeshBuilder
Cylinder,14,0.43,0.43,0.1
Rotate,0,0,1,90
Translate,-0.53,0.43,-2
SetColor,60,60,60
CreateMeshBuilder
Cylinder,14,0.43,0.43,0.1
Rotate,0,0,1,90
Translate,-0.53,0.43,-4.1
SetColor,60,60,60
CreateMeshBuilder
Cylinder,14,0.43,0.43,0.1
Rotate,0,0,1,90
Translate,0.53,0.43,-2
SetColor,60,60,60
CreateMeshBuilder
Cylinder,14,0.43,0.43,0.1
Rotate,0,0,1,90
Translate,0.53,0.43,-4.1
SetColor,60,60,60
;////////////////車軸
CreateMeshBuilder
Cylinder,6,-0.1,-0.1,2
Rotate,0,0,1,90
Translate,0,0.43,-2
SetColor,60,60,60
CreateMeshBuilder
Cylinder,6,-0.1,-0.1,2
Rotate,0,0,1,90
Translate,0,0.43,-4.1
SetColor,60,60,60
CreateMeshBuilder
Cylinder,6,-0.1,-0.1,2
Rotate,0,0,1,90
Translate,0,0.43,-15.9
SetColor,60,60,60
CreateMeshBuilder
Cylinder,6,-0.1,-0.1,2
Rotate,0,0,1,90
Translate,0,0.43,-18
SetColor,60,60,60
CreateMeshBuilder;台車
AddVertex,-1,1,-1.8
AddVertex,-1,1,-4.3
AddVertex,-1,0.2,-4.3
AddVertex,-1,0.2,-1.8
AddVertex,-1,1,-15.7
AddVertex,-1,1,-18.2
AddVertex,-1,0.2,-18.2
AddVertex,-1,0.2,-15.7
AddVertex,1,1,-18.2
AddVertex,1,1,-15.7
AddVertex,1,0.2,-15.7
AddVertex,1,0.2,-18.2
AddVertex,1,1,-4.3
AddVertex,1,1,-1.8
AddVertex,1,0.2,-1.8
AddVertex,1,0.2,-4.3
AddFace2,0,1,2,3
AddFace2,4,5,6,7
AddFace2,8,9,10,11
AddFace2,12,13,14,15
GenerateNormals
LoadTexture,nd730.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,80,80,75
CreateMeshBuilder
Cube,0.4,1,0.3
Translate,0,2.1,0
SetColor,80,80,75
CreateMeshBuilder
Cube,0.2,0.1,1
Translate,0,0.9,0
SetColor,80,80,75
CreateMeshBuilder
Cube,0.5,0.2,0.4
Translate,0,0.8,-0.7
GenerateNormals
SetColor,80,80,75
CreateMeshBuilder
AddVertex,1.4,2.5,-19.9
AddVertex,1.42,2.5,-19.7
AddVertex,1.42,1.2,-19.7
AddVertex,1.4,1.2,-19.9
AddVertex,1.42,2.5,-0.3
AddVertex,1.4,2.5,-0.1
AddVertex,1.4,1.2,-0.1
AddVertex,1.42,1.2,-0.3
AddVertex,-1.4,2.5,-0.1
AddVertex,-1.42,2.5,-0.3
AddVertex,-1.42,1.2,-0.3
AddVertex,-1.4,1.2,-0.1
AddVertex,-1.42,2.5,-19.7
AddVertex,-1.4,2.5,-19.9
AddVertex,-1.4,1.2,-19.9
AddVertex,-1.42,1.2,-19.7
AddFace2,0,1,2,3
AddFace2,4,5,6,7
AddFace2,8,9,10,11
AddFace2,12,13,14,15
GenerateNormals
LoadTexture,horo.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
CreateMeshBuilder;影
Cube,1,0.05,10
Translate,0,0,-10
SetColor,40,40,40,180
;台座▼
CreateMeshBuilder
Cylinder,6,0.05,0.05,0.3
Translate,-0.5,3.7,-17.7
SetColor,185,183,182
CreateMeshBuilder
Cylinder,6,0.05,0.05,0.3
Translate,0.5,3.7,-17.7
SetColor,185,183,182
CreateMeshBuilder
Cylinder,6,0.05,0.05,0.3
Translate,-0.5,3.7,-16.8
SetColor,185,183,182
CreateMeshBuilder
Cylinder,6,0.05,0.05,0.3
Translate,0.5,3.7,-16.8
SetColor,185,183,182
CreateMeshBuilder
Cube,0.08,0.04,0.6
Translate,-0.5,3.7,-17.2
SetColor,125,125,126
CreateMeshBuilder
Cube,0.08,0.04,0.6
Translate,0.5,3.7,-17.2
SetColor,125,125,126
CreateMeshBuilder
Cube,0.04,0.02,0.6
Translate,-0.2,3.75,-17.2
SetColor,125,125,126
CreateMeshBuilder
Cube,0.04,0.02,0.6
Translate,0.2,3.75,-17.2
SetColor,125,125,126
CreateMeshBuilder
Cube,0.6,0.03,0.1
Translate,0,3.6,-16.8
SetColor,125,125,126
CreateMeshBuilder
Cube,0.6,0.03,0.1
Translate,0,3.6,-17.7
SetColor,125,125,126
CreateMeshBuilder
Cylinder,4,0.03,0.03,0.4
Rotate,0,0,1,90
Translate,0,3.8,-17.2
SetColor,125,125,126
CreateMeshBuilder
Cube,0.05,0.04,0.3
Rotate,1,0,0,8
Translate,-0.1,3.8,-17.4
SetColor,115,115,116
CreateMeshBuilder;避雷器
Cylinder,6,0.1,0.1,0.3
Translate,0.3,3.8,-17.5
SetColor,185,185,186
CreateMeshBuilder;ヒューズ
Cube,0.2,0.07,0.3
Translate,0,3.8,-19
SetColor,95,95,96
CreateMeshBuilder
Cube,0.1,0.1,0.05
Translate,0,3.7,-18.8
SetColor,95,95,96
CreateMeshBuilder
Cube,0.1,0.1,0.05
Translate,0,3.7,-19.2
SetColor,95,95,96
;▲台座/シュー▼
CreateMeshBuilder
AddVertex,-0.6,5,-16.9
AddVertex,-0.5,5.1,-16.9
AddVertex,0.5,5.1,-16.9
AddVertex,0.6,5,-16.9
AddVertex,0.6,5,-16.6
AddVertex,0.5,5.1,-16.6
AddVertex,-0.5,5.1,-16.6
AddVertex,-0.6,5,-16.6
AddFace2,0,1,6,7
AddFace2,1,2,5,6
AddFace2,2,3,4,5
GenerateNormals
LoadTexture,shoe.bmp
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0.1,0
SetTextureCoordinates,2,0.9,0
SetTextureCoordinates,3,1,0
SetTextureCoordinates,4,1,1
SetTextureCoordinates,5,0.9,1
SetTextureCoordinates,6,0.1,1
SetTextureCoordinates,7,0,1
SetDecalTransparentColor,0,0,0
CreateMeshBuilder
Cube,0.03,0.03,0.1
Translate,-0.3,5.06,-16.75
SetColor,126,126,127
CreateMeshBuilder
Cube,0.03,0.03,0.1
Translate,0.3,5.06,-16.75
SetColor,126,126,127
CreateMeshBuilder
Cylinder,4,0.01,0.01,1
Rotate,0,0,1,90
Translate,0,5.09,-16.67
SetColor,126,126,127
CreateMeshBuilder
Cylinder,4,0.01,0.01,0.6
Rotate,0,0,1,90
Translate,0,5.06,-16.75
SetColor,166,166,167
CreateMeshBuilder
Cylinder,4,0.01,0.01,1
Rotate,0,0,1,90
Translate,0,5.09,-16.83
SetColor,126,126,127
CreateMeshBuilder
Cylinder,4,0.01,0.01,0.3
Rotate,0,0,1,-52
Translate,-0.6,5,-16.67
SetColor,153,153,155
CreateMeshBuilder
Cylinder,4,0.01,0.01,0.3
Rotate,0,0,1,-52
Translate,-0.6,5,-16.83
SetColor,168,169,169
CreateMeshBuilder
Cylinder,4,0.01,0.01,0.3
Rotate,0,0,1,52
Translate,0.6,5,-16.67
SetColor,168,169,169
CreateMeshBuilder
Cylinder,4,0.01,0.01,0.3
Rotate,0,0,1,52
Translate,0.6,5,-16.83
SetColor,168,169,169
;▲シュー/アーム▼
CreateMeshBuilder
Cylinder,6,0.02,0.02,1.5
Rotate,1,0,0,63
Translate,0,4.72,-17.43
SetColor,153,153,155
CreateMeshBuilder
Cylinder,6,0.02,0.02,1
Rotate,1,0,0,-61
Translate,0,4.03,-17.62
SetColor,153,153,155
CreateMeshBuilder
Cube,0.04,0.1,0.02
Rotate,1,0,0,-15
Translate,0,4.32,-18.07
SetColor,153,153,155
CreateMeshBuilder
Cube,0.02,0.08,0.02
Rotate,1,0,0,45
Translate,0,4.34,-18.13
SetColor,153,153,155
CreateMeshBuilder
Cylinder,4,0.01,0.01,1.55
Rotate,1,0,0,59
Translate,0.02,4.66,-17.4
SetColor,153,153,155
CreateMeshBuilder
Cylinder,4,0.01,0.01,0.8
Rotate,1,0,0,-50
Translate,0,4.03,-17.85
SetColor,153,153,155