;////////////////前面
CreateMeshBuilder;
AddVertex,0.4,3.67,0;
AddVertex,-0.4,3.67,0;
AddVertex,1.15,3.55,0.01;
AddVertex,-1.15,3.55,0.01;
AddVertex,1.4,3.3,0.03;
AddVertex,-1.4,3.3,0.03;
AddVertex,1.4,2,0.1;
AddVertex,-1.4,2,0.1;
AddVertex,1.4,1,0.1;
AddVertex,-1.4,1,0.1;
AddVertex,1.4,1,-0.3;
AddVertex,1.4,3.4,-0.3;
AddVertex,1.15,3.6,-0.3;
AddVertex,0.4,3.72,-0.3;
AddVertex,-0.4,3.72,-0.3
AddVertex,-1.15,3.6,-0.3
AddVertex,-1.4,3.4,-0.3
AddVertex,-1.4,1,-0.3
AddFace2,0,1,3,2
AddFace2,2,3,5,4
AddFace2,4,5,7,6
AddFace2,6,7,9,8
AddFace2,10,11,6,8
AddFace2,11,4,6
AddFace2,11,2,4
AddFace2,11,12,2
AddFace2,12,13,0,2
AddFace2,13,14,1,0
AddFace2,14,15,3,1
AddFace2,15,16,3
AddFace2,16,5,3
AddFace2,16,7,5
AddFace2,16,17,9,7
GenerateNormals
LoadTexture,faceTc'.bmp
SetTextureCoordinates,0,0.36,0
SetTextureCoordinates,1,0.64,0
SetTextureCoordinates,2,0.09,0.04
SetTextureCoordinates,3,0.91,0.04
SetTextureCoordinates,4,0,0.13
SetTextureCoordinates,5,1,0.13
SetTextureCoordinates,6,0,0.59
SetTextureCoordinates,7,1,0.59
SetTextureCoordinates,8,0,0.95
SetTextureCoordinates,9,1,0.95
SetTextureCoordinates,10,0,0.95
SetTextureCoordinates,11,0,0.13;
SetTextureCoordinates,12,0.1,0.04;
SetTextureCoordinates,13,0.36,0;
SetTextureCoordinates,14,0.64,0;
SetTextureCoordinates,15,0.9,0.04;
SetTextureCoordinates,16,1,0.13;
SetTextureCoordinates,17,1,0.95;
SetDecalTransparentColor,0,0,0;
CreateMeshBuilder;窓
AddVertex,1.4,3.3,0.01;
AddVertex,-1.4,3.3,0.01;
AddVertex,-1.4,2,0.08;
AddVertex,1.4,2,0.08;
AddFace,0,1,2,3;
GenerateNormals;
SetColor,72,73,70,220;
CreateMeshBuilder;
Cube,0.7,0.2,0.15;
Rotate,1,0,0,6;
Translate,-0.6,2.2,-0.2;
GenerateNormals;
SetColor,70,72,71;
CreateMeshBuilder;仕切
AddVertex,1.4,3.4,-1.6;
AddVertex,-1.4,3.4,-1.6;
AddVertex,-1.4,1,-1.6;
AddVertex,1.4,1,-1.6;
AddFace2,0,1,2,3;
GenerateNormals;
LoadTexture,wall.bmp;
SetTextureCoordinates,0,1,0;
SetTextureCoordinates,1,0,0;
SetTextureCoordinates,2,0,1;
SetTextureCoordinates,3,1,1;
SetDecalTransparentColor,0,0,0;
CreateMeshBuilder;ステップ
AddVertex,1.35,1.16,0.1;
AddVertex,0.6,1.16,0.24;
AddVertex,-0.6,1.16,0.24;
AddVertex,-1.35,1.16,0.1;
AddVertex,1.35,1.1,0.1;
AddVertex,0.6,1.1,0.24;
AddVertex,-0.6,1.1,0.24;
AddVertex,-1.35,1.1,0.1;
AddFace,0,1,5,4;
AddFace,1,2,6,5;
AddFace,2,3,7,6;
AddFace,0,3,2,1;
AddFace,4,5,6,7;
GenerateNormals;
LoadTexture,step.bmp;
SetTextureCoordinates,0,0,0;
SetTextureCoordinates,1,0.3,0;
SetTextureCoordinates,2,0.7,0;
SetTextureCoordinates,3,1,0;
SetTextureCoordinates,4,0,1;
SetTextureCoordinates,5,0.3,1;
SetTextureCoordinates,6,0.7,1;
SetTextureCoordinates,7,1,1;
CreateMeshBuilder;スカート
AddVertex,1.4,1,-0.5;
AddVertex,1.4,1,-0.1;
AddVertex,1.2,1,-0.05;
AddVertex,-1.2,1,-0.055;
AddVertex,-1.4,1,-0.1
AddVertex,-1.4,1,-0.5
AddVertex,1.4,0.4,-0.5
AddVertex,1.4,0.4,-0.05
AddVertex,-1.4,0.4,-0.05
AddVertex,-1.4,0.4,-0.5
AddVertex,1.2,0.2,-0.5
AddVertex,1.2,0.2,0
AddVertex,-1.2,0.2,0
AddVertex,-1.2,0.2,-0.5
AddFace,0,1,7,6
AddFace,1,2,11,7
AddFace,2,3,12,11
AddFace,3,4,8,12
AddFace,4,5,9,8
AddFace,6,7,11,10
AddFace,8,9,13,12
GenerateNormals
LoadTexture,skirt.bmp
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0.1,0
SetTextureCoordinates,2,0.1,0
SetTextureCoordinates,3,0.9,0
SetTextureCoordinates,4,0.9,0
SetTextureCoordinates,5,1,0
SetTextureCoordinates,6,0,0.7
SetTextureCoordinates,7,0.1,0.7
SetTextureCoordinates,8,0.9,0.7
SetTextureCoordinates,9,1,0.7
SetTextureCoordinates,10,0,0.9
SetTextureCoordinates,11,0.1,0.9
SetTextureCoordinates,12,0.9,0.9
SetTextureCoordinates,13,1,0.9;
SetDecalTransparentColor,0,0,0;
CreateMeshBuilder;スカート裏
AddVertex,-1.4,1,-0.5;
AddVertex,-1.4,1,-0.1;
AddVertex,-1.2,1,-0.05;
AddVertex,1.2,1,-0.055;
AddVertex,1.4,1,-0.1;
AddVertex,1.4,1,-0.5;
AddVertex,-1.4,0.4,-0.5;
AddVertex,-1.4,0.4,-0.05;
AddVertex,1.4,0.4,-0.05;
AddVertex,1.4,0.4,-0.5;
AddVertex,-1.2,0.2,-0.5;
AddVertex,-1.2,0.2,0;
AddVertex,1.2,0.2,0;
AddVertex,1.2,0.2,-0.5;
AddFace,0,1,7,6;
AddFace,1,2,11,7;
AddFace,2,3,12,11;
AddFace,3,4,8,12;
AddFace,4,5,9,8;
AddFace,6,7,11,10;
AddFace,8,9,13,12;
GenerateNormals;
SetColor,40,40,40;
;アンテナ類
CreateMeshBuilder;
Cylinder,6,0.03,0.05,0.2;
Translate,0.6,3.8,-1.3;
SetColor,150,151,152;
CreateMeshBuilder;
Cube,0.1,0.02,0.1;
Translate,0.6,3.7,-1.3;
SetColor,150,151,152;
CreateMeshBuilder;
Cylinder,6,0.03,0.03,0.2;
Translate,-0.6,3.8,-0.4;
SetColor,150,151,152;
CreateMeshBuilder;
Cylinder,6,0.04,0.05,0.05;
Translate,-0.6,3.85,-0.4;
SetColor,150,151,152;
;////////////////連結器
CreateMeshBuilder;
AddVertex,0.2,1,-0.2;
AddVertex,-0.2,1,-0.2;
AddVertex,-0.2,0.7,-0.2;
AddVertex,0.2,0.7,-0.2
AddVertex,0.2,1,0.3
AddVertex,-0.2,1,0.3
AddVertex,-0.2,0.7,0.3
AddVertex,0.2,0.7,0.3
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,0.07,0.1
Rotate,1,0,0,90
Rotate,0,0,1,45
Translate,0.05,0.85,0.4
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.85,0.3
SetColor,90,90,99
CreateMeshBuilder;
Cube,1,0.2,0.4;
Translate,0,0.8,-0.7;
SetColor,40,40,40;
CreateMeshBuilder;胴受け
AddVertex,1.3,1.3,-0.2;
AddVertex,-1.3,1.3,-0.2;
AddVertex,-1.3,0.4,-0.2;
AddVertex,1.3,0.4,-0.2;
AddFace2,0,1,2,3;
GenerateNormals;
LoadTexture,douke.bmp;
SetTextureCoordinates,0,1,0;
SetTextureCoordinates,1,0,0;
SetTextureCoordinates,2,0,1;
SetTextureCoordinates,3,1,1;
CreateMeshBuilder;妻面
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;
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,-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;
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;
SetDecalTransparentColor,0,0,0;
CreateMeshBuilder;乗務員室扉
AddVertex,1.4,3.4,-1.8;
AddVertex,1.4,3.4,-0.3;
AddVertex,1.4,1,-0.3;
AddVertex,1.4,1,-1.8;
AddVertex,-1.4,3.4,-0.3;
AddVertex,-1.4,3.4,-1.8;
AddVertex,-1.4,1,-1.8;
AddVertex,-1.4,1,-0.3;
AddFace2,0,1,2,3;
AddFace2,4,5,6,7;
GenerateNormals;
LoadTexture,side3.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.15,3.6,-19.75
AddVertex,1.15,3.6,-0.3
AddVertex,1.4,3.4,-0.3
AddVertex,1.4,3.4,-19.75
AddVertex,-1.15,3.6,-0.3
AddVertex,-1.15,3.6,-19.75
AddVertex,-1.4,3.4,-19.75
AddVertex,-1.4,3.4,-0.3
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,0,0;
SetTextureCoordinates,5,1,0;
SetTextureCoordinates,6,1,1;
SetTextureCoordinates,7,0,1;
CreateMeshBuilder;窓
AddVertex,1.38,3.1,-19.7;
AddVertex,1.38,3.1,-0.4;
AddVertex,1.38,1.9,-0.4;
AddVertex,1.38,1.9,-19.7;
AddVertex,-1.38,3.1,-0.4;
AddVertex,-1.38,3.1,-19.7;
AddVertex,-1.38,1.9,-19.7;
AddVertex,-1.38,1.9,-0.4;
AddFace,0,1,2,3;
AddFace,4,5,6,7;
GenerateNormals;
SetColor,30,60,45,200;
;////////////////屋根上
CreateMeshBuilder;
AddVertex,-1.15,3.6,-0.3;
AddVertex,-0.4,3.72,-0.3;
AddVertex,0.4,3.72,-0.3;
AddVertex,1.15,3.6,-0.3;
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.5
Translate,0,3.52,-10.2
GenerateNormals
SetColor,130,130,131
CreateMeshBuilder
Cube,1.25,0.1,2.1
Translate,0,3.52,-10.85
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,-8.8;
AddVertex,-1.05,3.75,-8.8;
AddVertex,-0.92,3.9,-8.8;
AddVertex,-0.3,4.1,-8.8;
AddVertex,0.3,4.1,-8.8;
AddVertex,0.92,3.9,-8.8
AddVertex,1.05,3.75,-8.8
AddVertex,1.1,3.5,-8.8
AddVertex,1.1,3.5,-12.9
AddVertex,1.05,3.75,-12.9
AddVertex,0.92,3.9,-12.9
AddVertex,0.3,4.1,-12.9
AddVertex,-0.3,4.1,-12.9
AddVertex,-0.92,3.9,-12.9
AddVertex,-1.05,3.75,-12.9
AddVertex,-1.1,3.5,-12.9
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,1
SetTextureCoordinates,1,0.1,1
SetTextureCoordinates,2,0.2,1
SetTextureCoordinates,3,0.4,1
SetTextureCoordinates,4,0.6,1
SetTextureCoordinates,5,0.8,1
SetTextureCoordinates,6,0.9,1
SetTextureCoordinates,7,1,1
SetTextureCoordinates,8,1,0
SetTextureCoordinates,9,0.9,0
SetTextureCoordinates,10,0.8,0;
SetTextureCoordinates,11,0.6,0;
SetTextureCoordinates,12,0.4,0;
SetTextureCoordinates,13,0.2,0;
SetTextureCoordinates,14,0.1,0;
SetTextureCoordinates,15,0,0;
;////////////////床下
CreateMeshBuilder;
AddVertex,1.4,1,-19.75;
AddVertex,-1.4,1,-19.75;
AddVertex,-1.4,1,-0.3;
AddVertex,-1.4,1,-0.12;
AddVertex,-1.37,1,-0.04;
AddVertex,-1.3,1,0;
AddVertex,1.3,1,0;
AddVertex,1.37,1,-0.04;
AddVertex,1.4,1,-0.12;
AddVertex,1.4,1,-0.3;
AddFace2,0,1,2,3,4,5,6,7,8,9;
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,underT.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
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.53,0.43,-18;
SetColor,85,85,85;
CreateMeshBuilder;
Cylinder,20,0.43,0.43,0.1;
Rotate,0,0,1,90;
Translate,-0.53,0.43,-15.9;
SetColor,85,85,85;
CreateMeshBuilder;
Cylinder,20,0.43,0.43,0.1;
Rotate,0,0,1,90;
Translate,0.53,0.43,-18;
SetColor,85,85,85;
CreateMeshBuilder;
Cylinder,20,0.43,0.43,0.1;
Rotate,0,0,1,90;
Translate,0.53,0.43,-15.9;
SetColor,85,85,85;
;////////////////車輪＋
CreateMeshBuilder;
Cylinder,20,0.43,0.43,0.1;
Rotate,0,0,1,90;
Translate,-0.53,0.43,-2;
SetColor,85,85,85;
CreateMeshBuilder;
Cylinder,20,0.43,0.43,0.1;
Rotate,0,0,1,90;
Translate,-0.53,0.43,-4.1;
SetColor,85,85,85;
CreateMeshBuilder;
Cylinder,20,0.43,0.43,0.1;
Rotate,0,0,1,90;
Translate,0.53,0.43,-2;
SetColor,85,85,85;
CreateMeshBuilder;
Cylinder,20,0.43,0.43,0.1;
Rotate,0,0,1,90;
Translate,0.53,0.43,-4.1;
SetColor,85,85,85;
;////////////////車軸
CreateMeshBuilder;
Cylinder,9,0.1,0.1,1.5;
Rotate,0,0,1,90;
Translate,0,0.43,-2
SetColor,85,85,85
CreateMeshBuilder
Cylinder,9,0.1,0.1,1.5
Rotate,0,0,1,90
Translate,0,0.43,-4.1
SetColor,85,85,85
CreateMeshBuilder
Cylinder,9,0.1,0.1,1.5
Rotate,0,0,1,90
Translate,0,0.43,-15.9
SetColor,85,85,85
CreateMeshBuilder
Cylinder,9,0.1,0.1,1.5
Rotate,0,0,1,90
Translate,0,0.43,-18
SetColor,85,85,85;
CreateMeshBuilder;台車
AddVertex,-0.8,1,-1.8;
AddVertex,-0.8,1,-4.3;
AddVertex,-0.8,0.2,-4.3;
AddVertex,-0.8,0.2,-1.8;
AddVertex,-0.8,1,-15.7;
AddVertex,-0.8,1,-18.2;
AddVertex,-0.8,0.2,-18.2;
AddVertex,-0.8,0.2,-15.7;
AddVertex,0.8,1,-18.2;
AddVertex,0.8,1,-15.7;
AddVertex,0.8,0.2,-15.7;
AddVertex,0.8,0.2,-18.2;
AddVertex,0.8,1,-4.3;
AddVertex,0.8,1,-1.8;
AddVertex,0.8,0.2,-1.8
AddVertex,0.8,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,dt71.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,1,0.1,10
Translate,0,0,-10
SetColor,40,40,40,180
TranslateAll,0,0,9.75
