;//都営６０００系三田線,,,,
;------ボディ------,,,,

CreateMeshBuilder,,;//クーラー,,
AddVertex,-0.5,3.6,-19.44,
AddVertex,-0.5,3.84,-19.44,
AddVertex,-0.5,3.6,-18.44,
AddVertex,-0.5,3.84,-18.44,
AddVertex,0.5,3.6,-19.44,
AddVertex,0.5,3.84,-19.44,
AddVertex,0.5,3.6,-18.44,
AddVertex,0.5,3.84,-18.44,
AddFace,2,3,1,0
AddFace,3,7,5,1
AddFace,4,5,7,6
AddFace,0,1,5,4
AddFace,6,7,3,2
SetColor,150,150,150,
Translate,0,0,0,
GenerateNormals,,,,

CreateMeshBuilder,,;//クーラー,,
AddVertex,-0.8,3.6,-18.44,
AddVertex,-0.8,3.84,-18.44,
AddVertex,-0.8,3.6,-0.3,
AddVertex,-0.8,3.84,-0.3,
AddVertex,0.8,3.6,-18.44,
AddVertex,0.8,3.84,-18.44,
AddVertex,0.8,3.6,-0.3,
AddVertex,0.8,3.84,-0.3,
AddFace,2,3,1,0
AddFace,3,7,5,1
AddFace,4,5,7,6
AddFace,0,1,5,4
AddFace,6,7,3,2
SetColor,150,150,150,
Translate,0,0,0,
GenerateNormals,,,,

CreateMeshBuilder,,;//右側面,,
AddVertex,-0.82,3.6,-18.44,
AddVertex,-0.82,3.84,-18.44,
AddVertex,-0.82,3.84,-0.3,
AddVertex,-0.82,3.6,-0.3,
AddFace,0,3,2,1
GenerateNormals,,,,

LoadTexture,cooler4.bmp,,,
SetTextureCoordinates,0,0.0035,1,
SetTextureCoordinates,1,0.0035,0.003,
SetTextureCoordinates,2,1.002,0.003,
SetTextureCoordinates,3,1.002,1,


CreateMeshBuilder,,;//底面,,
AddVertex     ,-1.4,1,-18.44,
AddVertex     ,-1.4,1,0,
AddVertex     ,1.4,1,0,
AddVertex     ,1.4,1,-18.44,
AddVertex     ,-1.35,1,-18.44,
AddVertex     ,1.35,1,-18.44,
AddFace,0,3,2,1
AddFace,4,5,3,0
SetColor,0,0,0,
GenerateNormals,,,,

CreateMeshBuilder,,;//左側面,,
AddVertex,0.82,3.6,-18.44,
AddVertex,0.82,3.84,-18.44,
AddVertex,0.82,3.84,-0.3,
AddVertex,0.82,3.6,-0.3,
AddFace,0,1,2,3
GenerateNormals,,,,

LoadTexture,cooler4.bmp,,,
SetTextureCoordinates,0,0.0035,1,
SetTextureCoordinates,1,0.0035,0.003,
SetTextureCoordinates,2,1.002,0.003,
SetTextureCoordinates,3,1.002,1,

CreateMeshBuilder,,;//標識灯左上,
AddVertex,1.14,1.38,-17.52
AddVertex,1.14,1.5,-17.52
AddVertex,1.17,1.36,-17.52
AddVertex,1.17,1.52,-17.52
AddVertex,1.33,1.36,-17.52
AddVertex,1.33,1.52,-17.52
AddVertex,1.35,1.38,-17.52
AddVertex,1.35,1.5,-17.52
AddVertex,1.15,1.38,-17.42
AddVertex,1.15,1.5,-17.42
AddVertex,1.17,1.36,-17.42
AddVertex,1.17,1.52,-17.42
AddVertex,1.33,1.36,-17.42,
AddVertex,1.33,1.52,-17.42,
AddVertex,1.35,1.38,-17.42,
AddVertex,1.35,1.5,-17.42,
AddFace,1,9,11,3
AddFace,3,11,13,5
AddFace,5,13,15,7
AddFace,7,15,14,6
AddFace,6,14,12,4
AddFace,4,12,10,2
AddFace,2,10,8,0
AddFace,0,8,9,1
AddFace,0,1,7,6
AddFace,1,3,5,7
AddFace,2,0,6,4
SetColor,190,190,190,
Translate,-0.135,1.99,-2
GenerateNormals,,,

LoadTexture,taillamp-OFF.bmp,,
SetTextureCoordinates,0,0.03,0.95
SetTextureCoordinates,1,0.03,0.05
SetTextureCoordinates,2,0.06,1
SetTextureCoordinates,3,0.06,0
SetTextureCoordinates,4,0.94,1
SetTextureCoordinates,5,0.94,0
SetTextureCoordinates,6,0.97,0.95
SetTextureCoordinates,7,0.97,0.05
SetTextureCoordinates,8,0,0.95
SetTextureCoordinates,9,0,0.05
SetTextureCoordinates,10,0,1
SetTextureCoordinates,11,0,0
SetTextureCoordinates,12,1,1
SetTextureCoordinates,13,1,0
SetTextureCoordinates,14,1,0.95
SetTextureCoordinates,15,1,0.05


CreateMeshBuilder,,;//標識灯右上,
AddVertex,-1.14,1.38,-17.52
AddVertex,-1.14,1.5,-17.52
AddVertex,-1.17,1.36,-17.52
AddVertex,-1.17,1.52,-17.52
AddVertex,-1.33,1.36,-17.52
AddVertex,-1.33,1.52,-17.52
AddVertex,-1.35,1.38,-17.52
AddVertex,-1.35,1.5,-17.52
AddVertex,-1.14,1.38,-17.42
AddVertex,-1.14,1.5,-17.42,
AddVertex,-1.17,1.36,-17.42,
AddVertex,-1.17,1.52,-17.42,
AddVertex,-1.33,1.36,-17.42,
AddVertex,-1.33,1.52,-17.42,
AddVertex,-1.35,1.38,-17.42,
AddVertex,-1.35,1.5,-17.42,
AddFace,1,3,11,9
AddFace,3,5,13,11
AddFace,5,7,15,13
AddFace,7,6,14,15
AddFace,6,4,12,14
AddFace,4,2,10,12
AddFace,2,0,8,10
AddFace,0,1,9,8
AddFace,0,6,7,1
AddFace,1,7,5,3
AddFace,2,4,6,0
SetColor,190,190,190,
Translate,0.135,1.99,-2,
GenerateNormals,,,,

LoadTexture,taillamp-OFF.bmp,,,
SetTextureCoordinates,0,0.03,0.95,
SetTextureCoordinates,1,0.03,0.05,
SetTextureCoordinates,2,0.06,1,
SetTextureCoordinates,3,0.06,0,
SetTextureCoordinates,4,0.94,1,
SetTextureCoordinates,5,0.94,0,
SetTextureCoordinates,6,0.97,0.95,
SetTextureCoordinates,7,0.97,0.05,
SetTextureCoordinates,8,0,0.95,
SetTextureCoordinates,9,0,0.05
SetTextureCoordinates,10,0,1
SetTextureCoordinates,11,0,0
SetTextureCoordinates,12,1,1
SetTextureCoordinates,13,1,0
SetTextureCoordinates,14,1,0.95
SetTextureCoordinates,15,1,0.05


CreateMeshBuilder,,;//前面,,,,,
AddVertex     ,-1.4,1,-19.45,,,,
AddVertex     ,-1.4,3.58,-19.45,,,,
AddVertex     ,-0.5,1,-19.55,,,,
AddVertex     ,-0.5,3.58,-19.55,,,,
AddVertex     ,0.5,1,-19.55,,,,
AddVertex     ,0.5,3.58,-19.55,,,,
AddVertex     ,1.4,1,-19.45,,,,
AddVertex     ,1.4,3.58,-19.45,,,,
AddVertex     ,-1.37,3.66,-19.44,,,,
AddVertex     ,-1.31,3.7,-19.446,,,,
AddVertex     ,-0.5,3.8,-19.55,,,,
AddVertex     ,0,3.8,-19.55,,,,
AddVertex     ,0.5,3.8,-19.55,,,,
AddVertex     ,1.31,3.7,-19.446,,,,
AddVertex     ,1.37,3.66,-19.44,,,,
AddFace2,0,2,3,1,,,
AddFace2,2,4,5,3,,,
AddFace2,4,6,7,5,,,
AddFace2,1,3,9,8,,,
AddFace2,3,10,9,,,,
AddFace2,3,11,10,,,,
AddFace2,3,5,11,,,,
AddFace2,5,12,11,,,,
AddFace2,5,13,12,,,,
AddFace2,7,14,13,5,,,
GenerateNormals,,,,,,,
,,,,,,,
LoadTexture,dpn_mc.bmp,,,,,,
SetTextureCoordinates,0,0,0.995,,,,
SetTextureCoordinates,1,0,0.0815,,,,
SetTextureCoordinates,2,0.3214,0.995,,,,
SetTextureCoordinates,3,0.3214,0.0815,,,,
SetTextureCoordinates,4,0.6786,0.995,,,,
SetTextureCoordinates,5,0.6786,0.0815,,,,
SetTextureCoordinates,6,1,0.995,,,,
SetTextureCoordinates,7,1,0.0815,,,,
SetTextureCoordinates,8,0.001,0.08,,,,
SetTextureCoordinates,9,0.015,0.04,,,,
SetTextureCoordinates,10,0.3214,0.003,,,,
SetTextureCoordinates,11,0.5,0,,,,
SetTextureCoordinates,12,0.6786,0.003,,,,
SetTextureCoordinates,13,0.985,0.04,,,,
SetTextureCoordinates,14,0.999,0.08,,,,
SetDecalTransparentColor,0,0,255,,,,

CreateMeshBuilder,,;//渡り板,,
AddVertex,-0.25,1.13,-19.75,
AddVertex,-0.35,1.13,-19.55,
AddVertex,0.25,1.13,-19.75,
AddVertex,0.35,1.13,-19.55,
AddVertex,-0.25,1.12,-19.75,
AddVertex,-0.35,1.12,-19.55,
AddVertex,0.25,1.12,-19.75,
AddVertex,0.35,1.12,-19.55,
AddFace,0,1,3,2
AddFace,4,6,7,5
AddFace,4,0,2,6
AddFace,5,1,0,4
AddFace,6,2,3,7
SetColor,163,162,163,
GenerateNormals,,,,

,,,,,,,
CreateMeshBuilder,,;//前面窓部,,,,,
AddVertex,-1.4,1,-19.58,,,,
AddVertex,1.4,1,-19.58,,,,
AddVertex,1.4,3.8,-19.58,,,,
AddVertex,-1.4,3.8,-19.58,,,,
AddFace2,0,1,2,3,,,
LoadTexture,lamp.bmp,,,,,,
SetTextureCoordinates,0,1,1,,,,
SetTextureCoordinates,1,0,1,,,,
SetTextureCoordinates,2,0,0,,,,
SetTextureCoordinates,3,1,0,,,,
SetDecalTransparentColor,0,0,255,,,,
,,,,,,,
CreateMeshBuilder,,,,,,,
Cylinder,20,0.16,0.16,0.12,,,
Rotate,1,0,0,90,,,
Translate,-1.114,1.821,-19.51,,,,
SetColor,150,150,150,,,,
,,,,,,,
CreateMeshBuilder,,,,,,,
Cylinder,20,0.16,0.16,0.12,,,
Rotate,1,0,0,90,,,
Translate,1.114,1.821,-19.51,,,,
SetColor,150,150,150,,,,
,,,,,,,
CreateMeshBuilder,,,,,,,
Cylinder,20,0.16,0.16,0.12,,,
Rotate,1,0,0,90,,,
Translate,-0.86,1.821,-19.51,,,,
SetColor,150,150,150,,,,
,,,,,,,
CreateMeshBuilder,,,,,,,
Cylinder,20,0.16,0.16,0.12,,,
Rotate,1,0,0,90,,,
Translate,0.86,1.821,-19.51,,,,
SetColor,150,150,150,,,,
,,,,,,,
CreateMeshBuilder,,;//連結器,,,,,
Cube,0.13,0.13,0.159,,,,
SetColor,150,150,150,,,,
Rotate,1,0,0,90,,,
Translate,-0.97,1.821,-19.44,,,,
,,,,,,,
CreateMeshBuilder,,;//連結器,,,,,
Cube,0.13,0.13,0.159,,,,
SetColor,150,150,150,,,,
Rotate,1,0,0,90,,,
Translate,0.97,1.821,-19.44,,,,
,,,,,,,
CreateMeshBuilder,,;//前面,,,,,
AddVertex     ,-1.4,1,-19.45,,,,
AddVertex     ,-1.4,3.58,-19.45,,,,
AddVertex     ,-0.5,1,-19.55,,,,
AddVertex     ,-0.5,3.58,-19.55,,,,
AddVertex     ,0.5,1,-19.55,,,,
AddVertex     ,0.5,3.58,-19.55,,,,
AddVertex     ,1.4,1,-19.45,,,,
AddVertex     ,1.4,3.58,-19.45,,,,
AddVertex     ,-1.37,3.66,-19.44,,,,
AddVertex     ,-1.31,3.7,-19.446,,,,
AddVertex     ,-0.5,3.8,-19.55,,,,
AddVertex     ,0,3.8,-19.55,,,,
AddVertex     ,0.5,3.8,-19.55,,,,
AddVertex     ,1.31,3.7,-19.446,,,,
AddVertex     ,1.37,3.66,-19.44,,,,
AddFace2,0,2,3,1,,,
AddFace2,2,4,5,3,,,
AddFace2,4,6,7,5,,,
AddFace2,1,3,9,8,,,
AddFace2,3,10,9,,,,
AddFace2,3,11,10,,,,
AddFace2,3,5,11,,,,
AddFace2,5,12,11,,,,
AddFace2,5,13,12,,,,
AddFace2,7,14,13,5,,,
,,,,,,,
LoadTexture,dpn2.bmp,,,,,,
SetTextureCoordinates,0,0,0.995,,,,
SetTextureCoordinates,1,0,0.0815,,,,
SetTextureCoordinates,2,0.3214,0.995,,,,
SetTextureCoordinates,3,0.3214,0.0815,,,,
SetTextureCoordinates,4,0.6786,0.995,,,,
SetTextureCoordinates,5,0.6786,0.0815,,,,
SetTextureCoordinates,6,1,0.995,,,,
SetTextureCoordinates,7,1,0.0815,,,,
SetTextureCoordinates,8,0.001,0.08,,,,
SetTextureCoordinates,9,0.015,0.04,,,,
SetTextureCoordinates,10,0.3214,0.003,,,,
SetTextureCoordinates,11,0.5,0,,,,
SetTextureCoordinates,12,0.6786,0.003,,,,
SetTextureCoordinates,13,0.985,0.04,,,,
SetTextureCoordinates,14,0.999,0.08,,,,
SetDecalTransparentColor,0,0,255,,,,
translate,0,0,0.01,,,,

CreateMeshBuilder,,;//前面窓部,,
AddVertex,-1.4,1,0,
AddVertex,1.4,1,0,
AddVertex,1.4,3.8,0,
AddVertex,-1.4,3.8,0,
AddFace2,0,1,2,3
LoadTexture,blk.bmp,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,0,1,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,1,0,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,,;//前面窓部,,
AddVertex,-1.4,1,-0.005,
AddVertex,1.4,1,-0.005,
AddVertex,1.4,3.8,-0.005,
AddVertex,-1.4,3.8,-0.005,
AddFace2,0,1,2,3
LoadTexture,blk_int.bmp,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,0,1,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,1,0,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,,;//前面窓部,,
AddVertex,-1.4,1,-18.45,
AddVertex,1.4,1,-18.45,
AddVertex,1.4,3.8,-18.45,
AddVertex,-1.4,3.8,-18.45,
AddFace2,3,2,1,0
LoadTexture,cabin.bmp,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,0,1,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,1,0,
SetDecalTransparentColor,0,0,255,

;------屋根上機器------,,,,
CreateMeshBuilder,,;//屋根上機器,,
AddVertex ,0.9,3.62,-13.4,;0
AddVertex ,0.9,3.83,-13.4,;1
AddVertex ,0.9,3.83,-10.4,;2
AddVertex ,0.9,3.62,-10.4,;3
AddVertex ,0.6,3.98,-13.4,;4
AddVertex ,0.6,3.98,-10.4,;5
AddVertex ,0,4.07,-10.4,;6
AddVertex ,0,4.07,-13.4,;7
AddVertex ,-0.6,3.98,-13.4,;8
AddVertex ,-0.6,3.98,-10.4,;9
AddVertex ,-0.9,3.62,-13.4,;10
AddVertex ,-0.9,3.83,-13.4,;11
AddVertex ,-0.9,3.83,-10.4,;12
AddVertex ,-0.9,3.62,-10.4,;13
AddFace,0,1,2,3
AddFace,1,4,5,2
AddFace,4,7,6,5
AddFace,7,8,9,6
AddFace,8,11,12,9
AddFace,11,10,13,12
GenerateNormals,,,,

LoadTexture,cooler.bmp,,,
SetTextureCoordinates,0,1,0,
SetTextureCoordinates,1,1,0.2,
SetTextureCoordinates,2,0,0.2,
SetTextureCoordinates,3,0,0,
SetTextureCoordinates,4,1,0.5,
SetTextureCoordinates,5,0,0.5,
SetTextureCoordinates,6,0,0.99,
SetTextureCoordinates,7,1,0.99,
SetTextureCoordinates,8,1,0.5,
SetTextureCoordinates,9,0,0.5,
SetTextureCoordinates,10,1,0,
SetTextureCoordinates,11,1,0.2
SetTextureCoordinates,12,0,0.2
SetTextureCoordinates,13,0,0


CreateMeshBuilder,,;//屋根上機器,
AddVertex ,-0.9,3.6,-13.4
AddVertex ,-0.9,3.83,-13.4
AddVertex ,-0.6,3.98,-13.4
AddVertex ,0,4.07,-13.4
AddVertex ,0.6,3.98,-13.4
AddVertex ,0.9,3.83,-13.4
AddVertex ,0.9,3.6,-13.4
AddVertex ,-0.9,3.6,-10.4
AddVertex ,-0.9,3.83,-10.4
AddVertex ,-0.6,3.98,-10.4
AddVertex ,0,4.07,-10.4,,,,
AddVertex ,0.6,3.98,-10.4,,,,
AddVertex ,0.9,3.83,-10.4,,,,
AddVertex ,0.9,3.6,-10.4,,,,
AddFace2,0,1,2,3,4,5,6
AddFace2,7,8,9,10,11,12,13
SetColor,200,200,200,,,,
GenerateNormals,,,,,,,


CreateMeshBuilder,,;//屋根上機器,,,,,
AddVertex ,0.9,3.62,-7.1,;0,,,
AddVertex ,0.9,3.83,-7.1,;1,,,
AddVertex ,0.9,3.83,-4.1,;2,,,
AddVertex ,0.9,3.62,-4.1,;3,,,
AddVertex ,0.6,3.98,-7.1,;4,,,
AddVertex ,0.6,3.98,-4.1,;5
AddVertex ,0,4.07,-4.1,;6
AddVertex ,0,4.07,-7.1,;7
AddVertex ,-0.6,3.98,-7.1,;8
AddVertex ,-0.6,3.98,-4.1,;9
AddVertex ,-0.9,3.62,-7.1,;10
AddVertex ,-0.9,3.83,-7.1,;11
AddVertex ,-0.9,3.83,-4.1,;12
AddVertex ,-0.9,3.62,-4.1,;13
AddFace,0,1,2,3
AddFace,1,4,5,2
AddFace,4,7,6,5
AddFace,7,8,9,6
AddFace,8,11,12,9
AddFace,11,10,13,12
GenerateNormals,,,,

LoadTexture,cooler.bmp,,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,0.2
SetTextureCoordinates,2,1,0.2
SetTextureCoordinates,3,1,0
SetTextureCoordinates,4,0,0.5
SetTextureCoordinates,5,1,0.5
SetTextureCoordinates,6,1,0.99
SetTextureCoordinates,7,0,0.99
SetTextureCoordinates,8,0,0.5
SetTextureCoordinates,9,1,0.5
SetTextureCoordinates,10,0,0
SetTextureCoordinates,11,0,0.2
SetTextureCoordinates,12,1,0.2
SetTextureCoordinates,13,1,0


CreateMeshBuilder,,;//屋根上機器,
AddVertex ,-0.9,3.6,-7.1
AddVertex ,-0.9,3.83,-7.1
AddVertex ,-0.6,3.98,-7.1
AddVertex ,0,4.07,-7.1
AddVertex ,0.6,3.98,-7.1
AddVertex ,0.9,3.83,-7.1
AddVertex ,0.9,3.6,-7.1
AddVertex ,-0.9,3.6,-4.1
AddVertex ,-0.9,3.83,-4.1
AddVertex ,-0.6,3.98,-4.1
AddVertex ,0,4.07,-4.1
AddVertex ,0.6,3.98,-4.1
AddVertex ,0.9,3.83,-4.1
AddVertex ,0.9,3.6,-4.1,,,,
AddFace2,0,1,2,3,4,5,6
AddFace2,7,8,9,10,11,12,13
SetColor,200,200,200,,,,
GenerateNormals,,,,,,,

CreateMeshBuilder,,;//左側面転落防止幌,,,,,
AddVertex,1.41,1.2,-0.03,,,,
AddVertex,1.41,2.4,-0.03,,,,
AddVertex,1.41,2.4,0.2,,,,
AddVertex,1.41,1.2,0.2,,,,
AddFace2,0,1,2,3,,,
GenerateNormals,,,,,,,

LoadTexture,horo2.bmp,,,,,,
SetTextureCoordinates,0,0.03,1,,,,
SetTextureCoordinates,1,0.03,0,
SetTextureCoordinates,2,0.99,0,
SetTextureCoordinates,3,0.99,1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,,;//右側面転落防止幌,,
AddVertex,-1.41,1.2,-0.03,
AddVertex,-1.41,2.4,-0.03,
AddVertex,-1.41,2.4,0.2,
AddVertex,-1.41,1.2,0.2,
AddFace2,0,1,2,3
GenerateNormals,,,,

LoadTexture,horo2.bmp,,,
SetTextureCoordinates,0,0.03,1,
SetTextureCoordinates,1,0.03,0,
SetTextureCoordinates,2,0.99,0,
SetTextureCoordinates,3,0.99,1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,,;//連結幌,
AddVertex     ,-0.38,3.2,0.25
AddVertex     ,-0.38,3.2,0
AddVertex     ,0.38,3.2,0
AddVertex     ,0.38,3.2,0.25
AddVertex     ,0.45,3.13,0
AddVertex     ,0.45,3.13,0.25
AddVertex     ,0.45,1.19,0
AddVertex     ,0.45,1.19,0.25
AddVertex     ,0.38,1.12,0
AddVertex     ,0.38,1.12,0.25
AddVertex     ,-0.45,3.13,0.25
AddVertex     ,-0.45,3.13,0
AddVertex     ,-0.45,1.19,0
AddVertex     ,-0.45,1.19,0.25
AddVertex     ,-0.38,1.12,0
AddVertex     ,-0.38,1.12,0.25,
AddFace2,0,1,2,3
AddFace2,4,2,3,5
AddFace2,6,4,5,7
AddFace2,8,6,7,9
AddFace2,1,11,10,0
AddFace2,11,12,13,10
AddFace2,12,14,15,13
AddFace2,8,14,15,9
GenerateNormals,,,,

LoadTexture,horo.bmp,,,
SetTextureCoordinates,0,1,0,
SetTextureCoordinates,1,0,1,
SetTextureCoordinates,2,0,1,
SetTextureCoordinates,3,1,0,
SetTextureCoordinates,4,0,1
SetTextureCoordinates,5,1,0
SetTextureCoordinates,6,0,5
SetTextureCoordinates,7,1,0
SetTextureCoordinates,8,0,1
SetTextureCoordinates,9,1,0
SetTextureCoordinates,10,1,0
SetTextureCoordinates,11,0,1
SetTextureCoordinates,12,0,5
SetTextureCoordinates,13,1,0
SetTextureCoordinates,14,0,1
SetTextureCoordinates,15,1,0
















;Kode hibah - kanan
CreateMeshBuilder
AddVertex,-1.367,1.32,-18.3
AddVertex,-1.367,1.72,-18.3
AddVertex,-1.367,1.72,-17.8
AddVertex,-1.367,1.32,-17.8
AddFace2,0,1,2,3
GenerateNormals

LoadTexture,hibah.jpg,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,1,0
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255

;Kode hibah - kiri
CreateMeshBuilder
AddVertex,1.367,1.32,-18.3
AddVertex,1.367,1.72,-18.3
AddVertex,1.367,1.72,-17.8
AddVertex,1.367,1.32,-17.8
AddFace2,0,3,2,1
GenerateNormals

LoadTexture,hibah.jpg,,,
SetTextureCoordinates,0,1,1
SetTextureCoordinates,1,1,0
SetTextureCoordinates,2,0,0
SetTextureCoordinates,3,0,1
SetDecalTransparentColor,0,0,255

CreateMeshBuilder,,;//左側面,
AddVertex,1.4,1,-19.45
AddVertex,1.4,3.48,-19.45
AddVertex,1.4,3.48,0
AddVertex,1.4,1,0
AddFace2,0,1,2,3
GenerateNormals,,,,

LoadTexture,side1.bmp,,,
SetTextureCoordinates,0,0.0035,1,
SetTextureCoordinates,1,0.0035,0.003,
SetTextureCoordinates,2,1.002,0.003,
SetTextureCoordinates,3,1.002,1,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,,;//左側面,
AddVertex,1.37,1,-19.45
AddVertex,1.37,3.48,-19.45
AddVertex,1.37,3.48,0
AddVertex,1.37,1,0
AddFace2,0,1,2,3
GenerateNormals,,,,

LoadTexture,side int.bmp,,,
SetTextureCoordinates,0,0.0035,1,
SetTextureCoordinates,1,0.0035,0.003,
SetTextureCoordinates,2,1.002,0.003,
SetTextureCoordinates,3,1.002,1,
SetDecalTransparentColor,0,0,255,















CreateMeshBuilder,,;//右側面,,
AddVertex,-1.4,1,-19.45,
AddVertex,-1.4,3.48,-19.45,
AddVertex,-1.4,3.48,0,
AddVertex,-1.4,1,0,
AddFace2,0,3,2,1
GenerateNormals,,,,

LoadTexture,side1-2.bmp,,
SetTextureCoordinates,0,0.0035,1
SetTextureCoordinates,1,0.0035,0.003
SetTextureCoordinates,2,1.002,0.003
SetTextureCoordinates,3,1.002,1
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder,,;//右側面,,
AddVertex,-1.37,1,-19.45,
AddVertex,-1.37,3.48,-19.45,
AddVertex,-1.37,3.48,0,
AddVertex,-1.37,1,0,
AddFace2,0,3,2,1
GenerateNormals,,,,

LoadTexture,side int.bmp,,
SetTextureCoordinates,0,0.0035,1
SetTextureCoordinates,1,0.0035,0.003
SetTextureCoordinates,2,1.002,0.003
SetTextureCoordinates,3,1.002,1
SetDecalTransparentColor,0,0,255,




























;------屋根------,,,
CreateMeshBuilder,,;//屋根,
AddVertex,-1.4,3.48,-19.45
AddVertex,-1.4,3.48,0
AddVertex,-1.37,3.56,-19.45
AddVertex,-1.37,3.56,0
AddVertex,-1.31,3.6,-19.45
AddVertex,-1.31,3.6,0
AddVertex,-0.5,3.685,-19.45
AddVertex,-0.5,3.685,0
AddVertex,0,3.7,-19.45
AddVertex,0,3.7,0,
AddVertex,0.5,3.685,-19.45,
AddVertex,0.5,3.685,0,
AddVertex,1.31,3.6,-19.45,
AddVertex,1.31,3.6,0,
AddVertex,1.37,3.56,-19.45,
AddVertex,1.37,3.56,0,
AddVertex,1.4,3.48,-19.45,
AddVertex,1.4,3.48,0,
AddFace,0,1,3,2
AddFace,2,3,5,4
AddFace,4,5,7,6
AddFace,6,7,9,8
AddFace,8,9,11,10
AddFace,10,11,13,12
AddFace,12,13,15,14
AddFace,14,15,17,16
GenerateNormals,,,,

LoadTexture,yane.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,0.03,1,
SetTextureCoordinates,3,0.03,0,
SetTextureCoordinates,4,0.2,1,
SetTextureCoordinates,5,0.2,0,
SetTextureCoordinates,6,0.35,1,
SetTextureCoordinates,7,0.35,0,
SetTextureCoordinates,8,0.5,1,
SetTextureCoordinates,9,0.5,0,
SetTextureCoordinates,10,0.65,1,
SetTextureCoordinates,11,0.65,0,
SetTextureCoordinates,12,0.8,1
SetTextureCoordinates,13,0.8,0
SetTextureCoordinates,14,0.97,1
SetTextureCoordinates,15,0.97,0
SetTextureCoordinates,16,1,1
SetTextureCoordinates,17,1,0

CreateMeshBuilder,,;//列車無線アンテナ,
Cube,0.075,0.1,0.025
SetColor,180,180,180
Translate ,0,3.84,-18
GenerateNormals,,,


CreateMeshBuilder,,;//列車無線アンテナ,
Cube,0.075,0.1,0.025
SetColor,180,180,180
Translate ,0,3.84,-17.53
GenerateNormals,,,


CreateMeshBuilder,,;//列車無線アンテナ,
Cube,0.075,0.1,0.025
SetColor,180,180,180
Translate ,0,3.84,-17.17
GenerateNormals,,,


CreateMeshBuilder,,;//列車無線アンテナ,
Cube,0.075,0.1,0.025
SetColor,180,180,180
Translate ,0,3.84,-16.7
GenerateNormals,,,


CreateMeshBuilder,,;//列車無線アンテナ,
Cube,0.03,0.025,0.75
SetColor,180,180,180
Translate ,0,3.89,-17.35
GenerateNormals,,,


CreateMeshBuilder,,;//列車無線アンテナ,
Cube,0.03,0.025,0.75
SetColor,180,180,180
Translate ,0,4.1,-17.35
GenerateNormals,,,


CreateMeshBuilder,,;//列車無線アンテナ,
Cube,0.03,0.12,0.025
SetColor,180,180,180
Translate ,0,3.995,-18.09
GenerateNormals,,,


CreateMeshBuilder,,;//列車無線アンテナ,
Cube,0.03,0.12,0.025
SetColor,180,180,180
Translate ,0,3.995,-16.6
GenerateNormals,,,


CreateMeshBuilder,,;//列車無線アンテナ,
Cube,0.11,0.045,0.2
SetColor,180,180,180
Translate ,0,3.98,-17.35
GenerateNormals,,,


CreateMeshBuilder,,;//列車無線アンテナ,
Cube,0.13,0.005,0.23
SetColor,180,180,180
Translate ,0,4.03,-17.35
GenerateNormals,,,


CreateMeshBuilder,,;//列車無線アンテナ,
Cube,0.015,0.1,0.015
SetColor,180,180,180
Translate ,0,4,-17.63
GenerateNormals,,,


CreateMeshBuilder,,;//列車無線アンテナ,
Cube,0.015,0.1,0.015
SetColor,180,180,180
Translate ,0,4,-17.07
GenerateNormals,,,

































































;------スカート------,,,
CreateMeshBuilder,,;//スカート,
AddVertex,-0.86,0.2,-19.45
AddVertex,-0.86,1,-19.45
AddVertex,0.86,0.2,-19.45
AddVertex,0.86,1,-19.45
AddVertex,-1.4,0.2,-19.45,
AddVertex,-1.4,1,-19.45,
AddVertex,1.4,0.2,-19.45,
AddVertex,1.4,1,-19.45,
AddFace2,0,1,3,2
AddFace2,4,5,1,0
AddFace2,2,3,7,6
GenerateNormals,,,,

LoadTexture,skart.bmp,,,
SetTextureCoordinates,0,0.15,1,
SetTextureCoordinates,1,0.15,0,
SetTextureCoordinates,2,0.85,1,
SetTextureCoordinates,3,0.85,0,
SetTextureCoordinates,4,0.02,1,
SetTextureCoordinates,5,0.02,0,
SetTextureCoordinates,6,0.98,1,
SetTextureCoordinates,7,0.98,0,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//スカート左側面,,
AddVertex,1.37,0.47,-19.4,
AddVertex,1.37,1,-19.4,
AddVertex,1.37,1,-18.95,
AddVertex,1.37,0.47,-18.95,
AddFace2,0,1,2,3
GenerateNormals,,,,

LoadTexture,skart2.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//スカート右側面,,
AddVertex,-1.37,0.47,-19.4,
AddVertex,-1.37,1,-19.4,
AddVertex,-1.37,1,-18.95,
AddVertex,-1.37,0.47,-18.95,
AddFace2,0,3,2,1
GenerateNormals,,,,

LoadTexture,skart2.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0
SetTextureCoordinates,3,1,1
SetDecalTransparentColor,0,0,0


;------連結器------,,,
CreateMeshBuilder,,;//連結器取付け部,
AddVertex,-0.57,1,-19.47
AddVertex,0.57,1,-19.47
AddVertex,0.57,0.62,-19.47
AddVertex,-0.57,0.62,-19.47
AddVertex,0.53,0.62,-19.47
AddVertex,0.53,1,-19.47
AddVertex,0.53,1,-19.38
AddVertex,0.53,0.62,-19.38
AddVertex,-0.53,0.62,-19.48
AddVertex,-0.53,1,-19.48,
AddVertex,-0.53,1,-19.38,
AddVertex,-0.53,0.62,-19.38,
AddFace,0,1,2,3
AddFace,4,5,6,7
AddFace,8,11,10,9
GenerateNormals,,,,

LoadTexture,front-under.bmp,,,
SetTextureCoordinates,0,0,0.005,
SetTextureCoordinates,1,1,0.005,
SetTextureCoordinates,2,1,0.995,
SetTextureCoordinates,3,0,0.995,
SetTextureCoordinates,4,0.955,0.995,
SetTextureCoordinates,5,0.955,0.005,
SetTextureCoordinates,6,0.955,0.005,
SetTextureCoordinates,7,0.955,0.995
SetTextureCoordinates,8,0.955,0.995
SetTextureCoordinates,9,0.955,0.005
SetTextureCoordinates,10,0.955,0.005
SetTextureCoordinates,11,0.955,0.995
SetDecalTransparentColor,0,0,0

CreateMeshBuilder,,;//連結器,
Cube,0.08,0.065,0.15
SetColor,35,35,35
Translate        ,0,0.88,-19.5
GenerateNormals,,,


CreateMeshBuilder,,;//連結器,
Cube,0.08,0.1,0.04
SetColor,35,35,35
Translate        ,-0.08,0.88,-19.8
GenerateNormals,,,


CreateMeshBuilder,,;//連結器,
Cube,0.04,0.09,0.08
SetColor,35,35,35
Translate        ,-0.13,0.88,-19.7
GenerateNormals,,,


CreateMeshBuilder,,;//連結器,
Cube,0.05,0.11,0.03
SetColor,35,35,35
Translate        ,0,0.88,-19.65
GenerateNormals,,,


CreateMeshBuilder,,;//連結器,
Cube,0.13,0.11,0.03
SetColor,35,35,35
Translate        ,0,0.88,-19.62
GenerateNormals,,,


CreateMeshBuilder,,;//連結器,
Cube,0.04,0.09,0.1
SetColor,35,35,35
Translate        ,0.13,0.88,-19.65


CreateMeshBuilder,,;//連結器,
AddVertex,0.17,0.965,-19.75
AddVertex,0.09,0.965,-19.75
AddVertex,0.13,0.88,-19.85
AddVertex,0.09,0.795,-19.75
AddVertex,0.17,0.795,-19.75
AddFace,0,2,1
AddFace,2,4,3
AddFace,3,1,2
AddFace,0,4,2
SetColor,35,35,35
GenerateNormals,,,


CreateMeshBuilder,,;//連結器,
AddVertex,-0.35,0.6,-19.45
AddVertex,-0.35,0.9,-19.45,
AddVertex,0.25,0.9,-19.45,
AddVertex,0.25,0.6,-19.45,
AddFace2,0,1,2,3
GenerateNormals,,,,

LoadTexture,lever.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//後面連結器,,
Cube,0.1,0.1,0.75,
SetColor,35,35,35
Translate,0,0.9,0
GenerateNormals,,,
SetColor,25,25,25
GenerateNormals,,,




































;------台車(前）------,,,,
CreateMeshBuilder,,;//左台車,,
AddVertex   ,0.95,0.05,-18.57,
AddVertex   ,0.95,1.05,-18.57,
AddVertex   ,0.95,1.05,-14.93,
AddVertex   ,0.95,0.05,-14.93,
AddFace,0,1,2,3
GenerateNormals,,,,

LoadTexture,daisha1.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//左台車,,
AddVertex   ,0.8,0.05,-18.57,
AddVertex   ,0.8,1.05,-18.57,
AddVertex   ,0.8,1.05,-14.93,
AddVertex   ,0.8,0.05,-14.93,
AddFace2,0,1,2,3
SetColor,30,30,30,
GenerateNormals,,,,

LoadTexture,daisha1.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//左台車,,
AddVertex   ,1.1,0.35,-17.15,
AddVertex   ,1.1,1,-17.15,
AddVertex   ,1.1,1,-16.15,
AddVertex   ,1.1,0.35,-16.15,
AddFace,0,1,2,3
GenerateNormals,,,,

LoadTexture,daisha2.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//左台車,,
AddVertex   ,1,0.35,-17.15,
AddVertex   ,1,1,-17.15,
AddVertex   ,1,1,-16.15,
AddVertex   ,1,0.35,-16.15,
AddFace2,0,1,2,3
SetColor,170,170,170,
GenerateNormals,,,,

LoadTexture,daisha2.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//右台車,,
AddVertex   ,-0.95,0.05,-18.57,
AddVertex   ,-0.95,1.05,-18.57,
AddVertex   ,-0.95,1.05,-14.93,
AddVertex   ,-0.95,0.05,-14.93,
AddFace,0,3,2,1
GenerateNormals,,,,

LoadTexture,daisha1.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//右台車,,
AddVertex   ,-0.8,0.05,-18.57,
AddVertex   ,-0.8,1.05,-18.57,
AddVertex   ,-0.8,1.05,-14.93,
AddVertex   ,-0.8,0.05,-14.93,
AddFace2,0,1,2,3
SetColor,30,30,30,
GenerateNormals,,,,

LoadTexture,daisha1.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//右台車,,
AddVertex   ,-1.1,0.35,-17.15,
AddVertex   ,-1.1,1,-17.15,
AddVertex   ,-1.1,1,-16.15,
AddVertex   ,-1.1,0.35,-16.15,
AddFace,0,3,2,1
Translate,0,0,-0.1,
GenerateNormals,,,,

LoadTexture,daisha2.bmp,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//右台車,,
AddVertex   ,-1,0.35,-17.15,
AddVertex   ,-1,1,-17.15,
AddVertex   ,-1,1,-16.15,
AddVertex   ,-1,0.35,-16.15,
AddFace2,0,1,2,3
Translate,0,0,-0.1
SetColor,170,170,170
GenerateNormals,,,

LoadTexture,daisha2.bmp,,
SetTextureCoordinates,0,1,1
SetTextureCoordinates,1,1,0
SetTextureCoordinates,2,0,0
SetTextureCoordinates,3,0,1
SetDecalTransparentColor,0,0,0


CreateMeshBuilder,,;//台車,
Cube,0.75,0.1,0.5
SetColor,22,19,10
Translate,0,0.9,-16.75
GenerateNormals,,,,


CreateMeshBuilder,,;//車軸前,,
Cylinder,4,0.08,0.08,1.65
SetColor,20,20,10,
Rotate,0,0,1,90
Translate ,0,0.45,-17.8,


CreateMeshBuilder,,;//車軸後,,
Cylinder,4,0.08,0.08,1.65
SetColor,20,20,10,
Rotate,0,0,1,90
Translate ,0,0.45,-15.7,


;------台車(後）------,,,,
CreateMeshBuilder,,;//左台車,,
AddVertex   ,0.95,0.05,-18.57,
AddVertex   ,0.95,1.05,-18.57,
AddVertex   ,0.95,1.05,-14.93,
AddVertex   ,0.95,0.05,-14.93,
AddFace,0,1,2,3
Translate ,0,0,14,
GenerateNormals,,,,

LoadTexture,daisha1.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//左台車,,
AddVertex   ,0.8,0.05,-18.57,
AddVertex   ,0.8,1.05,-18.57,
AddVertex   ,0.8,1.05,-14.93,
AddVertex   ,0.8,0.05,-14.93,
AddFace2,0,1,2,3
SetColor,30,30,30,
Translate ,0,0,14,
GenerateNormals,,,,

LoadTexture,daisha1.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//左台車,,
AddVertex   ,1.1,0.35,-17.15,
AddVertex   ,1.1,1,-17.15,
AddVertex   ,1.1,1,-16.15,
AddVertex   ,1.1,0.35,-16.15,
AddFace,0,1,2,3
Translate ,0,0,14,
GenerateNormals,,,,

LoadTexture,daisha2.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//左台車,,
AddVertex   ,1,0.35,-17.15,
AddVertex   ,1,1,-17.15,
AddVertex   ,1,1,-16.15,
AddVertex   ,1,0.35,-16.15,
AddFace2,0,1,2,3
SetColor,170,170,170,
Translate ,0,0,14,
GenerateNormals,,,,

LoadTexture,daisha2.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//右台車,,
AddVertex   ,-0.95,0.05,-18.57,
AddVertex   ,-0.95,1.05,-18.57,
AddVertex   ,-0.95,1.05,-14.93,
AddVertex   ,-0.95,0.05,-14.93,
AddFace,0,3,2,1
Translate ,0,0,14,
GenerateNormals,,,,

LoadTexture,daisha1.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//右台車,,
AddVertex   ,-0.8,0.05,-18.57,
AddVertex   ,-0.8,1.05,-18.57,
AddVertex   ,-0.8,1.05,-14.93,
AddVertex   ,-0.8,0.05,-14.93,
AddFace2,0,1,2,3
SetColor,30,30,30,
Translate ,0,0,14
GenerateNormals,,,

LoadTexture,daisha1.bmp,,
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,1,0
SetTextureCoordinates,3,1,1
SetDecalTransparentColor,0,0,0


CreateMeshBuilder,,;//右台車,
AddVertex   ,-1.1,0.35,-17.15
AddVertex   ,-1.1,1,-17.15
AddVertex   ,-1.1,1,-16.15
AddVertex   ,-1.1,0.35,-16.15
AddFace,0,3,2,1
Translate ,0,0,13.9,
GenerateNormals,,,,

LoadTexture,daisha2.bmp,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//右台車,,
AddVertex   ,-1,0.35,-17.15,
AddVertex   ,-1,1,-17.15,
AddVertex   ,-1,1,-16.15,
AddVertex   ,-1,0.35,-16.15,
AddFace2,0,1,2,3
SetColor,170,170,170,
Translate ,0,0,13.9,
GenerateNormals,,,,

LoadTexture,daisha2.bmp,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,0,


CreateMeshBuilder,,;//台車,,
Cube,0.75,0.1,0.5,
SetColor,22,19,10,
Translate,0,0.9,-2.75,
GenerateNormals,,,,


CreateMeshBuilder,,;//車軸前,,
Cylinder,4,0.08,0.08,1.65
SetColor,20,20,10,
Rotate,0,0,1,90
Translate ,0,0.45,-3.8,


CreateMeshBuilder,,;//車軸後,,
Cylinder,4,0.08,0.08,1.65
SetColor,20,20,10,
Rotate,0,0,1,90
Translate ,0,0.45,-1.7,


;------床下機器------,,,,
CreateMeshBuilder,,;//左側ステップ,,
AddVertex     ,1.32,0.49,-19,
AddVertex     ,1.32,1,-19,
AddVertex     ,1.32,1,-18.74,
AddVertex     ,1.32,0.49,-18.74,
AddFace2,0,1,2,3
GenerateNormals,,,,

LoadTexture,step.bmp,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,,;//右側ステップ,,
AddVertex     ,-1.32,0.49,-19,
AddVertex     ,-1.32,1,-19,
AddVertex     ,-1.32,1,-18.74,
AddVertex     ,-1.32,0.49,-18.74,
AddFace2,0,1,2,3
GenerateNormals,,,,

LoadTexture,step.bmp,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,,;//床下機器,
Cube,0.75,0.15,0.6
SetColor,22,19,10
Translate,0,0.85,-0.6
GenerateNormals,,,


CreateMeshBuilder,,;//床下機器,
Cube,1.1,0.15,0.5,
SetColor,22,19,10,
Translate,0,0.85,-18.9,
GenerateNormals,,,,


CreateMeshBuilder,,;//床下機器,,
AddVertex     ,1.1,0.25,-14.55,
AddVertex     ,1.1,1,-14.55,
AddVertex     ,1.1,1,-4.6,
AddVertex     ,1.1,0.25,-4.6,
AddVertex     ,-1.1,0.25,-14.55,
AddVertex     ,-1.1,1,-14.55,
AddVertex     ,-1.1,1,-4.6,
AddVertex     ,-1.1,0.25,-4.6,
AddFace,0,1,2,3
AddFace,4,7,6,5
GenerateNormals,,,,

LoadTexture,M-under.bmp,,,
SetTextureCoordinates,0,0,0.99,
SetTextureCoordinates,1,0,0.005,
SetTextureCoordinates,2,1,0.005,
SetTextureCoordinates,3,1,0.99,
SetTextureCoordinates,4,0,0.99,
SetTextureCoordinates,5,0,0.005,
SetTextureCoordinates,6,1,0.005,
SetTextureCoordinates,7,1,0.99,


CreateMeshBuilder,,;//床下機器,,
AddVertex     ,-1.1,0.25,-14.55,
AddVertex     ,-1.1,1,-14.55,
AddVertex     ,1.1,1,-14.55,
AddVertex     ,1.1,0.25,-14.55,
AddVertex     ,-1.1,0.25,-4.6,
AddVertex     ,-1.1,1,-4.6,
AddVertex     ,1.1,1,-4.6,
AddVertex     ,1.1,0.25,-4.6,
AddFace,0,1,2,3
AddFace,4,7,6,5
SetColor,25,20,20,
GenerateNormals,,,,

;------影------,,,,
CreateMeshBuilder,,;//影,,
AddVertex   ,-1.4,-0.1,-19.75,
AddVertex   ,-1.4,-0.1,0.25,
AddVertex   ,1.4,-0.1,0.25,
AddVertex   ,1.4,-0.1,-19.75,
AddFace,0,1,2,3
SetColor,0,0,0,150
GenerateNormals,,,,


;------パンタグラフ------,,,,
CreateMeshBuilder,,;//ベース,
Cube,0.05,0.05,0.66
SetColor,130,130,130
Translate,0.55,3.82,-2.75
GenerateNormals,,,


CreateMeshBuilder,,;//ベース,
Cube,0.05,0.05,0.66
SetColor,130,130,130
Translate,-0.55,3.82,-2.75
GenerateNormals,,,


CreateMeshBuilder,,;//ベース,
Cube,0.072,0.05,0.4
SetColor,130,130,130
Translate,0,3.82,-2.75
GenerateNormals,,,


CreateMeshBuilder,,;//ベース,
Cube,0.5,0.05,0.05
SetColor,130,130,130
Translate,0,3.82,-2.45
GenerateNormals,,,


CreateMeshBuilder,,;//ベース,
Cube,0.5,0.05,0.05
SetColor,130,130,130
Translate,0,3.82,-3.05
GenerateNormals,,,


CreateMeshBuilder,,;//碍子1,,
Cylinder,6,0.09,0.09,0.35
Translate,0.55,3.61,-3.35,
SetColor,200,200,200,
GenerateNormals,,,,


CreateMeshBuilder,,;//碍子2,,
Cylinder,6,0.09,0.09,0.35
Translate,-0.55,3.61,-3.35,
SetColor,200,200,200,
GenerateNormals,,,,


CreateMeshBuilder,,;//碍子3,,
Cylinder,6,0.09,0.09,0.35
Translate,0.55,3.61,-2.15,
SetColor,200,200,200,
GenerateNormals,,,,


CreateMeshBuilder,,;//碍子4,,
Cylinder,6,0.09,0.09,0.35
Translate,-0.55,3.61,-2.15,
SetColor,200,200,200,
GenerateNormals,,,,


CreateMeshBuilder,,;//アーム取付部,,
Cylinder,6,0.05,0.05,1.2
SetColor,140,140,140,
Rotate,0,0,1,90
Translate,0,3.88,-3.1,


CreateMeshBuilder,,;//アーム取付部,,
Cylinder,6,0.05,0.05,1.2
SetColor,140,140,140,
Rotate,0,0,1,90
Translate,0,3.88,-2.4,


CreateMeshBuilder,,;//左側アーム,,
Cylinder,4,0.025,0.025,1
SetColor,120,120,120,
Rotate,1,0,0,60
Translate,0.44,4.1,-1.95,


CreateMeshBuilder,,;//左側アーム,,
Cylinder,4,0.025,0.025,1.4
SetColor,120,120,120,
Rotate,1,0,0,117
Translate,0.44,4.68,-2.15,


CreateMeshBuilder,,;//左側アーム,,
Cylinder,4,0.025,0.025,1
SetColor,120,120,120,
Rotate,1,0,0,117
Translate,0.44,4.1,-3.55,


CreateMeshBuilder,,;//左側アーム,,
Cylinder,4,0.025,0.025,1.4
SetColor,120,120,120,
Rotate,1,0,0,62
Translate,0.44,4.68,-3.35,


CreateMeshBuilder,,;//右側アーム,,
Cylinder,4,0.025,0.025,1
SetColor,120,120,120,
Rotate,1,0,0,60
Translate,-0.44,4.1,-1.95,


CreateMeshBuilder,,;//右側アーム,,
Cylinder,4,0.025,0.025,1.4
SetColor,120,120,120,
Rotate,1,0,0,117
Translate,-0.44,4.68,-2.15,


CreateMeshBuilder,,;//右側アーム,,
Cylinder,4,0.025,0.025,1
SetColor,120,120,120,
Rotate,1,0,0,117
Translate,-0.44,4.1,-3.55,


CreateMeshBuilder,,;//右側アーム,,
Cylinder,4,0.025,0.025,1.4
SetColor,120,120,120,
Rotate,1,0,0,62
Translate,-0.44,4.68,-3.35,


CreateMeshBuilder,,;//アーム斜め棒,,
Cylinder,4,0.025,0.025,1.6
SetColor,120,120,120,
Rotate,1,0,0.73,65.5
Translate,0,4.68,-3.35,


CreateMeshBuilder,,;//アーム斜め棒,,
Cylinder,4,0.025,0.025,1.6
SetColor,120,120,120,
Rotate,1,0,0.7,112
Translate,0,4.7,-2.2,


CreateMeshBuilder,,;//アーム斜め棒,,
Cylinder,4,0.025,0.025,1.3
SetColor,120,120,120,
Rotate,1,0,0.95,112
Translate,0,4.07,-3.5,


CreateMeshBuilder,,;//アーム斜め棒,,
Cylinder,4,0.025,0.025,1.3
SetColor,120,120,120,
Rotate,1,0,0.95,65
Translate,0,4.07,-2,


CreateMeshBuilder,,;//アーム,,
Cylinder,4,0.02,0.02,0.95
SetColor,140,140,140,
Rotate,0,0,1,90
Translate,0,4.35,-3.97,


CreateMeshBuilder,,;//アーム,,
Cylinder,4,0.02,0.02,0.95
SetColor,140,140,140,
Rotate,0,0,1,90
Translate,0,4.35,-1.52,


CreateMeshBuilder,,;//アーム,,
Cylinder,4,0.025,0.025,0.95
SetColor,140,140,140,
Rotate,0,0,1,90
Translate,0,5.02,-2.75


CreateMeshBuilder,,;//集電部,
Cube,0.6,0.03,0.05
SetColor,90,90,90
Translate,0,5.07,-2.85
GenerateNormals,,,


CreateMeshBuilder,,;//集電部,
Cube,0.6,0.03,0.05
SetColor,90,90,90
Translate,0,5.07,-2.65
GenerateNormals,,,


CreateMeshBuilder,,;//集電部,,
Cylinder,4,0.02,0.02,1.5
SetColor,140,140,140,
Rotate,0,0,1,90
Translate,0,5.07,-2.85,


CreateMeshBuilder,,;//集電部,,
Cylinder,4,0.02,0.02,0.3
SetColor,140,140,140,
Rotate,0,0,1,45
Translate,0.85,4.97,-2.85,


CreateMeshBuilder,,;//集電部,,
Cylinder,4,0.02,0.02,0.3
SetColor,140,140,140,
Rotate,0,0,1,315
Translate,-0.85,4.97,-2.85,


CreateMeshBuilder,,;//集電部,,
Cylinder,4,0.02,0.02,1.5
SetColor,140,140,140,
Rotate,0,0,1,90
Translate,0,5.07,-2.65,


CreateMeshBuilder,,;//集電部,,
Cylinder,4,0.02,0.02,0.3
SetColor,140,140,140,
Rotate,0,0,1,45
Translate,0.85,4.97,-2.65,


CreateMeshBuilder,,;//集電部,,
Cylinder,4,0.02,0.02,0.3
SetColor,140,140,140,
Rotate,0,0,1,315
Translate,-0.85,4.97,-2.65,

CreateMeshBuilder,,;//機器箱,,
Cube,0.12,0.08,0.37,
SetColor,170,170,170,
Translate,-0.53,3.97,-0.6,
GenerateNormals,,,,

CreateMeshBuilder,,;//機器箱支柱,,
Cylinder,4,0.05,0.05,0.15
Translate             ,-0.53,3.85,-0.42,
SetColor,120,120,120,
GenerateNormals,,,,


CreateMeshBuilder,,;//機器箱支柱,,
Cylinder,4,0.05,0.05,0.15
Translate             ,-0.53,3.85,-0.78,
SetColor,120,120,120,
GenerateNormals,,,,


CreateMeshBuilder,,;//機器箱,,
Cube,0.12,0.08,0.37,
SetColor,170,170,170,
Translate,0.53,3.97,-0.6,
GenerateNormals,,,,


CreateMeshBuilder,,;//機器箱支柱,,
Cylinder,4,0.05,0.05,0.15
Translate             ,0.53,3.85,-0.42,
SetColor,120,120,120,
GenerateNormals,,,,


CreateMeshBuilder,,;//機器箱支柱,,
Cylinder,4,0.05,0.05,0.15
Translate             ,0.53,3.85,-0.8,
SetColor,120,120,120,
GenerateNormals,,,,

;------Kaca--------;,,,,
CreateMeshBuilder,,,,
AddVertex,1.39,1.9,-11.35,
AddVertex,1.39,3.2,-11.35,
AddVertex,1.39,3.2,-8.15,
AddVertex,1.39,1.9,-8.15,
AddFace2,0,1,2,3
SetColor,80,80,160,90
Translate,0,0,0,

CreateMeshBuilder,,,,
AddVertex,-1.39,1.9,-11.35,
AddVertex,-1.39,3.2,-11.35,
AddVertex,-1.39,3.2,-8.15,
AddVertex,-1.39,1.9,-8.15,
AddFace2,3,2,1,0
SetColor,80,80,160,90
Translate,0,0,0,

CreateMeshBuilder,,,,
AddVertex,1.39,1.9,-11.35,
AddVertex,1.39,3.2,-11.35,
AddVertex,1.39,3.2,-8.15,
AddVertex,1.39,1.9,-8.15,
AddFace2,0,1,2,3
SetColor,80,80,160,90
Translate,0,0,4.8,

CreateMeshBuilder,,,,
AddVertex,-1.39,1.9,-11.35,
AddVertex,-1.39,3.2,-11.35,
AddVertex,-1.39,3.2,-8.15,
AddVertex,-1.39,1.9,-8.15,
AddFace2,3,2,1,0
SetColor,80,80,160,90
Translate,0,0,4.8,

CreateMeshBuilder,,,,
AddVertex,1.39,1.9,-11.35,
AddVertex,1.39,3.2,-11.35,
AddVertex,1.39,3.2,-8.15,
AddVertex,1.39,1.9,-8.15,
AddFace2,0,1,2,3
SetColor,80,80,160,90
Translate,0,0,-4.85,

CreateMeshBuilder,,,,
AddVertex,-1.39,1.9,-11.35,
AddVertex,-1.39,3.2,-11.35,
AddVertex,-1.39,3.2,-8.15,
AddVertex,-1.39,1.9,-8.15,
AddFace2,3,2,1,0
SetColor,80,80,160,90
Translate,0,0,-4.85,

CreateMeshBuilder,,,,
AddVertex,1.39,1.9,-11.15,
AddVertex,1.39,3.2,-11.15,
AddVertex,1.39,3.2,-9.5,
AddVertex,1.39,1.9,-9.5,
AddFace2,0,1,2,3
SetColor,80,80,160,90
Translate,0,0,9.45,

CreateMeshBuilder,,,,
AddVertex,-1.39,1.9,-11.15,
AddVertex,-1.39,3.2,-11.15,
AddVertex,-1.39,3.2,-9.5,
AddVertex,-1.39,1.9,-9.5,
AddFace2,3,2,1,0
SetColor,80,80,160,90
Translate,0,0,9.45,

CreateMeshBuilder,,,,
AddVertex,-1.7,1.9,-9.452,
AddVertex,-1.7,3.2,-9.452,
AddVertex,-2.3,3.2,-9.452,
AddVertex,-2.3,1.9,-9.452,
AddFace2,0,1,2,3
SetColor,80,80,160,90
Translate,1,0,9.45,


CreateMeshBuilder,,,,
AddVertex,-1.6,1.9,-9.452,
AddVertex,-1.6,3.2,-9.452,
AddVertex,-2.2,3.2,-9.452,
AddVertex,-2.2,1.9,-9.452,
AddFace2,0,1,2,3
SetColor,80,80,160,90
Translate,2.9,0,9.45,

;--Kaca kabin masinis--

;Kiri
CreateMeshBuilder,,,,
AddVertex,1.39,2.0,-9,
AddVertex,1.39,3.2,-9,
AddVertex,1.39,3.2,-10.7,
AddVertex,1.39,2.0,-10.7,
AddFace2,0,1,2,3
SetColor,80,80,160,90
Translate,0,0,-8.75,

;Kanan
CreateMeshBuilder,,,,
AddVertex,-1.39,2.0,-9,
AddVertex,-1.39,3.2,-9,
AddVertex,-1.39,3.2,-10.7,
AddVertex,-1.39,2.0,-10.7,
AddFace2,3,2,1,0
SetColor,80,80,160,90
Translate,0,0,-8.75,

;--Kaca depan--
;Kanan
CreateMeshBuilder,,,,
AddVertex,-1.53,2.225,-19.54,
AddVertex,-1.53,3.055,-19.54,
AddVertex,-2.36,3.055,-19.45,
AddVertex,-2.36,2.225,-19.45,
AddFace2,0,1,2,3
setcolor,80,80,160,90
Translate,1.02,0,0,

;Tengah
CreateMeshBuilder,,,,
AddVertex,-2.52,2.22,-19.545,
AddVertex,-2.52,3.105,-19.545,
AddVertex,-3.38,3.105,-19.545,
AddVertex,-3.38,2.22,-19.545,
AddFace2,0,1,2,3
setcolor,80,80,160,90
Translate,2.9,0,0,

;Kiri
CreateMeshBuilder,,,,
AddVertex,-1.59,2.21,-19.45,
AddVertex,-1.59,3.055,-19.45,
AddVertex,-2.375,3.055,-19.54,
AddVertex,-2.375,2.21,-19.54,
AddFace2,0,1,2,3
setcolor,80,80,160,90
Translate,2.9,0,0,

CreateMeshBuilder,,;//lantai interior,,
AddVertex,-1.4,1.1,-19.45,
AddVertex,1.4,1.1,-19.45,
AddVertex,-1.4,1.1,0,
AddVertex,1.4,1.1,0,
AddFace,2,3,1,0
SetColor,172,143,119,
GenerateNormals

CreateMeshBuilder,,;//atap interior,,
AddVertex,-1.4,3.45,-19.45,
AddVertex,-1.4,3.45,0,
AddVertex,1.4,3.45,0,
AddVertex,1.4,3.45,-19.45,
AddFace2,0,1,2,3
SetColor,255,255,255,
GenerateNormals

LoadTexture,ceiling.bmp
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,1,1
SetTextureCoordinates,2,1,0
SetTextureCoordinates,3,0,0

;---Tongkat kemudi---
;
; Kiri
; - Penyangga
CreateMeshBuilder
Cube,0.07,0.1,0.05
SetColor,80,80,80
Translate,1.18,2.0,-19.21

; - Kendali
CreateMeshBuilder
Cylinder,15,0.05,0.05,0.05
SetColor,60,60,60
Translate,1.18,2.09,-19.21
GenerateNormals

; - Gagang handle
CreateMeshBuilder
Cylinder,15,0.03,0.03,0.09
SetColor,50,50,50
Translate,1.18,2.09,-19.21

CreateMeshBuilder
Cube,0.01,0.01,0.06
SetColor,50,50,50
Translate,1.18,2.125,-19.17

; Kanan
; - Penyangga
CreateMeshBuilder
Cube,0.07,0.1,0.05
SetColor,80,80,80
Translate,0.67,2.0,-19.21

; - Kendali
CreateMeshBuilder
Cylinder,15,0.05,0.05,0.05
SetColor,60,60,60
Translate,0.67,2.09,-19.21
GenerateNormals

; - Gagang handle
CreateMeshBuilder
Cylinder,15,0.03,0.03,0.09
SetColor,50,50,50
Translate,0.67,2.09,-19.21
GenerateNormals

CreateMeshBuilder
Cube,0.01,0.01,0.06
SetColor,50,50,50
Translate,0.67,2.125,-19.17
GenerateNormals

; Panel kendali
CreateMeshBuilder
Cube,0.4,0.37,0.15
SetColor,172,143,119
Translate,0.925,1.7,-19.3
GenerateNormals

CreateMeshBuilder,,;//前面窓部,,
AddVertex,1.24,2.07,-19.297,
AddVertex,0.61,2.07,-19.297,
AddVertex,0.61,2.23,-19.4,
AddVertex,1.24,2.23,-19.4,
AddFace,3,2,1,0
LoadTexture,panel.bmp,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,0,1,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,1,0,
SetDecalTransparentColor,0,0,255,

CreateMeshBuilder
AddVertex,0.61,2.07,-19.297
AddVertex,0.61,2.23,-19.4
AddVertex,0.61,2.07,-19.4
AddVertex,0.61,2.07,-19.297
AddFace2,0,1,2,3
SetColor,172,143,119
GenerateNormals

CreateMeshBuilder
AddVertex,1.24,2.07,-19.297
AddVertex,1.24,2.23,-19.4
AddVertex,1.24,2.07,-19.4
AddVertex,1.24,2.07,-19.297
AddFace2,0,1,2,3
SetColor,172,143,119
GenerateNormals

CreateMeshBuilder
Cube,0.315,0.11,0.015
SetColor,172,143,119
Translate,0.925,2.12,-19.415
GenerateNormals

;----- Panel kanan -----
; panel workspace
CreateMeshBuilder
AddVertex, -1.37, 2.10, -19.45
AddVertex, -1.37, 2.10, -19.2
AddVertex, -0.46, 2.10, -19.2
AddVertex, -0.46, 2.10, -19.45
AddFace2, 3, 2, 1, 0 ; top
AddVertex, -1.37, 2.10, -19.2
AddVertex, -1.37, 1.20, -19.2
AddVertex, -0.46, 1.20, -19.2
AddVertex, -0.46, 2.10, -19.2
AddFace2, 7, 6, 5, 4 ; front
AddVertex, -0.46, 2.10, -19.2
AddVertex, -0.46, 1.20, -19.2
AddVertex, -0.46, 1.20, -19.45
AddVertex, -0.46, 2.10, -19.45
AddFace2, 8, 9, 10, 11 ; right
AddVertex, -1.37, 1.20, -19.2
AddVertex, -1.37, 2.10, -19.2
AddVertex, -1.37, 2.10, -19.45
AddVertex, -1.37, 1.20, -19.45
AddFace2, 12, 13, 14, 15 ; left
SetColor,172,143,119

;----- Kursi masinis -----
;Penyangga
CreateMeshBuilder
Cylinder,10,0.05,0.05,0.5
SetColor,50,50,50
Translate,0.93,1.45,-18.72
GenerateNormals

;Lantai kiri
CreateMeshBuilder
Cube,0.46,0.07,0.48
SetColor,172,143,119
Translate,0.91,1.18,-18.94
GenerateNormals

;Lantai kanan
CreateMeshBuilder
Cube,0.46,0.07,0.48
SetColor,172,143,119
Translate,-0.91,1.18,-18.94
GenerateNormals

;Horizontal
CreateMeshBuilder
Cube,0.3,0.03,0.21
SetColor,255,255,0
Translate,0.93,1.68,-18.75
GenerateNormals

;Vertikal
CreateMeshBuilder
Cube,0.3,0.2,0.02
SetColor,255,255,0
Translate,0.93,1.85,-18.52

;Nomor gerbong & rangkaian
CreateMeshBuilder,,;//右側面車番,,
AddVertex,0.85,3.2,-18.445
AddVertex,0.85,3.3,-18.445
AddVertex,1.15,3.3,-18.445
AddVertex,1.15,3.2,-18.445
AddFace2,0,1,2,3
GenerateNormals,,,,

LoadTexture,num.bmp,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.85,
SetTextureCoordinates,2,0,0.85,
SetTextureCoordinates,3,0,1,

;Belakang
CreateMeshBuilder,,;//右側面車番,,
AddVertex,-0.85,3.2,-0.007
AddVertex,-0.85,3.3,-0.007
AddVertex,-1.15,3.3,-0.007
AddVertex,-1.15,3.2,-0.007
AddFace2,0,3,2,1
GenerateNormals,,,,

LoadTexture,num.bmp,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.85,
SetTextureCoordinates,2,0,0.85,
SetTextureCoordinates,3,0,1,

;Logo Kousai Group
CreateMeshBuilder,,;//右側面車番,,
AddVertex,0.85,3.2,-0.007
AddVertex,0.85,3.3,-0.007
AddVertex,1.15,3.3,-0.007
AddVertex,1.15,3.2,-0.007
AddFace2,0,1,2,3
GenerateNormals,,,,

LoadTexture,kousai_sharyo.bmp,kousai_sharyo.bmp,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,

translateall,0,0,9.5,
rotateall,0,1,0,

;-------------------,,,,
CreateMeshBuilder,,,,
AddVertex,-0.75,2.10,8.38,
AddVertex,-1.45,2.10,8.38,
AddVertex,-1.45,1.37,8.38,
AddVertex,-0.75,1.37,8.38,
AddVertex,1.45,2.10,8.38,
AddVertex,0.75,2.10,8.38,
AddVertex,0.75,1.37,8.38,
AddVertex,1.45,1.37,8.38,
AddFace2,3,2,1,0
AddFace2,7,6,5,4
Translate,0,0.1,-18.47,
LoadTexture,glow_red.png,,,
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
;SetEmissiveColor,255,0,0
SetBlendMode,Additive,2,

;//Nomor gerbong - kiri
CreateMeshBuilder,,;//右側面車番,,
AddVertex,-1.41,1.34,-12.9,
AddVertex,-1.41,1.5,-12.9,
AddVertex,-1.41,1.5,-12.35,
AddVertex,-1.41,1.34,-12.35,
AddFace2,0,1,2,3
Translate,0,0,12.38,
GenerateNormals,,,,

LoadTexture,num.bmp,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0.85,
SetTextureCoordinates,2,0,0.85,
SetTextureCoordinates,3,0,1,

;//Nomor gerbong - kanan
CreateMeshBuilder,,;//左側面車番,,
AddVertex,1.41,1.34,-12.9,
AddVertex,1.41,1.5,-12.9,
AddVertex,1.41,1.5,-12.35,
AddVertex,1.41,1.34,-12.35,
AddFace2,0,3,2,1
Translate,0,0,12.38
GenerateNormals,,,,

LoadTexture,num.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0.85,
SetTextureCoordinates,2,1,0.85,
SetTextureCoordinates,3,1,1,
