PluginHeader{
	RailSimVersion = 2.00;
	PluginType = Train;
	PluginName = "JR東日本 E653系　先頭_PBR";
	PluginAuthor = "原作:水色準急様 改造:NyahoTaro";
	IconTexture = "../../Struct/common_nya/nyaicon.png";
	Description = "";
}

TrainInfo{
	FrontLimit = 11.35;	//	前方連結位置 Z 座標
	TailLimit = -10.25;	//	後方連結位置 Z 座標
	MaxVelocity = 120.0;	//	最高速度
	MaxAcceleration = 3.0;	//	最高加速度
	MaxDeceleration = 5.0;	//	最高減速度
	TiltSpeed = 0.0;	//	振り子反応速度
	DoorClosingTime = 6.0;	//	ドア閉め所要時間
}
DefineSwitch "電源"{
GroupCommon = "電源"; 
	Entry = "切";
	Entry = "入";
}
DefineSwitch "影"{ 
GroupCommon = "影"; 
	Entry = "有";
	Entry = "無";
}
DefineSwitch "方向幕"{
GroupCommon = "方向幕"; 
	Entry = "回送";//0
	Entry = "試運転";
	Entry = "臨時";
	Entry = "団体";
	Entry = "普通";
	Entry = "急行";
	Entry = "快速";
	Entry = "特急";
	Entry = "修学旅行";
	Entry = "シュプール";//9
	Entry = "特急フレッシュひたち：上野";//10
	Entry = "特急フレッシュひたち：土浦";
	Entry = "特急フレッシュひたち：勝田";
	Entry = "特急フレッシュひたち：高萩";
	Entry = "特急フレッシュひたち：いわき";//14
	Entry = "特急いなほ：新潟";//15
	Entry = "特急いなほ：酒田";
	Entry = "特急いなほ：秋田";
	Entry = "特急いなほ：村上";//18
	Entry = "快速：新潟";//19
	Entry = "快速：村上";
	Entry = "快速：酒田";
	Entry = "快速：秋田";//22
	Entry = "特急しらゆき：新潟";//23
	Entry = "特急しらゆき：長岡";
	Entry = "特急しらゆき：直江津";
	Entry = "特急しらゆき：上越妙高";
	Entry = "特急しらゆき：新井";//27
	Entry = "らくらくトレイン信越：直江津";//28
	Entry = "らくらくトレイン信越：長岡";//29
	Entry = "おはよう信越：新潟";//30
	Entry = "快速：長岡";//31
	Entry = "快速：直江津";
	Entry = "快速：上越妙高";
	Entry = "快速：新井";//34
	Entry = "`series`E653";//35
}
DefineSwitch "編成属性"{
	Entry = "基本側";
	Entry = "付属側";
}
DefineSwitch "編成番号(基本側)"{
GroupCommon = "編成番号(基本側)"; 
	Entry = "K301";
	Entry = "K302";
	Entry = "K303";
	Entry = "K304";
	Entry = "K305";
	Entry = "K306";
	Entry = "K307";
	Entry = "K308";
	Entry = "K351";//8
	Entry = "K352";
	Entry = "K353";
	Entry = "K354";//11
	Entry = "U-101";//12
	Entry = "U-102";
	Entry = "U-103";
	Entry = "U-104";
	Entry = "U-105";
	Entry = "U-106";//17
	Entry = "U-107";//18
	Entry = "U-108";
	Entry = "H-201";//20
	Entry = "H-202";
	Entry = "H-203";
	Entry = "H-204";//23
	Entry = "K-70";
	Entry = "K-71";

}
DefineSwitch "編成番号(付属側)"{
GroupCommon = "編成番号(付属側)"; 
	Entry = "K301";
	Entry = "K302";
	Entry = "K303";
	Entry = "K304";
	Entry = "K305";
	Entry = "K306";
	Entry = "K307";
	Entry = "K308";
	Entry = "K351";
	Entry = "K352";
	Entry = "K353";
	Entry = "K354";
	Entry = "U-101";
	Entry = "U-102";
	Entry = "U-103";
	Entry = "U-104";
	Entry = "U-105";
	Entry = "U-106";
	Entry = "U-107";
	Entry = "U-108";
	Entry = "H-201";
	Entry = "H-202";
	Entry = "H-203";
	Entry = "H-204";
	Entry = "K-70";
	Entry = "K-71";
}
DefineSwitch "塗装"{
	Entry = "自動";
	Entry = "スカーレットブロッサム";
	Entry = "ブルーオーシャン";
	Entry = "イエロージョンキル";
	Entry = "グリーンレイク";
	Entry = "オレンジパーシモン";
	Entry = "いなほ色(現行)";
	Entry = "瑠璃色";
	Entry = "ハマナス色";
	Entry = "しらゆき色";
	Entry = "上沼垂色";
	Entry = "E751系風色";
	Entry = "国鉄色";
	Entry = "水色";
	Entry = "07";
	Entry = "08";
	Entry = "09";

}

DefineSwitch "HM"{
	Entry = "自動";
	Entry = "無地";
	Entry = "Hitachi express";
	Entry = "いなほ";
	Entry = "いなほ旧";
}

DefineSwitch "号車"{
	Entry = "1号車";
	Entry = "8号車";
	Entry = "7号車";
	Entry = "11号車";
	Entry = "14号車";
	Entry = "4号車";
}
DefineSwitch "座席指定"{
	Entry = "自由席";
	Entry = "指定席";
	Entry = "未指定";
}
DefineSwitch "前照灯"{
	Entry = "On";
	Entry = "Off";
}
DefineSwitch "ドア"{
GroupCommon = "ドア"; 
	Entry = "閉";
	Entry = "開";
}

DefineSwitch "特急マーク"{
	Entry = "なし";
	Entry = "ステーのみ";
	Entry = "特急マーク(大)";
	Entry = "特急マーク(小)";
}
DefineSwitch ""{
}

//60fps時300
//30fps時150


//	座席指定アニメーション

	DefineAnimation "自由席"{
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		Frame = "../nya@mizu_e653_1/E653/LEDNULL.png", 150;
	}
	
	DefineAnimation "NON-RESERVED"{
		Frame = "../nya@mizu_e653_1/E653/LEDNULL.png", 150;
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
	}
	
	DefineAnimation "指定席"{
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.125, 0.0;
		Frame = "../nya@mizu_e653_1/E653/LEDNULL.png", 150;
	}
	
	DefineAnimation "RESERVED"{
		Frame = "../nya@mizu_e653_1/E653/LEDNULL.png", 150;
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.0, 0.03125;
	}


//	種別アニメーション

	DefineAnimation "特急フレッシュひたち"{
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.0;
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.0625;
	}

	DefineAnimation "特急いなほ"{
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.1250;
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.1875;
	}

	DefineAnimation "特急しらゆき"{
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.2500;
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.3125;
	}

	DefineAnimation "快速らくらくトレイン信越"{
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.375;
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.5625;
	}

	DefineAnimation "快速おはよう信越"{
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.4375;
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.5625;
	}

	DefineAnimation "快速"{
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.5000;
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.5625;
	}

	DefineAnimation "series"{
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.6250;
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.6875;
	}


//	行き先アニメーション

	DefineAnimation "上野"{
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.0000;
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.0625;
	}

	DefineAnimation "土浦"{
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.1250;
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.1875;
	}

	DefineAnimation "勝田"{
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.2500;
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.3125;
	}

	DefineAnimation "高萩"{
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.3750;
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.4375;
	}

	DefineAnimation "いわき"{
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.5000;
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.5625;
	}

	DefineAnimation "新潟"{
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.6250;
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.6875;
	}

	DefineAnimation "酒田"{
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.25, -0.2500;
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.25, -0.1875;
	}

	DefineAnimation "秋田"{
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.25, -0.1250;
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.25, -0.0625;
	}

	DefineAnimation "村上"{
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.25, 0.0000;
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.25, 0.0625;
	}

	DefineAnimation "長岡"{
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.25, 0.1250;
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.25, 0.1875;
	}

	DefineAnimation "直江津"{
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.25, 0.2500;
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.25, 0.3125;
	}

	DefineAnimation "上越妙高"{
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.25, 0.3750;
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.25, 0.4375;
	}

	DefineAnimation "新井"{
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.25, 0.5000;
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.25, 0.5625;
	}

	DefineAnimation "E653"{
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.25, 0.6250;
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.25, 0.6875;
	}


//	号車アニメーション

	DefineAnimation "1J"{
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.0000;
		Frame = "../nya@mizu_e653_1/E653/LEDNULL.png", 150;
	}
	DefineAnimation "1E"{
		Frame = "../nya@mizu_e653_1/E653/LEDNULL.png", 150;
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.0000;
	}

	DefineAnimation "8J"{
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.4375;
		Frame = "../nya@mizu_e653_1/E653/LEDNULL.png", 150;
	}
	DefineAnimation "8E"{
		Frame = "../nya@mizu_e653_1/E653/LEDNULL.png", 150;
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.875;
	}

	DefineAnimation "7J"{
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.3750;
		Frame = "../nya@mizu_e653_1/E653/LEDNULL.png", 150;
	}
	DefineAnimation "7E"{
		Frame = "../nya@mizu_e653_1/E653/LEDNULL.png", 150;
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.750;
	}

	DefineAnimation "11J"{
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.6250;
		Frame = "../nya@mizu_e653_1/E653/LEDNULL.png", 150;
	}
	DefineAnimation "11E"{
		Frame = "../nya@mizu_e653_1/E653/LEDNULL.png", 150;
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.25, 0.250;
	}

	DefineAnimation "14J"{
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.8125;
		Frame = "../nya@mizu_e653_1/E653/LEDNULL.png", 150;
	}
	DefineAnimation "14E"{
		Frame = "../nya@mizu_e653_1/E653/LEDNULL.png", 150;
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.25, 0.625;
	}

	DefineAnimation "4J"{
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.1875;
		Frame = "../nya@mizu_e653_1/E653/LEDNULL.png", 150;
	}
	DefineAnimation "4E"{
		Frame = "../nya@mizu_e653_1/E653/LEDNULL.png", 150;
		Frame = "../nya@mizu_e653_1/E653/LED01.png", 150;
		ShiftTexture = 0.00, 0.375;
	}


PrimaryAssembly{
	Axle "Wheel1"{
		ModelFileName = "../common_mizu/wheel_narrow.x";
		ModelScale = 0.07;
		AlphaZeroTest = 0;
		NoCastShadow = 0;
		Diameter = 0.8;
		Symmetric = 6;
		Coord = (8.2, 0.4);
	}
	Axle "Wheel2"{
		ModelFileName = "../common_mizu/wheel_narrow.x";
		ModelScale = 0.07;
		AlphaZeroTest = 0;
		NoCastShadow = 0;
		Diameter = 0.8;
		Symmetric = 6;
		Coord = (5.9, 0.4);
	}
	Axle "Wheel3"{
		ModelFileName = "../common_mizu/wheel_narrow.x";
		ModelScale = 0.07;
		AlphaZeroTest = 0;
		NoCastShadow = 0;
		Diameter = 0.8;
		Symmetric = 6;
		Coord = (-5.9, 0.4);
	}
	Axle "Wheel4"{
		ModelFileName = "../common_mizu/wheel_narrow.x";
		ModelScale = 0.07;
		AlphaZeroTest = 0;
		NoCastShadow = 0;
		Diameter = 0.8;
		Symmetric = 6;
		Coord = (-8.2, 0.4);
	}
	Body "Bogie1"{
		ModelFileName = "../nya@mizu_e653_1/Bogie.x";
		ModelScale = 0.1;
		JointZY "Wheel1"{
			AttachCoord = (0.0, 0.0);
			LocalCoord = (1.2, -0.1);
		}
		JointZY "Wheel2"{
			AttachCoord = (0.0, 0.0);
			LocalCoord = (-1.2, -0.1);
		}
	}
	Body "Bogie2"{
		ModelFileName = "../nya@mizu_e653_1/Bogie.x";
		ModelScale = 0.1;
		Turn = yes;
		JointZY "Wheel3"{
			AttachCoord = (0.0, 0.0);
			LocalCoord = (-1.2, -0.1);
		}
		JointZY "Wheel4"{
			AttachCoord = (0.0, 0.0);
			LocalCoord = (1.2, -0.1);
		}

}

	Body "MainBody"{
		ModelFileName = "";
		ModelScale = 0.1;
		JointZY "Bogie1"{
			AttachCoord = (-0.0, 0.6);
			LocalCoord = (7.5, 1.0);
		}
		JointZY "Bogie2"{
			AttachCoord = (-0.0, 0.6);
			LocalCoord = (-7.5, 1.0);
		}
	}


///////////////////////////////
//
//	行き先表示
//
///////////////////////////////

	Object3D "maku00"{					//ドアオブジェクトの定義
		ModelFileName = "../nya@mizu_e653_1/maku00.x";				//ドア用ファイル名
		ModelScale = 0.1;
		AlphaZeroTest = 1,2,3,4,5,6,7,8;
		NoCastShadow = 0,1,2,3,4,5,6,7,8;
		ChangeAlpha = 1, 0.0;
		ChangeAlpha = 2, 0.0;
		ChangeAlpha = 3, 0.0;
		ChangeAlpha = 4, 0.0;
		ChangeAlpha = 5, 0.0;
		ChangeAlpha = 6, 0.0;
		ChangeAlpha = 7, 0.0;
		ChangeAlpha = 8, 0.0;
		If "電源"==1 {
			ApplySwitch "方向幕"{
			Case 0,1,2,3,4,5,6,7,8,9:
					ChangeAlpha = 2, 1.0;
					ChangeAlpha = 4, 1.0;
			Case 1:		ShiftTexture = 4, 0.00,0.125;
			Case 2:		ShiftTexture = 4, 0.00,0.250;
			Case 3:		ShiftTexture = 4, 0.00,0.375;
			Case 4:		ShiftTexture = 4, 0.00,0.500;
			Case 5:		ShiftTexture = 4, 0.00,0.625;
			Case 6:		ShiftTexture = 4, 0.00,0.750;
			Case 7:		ShiftTexture = 4, 0.00,0.875;
			Case 8:		ShiftTexture = 4, 0.25,0.000;
			Case 9:		ShiftTexture = 4, 0.25,0.125;
			Case 10,11,12,13,14://特急フレッシュひたち
					SetAnimation = 5, "特急フレッシュひたち";
			Case 15,16,17,18://特急いなほ
					SetAnimation = 5, "特急いなほ";
			Case 23,24,25,26,27://特急しらゆき
					SetAnimation = 5, "特急しらゆき";
			Case 28,29://快速らくらくトレイン信越
					SetAnimation = 5, "快速らくらくトレイン信越";
			Case 30://快速おはよう信越
					SetAnimation = 5, "快速おはよう信越";
			Case 19,20,21,22,31,32,33,34://快速
					SetAnimation = 5, "快速";
			Case 35://快速おはよう信越
					SetAnimation = 5, "series";
					SetAnimation = 6, "E653";
			Case 10:	SetAnimation = 6, "上野";
			Case 11:	SetAnimation = 6, "土浦";
			Case 12:	SetAnimation = 6, "勝田";
			Case 13:	SetAnimation = 6, "高萩";
			Case 14:	SetAnimation = 6, "いわき";
			Case 15,19,23,30:	SetAnimation = 6, "新潟";
			Case 16,21:	SetAnimation = 6, "酒田";
			Case 17,22:	SetAnimation = 6, "秋田";
			Case 18,20:	SetAnimation = 6, "村上";
			Case 24,29,31:	SetAnimation = 6, "長岡";
			Case 25,28,32:	SetAnimation = 6, "直江津";
			Case 26,33:	SetAnimation = 6, "上越妙高";
			Case 27,34:	SetAnimation = 6, "新井";
			}
			If "方向幕">=10{
				ChangeAlpha = 1, 1.0;//号車英
				ChangeAlpha = 3, 1.0;//号車日
				ChangeAlpha = 5, 1.0;//種別
				ChangeAlpha = 6, 1.0;//行き先
				ApplySwitch "座席指定"{
				Case 0,1:
					ChangeAlpha = 7, 1.0;//座席指定
					ChangeAlpha = 8, 1.0;//RESERVED
				Case 0:	SetAnimation = 7, "自由席";
					SetAnimation = 8, "NON-RESERVED";
				Case 1:	SetAnimation = 7, "指定席";
					SetAnimation = 8, "RESERVED";
				}
			}
		}
		ApplySwitch "号車"{
		Case 2,3,4,5:		StaticMove{ Displacement = (0.0, 0.0, 11.8075);}
		Case 0:		SetAnimation = 1, "1E";
				SetAnimation = 3, "1J";
		Case 1:		ShiftTexture = 2, 0.00,0.875;
				SetAnimation = 1, "8E";
				SetAnimation = 3, "8J";
		Case 2:		ShiftTexture = 2, 0.00,0.750;
				SetAnimation = 1, "7E";
				SetAnimation = 3, "7J";
		Case 3:		ShiftTexture = 2, 0.25,0.250;
				SetAnimation = 1, "11E";
				SetAnimation = 3, "11J";
		Case 4:		ShiftTexture = 2, 0.25,0.625;
				SetAnimation = 1, "14E";
				SetAnimation = 3, "14J";
		Case 5:		ShiftTexture = 2, 0.00,0.375;
				SetAnimation = 1, "4E";
				SetAnimation = 3, "4J";
		}

		Joint3D "MainBody"{					//固定先の親オブジェクト名
			AttachCoord = (0.0, 0.0, -6.355);		//親オブジェクト上の固定位置
		}
	}

	Object3D "lp1"{
		ModelFileName = "../common_mizu/lp1.x";			//ドア用ファイル名
		ModelScale = 0.07;
		If "_DOOR1"||("ドア"==1){
			StaticRotation{
			RotationAxis = (0.0, 1.0, 0.0);
			RotationAngle = 180.0;
			PreReverseDelay = 2.5;
			}
		}
		ApplySwitch "号車"{
		Case 2,3,4,5:
			StaticMove{ Displacement = (0.0, 0.0, 10.55);}
		}
		Joint3D "MainBody"{
			AttachCoord = (-1.42, 2.96, -5.725);
		}
	}
	Object3D "lp1-2"{
		ModelFileName = "../common_mizu/lp1.x";			//ドア用ファイル名
		ModelScale = 0.07;
		ApplySwitch "号車"{
		Case 2,3,4,5:
			StaticMove{ Displacement = (0.0, 0.0, 10.55);}
		}
		Joint3D "MainBody"{
			AttachCoord = (-1.425, 2.84, -5.725);
		}
	}
	Object3D "lp2"{
		ModelFileName = "../common_mizu/lp1.x";			//ドア用ファイル名
		ModelScale = 0.07;
			StaticRotation{
			RotationAxis = (0.0, 1.0, 0.0);
			RotationAngle = 180.0;
			}
		ApplySwitch "号車"{
		Case 2,3,4,5:
			StaticMove{ Displacement = (0.0, 0.0, -10.55);}
		}
		If "_DOOR2"||("ドア"==1){
			StaticRotation{
			RotationAxis = (0.0, 1.0, 0.0);
			RotationAngle = 180.0;
			PreReverseDelay = 2.5;
			}
		}
		Joint3D "MainBody"{
			AttachCoord = (1.42, 2.96, -5.725);
		}
	}
	Object3D "lp2-2"{
		ModelFileName = "../common_mizu/lp1.x";			//ドア用ファイル名
		ModelScale = 0.07;
		ApplySwitch "号車"{
		Case 2,3,4,5:
			StaticMove{ Displacement = (0.0, 0.0, 10.55);}
		}
		StaticRotation{
		RotationAxis = (0.0, 1.0, 0.0);
		RotationAngle = 180.0;
		}
		Joint3D "MainBody"{
			AttachCoord = (1.425, 2.84, -5.725);
		}
	}

	Object3D "shadow"{					//ドアオブジェクトの定義
		ModelFileName = "../mizu_oer1000_1/shadow.x";			//ドア用ファイル名
		ModelScale = 0.07;
		Transparent = 0,1;
		NoCastShadow = 0,1;
		ChangeAlpha = 0,DayAlpha;
		ChangeAlpha = 1,DayAlpha;
		ApplySwitch "影"{
		Case 0:
			ChangeModel = "../common_mizu/20_shadow.x",0.1;
		Case 1:
			ChangeModel = "",0.07;
		}
		Joint3D "MainBody"{				
			AttachCoord = (0.0, 0.0, -0.125);	
		}
	}
	Object3D "cool"{					//ドアオブジェクトの定義
		ModelFileName = "!../nya@mizu_e653_1/cool.x";			//ドア用ファイル名
		ModelScale = 0.1;
	//	AlphaZeroTest = 3;
		Joint3D "MainBody"{				
			AttachCoord = (0.0, 0.0, 1.1);	
		}
	}

	Object3D "hs"{					//ドアオブジェクトの定義
		ModelFileName = "../nya@mizu_e653_1/hs.x";			//ドア用ファイル名
		ModelScale = 0.1;
		AlphaZeroTest = 3;
		Joint3D "MainBody"{				
			AttachCoord = (0.0, 0.0, 0.0);	
		}
	}

	Object3D "yuka"{					//ドアオブジェクトの定義
		ModelFileName = "../nya@mizu_e653_1/k652.x";			//ドア用ファイル名
		ModelScale = 0.1;
		AlphaZeroTest = 3,2;
		NoCastShadow = 3,2;
		ApplySwitch "編成属性"{
		Case 0:
			ApplySwitch "編成番号(基本側)"{
			Case 8,9,10,11,20,21,22,23:
				ChangeModel = "../nya@mizu_e653_1/k652-100.x",0.1;
			}
			ApplySwitch "号車"{
			Case 2,3,4,5:
				ChangeModel = "../nya@mizu_e653_1/k653.x",0.1;
			}
		Case 1:
			ApplySwitch "編成番号(付属側)"{
			Case 8,9,10,11,20,21,22,23:
				ChangeModel = "../nya@mizu_e653_1/k652-100.x",0.1;
			}
			ApplySwitch "号車"{
			Case 2,3,4,5:
				ChangeModel = "../nya@mizu_e653_1/k653.x",0.1;
			}
		}
		Joint3D "MainBody"{				
			AttachCoord = (0.0, 0.0, 0.0);	
		}
	}


//////////////////////////////
//
//	特急マーク
//
//////////////////////////////

	Object3D "特急マークステー"{
		ModelFileName = "";
		ModelScale = 1.0;

		ApplySwitch "特急マーク"{
		Case 1,2,3:
			ChangeModel = "../nya@mizu_e653_1/特急マークステー.x",1;
		}
		

		ApplySwitch "編成属性"{
		Case 0://基本側
			ApplySwitch "編成番号(基本側)"{
			Case 0,1,2,3,4,5,6,7,8,9,10,11,25:
				ChangeTexture = 0,"../nya@mizu_e653_1/E653/Body00K.png";
			Case 12,13,14,15,16,19:
				ChangeTexture = 0,"../nya@mizu_e653_1/E653/Body00.png";
			Case 17:
				ChangeTexture = 0,"../nya@mizu_e653_1/E653/Body01.png";
			Case 18:
				ChangeTexture = 0,"../nya@mizu_e653_1/E653/Body02.png";
			Case 20,22,23:
				ChangeTexture = 0,"../nya@mizu_e653_1/E653/Body03.png";
			Case 21:
				ChangeTexture = 0,"../nya@mizu_e653_1/E653/Body04.png";
			Case 24:
				ChangeTexture = 0,"../nya@mizu_e653_1/E653/Body06.png";
			}
		Case 1://付属側
			ApplySwitch "編成番号(付属側)"{
			Case 0,1,2,3,4,5,6,7,8,9,10,11,25:
				ChangeTexture = 0,"../nya@mizu_e653_1/E653/Body00K.png";
			Case 12,13,14,15,16,19:
				ChangeTexture = 0,"../nya@mizu_e653_1/E653/Body00.png";
			Case 17:
				ChangeTexture = 0,"../nya@mizu_e653_1/E653/Body01.png";
			Case 18:
				ChangeTexture = 0,"../nya@mizu_e653_1/E653/Body02.png";
			Case 20,22,23:
				ChangeTexture = 0,"../nya@mizu_e653_1/E653/Body03.png";
			Case 21:
				ChangeTexture = 0,"../nya@mizu_e653_1/E653/Body04.png";
			Case 24:
				ChangeTexture = 0,"../nya@mizu_e653_1/E653/Body06.png";
			}
		}

		ApplySwitch "塗装"{
		Case 1,2,3,4,5,13:
			ChangeTexture = 0,"../nya@mizu_e653_1/E653/Body00K.png";
		Case 6,7,8,9,10,11,12,14,15,16:
			ChangeMaterial{
			MaterialID = 0 ;
		//	Diffuse =  0.7, 0.7, 0.7,1.0;
		//	Ambient =  0.7, 0.7, 0.7; 
		//	Specular = 0.2, 0.2, 0.2; 
			}
		Case 6:
			ChangeTexture = 0,"../nya@mizu_e653_1/E653/Body00.png";
		Case 7:
			ChangeTexture = 0,"../nya@mizu_e653_1/E653/Body01.png";
		Case 8:
			ChangeTexture = 0,"../nya@mizu_e653_1/E653/Body02.png";
		Case 9:
			ChangeTexture = 0,"../nya@mizu_e653_1/E653/Body03.png";
		Case 10:
			ChangeTexture = 0,"../nya@mizu_e653_1/E653/Body04.png";
		Case 11:
			ChangeTexture = 0,"../nya@mizu_e653_1/E653/Body05.png";
		Case 12:
			ChangeTexture = 0,"../nya@mizu_e653_1/E653/Body06.png";
		Case 14:
			ChangeTexture = 0,"../nya@mizu_e653_1/E653/Body07.png";
		Case 15:
			ChangeTexture = 0,"../nya@mizu_e653_1/E653/Body08.png";
		Case 16:
			ChangeTexture = 0,"../nya@mizu_e653_1/E653/Body09.png";
		}

		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}


	Object3D "特急マーク"{
		ModelFileName = "";
		ModelScale = 1.0;

		ApplySwitch "特急マーク"{
		Case 2:
			ChangeModel = "../common_nya/TokkyuMark/特急マーク02.x",1.0;
		Case 3:
			ChangeModel = "../common_nya/TokkyuMark/特急マーク02.x",0.66;
		}

		Joint3D "MainBody"{				
			AttachCoord = (0.0, 2.384, 10.97);	
		}
	}




//////////////////////////////
//
//	空調
//
//////////////////////////////

	Object3D "AirConBase01"{
	ModelFileName = "";ModelScale = 100.0;
		Joint3D "MainBody"{
			AttachCoord = (0.0, 3.48, 2.2);
			AttachDir = (0.0, 0.0, 1.0);
		}
	}

	Object3D "AirConFan01"{
		ModelFileName = "../nya@mizu_e653_1_PBR/AirConFAN.x";ModelScale = 100.0;

		ApplySwitch "電源"{
		Case 1:
			DynamicRotation{
				RotationAxis = (0.0, -1.0, 0.0);
				RotationSpeed = 1.2;
				Acceleration = 0.4;
				Deceleration = 0.2;
			}
		}
		Joint3D "AirConBase01"{
			AttachCoord = (0.0, 0.0, -0.325);
			AttachDir = (0.0, 0.0, 1.0);
		}
	}

	Object3D "AirConMain01"{
		ModelFileName = "../nya@mizu_e653_1_PBR/AirCon.x";ModelScale = 100.0;

		Joint3D "AirConBase01"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, 1.0);
		}
	}

	Object3D "AirConBase02"{
	ModelFileName = "";ModelScale = 100.0;
		Joint3D "MainBody"{
			AttachCoord = (0.0, 3.48, -5.2);
			AttachDir = (0.0, 0.0, 1.0);
		}
	}

	Object3D "AirConFan02"{
		ModelFileName = "../nya@mizu_e653_1_PBR/AirConFAN.x";ModelScale = 100.0;

		ApplySwitch "電源"{
		Case 1:
			DynamicRotation{
				RotationAxis = (0.0, -1.0, 0.0);
				RotationSpeed = 1.2;
				Acceleration = 0.4;
				Deceleration = 0.2;
			}
		}
		Joint3D "AirConBase02"{
			AttachCoord = (0.0, 0.0, -0.325);
			AttachDir = (0.0, 0.0, 1.0);
		}
	}

	Object3D "AirConMain02"{
		ModelFileName = "../nya@mizu_e653_1_PBR/AirCon.x";ModelScale = 100.0;

		Joint3D "AirConBase02"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, 1.0);
		}
	}


///////////////////////////////
//
//	車内
//
///////////////////////////////

	Object3D "in"{					//ドアオブジェクトの定義
		ModelFileName = "../nya@mizu_e653_1/in.x";			//ドア用ファイル名
		ModelScale = 0.1;
		ApplySwitch "編成属性"{
		Case 0://基本側
			ApplySwitch "編成番号(基本側)"{
			Case 0,1,2,3,4,5,6,7,8,9,10,11,25:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00W.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00K.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body00W.png";
			Case 0,4:
				ChangeMaterial{ //赤,スカーレットブロッサム
				MaterialID = 1,7 ;
				Diffuse =  1.0, 0.2, 0.4,1.0; //RGB
				Ambient =  0.5, 0.1, 0.2; 
				Specular = 0.5, 0.1, 0.2; 
				}
			Case 1,5:
				ChangeMaterial{ //青,ブルーオーシャン
				MaterialID = 1,7 ;
				Diffuse = 0.3, 0.3, 0.8,1.0; //RGB
				Ambient = 0.15, 0.15, 0.4; 
				Specular = 0.15, 0.15, 0.4; 
				}
			Case 2,6:
				ChangeMaterial{　//黄,イエロージョンキル
				MaterialID = 1,7 ;
				Diffuse =  1.0, 0.7, 0.1,1.0; //RGB
				Ambient =  0.5, 0.35, 0.05; 
				Specular = 0.5, 0.35, 0.05; 
				}
			Case 3,7:
				ChangeMaterial{　//緑,グリーンレイク
				MaterialID = 1,7 ;
				Diffuse =  0.2, 0.6, 0.5,1.0; //RGB
				Ambient =  0.1, 0.3, 0.25; 
				Specular = 0.1, 0.3, 0.25; 
				}
			Case 8,9,10,11:
				ChangeMaterial{　//橙,オレンジパーシモン
				MaterialID = 1,7 ;
				Diffuse =  1.0, 0.5, 0.1,1.0; //RGB
				Ambient =  0.5, 0.25, 0.05; 
				Specular = 0.5, 0.25, 0.05; 
				}
			Case 12,13,14,15,16,19:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body00.png";
			Case 17:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body01.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body01.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body01.png";
			Case 18:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body02.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body02.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body02.png";
			Case 20,22,23:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body03.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body03.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body03.png";
			Case 21:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body04.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body04.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body04.png";
			Case 24:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body06.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body06.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body06.png";
			Case 25:
				ChangeMaterial{ //水色
				MaterialID = 1,7 ;
				Diffuse = 0.52, 0.81, 1.0, 1.0; //RGB
				Ambient = 0.26, 0.4, 0.5; 
				Specular = 0.26, 0.4, 0.5; 
				}
			}
		Case 1://付属側
			ApplySwitch "編成番号(付属側)"{
			Case 0,1,2,3,4,5,6,7,8,9,10,11,25:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00W.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00K.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body00W.png";
			Case 0,4:
				ChangeMaterial{ //赤,スカーレットブロッサム
				MaterialID = 1,7 ;
				Diffuse =  1.0, 0.2, 0.4,1.0; //RGB
				Ambient =  0.5, 0.1, 0.2; 
				Specular = 0.5, 0.1, 0.2; 
				}
			Case 1,5:
				ChangeMaterial{ //青,ブルーオーシャン
				MaterialID = 1,7 ;
				Diffuse = 0.3, 0.3, 0.8,1.0; //RGB
				Ambient = 0.15, 0.15, 0.4; 
				Specular = 0.15, 0.15, 0.4; 
				}
			Case 2,6:
				ChangeMaterial{　//黄,イエロージョンキル
				MaterialID = 1,7 ;
				Diffuse =  1.0, 0.7, 0.1,1.0; //RGB
				Ambient =  0.5, 0.35, 0.05; 
				Specular = 0.5, 0.35, 0.05; 
				}
			Case 3,7:
				ChangeMaterial{　//緑,グリーンレイク
				MaterialID = 1,7 ;
				Diffuse =  0.2, 0.6, 0.5,1.0; //RGB
				Ambient =  0.1, 0.3, 0.25; 
				Specular = 0.1, 0.3, 0.25; 
				}
			Case 8,9,10,11:
				ChangeMaterial{　//橙,オレンジパーシモン
				MaterialID = 1,7 ;
				Diffuse =  1.0, 0.5, 0.1,1.0; //RGB
				Ambient =  0.5, 0.25, 0.05; 
				Specular = 0.5, 0.25, 0.05; 
				}
			Case 12,13,14,15,16,19:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body00.png";
			Case 17:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body01.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body01.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body01.png";
			Case 18:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body02.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body02.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body02.png";
			Case 20,22,23:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body03.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body03.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body03.png";
			Case 21:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body04.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body04.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body04.png";
			Case 24:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body06.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body06.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body06.png";
			Case 25:
				ChangeMaterial{ //水色
				MaterialID = 1,7 ;
				Diffuse = 0.52, 0.81, 1.0, 1.0; //RGB
				Ambient = 0.26, 0.4, 0.5; 
				Specular = 0.26, 0.4, 0.5; 
				}
			}
		}
		ApplySwitch "塗装"{
		Case 1,2,3,4,5,13:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00W.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00K.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body00W.png";
		Case 1:
			ChangeMaterial{ //赤,スカーレットブロッサム
			MaterialID = 1,7 ;
			Diffuse =  1.0, 0.2, 0.4,1.0; //RGB
			Ambient =  0.5, 0.1, 0.2; 
			Specular = 0.5, 0.1, 0.2; 
			}
		Case 2:
			ChangeMaterial{ //青,ブルーオーシャン
			MaterialID = 1,7 ;
			Diffuse = 0.3, 0.3, 0.8,1.0; //RGB
			Ambient = 0.15, 0.15, 0.4; 
			Specular = 0.15, 0.15, 0.4; 
			}
		Case 3:
			ChangeMaterial{　//黄,イエロージョンキル
			MaterialID = 1,7 ;
			Diffuse =  1.0, 0.7, 0.1,1.0; //RGB
			Ambient =  0.5, 0.35, 0.05; 
			Specular = 0.5, 0.35, 0.05; 
			}
		Case 4:
			ChangeMaterial{　//緑,グリーンレイク
			MaterialID = 1,7 ;
			Diffuse =  0.2, 0.6, 0.5,1.0; //RGB
			Ambient =  0.1, 0.3, 0.25; 
			Specular = 0.1, 0.3, 0.25; 
			}
		Case 5:
			ChangeMaterial{　//橙,オレンジパーシモン
			MaterialID = 1,7 ;
			Diffuse =  1.0, 0.5, 0.1,1.0; //RGB
			Ambient =  0.5, 0.25, 0.05; 
			Specular = 0.5, 0.25, 0.05; 
			}
		Case 6,7,8,9,10,11,12,14,15,16:
			ChangeMaterial{
			MaterialID = 1,7 ;
			Diffuse =  0.7, 0.7, 0.7,1.0;
			Ambient =  0.7, 0.7, 0.7; 
			Specular = 0.2, 0.2, 0.2; 
			}
		Case 6:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body00.png";
		Case 7:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body01.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body01.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body01.png";
		Case 8:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body02.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body02.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body02.png";
		Case 9:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body03.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body03.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body03.png";
		Case 10:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body04.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body04.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body04.png";
		Case 11:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body05.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body05.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body05.png";
		Case 12:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body06.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body06.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body06.png";
		Case 13:
			ChangeMaterial{ //水色
			MaterialID = 1,7 ;
			Diffuse = 0.52, 0.81, 1.0, 1.0; //RGB
			Ambient = 0.26, 0.4, 0.5; 
			Specular = 0.26, 0.4, 0.5; 
			}
		Case 14:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body07.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body07.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body07.png";
		Case 15:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body08.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body08.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body08.png";
		Case 16:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body09.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body09.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body09.png";
		}
		ScaleTexture = 1, 1, 2, 0.0, 0.0;
		ScaleTexture = 3, 1, 2, 0.0, 0.0;
		ScaleTexture = 7, 1, 2, 0.0, 0.0;
		ApplySwitch "号車"{
		Case 2,3,4,5:
			ChangeModel = "",0.07;
		}
		ApplySwitch "電源"{
		Case 0:
		ChangeMaterial{ MaterialID = 4 ; Emissive = 0.0, 0.0, 0.0;  }
		Case 1:
		}
		Joint3D "MainBody"{					//固定先の親オブジェクト名
			AttachCoord = (0.0, 0.0, 0.0);		//親オブジェクト上の固定位置
		}
	}
	Object3D "in2"{					//ドアオブジェクトの定義
		ModelFileName = "../nya@mizu_e653_1/in.x";			//ドア用ファイル名
		ModelScale = 0.1;
		ApplySwitch "編成属性"{
		Case 0://基本側
			ApplySwitch "編成番号(基本側)"{
			Case 0,1,2,3,4,5,6,7,8,9,10,11,25:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00W.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00K.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body00W.png";
			Case 0,4:
				ChangeMaterial{ //赤,スカーレットブロッサム
				MaterialID = 1,7 ;
				Diffuse =  1.0, 0.2, 0.4,1.0; //RGB
				Ambient =  0.5, 0.1, 0.2; 
				Specular = 0.5, 0.1, 0.2; 
				}
			Case 1,5:
				ChangeMaterial{ //青,ブルーオーシャン
				MaterialID = 1,7 ;
				Diffuse = 0.3, 0.3, 0.8,1.0; //RGB
				Ambient = 0.15, 0.15, 0.4; 
				Specular = 0.15, 0.15, 0.4; 
				}
			Case 2,6:
				ChangeMaterial{　//黄,イエロージョンキル
				MaterialID = 1,7 ;
				Diffuse =  1.0, 0.7, 0.1,1.0; //RGB
				Ambient =  0.5, 0.35, 0.05; 
				Specular = 0.5, 0.35, 0.05; 
				}
			Case 3,7:
				ChangeMaterial{　//緑,グリーンレイク
				MaterialID = 1,7 ;
				Diffuse =  0.2, 0.6, 0.5,1.0; //RGB
				Ambient =  0.1, 0.3, 0.25; 
				Specular = 0.1, 0.3, 0.25; 
				}
			Case 8,9,10,11:
				ChangeMaterial{　//橙,オレンジパーシモン
				MaterialID = 1,7 ;
				Diffuse =  1.0, 0.5, 0.1,1.0; //RGB
				Ambient =  0.5, 0.25, 0.05; 
				Specular = 0.5, 0.25, 0.05; 
				}
			Case 12,13,14,15,16,19:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body00.png";
			Case 17:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body01.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body01.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body01.png";
			Case 18:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body02.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body02.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body02.png";
			Case 20,22,23:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body03.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body03.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body03.png";
			Case 21:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body04.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body04.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body04.png";
			Case 24:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body06.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body06.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body06.png";
			Case 25:
				ChangeMaterial{ //水色
				MaterialID = 1,7 ;
				Diffuse = 0.52, 0.81, 1.0, 1.0; //RGB
				Ambient = 0.26, 0.4, 0.5; 
				Specular = 0.26, 0.4, 0.5; 
				}
			}
		Case 1://付属側
			ApplySwitch "編成番号(付属側)"{
			Case 0,1,2,3,4,5,6,7,8,9,10,11,25:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00W.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00K.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body00W.png";
			Case 0,4:
				ChangeMaterial{ //赤,スカーレットブロッサム
				MaterialID = 1,7 ;
				Diffuse =  1.0, 0.2, 0.4,1.0; //RGB
				Ambient =  0.5, 0.1, 0.2; 
				Specular = 0.5, 0.1, 0.2; 
				}
			Case 1,5:
				ChangeMaterial{ //青,ブルーオーシャン
				MaterialID = 1,7 ;
				Diffuse = 0.3, 0.3, 0.8,1.0; //RGB
				Ambient = 0.15, 0.15, 0.4; 
				Specular = 0.15, 0.15, 0.4; 
				}
			Case 2,6:
				ChangeMaterial{　//黄,イエロージョンキル
				MaterialID = 1,7 ;
				Diffuse =  1.0, 0.7, 0.1,1.0; //RGB
				Ambient =  0.5, 0.35, 0.05; 
				Specular = 0.5, 0.35, 0.05; 
				}
			Case 3,7:
				ChangeMaterial{　//緑,グリーンレイク
				MaterialID = 1,7 ;
				Diffuse =  0.2, 0.6, 0.5,1.0; //RGB
				Ambient =  0.1, 0.3, 0.25; 
				Specular = 0.1, 0.3, 0.25; 
				}
			Case 8,9,10,11:
				ChangeMaterial{　//橙,オレンジパーシモン
				MaterialID = 1,7 ;
				Diffuse =  1.0, 0.5, 0.1,1.0; //RGB
				Ambient =  0.5, 0.25, 0.05; 
				Specular = 0.5, 0.25, 0.05; 
				}
			Case 12,13,14,15,16,19:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body00.png";
			Case 17:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body01.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body01.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body01.png";
			Case 18:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body02.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body02.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body02.png";
			Case 20,22,23:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body03.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body03.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body03.png";
			Case 21:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body04.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body04.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body04.png";
			Case 24:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body06.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body06.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body06.png";
			Case 25:
				ChangeMaterial{ //水色
				MaterialID = 1,7 ;
				Diffuse = 0.52, 0.81, 1.0, 1.0; //RGB
				Ambient = 0.26, 0.4, 0.5; 
				Specular = 0.26, 0.4, 0.5; 
				}
			}
		}
		ApplySwitch "塗装"{
		Case 1,2,3,4,5,13:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00W.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00K.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body00W.png";
		Case 1:
			ChangeMaterial{ //赤,スカーレットブロッサム
			MaterialID = 1,7 ;
			Diffuse =  1.0, 0.2, 0.4,1.0; //RGB
			Ambient =  0.5, 0.1, 0.2; 
			Specular = 0.5, 0.1, 0.2; 
			}
		Case 2:
			ChangeMaterial{ //青,ブルーオーシャン
			MaterialID = 1,7 ;
			Diffuse = 0.3, 0.3, 0.8,1.0; //RGB
			Ambient = 0.15, 0.15, 0.4; 
			Specular = 0.15, 0.15, 0.4; 
			}
		Case 3:
			ChangeMaterial{　//黄,イエロージョンキル
			MaterialID = 1,7 ;
			Diffuse =  1.0, 0.7, 0.1,1.0; //RGB
			Ambient =  0.5, 0.35, 0.05; 
			Specular = 0.5, 0.35, 0.05; 
			}
		Case 4:
			ChangeMaterial{　//緑,グリーンレイク
			MaterialID = 1,7 ;
			Diffuse =  0.2, 0.6, 0.5,1.0; //RGB
			Ambient =  0.1, 0.3, 0.25; 
			Specular = 0.1, 0.3, 0.25; 
			}
		Case 5:
			ChangeMaterial{　//橙,オレンジパーシモン
			MaterialID = 1,7 ;
			Diffuse =  1.0, 0.5, 0.1,1.0; //RGB
			Ambient =  0.5, 0.25, 0.05; 
			Specular = 0.5, 0.25, 0.05; 
			}
		Case 6,7,8,9,10,11,12,14,15,16:
			ChangeMaterial{
			MaterialID = 1,7 ;
			Diffuse =  0.7, 0.7, 0.7,1.0;
			Ambient =  0.7, 0.7, 0.7; 
			Specular = 0.2, 0.2, 0.2; 
			}
		Case 6:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body00.png";
		Case 7:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body01.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body01.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body01.png";
		Case 8:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body02.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body02.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body02.png";
		Case 9:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body03.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body03.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body03.png";
		Case 10:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body04.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body04.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body04.png";
		Case 11:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body05.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body05.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body05.png";
		Case 12:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body06.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body06.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body06.png";
		Case 13:
			ChangeMaterial{ //水色
			MaterialID = 1,7 ;
			Diffuse = 0.52, 0.81, 1.0, 1.0; //RGB
			Ambient = 0.26, 0.4, 0.5; 
			Specular = 0.26, 0.4, 0.5; 
			}
		Case 14:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body07.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body07.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body07.png";
		Case 15:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body08.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body08.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body08.png";
		Case 16:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body09.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body09.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body09.png";
		}
		ScaleTexture = 1, -1, 2, -1.0, 0.25;
		ScaleTexture = 3, -1, 2, -1.0, 0.25;
		ScaleTexture = 7, -1, 2, -1.0, 0.25;
		ApplySwitch "電源"{
		Case 0:
		ChangeMaterial{ MaterialID = 4 ; Emissive = 0.0, 0.0, 0.0;  }
		Case 1:
		}
		StaticRotation{
			RotationAxis = (0.0, 1.0, 0.0);
			RotationAngle = 180.0;
		}
		Joint3D "MainBody"{					//固定先の親オブジェクト名
			AttachCoord = (0.0, 0.0, -0.9);		//親オブジェクト上の固定位置
		}
	}


///////////////////////////////
//
//	窓
//
///////////////////////////////

	Object3D "waku1"{					//ドアオブジェクトの定義
		ModelFileName = "../nya@mizu_e653_1/waku2.x";				//ドア用ファイル名
		ModelScale = 0.1;
		ApplySwitch "_FRONT"{
		Case 0:
                Case 1:
				StaticRotation{
				RotationAxis = (0.0, 1.0, 0.0);
				RotationAngle = 180.0;
			}
		}
		ApplySwitch "電源"{
		Case 0:
		ChangeMaterial{ MaterialID = 7 ; Emissive = 0.0, 0.0, 0.0;  }
		Case 1:
			If ("_NIGHT"){
			ShiftTexture = 7, 0.125, 0.0;
		ChangeMaterial{ MaterialID = 7 ; Emissive = 1.0, 1.0, 1.0;  }
			}
		}

		Joint3D "MainBody"{					//固定先の親オブジェクト名
			AttachCoord = (0.0, 0.0, -0.45);		//親オブジェクト上の固定位置
		}
	}

	Object3D "waku2"{					//ドアオブジェクトの定義
		ModelFileName = "../nya@mizu_e653_1/waku3.x";				//ドア用ファイル名
		ModelScale = 0.1;
		ApplySwitch "_FRONT"{
		Case 0:
                Case 1:
				StaticRotation{
				RotationAxis = (0.0, 1.0, 0.0);
				RotationAngle = 180.0;
			}
		}
		ApplySwitch "電源"{
		Case 0:
		ChangeMaterial{ MaterialID = 7 ; Emissive = 0.0, 0.0, 0.0;  }
		Case 1:
			If ("_NIGHT"){
			ShiftTexture = 7, 0.125, 0.0;
		ChangeMaterial{ MaterialID = 7 ; Emissive = 1.0, 1.0, 1.0;  }
			}
		}
		ApplySwitch "号車"{
			Case 0,1:
			ChangeModel = "",0.07;
		}

		Joint3D "MainBody"{					//固定先の親オブジェクト名
			AttachCoord = (0.0, 0.0, -7.715);		//親オブジェクト上の固定位置
		}
	}

	Object3D "waku3"{					//ドアオブジェクトの定義
		ModelFileName = "../nya@mizu_e653_1/waku1.x";				//ドア用ファイル名
		ModelScale = 0.1;
		ApplySwitch "_FRONT"{
		Case 0:
                Case 1:
				StaticRotation{
				RotationAxis = (0.0, 1.0, 0.0);
				RotationAngle = 180.0;
			}
		}
		ApplySwitch "電源"{
		Case 0:
		ChangeMaterial{ MaterialID = 7 ; Emissive = 0.0, 0.0, 0.0;  }
		Case 1:
			If ("_NIGHT"){
			ShiftTexture = 7, 0.125, 0.0;
		ChangeMaterial{ MaterialID = 7 ; Emissive = 1.0, 1.0, 1.0;  }
			}
		}
		ApplySwitch "号車"{
			Case 0,1:
			ChangeModel = "",0.07;
		}

		Joint3D "MainBody"{					//固定先の親オブジェクト名
			AttachCoord = (0.0, 0.0, -9.1);		//親オブジェクト上の固定位置
		}
	}


///////////////////////////////
//
//	乗降扉
//
///////////////////////////////

	Object3D "DoorR"{					//ドアオブジェクトの定義
		ModelFileName = "../nya@mizu_e653_1/door.x";			//ドア用ファイル名
		ModelScale = 0.1;
		ApplySwitch "編成属性"{
		Case 0://基本側
			ApplySwitch "編成番号(基本側)"{
			Case 0,1,2,3,4,5,6,7,8,9,10,11,25:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00W.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00K.png";
				ScaleTexture = 1, 1, 2, 0.5, 0.25;
				ScaleTexture = 3, 1, 2, 0.5, 0.25;
			Case 0,4:
				ChangeMaterial{ //赤,スカーレットブロッサム
				MaterialID = 1 ;
				Diffuse =  1.0, 0.2, 0.4,1.0; //RGB
				Ambient =  0.5, 0.1, 0.2; 
				Specular = 0.5, 0.1, 0.2; 
				}
			Case 1,5:
				ChangeMaterial{ //青,ブルーオーシャン
				MaterialID = 1 ;
				Diffuse = 0.3, 0.3, 0.8,1.0; //RGB
				Ambient = 0.15, 0.15, 0.4; 
				Specular = 0.15, 0.15, 0.4; 
				}
			Case 2,6:
				ChangeMaterial{　//黄,イエロージョンキル
				MaterialID = 1 ;
				Diffuse =  1.0, 0.7, 0.1,1.0; //RGB
				Ambient =  0.5, 0.35, 0.05; 
				Specular = 0.5, 0.35, 0.05; 
				}
			Case 3,7:
				ChangeMaterial{　//緑,グリーンレイク
				MaterialID = 1 ;
				Diffuse =  0.2, 0.6, 0.5,1.0; //RGB
				Ambient =  0.1, 0.3, 0.25; 
				Specular = 0.1, 0.3, 0.25; 
				}
			Case 8,9,10,11:
				ChangeMaterial{　//橙,オレンジパーシモン
				MaterialID = 1 ;
				Diffuse =  1.0, 0.5, 0.1,1.0; //RGB
				Ambient =  0.5, 0.25, 0.05; 
				Specular = 0.5, 0.25, 0.05; 
				}
			Case 17,18,20,21,22,23,24:
				ScaleTexture = 1, 1, 2, 0.5, 0.25;
				ScaleTexture = 3, 1, 2, 0.5, 0.25;
			Case 12,13,14,15,16,19:
				ScaleTexture = 1, 1, 2, 0.5625, 0.25;
				ScaleTexture = 3, 1, 2, 0.5625, 0.25;
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00R.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00R.png";
			Case 17:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body01.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body01.png";
			Case 18:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body02.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body02.png";
			Case 20,22,23:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body03.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body03.png";
			Case 21:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body04.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body04.png";
			Case 24:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body06.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body06.png";
			Case 25:
				ChangeMaterial{ //水色
				MaterialID = 1 ;
				Diffuse = 0.52, 0.81, 1.0, 1.0; //RGB
				Ambient = 0.26, 0.4, 0.5; 
				Specular = 0.26, 0.4, 0.5; 
				}
			}
		Case 1://付属側
			ApplySwitch "編成番号(付属側)"{
			Case 0,1,2,3,4,5,6,7,8,9,10,11,25:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00W.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00K.png";
				ScaleTexture = 1, 1, 2, 0.5, 0.25;
				ScaleTexture = 3, 1, 2, 0.5, 0.25;
			Case 0,4:
				ChangeMaterial{ //赤,スカーレットブロッサム
				MaterialID = 1 ;
				Diffuse =  1.0, 0.2, 0.4,1.0; //RGB
				Ambient =  0.5, 0.1, 0.2; 
				Specular = 0.5, 0.1, 0.2; 
				}
			Case 1,5:
				ChangeMaterial{ //青,ブルーオーシャン
				MaterialID = 1 ;
				Diffuse = 0.3, 0.3, 0.8,1.0; //RGB
				Ambient = 0.15, 0.15, 0.4; 
				Specular = 0.15, 0.15, 0.4; 
				}
			Case 2,6:
				ChangeMaterial{　//黄,イエロージョンキル
				MaterialID = 1 ;
				Diffuse =  1.0, 0.7, 0.1,1.0; //RGB
				Ambient =  0.5, 0.35, 0.05; 
				Specular = 0.5, 0.35, 0.05; 
				}
			Case 3,7:
				ChangeMaterial{　//緑,グリーンレイク
				MaterialID = 1 ;
				Diffuse =  0.2, 0.6, 0.5,1.0; //RGB
				Ambient =  0.1, 0.3, 0.25; 
				Specular = 0.1, 0.3, 0.25; 
				}
			Case 8,9,10,11:
				ChangeMaterial{　//橙,オレンジパーシモン
				MaterialID = 1 ;
				Diffuse =  1.0, 0.5, 0.1,1.0; //RGB
				Ambient =  0.5, 0.25, 0.05; 
				Specular = 0.5, 0.25, 0.05; 
				}
			Case 17,18,20,21,22,23,24:
				ScaleTexture = 1, 1, 2, 0.5, 0.25;
				ScaleTexture = 3, 1, 2, 0.5, 0.25;
			Case 12,13,14,15,16,19:
				ScaleTexture = 1, 1, 2, 0.5625, 0.25;
				ScaleTexture = 3, 1, 2, 0.5625, 0.25;
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00R.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00R.png";
			Case 17:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body01.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body01.png";
			Case 18:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body02.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body02.png";
			Case 20,22,23:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body03.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body03.png";
			Case 21:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body04.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body04.png";
			Case 24:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body06.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body06.png";
			Case 25:
				ChangeMaterial{ //水色
				MaterialID = 1 ;
				Diffuse = 0.52, 0.81, 1.0, 1.0; //RGB
				Ambient = 0.26, 0.4, 0.5; 
				Specular = 0.26, 0.4, 0.5; 
				}
			}
		}
		ApplySwitch "塗装"{
		Case 1,2,3,4,5,13:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00W.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00K.png";
			ScaleTexture = 1, 1, 2, 0.5, 0.25;
			ScaleTexture = 3, 1, 2, 0.5, 0.25;
		Case 1:
			ChangeMaterial{ //赤,スカーレットブロッサム
			MaterialID = 1 ;
			Diffuse =  1.0, 0.2, 0.4,1.0; //RGB
			Ambient =  0.5, 0.1, 0.2; 
			Specular = 0.5, 0.1, 0.2; 
			}
		Case 2:
			ChangeMaterial{ //青,ブルーオーシャン
			MaterialID = 1 ;
			Diffuse = 0.3, 0.3, 0.8,1.0; //RGB
			Ambient = 0.15, 0.15, 0.4; 
			Specular = 0.15, 0.15, 0.4; 
			}
		Case 3:
			ChangeMaterial{　//黄,イエロージョンキル
			MaterialID = 1 ;
			Diffuse =  1.0, 0.7, 0.1,1.0; //RGB
			Ambient =  0.5, 0.35, 0.05; 
			Specular = 0.5, 0.35, 0.05; 
			}
		Case 4:
			ChangeMaterial{　//緑,グリーンレイク
			MaterialID = 1 ;
			Diffuse =  0.2, 0.6, 0.5,1.0; //RGB
			Ambient =  0.1, 0.3, 0.25; 
			Specular = 0.1, 0.3, 0.25; 
			}
		Case 5:
			ChangeMaterial{　//橙,オレンジパーシモン
			MaterialID = 1 ;
			Diffuse =  1.0, 0.5, 0.1,1.0; //RGB
			Ambient =  0.5, 0.25, 0.05; 
			Specular = 0.5, 0.25, 0.05; 
			}
		Case 6,7,8,9,10,11,12,14,15,16:
			ChangeMaterial{
			MaterialID = 1 ;
		//	Diffuse =  0.7, 0.7, 0.7,1.0;
		//	Ambient =  0.7, 0.7, 0.7; 
		//	Specular = 0.2, 0.2, 0.2; 
			}
		Case 6:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00R.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00R.png";
			ScaleTexture = 1, 1, 2, 0.5625, 0.25;
			ScaleTexture = 3, 1, 2, 0.5625, 0.25;
		Case 7,8,9,10,11,12,14,15,16,17,18,19,20:
			ScaleTexture = 1, 1, 2, 0.5, 0.25;
			ScaleTexture = 3, 1, 2, 0.5, 0.25;
		Case 7:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body01.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body01.png";
		Case 8:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body02.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body02.png";
		Case 9:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body03.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body03.png";
		Case 10:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body04.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body04.png";
		Case 11:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body05.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body05.png";
		Case 12:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body06.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body06.png";
		Case 13:
			ChangeMaterial{ //水色
			MaterialID = 1 ;
			Diffuse = 0.52, 0.81, 1.0, 1.0; //RGB
			Ambient = 0.26, 0.4, 0.5; 
			Specular = 0.26, 0.4, 0.5; 
			}
		Case 14:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body07.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body07.png";
		Case 15:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body08.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body08.png";
		Case 16:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body09.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body09.png";
		}
		If "_DOOR1"||("ドア"==1){
				StaticMove{			//オブジェクトの移動
				Displacement = (0.0, 0.0, -0.05);	//移動量(X,Y,Z)
				PreAnimationDelay = 0.5;	//スイッチがオンになってから動作するまでの時間
				AnimationTime = 3.0;		//動作にかかる時間
				PreReverseDelay = 2.0;
				ReverseTime = 0.5;
			}
				StaticMove{			//オブジェクトの移動
				Displacement = (0.0, 0.0, -0.0);	//移動量(X,Y,Z)
				PreAnimationDelay = 0.5;	//スイッチがオンになってから動作するまでの時間
				AnimationTime = 1.0;		//動作にかかる時間
				PreReverseDelay = 2.0;
				ReverseTime = 0.25;
			}
				StaticMove{			//オブジェクトの移動
				Displacement = (0.0, 0.0, -0.624);	//移動量(X,Y,Z)
				PreAnimationDelay = 0.5;	//スイッチがオンになってから動作するまでの時間
				AnimationTime = 2.0;		//動作にかかる時間
				PreReverseDelay = 0.0;
				ReverseTime = 1.5;
			}
		}
		If "電源" & "_NIGHT" {
			ChangeMaterial{
				MaterialID = 7;
				Diffuse = 0.7, 0.7, 0.7, 0.99999;//アルファ値強制半透明化でインスタンス描画無効化処理
				Emissive = 1.0, 1.0, 1.0;
			}
		}Else{
			ChangeMaterial{
				MaterialID = 7;
				Diffuse = 0.7, 0.7, 0.7, 0.99999;//アルファ値強制半透明化でインスタンス描画無効化処理
				Emissive = 0.0, 0.0, 0.0;
			}
		}

		Joint3D "MainBody"{					//固定先の親オブジェクト名
			AttachCoord = (0.0, 0.0, 6.79);		//親オブジェクト上の固定位置
		}
	}

	Object3D "DoorR2"{					//ドアオブジェクトの定義
		ModelFileName = "../nya@mizu_e653_1/door.x";			//ドア用ファイル名
		ModelScale = 0.1;
		ApplySwitch "編成属性"{
		Case 0://基本側
			ApplySwitch "編成番号(基本側)"{
			Case 0,1,2,3,4,5,6,7,8,9,10,11,25:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00W.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00K.png";
				ScaleTexture = 1, 1, 2, 0.5, 0.25;
				ScaleTexture = 3, 1, 2, 0.5, 0.25;
			Case 0,4:
				ChangeMaterial{ //赤,スカーレットブロッサム
				MaterialID = 1 ;
				Diffuse =  1.0, 0.2, 0.4,1.0; //RGB
				Ambient =  0.5, 0.1, 0.2; 
				Specular = 0.5, 0.1, 0.2; 
				}
			Case 1,5:
				ChangeMaterial{ //青,ブルーオーシャン
				MaterialID = 1 ;
				Diffuse = 0.3, 0.3, 0.8,1.0; //RGB
				Ambient = 0.15, 0.15, 0.4; 
				Specular = 0.15, 0.15, 0.4; 
				}
			Case 2,6:
				ChangeMaterial{　//黄,イエロージョンキル
				MaterialID = 1 ;
				Diffuse =  1.0, 0.7, 0.1,1.0; //RGB
				Ambient =  0.5, 0.35, 0.05; 
				Specular = 0.5, 0.35, 0.05; 
				}
			Case 3,7:
				ChangeMaterial{　//緑,グリーンレイク
				MaterialID = 1 ;
				Diffuse =  0.2, 0.6, 0.5,1.0; //RGB
				Ambient =  0.1, 0.3, 0.25; 
				Specular = 0.1, 0.3, 0.25; 
				}
			Case 8,9,10,11:
				ChangeMaterial{　//橙,オレンジパーシモン
				MaterialID = 1 ;
				Diffuse =  1.0, 0.5, 0.1,1.0; //RGB
				Ambient =  0.5, 0.25, 0.05; 
				Specular = 0.5, 0.25, 0.05; 
				}
			Case 17,18,20,21,22,23,24:
				ScaleTexture = 1, 1, 2, 0.5, 0.25;
				ScaleTexture = 3, 1, 2, 0.5, 0.25;
			Case 12,13,14,15,16,19:
				ScaleTexture = 1, 1, 2, 0.6250, 0.25;
				ScaleTexture = 3, 1, 2, 0.6250, 0.25;
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00R.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00R.png";
			Case 17:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body01.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body01.png";
			Case 18:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body02.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body02.png";
			Case 20,22,23:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body03.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body03.png";
			Case 21:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body04.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body04.png";
			Case 24:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body06.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body06.png";
			Case 25:
				ChangeMaterial{ //水色
				MaterialID = 1 ;
				Diffuse = 0.52, 0.81, 1.0, 1.0; //RGB
				Ambient = 0.26, 0.4, 0.5; 
				Specular = 0.26, 0.4, 0.5; 
				}
			}
		Case 1://付属側
			ApplySwitch "編成番号(付属側)"{
			Case 0,1,2,3,4,5,6,7,8,9,10,11,25:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00W.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00K.png";
				ScaleTexture = 1, 1, 2, 0.5, 0.25;
				ScaleTexture = 3, 1, 2, 0.5, 0.25;
			Case 0,4:
				ChangeMaterial{ //赤,スカーレットブロッサム
				MaterialID = 1 ;
				Diffuse =  1.0, 0.2, 0.4,1.0; //RGB
				Ambient =  0.5, 0.1, 0.2; 
				Specular = 0.5, 0.1, 0.2; 
				}
			Case 1,5:
				ChangeMaterial{ //青,ブルーオーシャン
				MaterialID = 1 ;
				Diffuse = 0.3, 0.3, 0.8,1.0; //RGB
				Ambient = 0.15, 0.15, 0.4; 
				Specular = 0.15, 0.15, 0.4; 
				}
			Case 2,6:
				ChangeMaterial{　//黄,イエロージョンキル
				MaterialID = 1 ;
				Diffuse =  1.0, 0.7, 0.1,1.0; //RGB
				Ambient =  0.5, 0.35, 0.05; 
				Specular = 0.5, 0.35, 0.05; 
				}
			Case 3,7:
				ChangeMaterial{　//緑,グリーンレイク
				MaterialID = 1 ;
				Diffuse =  0.2, 0.6, 0.5,1.0; //RGB
				Ambient =  0.1, 0.3, 0.25; 
				Specular = 0.1, 0.3, 0.25; 
				}
			Case 8,9,10,11:
				ChangeMaterial{　//橙,オレンジパーシモン
				MaterialID = 1 ;
				Diffuse =  1.0, 0.5, 0.1,1.0; //RGB
				Ambient =  0.5, 0.25, 0.05; 
				Specular = 0.5, 0.25, 0.05; 
				}
			Case 17,18,20,21,22,23,24:
				ScaleTexture = 1, 1, 2, 0.5, 0.25;
				ScaleTexture = 3, 1, 2, 0.5, 0.25;
			Case 12,13,14,15,16,19:
				ScaleTexture = 1, 1, 2, 0.6250, 0.25;
				ScaleTexture = 3, 1, 2, 0.6250, 0.25;
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00R.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00R.png";
			Case 17:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body01.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body01.png";
			Case 18:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body02.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body02.png";
			Case 20,22,23:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body03.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body03.png";
			Case 21:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body04.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body04.png";
			Case 24:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body06.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body06.png";
			Case 25:
				ChangeMaterial{ //水色
				MaterialID = 1 ;
				Diffuse = 0.52, 0.81, 1.0, 1.0; //RGB
				Ambient = 0.26, 0.4, 0.5; 
				Specular = 0.26, 0.4, 0.5; 
				}
			}
		}
		ApplySwitch "塗装"{
		Case 1,2,3,4,5,13:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00W.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00K.png";
			ScaleTexture = 1, 1, 2, 0.5, 0.25;
			ScaleTexture = 3, 1, 2, 0.5, 0.25;
		Case 1:
			ChangeMaterial{ //赤,スカーレットブロッサム
			MaterialID = 1 ;
			Diffuse =  1.0, 0.2, 0.4,1.0; //RGB
			Ambient =  0.5, 0.1, 0.2; 
			Specular = 0.5, 0.1, 0.2; 
			}
		Case 2:
			ChangeMaterial{ //青,ブルーオーシャン
			MaterialID = 1 ;
			Diffuse = 0.3, 0.3, 0.8,1.0; //RGB
			Ambient = 0.15, 0.15, 0.4; 
			Specular = 0.15, 0.15, 0.4; 
			}
		Case 3:
			ChangeMaterial{　//黄,イエロージョンキル
			MaterialID = 1 ;
			Diffuse =  1.0, 0.7, 0.1,1.0; //RGB
			Ambient =  0.5, 0.35, 0.05; 
			Specular = 0.5, 0.35, 0.05; 
			}
		Case 4:
			ChangeMaterial{　//緑,グリーンレイク
			MaterialID = 1 ;
			Diffuse =  0.2, 0.6, 0.5,1.0; //RGB
			Ambient =  0.1, 0.3, 0.25; 
			Specular = 0.1, 0.3, 0.25; 
			}
		Case 5:
			ChangeMaterial{　//橙,オレンジパーシモン
			MaterialID = 1 ;
			Diffuse =  1.0, 0.5, 0.1,1.0; //RGB
			Ambient =  0.5, 0.25, 0.05; 
			Specular = 0.5, 0.25, 0.05; 
			}
		Case 6,7,8,9,10,11,12,14,15,16:
			ChangeMaterial{
			MaterialID = 1 ;
		//	Diffuse =  0.7, 0.7, 0.7,1.0;
		//	Ambient =  0.7, 0.7, 0.7; 
		//	Specular = 0.2, 0.2, 0.2; 
			}
		Case 6:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00R.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00R.png";
			ScaleTexture = 1, 1, 2, 0.6250, 0.25;
			ScaleTexture = 3, 1, 2, 0.6250, 0.25;
		Case 7,8,9,10,11,12,14,15,16,17,18,19,20:
			ScaleTexture = 1, 1, 2, 0.5, 0.25;
			ScaleTexture = 3, 1, 2, 0.5, 0.25;
		Case 7:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body01.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body01.png";
		Case 8:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body02.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body02.png";
		Case 9:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body03.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body03.png";
		Case 10:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body04.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body04.png";
		Case 11:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body05.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body05.png";
		Case 12:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body06.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body06.png";
		Case 13:
			ChangeMaterial{ //水色
			MaterialID = 1 ;
			Diffuse = 0.52, 0.81, 1.0, 1.0; //RGB
			Ambient = 0.26, 0.4, 0.5; 
			Specular = 0.26, 0.4, 0.5; 
			}
		Case 14:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body07.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body07.png";
		Case 15:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body08.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body08.png";
		Case 16:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body09.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body09.png";
		}
		If "_DOOR1"||("ドア"==1){
				StaticMove{			//オブジェクトの移動
				Displacement = (0.0, 0.0, -0.05);	//移動量(X,Y,Z)
				PreAnimationDelay = 0.5;	//スイッチがオンになってから動作するまでの時間
				AnimationTime = 3.0;		//動作にかかる時間
				PreReverseDelay = 2.0;
				ReverseTime = 0.5;
			}
				StaticMove{			//オブジェクトの移動
				Displacement = (0.0, 0.0, -0.0);	//移動量(X,Y,Z)
				PreAnimationDelay = 0.5;	//スイッチがオンになってから動作するまでの時間
				AnimationTime = 1.0;		//動作にかかる時間
				PreReverseDelay = 2.0;
				ReverseTime = 0.25;
			}
				StaticMove{			//オブジェクトの移動
				Displacement = (0.0, 0.0, -0.624);	//移動量(X,Y,Z)
				PreAnimationDelay = 0.5;	//スイッチがオンになってから動作するまでの時間
				AnimationTime = 2.0;		//動作にかかる時間
				PreReverseDelay = 0.0;
				ReverseTime = 1.5;
			}
		}
		If "電源" & "_NIGHT" {
			ChangeMaterial{
				MaterialID = 7;
				Diffuse = 0.7, 0.7, 0.7, 0.99999;//アルファ値強制半透明化でインスタンス描画無効化処理
				Emissive = 1.0, 1.0, 1.0;
			}
		}Else{
			ChangeMaterial{
				MaterialID = 7;
				Diffuse = 0.7, 0.7, 0.7, 0.99999;//アルファ値強制半透明化でインスタンス描画無効化処理
				Emissive = 0.0, 0.0, 0.0;
			}
		}
		ApplySwitch "号車"{
		Case 2,3,4,5:
			ChangeModel = "",0.07;
		}

		Joint3D "MainBody"{					//固定先の親オブジェクト名
			AttachCoord = (0.0, 0.0, -7.69);		//親オブジェクト上の固定位置
		}
	}

	Object3D "DoorL"{
		ModelFileName = "../nya@mizu_e653_1/door2.x";
		ModelScale = 0.1;
		ApplySwitch "編成属性"{
		Case 0://基本側
			ApplySwitch "編成番号(基本側)"{
			Case 0,1,2,3,4,5,6,7,8,9,10,11,25:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00W.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00K.png";
				ScaleTexture = 1, 1, 2, 0.5, 0.25;
				ScaleTexture = 3, 1, 2, 0.5, 0.25;
			Case 0,4:
				ChangeMaterial{ //赤,スカーレットブロッサム
				MaterialID = 1 ;
				Diffuse =  1.0, 0.2, 0.4,1.0; //RGB
				Ambient =  0.5, 0.1, 0.2; 
				Specular = 0.5, 0.1, 0.2; 
				}
			Case 1,5:
				ChangeMaterial{ //青,ブルーオーシャン
				MaterialID = 1 ;
				Diffuse = 0.3, 0.3, 0.8,1.0; //RGB
				Ambient = 0.15, 0.15, 0.4; 
				Specular = 0.15, 0.15, 0.4; 
				}
			Case 2,6:
				ChangeMaterial{　//黄,イエロージョンキル
				MaterialID = 1 ;
				Diffuse =  1.0, 0.7, 0.1,1.0; //RGB
				Ambient =  0.5, 0.35, 0.05; 
				Specular = 0.5, 0.35, 0.05; 
				}
			Case 3,7:
				ChangeMaterial{　//緑,グリーンレイク
				MaterialID = 1 ;
				Diffuse =  0.2, 0.6, 0.5,1.0; //RGB
				Ambient =  0.1, 0.3, 0.25; 
				Specular = 0.1, 0.3, 0.25; 
				}
			Case 8,9,10,11:
				ChangeMaterial{　//橙,オレンジパーシモン
				MaterialID = 1 ;
				Diffuse =  1.0, 0.5, 0.1,1.0; //RGB
				Ambient =  0.5, 0.25, 0.05; 
				Specular = 0.5, 0.25, 0.05; 
				}
			Case 17,18,20,21,22,23,24:
				ScaleTexture = 1, 1, 2, 0.5, 0.25;
				ScaleTexture = 3, 1, 2, 0.5, 0.25;
			Case 12,13,14,15,16,19:
				ScaleTexture = 1, 1, 2, 0.6875, 0.25;
				ScaleTexture = 3, 1, 2, 0.6875, 0.25;
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00R.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00R.png";
			Case 17:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body01.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body01.png";
			Case 18:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body02.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body02.png";
			Case 20,22,23:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body03.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body03.png";
			Case 21:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body04.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body04.png";
			Case 24:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body06.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body06.png";
			Case 25:
				ChangeMaterial{ //水色
				MaterialID = 1 ;
				Diffuse = 0.52, 0.81, 1.0, 1.0; //RGB
				Ambient = 0.26, 0.4, 0.5; 
				Specular = 0.26, 0.4, 0.5; 
				}
			}
		Case 1://付属側
			ApplySwitch "編成番号(付属側)"{
			Case 0,1,2,3,4,5,6,7,8,9,10,11,25:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00W.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00K.png";
				ScaleTexture = 1, 1, 2, 0.5, 0.25;
				ScaleTexture = 3, 1, 2, 0.5, 0.25;
			Case 0,4:
				ChangeMaterial{ //赤,スカーレットブロッサム
				MaterialID = 1 ;
				Diffuse =  1.0, 0.2, 0.4,1.0; //RGB
				Ambient =  0.5, 0.1, 0.2; 
				Specular = 0.5, 0.1, 0.2; 
				}
			Case 1,5:
				ChangeMaterial{ //青,ブルーオーシャン
				MaterialID = 1 ;
				Diffuse = 0.3, 0.3, 0.8,1.0; //RGB
				Ambient = 0.15, 0.15, 0.4; 
				Specular = 0.15, 0.15, 0.4; 
				}
			Case 2,6:
				ChangeMaterial{　//黄,イエロージョンキル
				MaterialID = 1 ;
				Diffuse =  1.0, 0.7, 0.1,1.0; //RGB
				Ambient =  0.5, 0.35, 0.05; 
				Specular = 0.5, 0.35, 0.05; 
				}
			Case 3,7:
				ChangeMaterial{　//緑,グリーンレイク
				MaterialID = 1 ;
				Diffuse =  0.2, 0.6, 0.5,1.0; //RGB
				Ambient =  0.1, 0.3, 0.25; 
				Specular = 0.1, 0.3, 0.25; 
				}
			Case 8,9,10,11:
				ChangeMaterial{　//橙,オレンジパーシモン
				MaterialID = 1 ;
				Diffuse =  1.0, 0.5, 0.1,1.0; //RGB
				Ambient =  0.5, 0.25, 0.05; 
				Specular = 0.5, 0.25, 0.05; 
				}
			Case 17,18,20,21,22,23,24:
				ScaleTexture = 1, 1, 2, 0.5, 0.25;
				ScaleTexture = 3, 1, 2, 0.5, 0.25;
			Case 12,13,14,15,16,19:
				ScaleTexture = 1, 1, 2, 0.6875, 0.25;
				ScaleTexture = 3, 1, 2, 0.6875, 0.25;
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00R.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00R.png";
			Case 17:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body01.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body01.png";
			Case 18:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body02.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body02.png";
			Case 20,22,23:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body03.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body03.png";
			Case 21:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body04.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body04.png";
			Case 24:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body06.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body06.png";
			Case 25:
				ChangeMaterial{ //水色
				MaterialID = 1 ;
				Diffuse = 0.52, 0.81, 1.0, 1.0; //RGB
				Ambient = 0.26, 0.4, 0.5; 
				Specular = 0.26, 0.4, 0.5; 
				}
			}
		}
		ApplySwitch "塗装"{
		Case 1,2,3,4,5,13:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00W.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00K.png";
			ScaleTexture = 1, 1, 2, 0.5, 0.25;
			ScaleTexture = 3, 1, 2, 0.5, 0.25;
		Case 1:
			ChangeMaterial{ //赤,スカーレットブロッサム
			MaterialID = 1 ;
			Diffuse =  1.0, 0.2, 0.4,1.0; //RGB
			Ambient =  0.5, 0.1, 0.2; 
			Specular = 0.5, 0.1, 0.2; 
			}
		Case 2:
			ChangeMaterial{ //青,ブルーオーシャン
			MaterialID = 1 ;
			Diffuse = 0.3, 0.3, 0.8,1.0; //RGB
			Ambient = 0.15, 0.15, 0.4; 
			Specular = 0.15, 0.15, 0.4; 
			}
		Case 3:
			ChangeMaterial{　//黄,イエロージョンキル
			MaterialID = 1 ;
			Diffuse =  1.0, 0.7, 0.1,1.0; //RGB
			Ambient =  0.5, 0.35, 0.05; 
			Specular = 0.5, 0.35, 0.05; 
			}
		Case 4:
			ChangeMaterial{　//緑,グリーンレイク
			MaterialID = 1 ;
			Diffuse =  0.2, 0.6, 0.5,1.0; //RGB
			Ambient =  0.1, 0.3, 0.25; 
			Specular = 0.1, 0.3, 0.25; 
			}
		Case 5:
			ChangeMaterial{　//橙,オレンジパーシモン
			MaterialID = 1 ;
			Diffuse =  1.0, 0.5, 0.1,1.0; //RGB
			Ambient =  0.5, 0.25, 0.05; 
			Specular = 0.5, 0.25, 0.05; 
			}
		Case 6,7,8,9,10,11,12,14,15,16:
			ChangeMaterial{
			MaterialID = 1 ;
		//	Diffuse =  0.7, 0.7, 0.7,1.0;
		//	Ambient =  0.7, 0.7, 0.7; 
		//	Specular = 0.2, 0.2, 0.2; 
			}
		Case 6:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00R.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00R.png";
			ScaleTexture = 1, 1, 2, 0.6875, 0.25;
			ScaleTexture = 3, 1, 2, 0.6875, 0.25;
		Case 7,8,9,10,11,12,14,15,16,17,18,19,20:
			ScaleTexture = 1, 1, 2, 0.5, 0.25;
			ScaleTexture = 3, 1, 2, 0.5, 0.25;
		Case 7:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body01.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body01.png";
		Case 8:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body02.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body02.png";
		Case 9:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body03.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body03.png";
		Case 10:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body04.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body04.png";
		Case 11:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body05.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body05.png";
		Case 12:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body06.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body06.png";
		Case 13:
			ChangeMaterial{ //水色
			MaterialID = 1 ;
			Diffuse = 0.52, 0.81, 1.0, 1.0; //RGB
			Ambient = 0.26, 0.4, 0.5; 
			Specular = 0.26, 0.4, 0.5; 
			}
		Case 14:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body07.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body07.png";
		Case 15:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body08.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body08.png";
		Case 16:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body09.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body09.png";
		}
		If "_DOOR2"||("ドア"==1){
				StaticMove{			//オブジェクトの移動
				Displacement = (0.0, 0.0, -0.05);	//移動量(X,Y,Z)
				PreAnimationDelay = 0.5;	//スイッチがオンになってから動作するまでの時間
				AnimationTime = 3.0;		//動作にかかる時間
				PreReverseDelay = 2.0;
				ReverseTime = 0.5;
			}
				StaticMove{			//オブジェクトの移動
				Displacement = (0.0, 0.0, 0.0);	//移動量(X,Y,Z)
				PreAnimationDelay = 0.5;	//スイッチがオンになってから動作するまでの時間
				AnimationTime = 1.0;		//動作にかかる時間
				PreReverseDelay = 2.0;
				ReverseTime = 0.25;
			}
				StaticMove{			//オブジェクトの移動
				Displacement = (0.0, 0.0, -0.624);	//移動量(X,Y,Z)
				PreAnimationDelay = 0.5;	//スイッチがオンになってから動作するまでの時間
				AnimationTime = 2.0;		//動作にかかる時間
				PreReverseDelay = 0.0;
				ReverseTime = 1.5;
			}
		}
		If "電源" & "_NIGHT" {
			ChangeMaterial{
				MaterialID = 7;
				Diffuse = 0.7, 0.7, 0.7, 0.99999;//アルファ値強制半透明化でインスタンス描画無効化処理
				Emissive = 1.0, 1.0, 1.0;
			}
		}Else{
			ChangeMaterial{
				MaterialID = 7;
				Diffuse = 0.7, 0.7, 0.7, 0.99999;//アルファ値強制半透明化でインスタンス描画無効化処理
				Emissive = 0.0, 0.0, 0.0;
			}
		}

		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 6.79);
		}
	}

	Object3D "DoorL2"{
		ModelFileName = "../nya@mizu_e653_1/door2.x";
		ModelScale = 0.1;
		ApplySwitch "編成属性"{
		Case 0://基本側
			ApplySwitch "編成番号(基本側)"{
			Case 0,1,2,3,4,5,6,7,8,9,10,11,25:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00W.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00K.png";
				ScaleTexture = 1, 1, 2, 0.5, 0.25;
				ScaleTexture = 3, 1, 2, 0.5, 0.25;
			Case 0,4:
				ChangeMaterial{ //赤,スカーレットブロッサム
				MaterialID = 1 ;
				Diffuse =  1.0, 0.2, 0.4,1.0; //RGB
				Ambient =  0.5, 0.1, 0.2; 
				Specular = 0.5, 0.1, 0.2; 
				}
			Case 1,5:
				ChangeMaterial{ //青,ブルーオーシャン
				MaterialID = 1 ;
				Diffuse = 0.3, 0.3, 0.8,1.0; //RGB
				Ambient = 0.15, 0.15, 0.4; 
				Specular = 0.15, 0.15, 0.4; 
				}
			Case 2,6:
				ChangeMaterial{　//黄,イエロージョンキル
				MaterialID = 1 ;
				Diffuse =  1.0, 0.7, 0.1,1.0; //RGB
				Ambient =  0.5, 0.35, 0.05; 
				Specular = 0.5, 0.35, 0.05; 
				}
			Case 3,7:
				ChangeMaterial{　//緑,グリーンレイク
				MaterialID = 1 ;
				Diffuse =  0.2, 0.6, 0.5,1.0; //RGB
				Ambient =  0.1, 0.3, 0.25; 
				Specular = 0.1, 0.3, 0.25; 
				}
			Case 8,9,10,11:
				ChangeMaterial{　//橙,オレンジパーシモン
				MaterialID = 1 ;
				Diffuse =  1.0, 0.5, 0.1,1.0; //RGB
				Ambient =  0.5, 0.25, 0.05; 
				Specular = 0.5, 0.25, 0.05; 
				}
			Case 17,18,20,21,22,23,24:
				ScaleTexture = 1, 1, 2, 0.5, 0.25;
				ScaleTexture = 3, 1, 2, 0.5, 0.25;
			Case 12,13,14,15,16,19:
				ScaleTexture = 1, 1, 2, 0.7500, 0.25;
				ScaleTexture = 3, 1, 2, 0.7500, 0.25;
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00R.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00R.png";
			Case 17:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body01.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body01.png";
			Case 18:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body02.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body02.png";
			Case 20,22,23:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body03.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body03.png";
			Case 21:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body04.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body04.png";
			Case 24:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body06.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body06.png";
			Case 25:
				ChangeMaterial{ //水色
				MaterialID = 1 ;
				Diffuse = 0.52, 0.81, 1.0, 1.0; //RGB
				Ambient = 0.26, 0.4, 0.5; 
				Specular = 0.26, 0.4, 0.5; 
				}
			}
		Case 1://付属側
			ApplySwitch "編成番号(付属側)"{
			Case 0,1,2,3,4,5,6,7,8,9,10,11,25:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00W.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00K.png";
				ScaleTexture = 1, 1, 2, 0.5, 0.25;
				ScaleTexture = 3, 1, 2, 0.5, 0.25;
			Case 0,4:
				ChangeMaterial{ //赤,スカーレットブロッサム
				MaterialID = 1 ;
				Diffuse =  1.0, 0.2, 0.4,1.0; //RGB
				Ambient =  0.5, 0.1, 0.2; 
				Specular = 0.5, 0.1, 0.2; 
				}
			Case 1,5:
				ChangeMaterial{ //青,ブルーオーシャン
				MaterialID = 1 ;
				Diffuse = 0.3, 0.3, 0.8,1.0; //RGB
				Ambient = 0.15, 0.15, 0.4; 
				Specular = 0.15, 0.15, 0.4; 
				}
			Case 2,6:
				ChangeMaterial{　//黄,イエロージョンキル
				MaterialID = 1 ;
				Diffuse =  1.0, 0.7, 0.1,1.0; //RGB
				Ambient =  0.5, 0.35, 0.05; 
				Specular = 0.5, 0.35, 0.05; 
				}
			Case 3,7:
				ChangeMaterial{　//緑,グリーンレイク
				MaterialID = 1 ;
				Diffuse =  0.2, 0.6, 0.5,1.0; //RGB
				Ambient =  0.1, 0.3, 0.25; 
				Specular = 0.1, 0.3, 0.25; 
				}
			Case 8,9,10,11:
				ChangeMaterial{　//橙,オレンジパーシモン
				MaterialID = 1 ;
				Diffuse =  1.0, 0.5, 0.1,1.0; //RGB
				Ambient =  0.5, 0.25, 0.05; 
				Specular = 0.5, 0.25, 0.05; 
				}
			Case 17,18,20,21,22,23,24:
				ScaleTexture = 1, 1, 2, 0.5, 0.25;
				ScaleTexture = 3, 1, 2, 0.5, 0.25;
			Case 12,13,14,15,16,19:
				ScaleTexture = 1, 1, 2, 0.7500, 0.25;
				ScaleTexture = 3, 1, 2, 0.7500, 0.25;
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00R.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00R.png";
			Case 17:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body01.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body01.png";
			Case 18:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body02.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body02.png";
			Case 20,22,23:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body03.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body03.png";
			Case 21:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body04.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body04.png";
			Case 24:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body06.png";
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body06.png";
			Case 25:
				ChangeMaterial{ //水色
				MaterialID = 1 ;
				Diffuse = 0.52, 0.81, 1.0, 1.0; //RGB
				Ambient = 0.26, 0.4, 0.5; 
				Specular = 0.26, 0.4, 0.5; 
				}
			}
		}
		ApplySwitch "塗装"{
		Case 1,2,3,4,5,13:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00W.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00K.png";
			ScaleTexture = 1, 1, 2, 0.5, 0.25;
			ScaleTexture = 3, 1, 2, 0.5, 0.25;
		Case 1:
			ChangeMaterial{ //赤,スカーレットブロッサム
			MaterialID = 1 ;
			Diffuse =  1.0, 0.2, 0.4,1.0; //RGB
			Ambient =  0.5, 0.1, 0.2; 
			Specular = 0.5, 0.1, 0.2; 
			}
		Case 2:
			ChangeMaterial{ //青,ブルーオーシャン
			MaterialID = 1 ;
			Diffuse = 0.3, 0.3, 0.8,1.0; //RGB
			Ambient = 0.15, 0.15, 0.4; 
			Specular = 0.15, 0.15, 0.4; 
			}
		Case 3:
			ChangeMaterial{　//黄,イエロージョンキル
			MaterialID = 1 ;
			Diffuse =  1.0, 0.7, 0.1,1.0; //RGB
			Ambient =  0.5, 0.35, 0.05; 
			Specular = 0.5, 0.35, 0.05; 
			}
		Case 4:
			ChangeMaterial{　//緑,グリーンレイク
			MaterialID = 1 ;
			Diffuse =  0.2, 0.6, 0.5,1.0; //RGB
			Ambient =  0.1, 0.3, 0.25; 
			Specular = 0.1, 0.3, 0.25; 
			}
		Case 5:
			ChangeMaterial{　//橙,オレンジパーシモン
			MaterialID = 1 ;
			Diffuse =  1.0, 0.5, 0.1,1.0; //RGB
			Ambient =  0.5, 0.25, 0.05; 
			Specular = 0.5, 0.25, 0.05; 
			}
		Case 6,7,8,9,10,11,12,14,15,16:
			ChangeMaterial{
			MaterialID = 1 ;
		//	Diffuse =  0.7, 0.7, 0.7,1.0;
		//	Ambient =  0.7, 0.7, 0.7; 
		//	Specular = 0.2, 0.2, 0.2; 
			}
		Case 6:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00R.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00R.png";
			ScaleTexture = 1, 1, 2, 0.7500, 0.25;
			ScaleTexture = 3, 1, 2, 0.7500, 0.25;
		Case 7,8,9,10,11,12,14,15,16,17,18,19,20:
			ScaleTexture = 1, 1, 2, 0.5, 0.25;
			ScaleTexture = 3, 1, 2, 0.5, 0.25;
		Case 7:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body01.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body01.png";
		Case 8:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body02.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body02.png";
		Case 9:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body03.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body03.png";
		Case 10:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body04.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body04.png";
		Case 11:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body05.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body05.png";
		Case 12:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body06.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body06.png";
		Case 13:
			ChangeMaterial{ //水色
			MaterialID = 1 ;
			Diffuse = 0.52, 0.81, 1.0, 1.0; //RGB
			Ambient = 0.26, 0.4, 0.5; 
			Specular = 0.26, 0.4, 0.5; 
			}
		Case 14:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body07.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body07.png";
		Case 15:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body08.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body08.png";
		Case 16:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body09.png";
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body09.png";
		}
		If "_DOOR2"||("ドア"==1){
				StaticMove{			//オブジェクトの移動
				Displacement = (0.0, 0.0, -0.05);	//移動量(X,Y,Z)
				PreAnimationDelay = 0.5;	//スイッチがオンになってから動作するまでの時間
				AnimationTime = 3.0;		//動作にかかる時間
				PreReverseDelay = 2.0;
				ReverseTime = 0.5;
			}
				StaticMove{			//オブジェクトの移動
				Displacement = (0.0, 0.0, 0.0);	//移動量(X,Y,Z)
				PreAnimationDelay = 0.5;	//スイッチがオンになってから動作するまでの時間
				AnimationTime = 1.0;		//動作にかかる時間
				PreReverseDelay = 2.0;
				ReverseTime = 0.25;
			}
				StaticMove{			//オブジェクトの移動
				Displacement = (0.0, 0.0, -0.624);	//移動量(X,Y,Z)
				PreAnimationDelay = 0.5;	//スイッチがオンになってから動作するまでの時間
				AnimationTime = 2.0;		//動作にかかる時間
				PreReverseDelay = 0.0;
				ReverseTime = 1.5;
			}
		}
		If "電源" & "_NIGHT" {
			ChangeMaterial{
				MaterialID = 7;
				Diffuse = 0.7, 0.7, 0.7, 0.99999;//アルファ値強制半透明化でインスタンス描画無効化処理
				Emissive = 1.0, 1.0, 1.0;
			}
		}Else{
			ChangeMaterial{
				MaterialID = 7;
				Diffuse = 0.7, 0.7, 0.7, 0.99999;//アルファ値強制半透明化でインスタンス描画無効化処理
				Emissive = 0.0, 0.0, 0.0;
			}
		}
		ApplySwitch "号車"{
		Case 2,3,4,5:
			ChangeModel = "",0.07;
		}

		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, -7.69);
		}
	}


///////////////////////////////
//
//	ライト
//
///////////////////////////////

	Object3D "Light"{
		ModelFileName = "../nya@mizu_e653_1/Light.x";
		ModelScale = 0.1;
		//	照明スイッチ
		ApplySwitch "前照灯"{
		Case 0:
			ShiftTexture = 0, 0.0, 0.0;
			ShiftTexture = 1, 0.0, 0.0;
			ChangeMaterial{ MaterialID = 0 ; Emissive = 0.0, 0.0, 0.0;  }
			//	前方に車輌が接続されていないときのみ点灯
			ApplySwitch "_CONNECT1"{
			Case 0:
				//	進行方向を判定
				ApplySwitch "_FRONT"{
				Case 0:
					ShiftTexture = 0, 0.0, 0.0;
					ChangeMaterial{ MaterialID = 1 ; Emissive = 1.0, 1.0, 1.0;  }
				Case 1:
					ChangeMaterial{ MaterialID = 1 ; Emissive = 0.0, 0.0, 0.0;  }
					ShiftTexture = 1, 0.0, 0.5;
					ChangeMaterial{ MaterialID = 0 ; Emissive = 1.0, 1.0, 1.0;  }
					ShiftTexture = 0, 0.0, 0.25;
				}
          	        Case 1:
				ShiftTexture = 0, 0.0, 0.0;
				ShiftTexture = 1, 0.0, 0.5;
				ChangeMaterial{ MaterialID = 0,1 ; Emissive = 0.0, 0.0, 0.0;  }
			}
                  Case 1:
			ShiftTexture = 1, 0.0, 0.5;
			ShiftTexture = 0, 0.0, 0.5;
			ChangeMaterial{ MaterialID = 0,1 ; Emissive = 0.0, 0.0, 0.0;  }
		}
		ApplySwitch "電源"{
		Case 0:
		ShiftTexture = 0, 0.0, 0.5;
		ShiftTexture = 1, 0.0, 0.5;
		ChangeMaterial{ MaterialID = 0,1 ; Emissive = 0.0, 0.0, 0.0;  }
		Case 1:
		}

		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}


///////////////////////////////
//
//	連結器
//
///////////////////////////////

	Object3D "Coupler"{
		ModelFileName = "../nya@mizu_e653_1/Coupler.x";
		ModelScale = 0.1;
				ChangeAlpha = 2, 0.0;NoShadow = 2;
		ApplySwitch "編成属性"{
		Case 0://基本側
			ApplySwitch "編成番号(基本側)"{
			Case 12,13,14,15,16,17,18,19,20,21,22,23,24,25:
				ChangeAlpha = 1, 0.0;NoShadow = 1;
			Case 8,9,10,11:
				ApplySwitch "号車"{
				Case 3:ChangeAlpha = 1, 0.0;NoShadow = 1;
				}
			}
		Case 1://付属側
			ApplySwitch "編成番号(付属側)"{
			Case 12,13,14,15,16,17,18,19,20,21,22,23,24,25:
				ChangeAlpha = 1, 0.0;NoShadow = 1;
			Case 8,9,10,11:
				ApplySwitch "号車"{
				Case 3:ChangeAlpha = 1, 0.0;NoShadow = 1;
				}
			}
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}


///////////////////////////////
//
//	スカート
//
///////////////////////////////

	Object3D "Skart"{
		ModelFileName = "";
		ModelScale = 0.1;
		Transparent = 3;//ジャンパ栓
		ApplySwitch "編成属性"{
		Case 0://基本側
			ApplySwitch "編成番号(基本側)"{
			Case 0,1,2,3,4,5,6,7,8,9,10,11:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00W.png";
				ApplySwitch "号車"{
				Case 0,1:
					ChangeModel = "../nya@mizu_e653_1/skart01.x", 0.1;
				Case 2,3,4,5:
					ChangeModel = "../nya@mizu_e653_1/skart01R.x", 0.1;
				}
			Case 12,13,14,15,16,17,18,19,20,21,22,23,24,25:
				ApplySwitch "号車"{
				Case 0,1:
					ChangeModel = "../nya@mizu_e653_1/skart02.x", 0.1;
				Case 2,3,4,5:
					ChangeModel = "../nya@mizu_e653_1/skart02R.x", 0.1;
				}
			Case 25:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00W.png";
			Case 0,4:
				ChangeMaterial{ //赤,スカーレットブロッサム
				MaterialID = 1 ;
				Diffuse =  1.0, 0.2, 0.4,1.0; //RGB
				Ambient =  0.5, 0.1, 0.2; 
				Specular = 0.5, 0.1, 0.2; 
				}
			Case 1,5:
				ChangeMaterial{ //青,ブルーオーシャン
				MaterialID = 1 ;
				Diffuse = 0.3, 0.3, 0.8,1.0; //RGB
				Ambient = 0.15, 0.15, 0.4; 
				Specular = 0.15, 0.15, 0.4; 
				}
			Case 2,6:
				ChangeMaterial{　//黄,イエロージョンキル
				MaterialID = 1 ;
				Diffuse =  1.0, 0.7, 0.1,1.0; //RGB
				Ambient =  0.5, 0.35, 0.05; 
				Specular = 0.5, 0.35, 0.05; 
				}
			Case 3,7:
				ChangeMaterial{　//緑,グリーンレイク
				MaterialID = 1 ;
				Diffuse =  0.2, 0.6, 0.5,1.0; //RGB
				Ambient =  0.1, 0.3, 0.25; 
				Specular = 0.1, 0.3, 0.25; 
				}
			Case 8,9,10,11:
				ChangeMaterial{　//橙,オレンジパーシモン
				MaterialID = 1 ;
				Diffuse =  1.0, 0.5, 0.1,1.0; //RGB
				Ambient =  0.5, 0.25, 0.05; 
				Specular = 0.5, 0.25, 0.05; 
				}
			Case 12,13,14,15,16,19:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00.png";
			Case 17:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body01.png";
			Case 18:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body02.png";
			Case 20,22,23:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body03.png";
			Case 21:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body04.png";
			Case 24:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body06.png";
			Case 25:
				ChangeMaterial{ //水色
				MaterialID = 1 ;
				Diffuse = 0.52, 0.81, 1.0, 1.0; //RGB
				Ambient = 0.26, 0.4, 0.5; 
				Specular = 0.26, 0.4, 0.5; 
				}
			}
		Case 1://付属側
			ApplySwitch "編成番号(付属側)"{
			Case 0,1,2,3,4,5,6,7,8,9,10,11:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00W.png";
				ApplySwitch "号車"{
				Case 0,1:
					ChangeModel = "../nya@mizu_e653_1/skart01.x", 0.1;
				Case 2,3,4,5:
					ChangeModel = "../nya@mizu_e653_1/skart01R.x", 0.1;
				}
			Case 12,13,14,15,16,17,18,19,20,21,22,23,24,25:
				ApplySwitch "号車"{
				Case 0,1:
					ChangeModel = "../nya@mizu_e653_1/skart02.x", 0.1;
				Case 2,3,4,5:
					ChangeModel = "../nya@mizu_e653_1/skart02R.x", 0.1;
				}
			Case 25:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00W.png";
			Case 0,4:
				ChangeMaterial{ //赤,スカーレットブロッサム
				MaterialID = 1 ;
				Diffuse =  1.0, 0.2, 0.4,1.0; //RGB
				Ambient =  0.5, 0.1, 0.2; 
				Specular = 0.5, 0.1, 0.2; 
				}
			Case 1,5:
				ChangeMaterial{ //青,ブルーオーシャン
				MaterialID = 1 ;
				Diffuse = 0.3, 0.3, 0.8,1.0; //RGB
				Ambient = 0.15, 0.15, 0.4; 
				Specular = 0.15, 0.15, 0.4; 
				}
			Case 2,6:
				ChangeMaterial{　//黄,イエロージョンキル
				MaterialID = 1 ;
				Diffuse =  1.0, 0.7, 0.1,1.0; //RGB
				Ambient =  0.5, 0.35, 0.05; 
				Specular = 0.5, 0.35, 0.05; 
				}
			Case 3,7:
				ChangeMaterial{　//緑,グリーンレイク
				MaterialID = 1 ;
				Diffuse =  0.2, 0.6, 0.5,1.0; //RGB
				Ambient =  0.1, 0.3, 0.25; 
				Specular = 0.1, 0.3, 0.25; 
				}
			Case 8,9,10,11:
				ChangeMaterial{　//橙,オレンジパーシモン
				MaterialID = 1 ;
				Diffuse =  1.0, 0.5, 0.1,1.0; //RGB
				Ambient =  0.5, 0.25, 0.05; 
				Specular = 0.5, 0.25, 0.05; 
				}
			Case 12,13,14,15,16,19:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00.png";
			Case 17:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body01.png";
			Case 18:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body02.png";
			Case 20,22,23:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body03.png";
			Case 21:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body04.png";
			Case 24:
				ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body06.png";
			Case 25:
				ChangeMaterial{ //水色
				MaterialID = 1 ;
				Diffuse = 0.52, 0.81, 1.0, 1.0; //RGB
				Ambient = 0.26, 0.4, 0.5; 
				Specular = 0.26, 0.4, 0.5; 
				}
			}
		}
		ApplySwitch "塗装"{
		Case 1,2,3,4,5,13:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00W.png";
		Case 1:
			ChangeMaterial{ //赤,スカーレットブロッサム
			MaterialID = 1 ;
			Diffuse =  1.0, 0.2, 0.4,1.0; //RGB
			Ambient =  0.5, 0.1, 0.2; 
			Specular = 0.5, 0.1, 0.2; 
			}
		Case 2:
			ChangeMaterial{ //青,ブルーオーシャン
			MaterialID = 1 ;
			Diffuse = 0.3, 0.3, 0.8,1.0; //RGB
			Ambient = 0.15, 0.15, 0.4; 
			Specular = 0.15, 0.15, 0.4; 
			}
		Case 3:
			ChangeMaterial{　//黄,イエロージョンキル
			MaterialID = 1 ;
			Diffuse =  1.0, 0.7, 0.1,1.0; //RGB
			Ambient =  0.5, 0.35, 0.05; 
			Specular = 0.5, 0.35, 0.05; 
			}
		Case 4:
			ChangeMaterial{　//緑,グリーンレイク
			MaterialID = 1 ;
			Diffuse =  0.2, 0.6, 0.5,1.0; //RGB
			Ambient =  0.1, 0.3, 0.25; 
			Specular = 0.1, 0.3, 0.25; 
			}
		Case 5:
			ChangeMaterial{　//橙,オレンジパーシモン
			MaterialID = 1 ;
			Diffuse =  1.0, 0.5, 0.1,1.0; //RGB
			Ambient =  0.5, 0.25, 0.05; 
			Specular = 0.5, 0.25, 0.05; 
			}
		Case 6,7,8,9,10,11,12,14,15,16:
			ChangeMaterial{
			MaterialID = 1 ;
		//	Diffuse =  0.7, 0.7, 0.7,1.0;
		//	Ambient =  0.7, 0.7, 0.7; 
		//	Specular = 0.2, 0.2, 0.2; 
			}
		Case 6:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body00.png";
		Case 7:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body01.png";
		Case 8:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body02.png";
		Case 9:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body03.png";
		Case 10:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body04.png";
		Case 11:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body05.png";
		Case 12:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body06.png";
		Case 13:
			ChangeMaterial{ //水色
			MaterialID = 1 ;
			Diffuse = 0.52, 0.81, 1.0, 1.0; //RGB
			Ambient = 0.26, 0.4, 0.5; 
			Specular = 0.26, 0.4, 0.5; 
			}
		Case 14:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body07.png";
		Case 15:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body08.png";
		Case 16:
			ChangeTexture = 1,"../nya@mizu_e653_1/E653/Body09.png";
		}

		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}


///////////////////////////////
//
//	Body
//
///////////////////////////////

	Object3D "body"{
		ModelFileName = "../nya@mizu_e653_1/model.x";
		ModelScale = 1;
		AlphaZeroTest = 0;	NoCastShadow = 0;
		ApplySwitch "編成属性"{
		Case 0://基本側
			ApplySwitch "編成番号(基本側)"{
			Case 0,1,2,3,4,5,6,7,8,9,10,11,25:
				ShiftTexture = 2, 0, 0.125;//HM
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00K.png";
				ChangeTexture = 4,"../nya@mizu_e653_1/E653/Body00W.png";
				ChangeTexture = 5,"../nya@mizu_e653_1/E653/Body00K.png";
				ChangeTexture = 6,"../nya@mizu_e653_1/E653/Body00W.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body00K.png";
				ChangeTexture = 8,"../nya@mizu_e653_1/E653/Body00W.png";
			Case 0,4:
				ChangeMaterial{ //赤,スカーレットブロッサム
				MaterialID = 4,6,8 ;
				Diffuse =  1.0, 0.2, 0.4,1.0; //RGB
				Ambient =  0.5, 0.1, 0.2; 
				Specular = 0.5, 0.1, 0.2; 
				}
			Case 1,5:
				ChangeMaterial{ //青,ブルーオーシャン
				MaterialID = 4,6,8 ;
				Diffuse = 0.3, 0.3, 0.8,1.0; //RGB
				Ambient = 0.15, 0.15, 0.4; 
				Specular = 0.15, 0.15, 0.4; 
				}
			Case 2,6:
				ChangeMaterial{　//黄,イエロージョンキル
				MaterialID = 4,6,8 ;
				Diffuse =  1.0, 0.7, 0.1,1.0; //RGB
				Ambient =  0.5, 0.35, 0.05; 
				Specular = 0.5, 0.35, 0.05; 
				}
			Case 3,7:
				ChangeMaterial{　//緑,グリーンレイク
				MaterialID = 4,6,8 ;
				Diffuse =  0.2, 0.6, 0.5,1.0; //RGB
				Ambient =  0.1, 0.3, 0.25; 
				Specular = 0.1, 0.3, 0.25; 
				}
			Case 8,9,10,11:
				ChangeMaterial{　//橙,オレンジパーシモン
				MaterialID = 4,6,8 ;
				Diffuse =  1.0, 0.5, 0.1,1.0; //RGB
				Ambient =  0.5, 0.25, 0.05; 
				Specular = 0.5, 0.25, 0.05; 
				}
			Case 12,13,14,15,16,19:
				ShiftTexture = 2, 0, 0.25;//HM
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00.png";
				ChangeTexture = 4,"../nya@mizu_e653_1/E653/Body00.png";
				ChangeTexture = 5,"../nya@mizu_e653_1/E653/Body00.png";
				ChangeTexture = 6,"../nya@mizu_e653_1/E653/Body00.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body00R.png";
				ChangeTexture = 8,"../nya@mizu_e653_1/E653/Body00R.png";
			Case 17:
				ShiftTexture = 2, 0, 0.25;//HM
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body01.png";
				ChangeTexture = 4,"../nya@mizu_e653_1/E653/Body01.png";
				ChangeTexture = 5,"../nya@mizu_e653_1/E653/Body01.png";
				ChangeTexture = 6,"../nya@mizu_e653_1/E653/Body01.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body01.png";
				ChangeTexture = 8,"../nya@mizu_e653_1/E653/Body01.png";
			Case 18:
				ShiftTexture = 2, 0, 0.25;//HM
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body02.png";
				ChangeTexture = 4,"../nya@mizu_e653_1/E653/Body02.png";
				ChangeTexture = 5,"../nya@mizu_e653_1/E653/Body02.png";
				ChangeTexture = 6,"../nya@mizu_e653_1/E653/Body02.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body02.png";
				ChangeTexture = 8,"../nya@mizu_e653_1/E653/Body02.png";
			Case 20,22,23:
				ShiftTexture = 2, 0, 0.0;//HM
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body03.png";
				ChangeTexture = 4,"../nya@mizu_e653_1/E653/Body03.png";
				ChangeTexture = 5,"../nya@mizu_e653_1/E653/Body03.png";
				ChangeTexture = 6,"../nya@mizu_e653_1/E653/Body03.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body03.png";
				ChangeTexture = 8,"../nya@mizu_e653_1/E653/Body03.png";
			Case 21:
				ShiftTexture = 2, 0, 0.0;//HM
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body04.png";
				ChangeTexture = 4,"../nya@mizu_e653_1/E653/Body04.png";
				ChangeTexture = 5,"../nya@mizu_e653_1/E653/Body04.png";
				ChangeTexture = 6,"../nya@mizu_e653_1/E653/Body04.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body04.png";
				ChangeTexture = 8,"../nya@mizu_e653_1/E653/Body04.png";
			Case 24:
				ShiftTexture = 2, 0, 0.0;//HM
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body06.png";
				ChangeTexture = 4,"../nya@mizu_e653_1/E653/Body06.png";
				ChangeTexture = 5,"../nya@mizu_e653_1/E653/Body06.png";
				ChangeTexture = 6,"../nya@mizu_e653_1/E653/Body06.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body06.png";
				ChangeTexture = 8,"../nya@mizu_e653_1/E653/Body06.png";
			Case 25:
				ShiftTexture = 2, 0, 0.0;//HM
				ChangeMaterial{ //水色
				MaterialID = 4,6,8 ;
				Diffuse = 0.52, 0.81, 1.0, 1.0; //RGB
				Ambient = 0.26, 0.4, 0.5; 
				Specular = 0.26, 0.4, 0.5; 
				}
			}
		Case 1://付属側
			ApplySwitch "編成番号(付属側)"{
			Case 0,1,2,3,4,5,6,7,8,9,10,11,25:
				ShiftTexture = 2, 0, 0.125;//HM
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00K.png";
				ChangeTexture = 4,"../nya@mizu_e653_1/E653/Body00W.png";
				ChangeTexture = 5,"../nya@mizu_e653_1/E653/Body00K.png";
				ChangeTexture = 6,"../nya@mizu_e653_1/E653/Body00W.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body00K.png";
				ChangeTexture = 8,"../nya@mizu_e653_1/E653/Body00W.png";
			Case 0,4:
				ChangeMaterial{ //赤,スカーレットブロッサム
				MaterialID = 4,6,8 ;
				Diffuse =  1.0, 0.2, 0.4,1.0; //RGB
				Ambient =  0.5, 0.1, 0.2; 
				Specular = 0.5, 0.1, 0.2; 
				}
			Case 1,5:
				ChangeMaterial{ //青,ブルーオーシャン
				MaterialID = 4,6,8 ;
				Diffuse = 0.3, 0.3, 0.8,1.0; //RGB
				Ambient = 0.15, 0.15, 0.4; 
				Specular = 0.15, 0.15, 0.4; 
				}
			Case 2,6:
				ChangeMaterial{　//黄,イエロージョンキル
				MaterialID = 4,6,8 ;
				Diffuse =  1.0, 0.7, 0.1,1.0; //RGB
				Ambient =  0.5, 0.35, 0.05; 
				Specular = 0.5, 0.35, 0.05; 
				}
			Case 3,7:
				ChangeMaterial{　//緑,グリーンレイク
				MaterialID = 4,6,8 ;
				Diffuse =  0.2, 0.6, 0.5,1.0; //RGB
				Ambient =  0.1, 0.3, 0.25; 
				Specular = 0.1, 0.3, 0.25; 
				}
			Case 8,9,10,11:
				ChangeMaterial{　//橙,オレンジパーシモン
				MaterialID = 4,6,8 ;
				Diffuse =  1.0, 0.5, 0.1,1.0; //RGB
				Ambient =  0.5, 0.25, 0.05; 
				Specular = 0.5, 0.25, 0.05; 
				}
			Case 12,13,14,15,16,19:
				ShiftTexture = 2, 0, 0.25;//HM
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00.png";
				ChangeTexture = 4,"../nya@mizu_e653_1/E653/Body00.png";
				ChangeTexture = 5,"../nya@mizu_e653_1/E653/Body00.png";
				ChangeTexture = 6,"../nya@mizu_e653_1/E653/Body00.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body00R.png";
				ChangeTexture = 8,"../nya@mizu_e653_1/E653/Body00R.png";
			Case 17:
				ShiftTexture = 2, 0, 0.25;//HM
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body01.png";
				ChangeTexture = 4,"../nya@mizu_e653_1/E653/Body01.png";
				ChangeTexture = 5,"../nya@mizu_e653_1/E653/Body01.png";
				ChangeTexture = 6,"../nya@mizu_e653_1/E653/Body01.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body01.png";
				ChangeTexture = 8,"../nya@mizu_e653_1/E653/Body01.png";
			Case 18:
				ShiftTexture = 2, 0, 0.25;//HM
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body02.png";
				ChangeTexture = 4,"../nya@mizu_e653_1/E653/Body02.png";
				ChangeTexture = 5,"../nya@mizu_e653_1/E653/Body02.png";
				ChangeTexture = 6,"../nya@mizu_e653_1/E653/Body02.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body02.png";
				ChangeTexture = 8,"../nya@mizu_e653_1/E653/Body02.png";
			Case 20,22,23:
				ShiftTexture = 2, 0, 0.0;//HM
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body03.png";
				ChangeTexture = 4,"../nya@mizu_e653_1/E653/Body03.png";
				ChangeTexture = 5,"../nya@mizu_e653_1/E653/Body03.png";
				ChangeTexture = 6,"../nya@mizu_e653_1/E653/Body03.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body03.png";
				ChangeTexture = 8,"../nya@mizu_e653_1/E653/Body03.png";
			Case 21:
				ShiftTexture = 2, 0, 0.0;//HM
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body04.png";
				ChangeTexture = 4,"../nya@mizu_e653_1/E653/Body04.png";
				ChangeTexture = 5,"../nya@mizu_e653_1/E653/Body04.png";
				ChangeTexture = 6,"../nya@mizu_e653_1/E653/Body04.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body04.png";
				ChangeTexture = 8,"../nya@mizu_e653_1/E653/Body04.png";
			Case 24:
				ShiftTexture = 2, 0, 0.0;//HM
				ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body06.png";
				ChangeTexture = 4,"../nya@mizu_e653_1/E653/Body06.png";
				ChangeTexture = 5,"../nya@mizu_e653_1/E653/Body06.png";
				ChangeTexture = 6,"../nya@mizu_e653_1/E653/Body06.png";
				ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body06.png";
				ChangeTexture = 8,"../nya@mizu_e653_1/E653/Body06.png";
			Case 25:
				ShiftTexture = 2, 0, 0.0;//HM
				ChangeMaterial{ //水色
				MaterialID = 4,6,8 ;
				Diffuse = 0.52, 0.81, 1.0, 1.0; //RGB
				Ambient = 0.26, 0.4, 0.5; 
				Specular = 0.26, 0.4, 0.5; 
				}
			}
		}
		ApplySwitch "HM"{
		Case 1:		ShiftTexture = 2, 0, 0.000;//HM
		Case 2:		ShiftTexture = 2, 0, 0.125;//HM
		Case 3:		ShiftTexture = 2, 0, 0.250;//HM
		Case 4:		ShiftTexture = 2, 0, 0.375;//HM
		}

		ApplySwitch "塗装"{
		Case 1,2,3,4,5,13:
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00K.png";
			ChangeTexture = 4,"../nya@mizu_e653_1/E653/Body00W.png";
			ChangeTexture = 5,"../nya@mizu_e653_1/E653/Body00K.png";
			ChangeTexture = 6,"../nya@mizu_e653_1/E653/Body00W.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body00K.png";
			ChangeTexture = 8,"../nya@mizu_e653_1/E653/Body00W.png";
		Case 1:
			ChangeMaterial{ //赤,スカーレットブロッサム
			MaterialID = 4,6,8 ;
			Diffuse =  1.0, 0.2, 0.4,1.0; //RGB
			Ambient =  0.5, 0.1, 0.2; 
			Specular = 0.5, 0.1, 0.2; 
			}
		Case 2:
			ChangeMaterial{ //青,ブルーオーシャン
			MaterialID = 4,6,8 ;
			Diffuse = 0.3, 0.3, 0.8,1.0; //RGB
			Ambient = 0.15, 0.15, 0.4; 
			Specular = 0.15, 0.15, 0.4; 
			}
		Case 3:
			ChangeMaterial{　//黄,イエロージョンキル
			MaterialID = 4,6,8 ;
			Diffuse =  1.0, 0.7, 0.1,1.0; //RGB
			Ambient =  0.5, 0.35, 0.05; 
			Specular = 0.5, 0.35, 0.05; 
			}
		Case 4:
			ChangeMaterial{　//緑,グリーンレイク
			MaterialID = 4,6,8 ;
			Diffuse =  0.2, 0.6, 0.5,1.0; //RGB
			Ambient =  0.1, 0.3, 0.25; 
			Specular = 0.1, 0.3, 0.25; 
			}
		Case 5:
			ChangeMaterial{　//橙,オレンジパーシモン
			MaterialID = 4,6,8 ;
			Diffuse =  1.0, 0.5, 0.1,1.0; //RGB
			Ambient =  0.5, 0.25, 0.05; 
			Specular = 0.5, 0.25, 0.05; 
			}
		Case 6,7,8,9,10,11,12,14,15,16:
			ChangeMaterial{
			MaterialID = 4,6,8 ;
		//	Diffuse =  0.7, 0.7, 0.7,1.0;
		//	Ambient =  0.7, 0.7, 0.7; 
		//	Specular = 0.2, 0.2, 0.2; 
			}
		Case 6:
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body00.png";
			ChangeTexture = 4,"../nya@mizu_e653_1/E653/Body00.png";
			ChangeTexture = 5,"../nya@mizu_e653_1/E653/Body00.png";
			ChangeTexture = 6,"../nya@mizu_e653_1/E653/Body00.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body00R.png";
			ChangeTexture = 8,"../nya@mizu_e653_1/E653/Body00R.png";
		Case 7:
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body01.png";
			ChangeTexture = 4,"../nya@mizu_e653_1/E653/Body01.png";
			ChangeTexture = 5,"../nya@mizu_e653_1/E653/Body01.png";
			ChangeTexture = 6,"../nya@mizu_e653_1/E653/Body01.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body01.png";
			ChangeTexture = 8,"../nya@mizu_e653_1/E653/Body01.png";
		Case 8:
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body02.png";
			ChangeTexture = 4,"../nya@mizu_e653_1/E653/Body02.png";
			ChangeTexture = 5,"../nya@mizu_e653_1/E653/Body02.png";
			ChangeTexture = 6,"../nya@mizu_e653_1/E653/Body02.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body02.png";
			ChangeTexture = 8,"../nya@mizu_e653_1/E653/Body02.png";
		Case 9:
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body03.png";
			ChangeTexture = 4,"../nya@mizu_e653_1/E653/Body03.png";
			ChangeTexture = 5,"../nya@mizu_e653_1/E653/Body03.png";
			ChangeTexture = 6,"../nya@mizu_e653_1/E653/Body03.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body03.png";
			ChangeTexture = 8,"../nya@mizu_e653_1/E653/Body03.png";
		Case 10:
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body04.png";
			ChangeTexture = 4,"../nya@mizu_e653_1/E653/Body04.png";
			ChangeTexture = 5,"../nya@mizu_e653_1/E653/Body04.png";
			ChangeTexture = 6,"../nya@mizu_e653_1/E653/Body04.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body04.png";
			ChangeTexture = 8,"../nya@mizu_e653_1/E653/Body04.png";
		Case 11:
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body05.png";
			ChangeTexture = 4,"../nya@mizu_e653_1/E653/Body05.png";
			ChangeTexture = 5,"../nya@mizu_e653_1/E653/Body05.png";
			ChangeTexture = 6,"../nya@mizu_e653_1/E653/Body05.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body05.png";
			ChangeTexture = 8,"../nya@mizu_e653_1/E653/Body05.png";
		Case 12:
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body06.png";
			ChangeTexture = 4,"../nya@mizu_e653_1/E653/Body06.png";
			ChangeTexture = 5,"../nya@mizu_e653_1/E653/Body06.png";
			ChangeTexture = 6,"../nya@mizu_e653_1/E653/Body06.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body06.png";
			ChangeTexture = 8,"../nya@mizu_e653_1/E653/Body06.png";
		Case 13:
			ChangeMaterial{ //水色
			MaterialID = 4,6,8 ;
			Diffuse = 0.52, 0.81, 1.0, 1.0; //RGB
			Ambient = 0.26, 0.4, 0.5; 
			Specular = 0.26, 0.4, 0.5; 
			}
		Case 14:
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body07.png";
			ChangeTexture = 4,"../nya@mizu_e653_1/E653/Body07.png";
			ChangeTexture = 5,"../nya@mizu_e653_1/E653/Body07.png";
			ChangeTexture = 6,"../nya@mizu_e653_1/E653/Body07.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body07.png";
			ChangeTexture = 8,"../nya@mizu_e653_1/E653/Body07.png";
		Case 15:
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body08.png";
			ChangeTexture = 4,"../nya@mizu_e653_1/E653/Body08.png";
			ChangeTexture = 5,"../nya@mizu_e653_1/E653/Body08.png";
			ChangeTexture = 6,"../nya@mizu_e653_1/E653/Body08.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body08.png";
			ChangeTexture = 8,"../nya@mizu_e653_1/E653/Body08.png";
		Case 16:
			ChangeTexture = 3,"../nya@mizu_e653_1/E653/Body09.png";
			ChangeTexture = 4,"../nya@mizu_e653_1/E653/Body09.png";
			ChangeTexture = 5,"../nya@mizu_e653_1/E653/Body09.png";
			ChangeTexture = 6,"../nya@mizu_e653_1/E653/Body09.png";
			ChangeTexture = 7,"../nya@mizu_e653_1/E653/Body09.png";
			ChangeTexture = 8,"../nya@mizu_e653_1/E653/Body09.png";
		}

		ApplySwitch "号車"{
			Case 0,1:
//				ShiftTexture = 2, 0.0, 0.0;//上側
//				ShiftTexture = 7, 0.0, 0.0;//下側
			Case 2,3,4,5:
				ShiftTexture = 5, 0.0, 0.75;//下側
				ShiftTexture = 6, 0.0, 0.75;//下側
				ShiftTexture = 7, 0.0, 0.75;//下側
				ShiftTexture = 8, 0.0, 0.75;//下側
//				ShiftTexture = 7, 0.0, 0.5;//下側
 
		}
		ApplySwitch "電源"{
		Case 0:
//		ShiftTexture = 0, 0.0, 0.5;
//		ShiftTexture = 4, 0.0, 0.03125;
		ChangeMaterial{ MaterialID = 2 ; Emissive = 0.0, 0.0, 0.0;  }
		Case 1:
		}

		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}


///////////////////////////////
//
//	編成番号
//
///////////////////////////////

	Object3D "No00"{
		ModelFileName = "../nya@mizu_e653_1/No01.x";
		ModelScale = 0.1;
		NoCastShadow = 0;
		ApplySwitch "編成属性"{
		Case 0://基本側
			ApplySwitch "編成番号(基本側)"{
			Case 8,9,10,11:
				ApplySwitch "号車"{
				Case 3:ChangeModel = "../nya@mizu_e653_1/No02.x", 0.1;
				}
			Case 12,13,14,15,16,17,18,19,20,21,22,23:
				ChangeModel = "../nya@mizu_e653_1/No03.x", 0.1;
			Case 0,12:	ShiftTexture = 0, 0, 0.0000;
			Case 1,13:	ShiftTexture = 0, 0, 0.0625;
			Case 2,14:	ShiftTexture = 0, 0, 0.1250;
			Case 3,15:	ShiftTexture = 0, 0, 0.1875;
			Case 4,16:	ShiftTexture = 0, 0, 0.2500;
			Case 5,17:	ShiftTexture = 0, 0, 0.3125;
			Case 6,18:	ShiftTexture = 0, 0, 0.3750;
			Case 7,19:	ShiftTexture = 0, 0, 0.4375;
			Case 8,20:	ShiftTexture = 0, 0, 0.5000;
			Case 9,21:	ShiftTexture = 0, 0, 0.5625;
			Case 10,22:	ShiftTexture = 0, 0, 0.6250;
			Case 11,23:	ShiftTexture = 0, 0, 0.6875;
			Case 24:	ChangeModel = "../nya@mizu_e653_1/No02.x", 0.1;
					ShiftTexture = 0, 0, 0.7500;
			Case 25:	ChangeModel = "../nya@mizu_e653_1/No02.x", 0.1;
					ShiftTexture = 0, 0.25, 0.7500;
			}
		Case 1://付属側
			ApplySwitch "編成番号(付属側)"{
			Case 8,9,10,11:
				ApplySwitch "号車"{
				Case 3:ChangeModel = "../nya@mizu_e653_1/No02.x", 0.1;
				}
			Case 12,13,14,15,16,17,18,19,20,21,22,23,24:
				ChangeModel = "../nya@mizu_e653_1/No03.x", 0.1;
			Case 0,12:	ShiftTexture = 0, 0, 0.0000;
			Case 1,13:	ShiftTexture = 0, 0, 0.0625;
			Case 2,14:	ShiftTexture = 0, 0, 0.1250;
			Case 3,15:	ShiftTexture = 0, 0, 0.1875;
			Case 4,16:	ShiftTexture = 0, 0, 0.2500;
			Case 5,17:	ShiftTexture = 0, 0, 0.3125;
			Case 6,18:	ShiftTexture = 0, 0, 0.3750;
			Case 7,19:	ShiftTexture = 0, 0, 0.4375;
			Case 8,20:	ShiftTexture = 0, 0, 0.5000;
			Case 9,21:	ShiftTexture = 0, 0, 0.5625;
			Case 10,22:	ShiftTexture = 0, 0, 0.6250;
			Case 11,23:	ShiftTexture = 0, 0, 0.6875;
			Case 24:	ChangeModel = "../nya@mizu_e653_1/No02.x", 0.1;
					ShiftTexture = 0, 0, 0.7500;
			Case 25:	ChangeModel = "../nya@mizu_e653_1/No02.x", 0.1;
					ShiftTexture = 0, 0.25, 0.7500;
			}
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}


///////////////////////////////
//
//	車両番号
//
///////////////////////////////

	Object3D "Num"{
		ModelFileName = "../nya@mizu_e653_1/Num.x";
		ModelScale = 0.1;
		NoCastShadow = 0,1,2,3,4,5,6,7,8,9;
		ApplySwitch "号車"{
		Case 0,1:
			ShiftTexture = 4, 0.0000, 0.0000;//E65{2}
		Case 2,3,4,5:
			ShiftTexture = 4, 0.0625, -0.0625;//E65{3}
		}
		ApplySwitch "編成属性"{
		Case 0://基本側
			ApplySwitch "編成番号(基本側)"{
			Case 0,1,2,3,4,5,6,7:
				ChangeAlpha = 7,0.0;
				ChangeAlpha = 8,0.0;
				ChangeAlpha = 9,0.0;
			Case 8,9,10,11:
				ShiftTexture = 6, 0.0000, 0.0000;//1
				ShiftTexture = 7, 0.2500, 0.0625;//0
				ChangeAlpha = 9,0.0;
			Case 0://K301
				ShiftTexture = 6, 0.0000, 0.0000;//1
			Case 1://K302
				ShiftTexture = 6, 0.0000, 0.0625;//2
			Case 2://K303
				ShiftTexture = 6, 0.0625, 0.0000;//3
			Case 3://K304
				ShiftTexture = 6, 0.0625, 0.0625;//4
			Case 4://K305
				ShiftTexture = 6, 0.1250, 0.0000;//5
			Case 5://K306
				ShiftTexture = 6, 0.1250, 0.0625;//6
			Case 6://K307
				ShiftTexture = 6, 0.1875, 0.0000;//7
			Case 7://K308
				ShiftTexture = 6, 0.1875, 0.0625;//8
			Case 8://K351
				ShiftTexture = 8, 0.0000, 0.0000;//1
			Case 9://K352
				ShiftTexture = 8, 0.0000, 0.0625;//2
			Case 10://K353
				ShiftTexture = 8, 0.0625, 0.0000;//3
			Case 11://K354
				ShiftTexture = 8, 0.0625, 0.0625;//4
			Case 12,13,14,15,16,17,18,19,24,25:
				ShiftTexture = 6, 0.0000, 0.0000;//1
				ShiftTexture = 7, 0.2500, 0.0625;//0
				ShiftTexture = 8, 0.2500, 0.0625;//0
				ApplySwitch "号車"{
				Case 0,1:
					ShiftTexture = 0, 0.0000, 0.0625;//クロ
				}
			Case 12://U101
				ShiftTexture = 9, 0.0000, 0.0000;//1
			Case 13://U102
				ShiftTexture = 9, 0.0000, 0.0625;//2
			Case 14://U103
				ShiftTexture = 9, 0.0625, 0.0000;//3
			Case 15://U104
				ShiftTexture = 9, 0.0625, 0.0625;//4
			Case 16://U105
				ShiftTexture = 9, 0.1250, 0.0000;//5
			Case 17://U106
				ShiftTexture = 9, 0.1250, 0.0625;//6
			Case 18://U107
				ShiftTexture = 9, 0.1875, 0.0000;//7
			Case 19://U108
				ShiftTexture = 9, 0.1875, 0.0625;//8
			Case 20,21,22,23:
				ShiftTexture = 6, 0.0000, 0.0000;//1
				ShiftTexture = 7, 0.0000, 0.0000;//1
				ShiftTexture = 8, 0.2500, 0.0625;//0
			Case 20://H201
				ShiftTexture = 9, 0.0000, 0.0000;//1
			Case 21://H202
				ShiftTexture = 9, 0.0000, 0.0625;//2
			Case 22://H203
				ShiftTexture = 9, 0.0625, 0.0000;//3
			Case 23://H204
				ShiftTexture = 9, 0.0625, 0.0625;//4
			Case 24://K70
				ShiftTexture = 9, 0.1875, 0.0625;//8
			Case 25://K71
				ShiftTexture = 9, 0.0000, 0.0625;//2
			}
		Case 1://付属側
			ApplySwitch "編成番号(付属側)"{
			Case 0,1,2,3,4,5,6,7:
				ChangeAlpha = 7,0.0;
				ChangeAlpha = 8,0.0;
				ChangeAlpha = 9,0.0;
			Case 8,9,10,11:
				ShiftTexture = 6, 0.0000, 0.0000;//1
				ShiftTexture = 7, 0.2500, 0.0625;//0
				ChangeAlpha = 9,0.0;
			Case 0://K301
				ShiftTexture = 6, 0.0000, 0.0000;//1
			Case 1://K302
				ShiftTexture = 6, 0.0000, 0.0625;//2
			Case 2://K303
				ShiftTexture = 6, 0.0625, 0.0000;//3
			Case 3://K304
				ShiftTexture = 6, 0.0625, 0.0625;//4
			Case 4://K305
				ShiftTexture = 6, 0.1250, 0.0000;//5
			Case 5://K306
				ShiftTexture = 6, 0.1250, 0.0625;//6
			Case 6://K307
				ShiftTexture = 6, 0.1875, 0.0000;//7
			Case 7://K308
				ShiftTexture = 6, 0.1875, 0.0625;//8
			Case 8://K351
				ShiftTexture = 8, 0.0000, 0.0000;//1
			Case 9://K352
				ShiftTexture = 8, 0.0000, 0.0625;//2
			Case 10://K353
				ShiftTexture = 8, 0.0625, 0.0000;//3
			Case 11://K354
				ShiftTexture = 8, 0.0625, 0.0625;//4
			Case 12,13,14,15,16,17,18,19,24,25:
				ShiftTexture = 6, 0.0000, 0.0000;//1
				ShiftTexture = 7, 0.2500, 0.0625;//0
				ShiftTexture = 8, 0.2500, 0.0625;//0
				ApplySwitch "号車"{
				Case 0,1:
					ShiftTexture = 0, 0.0000, 0.0625;//クロ
				}
			Case 12://U101
				ShiftTexture = 9, 0.0000, 0.0000;//1
			Case 13://U102
				ShiftTexture = 9, 0.0000, 0.0625;//2
			Case 14://U103
				ShiftTexture = 9, 0.0625, 0.0000;//3
			Case 15://U104
				ShiftTexture = 9, 0.0625, 0.0625;//4
			Case 16://U105
				ShiftTexture = 9, 0.1250, 0.0000;//5
			Case 17://U106
				ShiftTexture = 9, 0.1250, 0.0625;//6
			Case 18://U107
				ShiftTexture = 9, 0.1875, 0.0000;//7
			Case 19://U108
				ShiftTexture = 9, 0.1875, 0.0625;//8
			Case 20,21,22,23:
				ShiftTexture = 6, 0.0000, 0.0000;//1
				ShiftTexture = 7, 0.0000, 0.0000;//1
				ShiftTexture = 8, 0.2500, 0.0625;//0
			Case 20://H201
				ShiftTexture = 9, 0.0000, 0.0000;//1
			Case 21://H202
				ShiftTexture = 9, 0.0000, 0.0625;//2
			Case 22://H203
				ShiftTexture = 9, 0.0625, 0.0000;//3
			Case 23://H204
				ShiftTexture = 9, 0.0625, 0.0625;//4
			Case 24://K70
				ShiftTexture = 9, 0.1875, 0.0625;//8
			Case 25://K71
				ShiftTexture = 9, 0.0000, 0.0625;//2
			}
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}


///////////////////////////////
//
//	表記
//
///////////////////////////////

	Object3D "Decal"{
		ModelFileName = "../nya@mizu_e653_1/Decal.x";
		ModelScale = 0.1;
		NoCastShadow = 0,1,2,3,4;
		ChangeAlpha = 2, 1.0;
		ApplySwitch "号車"{
		Case 0,1:	ChangeAlpha = 3, 1.0;
		}
		ApplySwitch "編成属性"{
		Case 0://基本側
			ApplySwitch "編成番号(基本側)"{
			Case 12,13,14,15,16,17,18,19,24,25:
				ApplySwitch "号車"{
				Case 0,1:	ChangeAlpha = 4, 1.0;
				}
			}
		Case 1://付属側
			ApplySwitch "編成番号(付属側)"{
			Case 12,13,14,15,16,17,18,19,24,25:
				ApplySwitch "号車"{
				Case 0,1:	ChangeAlpha = 4, 1.0;
				}
			}
		}

		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}


If ("_NIGHT"){
	ApplySwitch "前照灯"{					
	Case 0:
	ApplySwitch "_CONNECT1"{
	Case 0:
	ApplySwitch "_FRONT"{
	Case 0:
	ApplySwitch "電源"{
	Case 0:
	Case 1:
	Headlight{
		AttachObject = "MainBody";
		SourceCoord = (0.725,1.3,11.1);
		Direction = (0.0,0.0,15.0);
		MaxDistance = 10.0;
				LensFlare{
				StartAngle = 45.0;
				Circle{
				Distance = 0.0;
				Radius = 0.2;
				InnerColor = #d0ddaa80;
				OuterColor = #00000000;
				}
				Hexagon{
				Distance = 0.001;
				Radius = 0.375;
				InnerColor = #80776650;
				OuterColor = #00000000;
				}
				Hexagon{
				Distance = 0.004;
				Radius = 0.75;
				InnerColor = #a0ddcca0;
				OuterColor = #00000000;
				}
			}	
		}
	Headlight{
		AttachObject = "MainBody";
		SourceCoord = (-0.725,1.3,11.1);
		Direction = (0.0,0.0,15.0);
		MaxDistance = 10.0;
				LensFlare{
				StartAngle = 45.0;
				Circle{
				Distance = 0.0;
				Radius = 0.2;
				InnerColor = #d0ddaa80;
				OuterColor = #00000000;
				}
				Hexagon{
				Distance = 0.001;
				Radius = 0.375;
				InnerColor = #80776650;
				OuterColor = #00000000;
				}
				Hexagon{
				Distance = 0.004;
				Radius = 0.75;
				InnerColor = #a0ddcca0;
				OuterColor = #00000000;
				}
			}	
		}
	Headlight{
		AttachObject = "MainBody";
		SourceCoord = (-1.0,1.3,11.0);
		Direction = (0.0,0.0,15.0);
		MaxDistance = 10.0;
				LensFlare{
				StartAngle = 45.0;
				Circle{
				Distance = 0.0;
				Radius = 0.2;
				InnerColor = #d0445580;
				OuterColor = #00000000;
			}
				Hexagon{
				Distance = 0.001;
				Radius = 0.3;
				InnerColor = #d0445580;
				OuterColor = #00000000;
				}
			}
		}
	Headlight{
		AttachObject = "MainBody";
		SourceCoord = (1.0,1.3,11.0);
		Direction = (0.0,0.0,15.0);
		MaxDistance = 10.0;
				LensFlare{
				StartAngle = 45.0;
				Circle{
				Distance = 0.0;
				Radius = 0.2;
				InnerColor = #d0445580;
				OuterColor = #00000000;
			}
				Hexagon{
				Distance = 0.001;
				Radius = 0.3;
				InnerColor = #d0445580;
				OuterColor = #00000000;
				}
			}
		}
	Headlight{
		AttachObject = "MainBody";
		SourceCoord = (0.05,3.8,8.5);
		Direction = (0.0,0.0,15.0);
		MaxDistance = 10.0;
				LensFlare{
				StartAngle = 45.0;
				Circle{
				Distance = 0.0;
				Radius = 0.2;
				InnerColor = #80776650;
				OuterColor = #00000000;
			}
				Hexagon{
				Distance = 0.001;
				Radius = 0.3;
				InnerColor = #80776650;
				OuterColor = #00000000;
				}
			}
		}
	Headlight{
		AttachObject = "MainBody";
		SourceCoord = (-0.05,3.8,8.5);
		Direction = (0.0,0.0,15.0);
		MaxDistance = 10.0;
				LensFlare{
				StartAngle = 45.0;
				Circle{
				Distance = 0.0;
				Radius = 0.2;
				InnerColor = #80776650;
				OuterColor = #00000000;
			}
				Hexagon{
				Distance = 0.001;
				Radius = 0.3;
				InnerColor = #80776650;
				OuterColor = #00000000;
				}
			}
		}

}	}
}}
}
	FrontCabin{
		Joint3D "MainBody"{
			AttachCoord = (-0.6,2.4,8.5);
		}
	}

}