PluginHeader{
	RailSimVersion = 2.15;
	PluginType = Train;
	PluginName = "【Enth架空車】連接低床車（4両）";
	PluginAuthor = "Enthiesia";
	IconTexture = "../Common_Enth/enthiesiaicon.png";
	Description = "定義ファイル更新:210328";
}
TrainInfo{
	FrontLimit = 23.45;
	TailLimit = -23.45;
	MaxVelocity = 95.0;
	MaxAcceleration = 3.0;
	MaxDeceleration = 3.0;
	DoorClosingTime = 7;
}
DefineSwitch"――電源――"{
	Entry = "　";
}
DefineSwitch"電源"{
	GroupCommon = "電源"; 
	Entry = "入";
	Entry = "回送モード（照明のみ切）";
	Entry = "切（ランプ・照明を全消灯）";
	Entry = "パンタも下げる";
}
DefineSwitch"――見た目――"{
	Entry = "　";
}
DefineSwitch"旅客ドア開閉"{
	GroupCommon = "旅客ドア開閉";
	Entry = "自動（ホーム停車時に開）";
	Entry = "常時閉";
	Entry = "常時進行方向左側開";
	Entry = "常時進行方向右側開";
	Entry = "常時両側開";
}
DefineSwitch"方向幕"{
	GroupCommon = "方向幕";
	Entry = "普通　東浜";
	Entry = "急行　東浜";
	Entry = "普通　西山";
	Entry = "急行　西山";
	Entry = "回送";
	Entry = "試運転";
}
DefineSwitch"車端ホログラムサイン"{
	GroupCommon = "車端ホログラムサイン";
	Entry = "10km/h以下でオン";
	Entry = "常にオン";
	Entry = "常にオフ";
	Entry = "　";
}
DefineSwitch"電連"{
	GroupCommon = "電連";
	Entry = "あり";
	Entry = "なし";
	Entry = "電連＆スカートなし";
}
DefineSwitch"パンタグラフ"{
	GroupCommon = "パンタグラフ";
	Entry = "上昇（フル）";
	Entry = "上昇（地下鉄線内）";
	Entry = "下降";
}
DefineSwitch"4号車パンタ下降"{
	Entry = "しない";
	Entry = "する";
}
DefineSwitch"――基礎設定――"{
	Entry = "　";
}
DefineSwitch"内装"{
	GroupCommon = "内装";
	Entry = "あり";
	Entry = "なし";
}
DefineSwitch"簡易シャドウ"{
	GroupCommon = "簡易シャドウ";
	Entry = "あり";
	Entry = "なし";
}
DefineSwitch"軌間"{
	GroupCommon = "軌間";
	Entry = "狭軌1067mm";
	Entry = "標準軌1435mm";
}
DefineSwitch"編成"{
	Entry = "３２１Ｆ　（４両編成）";
	Entry = "３２５Ｆ　（４両編成）";
	Entry = "３２９Ｆ　（４両編成）";
}
DefineAnimation"LCD"{
	Frame="tex_linecolor.png",180;
	ShiftTexture=0.0, 0.0;
	Frame="tex_linecolor.png",180;
	ShiftTexture=0.0, -0.07;
}
DefineAnimation"HOUKOUMAIN0"{
	Frame="tex_linecolor.png",180;
	ShiftTexture=0.0, 0.0;
	Frame="tex_linecolor.png",180;
	ShiftTexture=0.15, 0.0;
}
DefineAnimation"HOUKOUMAIN1"{
	Frame="tex_linecolor.png",180;
	ShiftTexture=0.0, 0.03;
	Frame="tex_linecolor.png",180;
	ShiftTexture=0.15, 0.03;
}
DefineAnimation"HOUKOUMAIN2"{
	Frame="tex_linecolor.png",180;
	ShiftTexture=0.0, 0.06;
	Frame="tex_linecolor.png",180;
	ShiftTexture=0.15, 0.06;
}
DefineAnimation"HOUKOUMAIN3"{
	Frame="tex_linecolor.png",180;
	ShiftTexture=0.0, 0.09;
	Frame="tex_linecolor.png",180;
	ShiftTexture=0.15, 0.09;
}
DefineAnimation"HOUKOUMAIN4"{
	Frame="tex_linecolor.png",180;
	ShiftTexture=0.0, 0.12;
	Frame="tex_linecolor.png",180;
	ShiftTexture=0.15, 0.12;
}
DefineAnimation"HOUKOUMAIN5"{
	Frame="tex_linecolor.png",180;
	ShiftTexture=0.0, 0.15;
	Frame="tex_linecolor.png",180;
	ShiftTexture=0.15, 0.15;
}
DefineAnimation"HOUKOUNEXT"{
	Frame="tex_linecolor.png",180;
	ShiftTexture=0.0, 0.0;
	Frame="tex_linecolor.png",180;
	ShiftTexture=0.15, 0.00;
}
PrimaryAssembly{
//【車輪】
	Axle"syarinn1"{
		ModelFileName = "model_syarin66_n.x";
		ModelScale = 1.0; Turn = no; CastShadow = yes;
		ApplySwitch"軌間"{ Case 1: ChangeModel = "model_syarin66_w.x",1.0; }
		Diameter = 0.66; Symmetric = 32; Coord = (21.55, 0.33); WheelSound = yes;
	}
	Axle"syarinn2"{
		ModelFileName = "model_syarin66_n.x";
		ModelScale = 1.0; Turn = no; CastShadow = yes;
		ApplySwitch"軌間"{ Case 1: ChangeModel = "model_syarin66_w.x",1.0; }
		Diameter = 0.66; Symmetric = 32; Coord = (19.65, 0.33); WheelSound = yes;
	}
	Axle"syarinn3"{
		ModelFileName = "model_syarin66_n.x";
		ModelScale = 1.0; Turn = no; CastShadow = yes;
		ApplySwitch"軌間"{ Case 1: ChangeModel = "model_syarin66_w.x",1.0; }
		Diameter = 0.66; Symmetric = 32; Coord = (11.25, 0.33); WheelSound = yes;
	}
	Axle"syarinn4"{
		ModelFileName = "model_syarin66_n.x";
		ModelScale = 1.0; Turn = no; CastShadow = yes;
		ApplySwitch"軌間"{ Case 1: ChangeModel = "model_syarin66_w.x",1.0; }
		Diameter = 0.66; Symmetric = 32; Coord = (9.35, 0.33); WheelSound = yes;
	}
	Axle"syarinn5"{
		ModelFileName = "model_syarin66_n.x";
		ModelScale = 1.0; Turn = no; CastShadow = yes;
		ApplySwitch"軌間"{ Case 1: ChangeModel = "model_syarin66_w.x",1.0; }
		Diameter = 0.66; Symmetric = 32; Coord = (0.95, 0.33); WheelSound = yes;
	}
	Axle"syarinn6"{
		ModelFileName = "model_syarin66_n.x";
		ModelScale = 1.0; Turn = no; CastShadow = yes;
		ApplySwitch"軌間"{ Case 1: ChangeModel = "model_syarin66_w.x",1.0; }
		Diameter = 0.66; Symmetric = 32; Coord = (-0.95, 0.33); WheelSound = yes;
	}
	Axle"syarinn7"{
		ModelFileName = "model_syarin66_n.x";
		ModelScale = 1.0; Turn = no; CastShadow = yes;
		ApplySwitch"軌間"{ Case 1: ChangeModel = "model_syarin66_w.x",1.0; }
		Diameter = 0.66; Symmetric = 32; Coord = (-9.35, 0.33); WheelSound = yes;
	}
	Axle"syarinn8"{
		ModelFileName = "model_syarin66_n.x";
		ModelScale = 1.0; Turn = no; CastShadow = yes;
		ApplySwitch"軌間"{ Case 1: ChangeModel = "model_syarin66_w.x",1.0; }
		Diameter = 0.66; Symmetric = 32; Coord = (-11.25, 0.33); WheelSound = yes;
	}
	Axle"syarinn9"{
		ModelFileName = "model_syarin66_n.x";
		ModelScale = 1.0; Turn = no; CastShadow = yes;
		ApplySwitch"軌間"{ Case 1: ChangeModel = "model_syarin66_w.x",1.0; }
		Diameter = 0.66; Symmetric = 32; Coord = (-19.65, 0.33); WheelSound = yes;
	}
	Axle"syarinn10"{
		ModelFileName = "model_syarin66_n.x";
		ModelScale = 1.0; Turn = no; CastShadow = yes;
		ApplySwitch"軌間"{ Case 1: ChangeModel = "model_syarin66_w.x",1.0; }
		Diameter = 0.66; Symmetric = 32; Coord = (-21.55, 0.33); WheelSound = yes;
	}
//【台車】
	Body"daisya1"{
		ModelFileName = "model_daisya_n.x";
		ModelScale = 1.0; Turn = no; CastShadow = yes;
		ApplySwitch"軌間"{ Case 1: ChangeModel = "model_daisya_w.x",1.0; }
		JointZY"syarinn1"{
			AttachCoord = (0.0,0.0);
			LocalCoord = (0.95,0.33);
		}
		JointZY"syarinn2"{
			AttachCoord = (0.0,0.0);
			LocalCoord = (-0.95,0.33);
		}
	}
	Body"daisya2"{
		ModelFileName = "model_daisya_n.x";
		ModelScale = 1.0; Turn = no; CastShadow = yes;
		ApplySwitch"軌間"{ Case 1: ChangeModel = "model_daisya_w.x",1.0; }
		JointZY"syarinn3"{
			AttachCoord = (0.0,0.0);
			LocalCoord = (0.95,0.33);
		}
		JointZY"syarinn4"{
			AttachCoord = (0.0,0.0);
			LocalCoord = (-0.95,0.33);
		}
	}
	Body"daisya3"{
		ModelFileName = "model_daisya_n.x";
		ModelScale = 1.0; Turn = no; CastShadow = yes;
		ApplySwitch"軌間"{ Case 1: ChangeModel = "model_daisya_w.x",1.0; }
		JointZY"syarinn5"{
			AttachCoord = (0.0,0.0);
			LocalCoord = (0.95,0.33);
		}
		JointZY"syarinn6"{
			AttachCoord = (0.0,0.0);
			LocalCoord = (-0.95,0.33);
		}
	}
	Body"daisya4"{
		ModelFileName = "model_daisya_n.x";
		ModelScale = 1.0; Turn = no; CastShadow = yes;
		ApplySwitch"軌間"{ Case 1: ChangeModel = "model_daisya_w.x",1.0; }
		JointZY"syarinn7"{
			AttachCoord = (0.0,0.0);
			LocalCoord = (0.95,0.33);
		}
		JointZY"syarinn8"{
			AttachCoord = (0.0,0.0);
			LocalCoord = (-0.95,0.33);
		}
	}
	Body"daisya5"{
		ModelFileName = "model_daisya_n.x";
		ModelScale = 1.0; Turn = no; CastShadow = yes;
		ApplySwitch"軌間"{ Case 1: ChangeModel = "model_daisya_w.x",1.0; }
		JointZY"syarinn9"{
			AttachCoord = (0.0,0.0);
			LocalCoord = (0.95,0.33);
		}
		JointZY"syarinn10"{
			AttachCoord = (0.0,0.0);
			LocalCoord = (-0.95,0.33);
		}
	}
//【ダミー車体】
	Body"syatai1"{
		ModelFileName = "";
		ModelScale = 1.0;
		JointZY"daisya1"{
			AttachCoord = (0.0,-0.0);
			LocalCoord = (5.15,0.0);
		}
		JointZY"daisya2"{
			AttachCoord = (0.0,-0.0);
			LocalCoord = (-5.15,0.0);
		}
	}
	Body"syatai2"{
		ModelFileName = "";
		ModelScale = 1.0;
		JointZY"daisya2"{
			AttachCoord = (0.0,-0.0);
			LocalCoord = (5.15,0.0);
		}
		JointZY"daisya3"{
			AttachCoord = (0.0,-0.0);
			LocalCoord = (-5.15,0.0);
		}
	}
	Body"syatai3"{
		ModelFileName = "";
		ModelScale = 1.0;
		JointZY"daisya3"{
			AttachCoord = (0.0,-0.0);
			LocalCoord = (5.15,0.0);
		}
		JointZY"daisya4"{
			AttachCoord = (0.0,-0.0);
			LocalCoord = (-5.15,0.0);
		}
	}
	Body"syatai4"{
		ModelFileName = "";
		ModelScale = 1.0;
		Turn = yes;
		JointZY"daisya5"{
			AttachCoord = (0.0,-0.0);
			LocalCoord = (5.15,0.0);
		}
		JointZY"daisya4"{
			AttachCoord = (0.0,-0.0);
			LocalCoord = (-5.15,0.0);
		}
	}
//【内装】
	Object3D"interior1"{
		ModelFileName = "";
		ModelScale = 1.0;
		CastShadow = no;

		NoCastShadow = 3, 5;
//		Transparent = 3, 5;

		If!"内装"{
			If("電源" < 1){ //ON
				ChangeModel = "model_interior_s_L_light.x", 1.0;
			} Else { //OFF
				ChangeModel = "model_interior_s_L.x", 1.0;
				ChangeAlpha = 2, 0.0;
			}
		}
		SetAnimation = 2, "LCD";

		Joint3D"syatai1"{
			AttachCoord = (0, 0, 0);
		}
	}
	Object3D"interior2"{
		ModelFileName = ""; ModelScale = 1.0; CastShadow = no; NoCastShadow = 3, 5;
		If!"内装"{
			If("電源" < 1){
				ChangeModel = "model_interior_t_L_light.x", 1.0;
			} Else {
				ChangeModel = "model_interior_t_L.x", 1.0; ChangeAlpha = 2, 0.0;
			}
		}
		SetAnimation = 2, "LCD";
		Joint3D"syatai2"{AttachCoord = (0, 0, 0);}
	}
	Object3D"interior3"{
		ModelFileName = ""; ModelScale = 1.0; CastShadow = no; NoCastShadow = 3, 5;
		If!"内装"{
			If("電源" < 1){ //ON
				ChangeModel = "model_interior_t_L_light.x", 1.0;
			} Else { //OFF
				ChangeModel = "model_interior_t_L.x", 1.0; ChangeAlpha = 2, 0.0;
			}
		}
		SetAnimation = 2, "LCD";
		Joint3D"syatai3"{AttachCoord = (0, 0, 0);}
	}
	Object3D"interior4"{
		ModelFileName = ""; ModelScale = 1.0; CastShadow = no; NoCastShadow = 3, 5;
		If!"内装"{
			If("電源" < 1){ //ON
				ChangeModel = "model_interior_s_L_light.x", 1.0;
			} Else { //OFF
				ChangeModel = "model_interior_s_L.x", 1.0; ChangeAlpha = 2, 0.0;
			}
		}
		SetAnimation = 2, "LCD";
		Joint3D"syatai4"{AttachCoord = (0, 0, 0);}
	}
//【外装】
	Object3D"exterior1"{
		ModelFileName = "model_body_s_L.x";
		ModelScale = 1.0;
		CastShadow = yes;

		NoReceiveShadow = 5, 6, 13, 17;
		NoCastShadow = 8, 9, 10, 11, 12, 14, 19;
		Transparent = 8, 9, 10, 11, 12, 14, 19;

		ChangeAlpha =5, 0.0; ChangeAlpha =6, 0.0;
		If"_FRONT" == 0 && "_CONNECT1" == 0{	//先頭
			ChangeAlpha =5, 1.0;
		}
		If"_FRONT" && "_CONNECT1" == 0{	//最後尾
			ChangeAlpha =6, 1.0;
		}
		If("電源" > 1){
			ChangeAlpha = 5, 0.0;
			ChangeAlpha = 6, 0.0;
			ChangeAlpha = 7, 0.0;
			ChangeAlpha = 10, 0.0;
			ChangeAlpha = 12, 0.0;
			ChangeAlpha = 13, 0.0;
			ChangeAlpha = 14, 0.0;
			ChangeAlpha = 17, 0.0;
			ChangeAlpha = 19, 0.0;
		}
		If("電源" < 2){	//ドアが閉まっているとき、戸閉灯を消す
			If ("_DOOR1" == 0 && "_DOOR2" == 0 && "旅客ドア開閉" == 0) || "旅客ドア開閉" == 1{
				ChangeAlpha = 7, 0.0;
			}
		}
		ApplySwitch"編成"{	//車番
			Case 0:ShiftTexture = 11, 0.08, 0.00;
			Case 1:ShiftTexture = 11, 0.12, 0.00;
			Case 2:ShiftTexture = 11, 0.16, 0.00;
		}
		If"_CONNECT1"{	//号車ステッカ
			ShiftTexture = 12, 0.12, 0.00;
		}
		ApplySwitch"方向幕"{	//方向幕制御
			Case 0:SetAnimation = 14, "HOUKOUMAIN0";
			Case 1:SetAnimation = 14, "HOUKOUMAIN1"; ShiftTexture = 17, 0.035, 0.00;
			Case 2:SetAnimation = 14, "HOUKOUMAIN2"; ShiftTexture = 13, 0.035, 0.00;
			Case 3:SetAnimation = 14, "HOUKOUMAIN3"; ShiftTexture = 13, 0.035, 0.00; ShiftTexture = 17, 0.035, 0.00;
			Case 4:SetAnimation = 14, "HOUKOUMAIN4"; ChangeAlpha = 17, 0.0; ShiftTexture = 13, 0.07, 0.00; ChangeAlpha = 19, 0.0;
			Case 5:SetAnimation = 14, "HOUKOUMAIN5"; ChangeAlpha = 17, 0.0; ShiftTexture = 13, 0.105, 0.00; ChangeAlpha = 19, 0.0;
		}
		SetAnimation = 19, "HOUKOUNEXT";

		Joint3D"syatai1"{
			AttachCoord = (0, 0, 0);
		}
	}
	Object3D"exterior2"{
		ModelFileName = "model_body_t_L.x";
		ModelScale = 1.0;
		CastShadow = yes;

		NoReceiveShadow = 5, 6, 13, 17;
		NoCastShadow = 8, 9, 10, 11, 12, 14, 19;
		Transparent = 8, 9, 10, 11, 12, 14, 19;

		If("電源" > 1){
			ChangeAlpha = 7, 0.0;
			ChangeAlpha = 10, 0.0;
			ChangeAlpha = 12, 0.0;
			ChangeAlpha = 14, 0.0;
			ChangeAlpha = 15, 0.0;
			ChangeAlpha = 16, 0.0;
			ChangeAlpha = 18, 0.0;
			ChangeAlpha = 19, 0.0;
		}
		If("電源" < 2){	//ドアが閉まっているとき、戸閉灯を消す
			If ("_DOOR1" == 0 && "_DOOR2" == 0 && "旅客ドア開閉" == 0) || "旅客ドア開閉" == 1{
				ChangeAlpha = 7, 0.0;
			}
		}
		ApplySwitch"編成"{	//車番
			Case 0:ShiftTexture = 11, 0.08, 0.02;
			Case 1:ShiftTexture = 11, 0.12, 0.02;
			Case 2:ShiftTexture = 11, 0.16, 0.02;
		}
		If!"_CONNECT1"{	//号車ステッカ
			ShiftTexture = 12, 0.03, 0.00;
		} Else {
			ShiftTexture = 12, 0.15, 0.00;

		}
		ApplySwitch"方向幕"{	//方向幕制御
			Case 0:SetAnimation = 14, "HOUKOUMAIN0";
			Case 1:SetAnimation = 14, "HOUKOUMAIN1"; ShiftTexture = 16, 0.00, 0.03;
			Case 2:SetAnimation = 14, "HOUKOUMAIN2"; ShiftTexture = 16, 0.00, 0.06;
			Case 3:SetAnimation = 14, "HOUKOUMAIN3"; ShiftTexture = 16, 0.00, 0.09;
			Case 4:SetAnimation = 14, "HOUKOUMAIN4"; ShiftTexture = 16, 0.00, 0.12; ChangeAlpha = 18, 0.0; ChangeAlpha = 19, 0.0;
			Case 5:SetAnimation = 14, "HOUKOUMAIN5"; ShiftTexture = 16, 0.00, 0.15; ChangeAlpha = 18, 0.0; ChangeAlpha = 19, 0.0;
		}
		SetAnimation = 19, "HOUKOUNEXT";

		Joint3D"syatai2"{
			AttachCoord = (0, 0, 0);
		}
	}
	Object3D"exterior3"{
		ModelFileName = "model_body_t_L.x";
		ModelScale = 1.0;
		CastShadow = yes;

		NoReceiveShadow = 5, 6, 13, 17;
		NoCastShadow = 8, 9, 10, 11, 12, 14, 19;
		Transparent = 8, 9, 10, 11, 12, 14, 19;

		If("電源" > 1){
			ChangeAlpha = 7, 0.0;
			ChangeAlpha = 10, 0.0;
			ChangeAlpha = 12, 0.0;
			ChangeAlpha = 14, 0.0;
			ChangeAlpha = 15, 0.0;
			ChangeAlpha = 16, 0.0;
			ChangeAlpha = 18, 0.0;
			ChangeAlpha = 19, 0.0;
		}
		If("電源" < 2){	//ドアが閉まっているとき、戸閉灯を消す
			If ("_DOOR1" == 0 && "_DOOR2" == 0 && "旅客ドア開閉" == 0) || "旅客ドア開閉" == 1{
				ChangeAlpha = 7, 0.0;
			}
		}
		ApplySwitch"編成"{	//車番
			Case 0:ShiftTexture = 11, 0.08, 0.04;
			Case 1:ShiftTexture = 11, 0.12, 0.04;
			Case 2:ShiftTexture = 11, 0.16, 0.04;
		}
		If!"_CONNECT1"{	//号車ステッカ
			ShiftTexture = 12, 0.06, 0.00;
		} Else {
			ShiftTexture = 12, 0.18, 0.00;

		}
		ApplySwitch"方向幕"{	//方向幕制御
			Case 0:SetAnimation = 14, "HOUKOUMAIN0";
			Case 1:SetAnimation = 14, "HOUKOUMAIN1"; ShiftTexture = 16, 0.00, 0.03;
			Case 2:SetAnimation = 14, "HOUKOUMAIN2"; ShiftTexture = 16, 0.00, 0.06;
			Case 3:SetAnimation = 14, "HOUKOUMAIN3"; ShiftTexture = 16, 0.00, 0.09;
			Case 4:SetAnimation = 14, "HOUKOUMAIN4"; ShiftTexture = 16, 0.00, 0.12; ChangeAlpha = 18, 0.0; ChangeAlpha = 19, 0.0;
			Case 5:SetAnimation = 14, "HOUKOUMAIN5"; ShiftTexture = 16, 0.00, 0.15; ChangeAlpha = 18, 0.0; ChangeAlpha = 19, 0.0;
		}
		SetAnimation = 19, "HOUKOUNEXT";

		Joint3D"syatai3"{
			AttachCoord = (0, 0, 0);
		}
	}
	Object3D"exterior4"{
		ModelFileName = "model_body_s_L.x";
		ModelScale = 1.0;
		CastShadow = yes;

		NoReceiveShadow = 5, 6, 13, 17;
		NoCastShadow = 8, 9, 10, 11, 12, 14, 19;
		Transparent = 8, 9, 10, 11, 12, 14, 19;

		ChangeAlpha =5, 0.0;　ChangeAlpha =6, 0.0;
		If"_FRONT" && "_CONNECT2" == 0{	//先頭
			ChangeAlpha =5, 1.0;
		}If"_FRONT" == 0 && "_CONNECT2" == 0{	//最後尾
			ChangeAlpha =6, 1.0;	
		}
		If("電源" > 1){
			ChangeAlpha = 5, 0.0;
			ChangeAlpha = 6, 0.0;
			ChangeAlpha = 7, 0.0;
			ChangeAlpha = 10, 0.0;
			ChangeAlpha = 12, 0.0;
			ChangeAlpha = 13, 0.0;
			ChangeAlpha = 14, 0.0;
			ChangeAlpha = 15, 0.0;
			ChangeAlpha = 16, 0.0;
			ChangeAlpha = 17, 0.0;
			ChangeAlpha = 18, 0.0;
			ChangeAlpha = 19, 0.0;
		}
		If("電源" < 2){	//ドアが閉まっているとき、戸閉灯を消す
			If ("_DOOR1" == 0 && "_DOOR2" == 0 && "旅客ドア開閉" == 0) || "旅客ドア開閉" == 1{
				ChangeAlpha = 7, 0.0;
			}
		}
		ApplySwitch"編成"{	//車番
			Case 0:ShiftTexture = 11, 0.08, 0.06;
			Case 1:ShiftTexture = 11, 0.12, 0.06;
			Case 2:ShiftTexture = 11, 0.16, 0.06;
		}
		If!"_CONNECT1"{	//号車ステッカ
			ShiftTexture = 12, 0.09, 0.00;
		} Else {
			ShiftTexture = 12, 0.21, 0.00;

		}
		ApplySwitch"方向幕"{	//方向幕制御
			Case 0:SetAnimation = 14, "HOUKOUMAIN0";
			Case 1:SetAnimation = 14, "HOUKOUMAIN1"; ShiftTexture = 16, 0.00, 0.03; ShiftTexture = 17, 0.035, 0.00;
			Case 2:SetAnimation = 14, "HOUKOUMAIN2"; ShiftTexture = 16, 0.00, 0.06; ShiftTexture = 13, 0.035, 0.00;
			Case 3:SetAnimation = 14, "HOUKOUMAIN3"; ShiftTexture = 16, 0.00, 0.09; ShiftTexture = 13, 0.035, 0.00; ShiftTexture = 17, 0.035, 0.00;
			Case 4:SetAnimation = 14, "HOUKOUMAIN4"; ShiftTexture = 16, 0.00, 0.12; ChangeAlpha = 17, 0.0; ShiftTexture = 13, 0.07, 0.00; ChangeAlpha = 18, 0.0; ChangeAlpha = 19, 0.0;
			Case 5:SetAnimation = 14, "HOUKOUMAIN5"; ShiftTexture = 16, 0.00, 0.15; ChangeAlpha = 17, 0.0; ShiftTexture = 13, 0.105, 0.00; ChangeAlpha = 18, 0.0; ChangeAlpha = 19, 0.0;
		}
		SetAnimation = 19, "HOUKOUNEXT";

		Joint3D"syatai4"{
			AttachCoord = (0, 0, 0);
		}
	}
//【簡易シャドウ】
	Object3D"bodyshadow1"{
		ModelFileName = "";
		ModelScale = 1.0;
		CastShadow = no;
		NoShadow = 0;
		Transparent = 0;
		If!"簡易シャドウ"{
			ChangeModel = "model_shadow_s_L.x", 1.0;
		}
		Joint3D"syatai1"{
			AttachCoord = (0, 0, 0);
		}
	}
	Object3D"bodyshadow2"{
		ModelFileName = ""; ModelScale = 1.0; CastShadow = no;
		NoShadow = 0; Transparent = 0;
		If!"簡易シャドウ"{ChangeModel = "model_shadow_t_L.x", 1.0;}
		Joint3D"syatai2"{AttachCoord = (0, 0, 0);}
	}
	Object3D"bodyshadow3"{
		ModelFileName = ""; ModelScale = 1.0; CastShadow = no;
		NoShadow = 0; Transparent = 0;
		If!"簡易シャドウ"{ChangeModel = "model_shadow_t_L.x", 1.0;}
		Joint3D"syatai3"{AttachCoord = (0, 0, 0);}
	}
	Object3D"bodyshadow4"{
		ModelFileName = ""; ModelScale = 1.0; CastShadow = no;
		NoShadow = 0; Transparent = 0;
		If!"簡易シャドウ"{ChangeModel = "model_shadow_s_L.x", 1.0;}
		Joint3D"syatai4"{AttachCoord = (0, 0, 0);}
	}
//【ドア1号車】
//DOORスイッチはZ正方向基準
//左左
	Object3D"door1RL"{
		ModelFileName = "model_door_L_LL.x";
		ModelScale = 1.0;
		NoShadow = 4, 5;
		Transparent = 4, 5;
		If("電源" > 0){
			ChangeAlpha =2, 0.0;
		}
		If"_FRONT"{
			ApplySwitch"旅客ドア開閉"{
			Case 3:
				StaticMove{
					Displacement = (0,0,0.645);
					PreAnimationDelay = 0;
					AnimationTime = 3;
					PostAnimationDelay = 0;
				}
			}
		}
		If!"_FRONT"{
			ApplySwitch"旅客ドア開閉"{
			Case 2:
				StaticMove{
					Displacement = (0,0,0.645);
					PreAnimationDelay = 0;
					AnimationTime = 3;
					PostAnimationDelay = 0;
				}
			}
		}
		ApplySwitch"旅客ドア開閉"{
		Case 4:
			StaticMove{
				Displacement = (0,0,0.645);
				PreAnimationDelay = 0;
				AnimationTime = 3;
				PostAnimationDelay = 0;
			}
		}
		If"_DOOR1"{
			ApplySwitch"旅客ドア開閉"{
			Case 0:
				StaticMove{
					Displacement = (0,0,0.645);
					PreAnimationDelay = 1;
					AnimationTime = 3;
					PostAnimationDelay = 2;
				}
			}
		}
		Joint3D"syatai1"{
			AttachCoord = (0,0,0);
		}
	}
//左右
	Object3D"door1RR"{
		ModelFileName = "model_door_L_LR.x";
		ModelScale = 1.0;
		NoShadow = 4, 5;
		Transparent = 4, 5;
		If("電源" > 0){
			ChangeAlpha =2, 0.0;
		}
		If"_FRONT"{
			ApplySwitch"旅客ドア開閉"{
				Case 3:StaticMove{
					Displacement = (0,0,-0.645);
					PreAnimationDelay = 0;
					AnimationTime = 3;
					PostAnimationDelay = 0;
				}
			}
		}
		If!"_FRONT"{
			ApplySwitch"旅客ドア開閉"{
				Case 2:StaticMove{
					Displacement = (0,0,-0.645);
					PreAnimationDelay = 0;
					AnimationTime = 3;
					PostAnimationDelay = 0;
				}
			}
		}
		ApplySwitch"旅客ドア開閉"{
			Case 4:StaticMove{
					Displacement = (0,0,-0.645);
					PreAnimationDelay = 0;
					AnimationTime = 3;
					PostAnimationDelay = 0;
			}
		}
		If"_DOOR1"{
			ApplySwitch"旅客ドア開閉"{
				Case 0:StaticMove{
					Displacement = (0,0,-0.645);
					PreAnimationDelay = 1;
					AnimationTime = 3;
					PostAnimationDelay = 2;
				}
			}
		}
		Joint3D"syatai1"{
			AttachCoord = (0,0,0);
		}
	}
//右左
	Object3D"door1LL"{
		ModelFileName = "model_door_L_RL.x";
		ModelScale = 1.0;
		NoShadow = 4, 5;
		Transparent = 4, 5;
		If("電源" > 0){
			ChangeAlpha =2, 0.0;
		}
		If"_FRONT"{
			ApplySwitch"旅客ドア開閉"{
				Case 2:StaticMove{
					Displacement = (0,0,-0.645);
					PreAnimationDelay = 0;
					AnimationTime = 3;
					PostAnimationDelay = 0;
				}
			}
		}
		If!"_FRONT"{
			ApplySwitch"旅客ドア開閉"{
				Case 3:StaticMove{
					Displacement = (0,0,-0.645);
					PreAnimationDelay = 0;
					AnimationTime = 3;
					PostAnimationDelay = 0;
				}
			}
		}
		ApplySwitch"旅客ドア開閉"{
			Case 4:StaticMove{
					Displacement = (0,0,-0.645);
					PreAnimationDelay = 0;
					AnimationTime = 3;
					PostAnimationDelay = 0;
			}
		}
		If"_DOOR2"{
			ApplySwitch"旅客ドア開閉"{
				Case 0:StaticMove{
					Displacement = (0,0,-0.645);
					PreAnimationDelay = 1;
					AnimationTime = 3;
					PostAnimationDelay = 2;
				}
			}
		}
		Joint3D"syatai1"{
			AttachCoord = (0,0,0);
		}
	}
//右右
	Object3D"door1LR"{
		ModelFileName = "model_door_L_RR.x";
		ModelScale = 1.0;
		NoShadow = 4, 5;
		Transparent = 4, 5;
		If("電源" > 0){
			ChangeAlpha =2, 0.0;
		}
		If"_FRONT"{
			ApplySwitch"旅客ドア開閉"{
				Case 2:StaticMove{
					Displacement = (0,0,0.645);
					PreAnimationDelay = 0;
					AnimationTime = 3;
					PostAnimationDelay = 0;
				}
			}
		}
		If!"_FRONT"{
			ApplySwitch"旅客ドア開閉"{
				Case 3:StaticMove{
					Displacement = (0,0,0.645);
					PreAnimationDelay = 0;
					AnimationTime = 3;
					PostAnimationDelay = 0;
				}
			}
		}
		ApplySwitch"旅客ドア開閉"{
			Case 4:StaticMove{
					Displacement = (0,0,0.645);
					PreAnimationDelay = 0;
					AnimationTime = 3;
					PostAnimationDelay = 0;
			}
		}
		If"_DOOR2"{
			ApplySwitch"旅客ドア開閉"{
				Case 0:StaticMove{
					Displacement = (0,0,0.645);
					PreAnimationDelay = 1;
					AnimationTime = 3;
					PostAnimationDelay = 2;
				}
			}
		}
		Joint3D"syatai1"{
			AttachCoord = (0,0,0);
		}
	}
//【ドア2号車】
	Object3D"door2RL"{
		ModelFileName = "model_door_L_LL.x"; ModelScale = 1.0; NoShadow = 4, 5; Transparent = 4, 5;
		If("電源" > 0){ChangeAlpha =2, 0.0;}
		If"_FRONT"{ ApplySwitch"旅客ドア開閉"{ Case 3:
			StaticMove{Displacement = (0,0,0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}}
		If!"_FRONT"{ ApplySwitch"旅客ドア開閉"{ Case 2:
			StaticMove{Displacement = (0,0,0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}}
		ApplySwitch"旅客ドア開閉"{ Case 4:
			StaticMove{Displacement = (0,0,0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}
		If"_DOOR1"{ ApplySwitch"旅客ドア開閉"{ Case 0:
			StaticMove{Displacement = (0,0,0.645); PreAnimationDelay = 1; AnimationTime = 3; PostAnimationDelay = 2;}
		}}
		Joint3D"syatai2"{AttachCoord = (0,0,0);}
	}
	Object3D"door2RR"{
		ModelFileName = "model_door_L_LR.x"; ModelScale = 1.0; NoShadow = 4, 5; Transparent = 4, 5;
		If("電源" > 0){ChangeAlpha =2, 0.0;}
		If"_FRONT"{ ApplySwitch"旅客ドア開閉"{ Case 3:
			StaticMove{Displacement = (0,0,-0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}}
		If!"_FRONT"{ ApplySwitch"旅客ドア開閉"{ Case 2:
			StaticMove{Displacement = (0,0,-0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}}
		ApplySwitch"旅客ドア開閉"{ Case 4:
			StaticMove{Displacement = (0,0,-0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}
		If"_DOOR1"{ ApplySwitch"旅客ドア開閉"{ Case 0:
			StaticMove{Displacement = (0,0,-0.645); PreAnimationDelay = 1; AnimationTime = 3; PostAnimationDelay = 2;}
		}}
		Joint3D"syatai2"{AttachCoord = (0,0,0);}
	}
	Object3D"door2LL"{
		ModelFileName = "model_door_L_RL.x"; ModelScale = 1.0; NoShadow = 4, 5; Transparent = 4, 5;
		If("電源" > 0){ChangeAlpha =2, 0.0;}
		If"_FRONT"{ ApplySwitch"旅客ドア開閉"{ Case 2:
			StaticMove{Displacement = (0,0,-0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}}
		If!"_FRONT"{ ApplySwitch"旅客ドア開閉"{ Case 3:
			StaticMove{Displacement = (0,0,-0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}}
		ApplySwitch"旅客ドア開閉"{ Case 4:
			StaticMove{Displacement = (0,0,-0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}
		If"_DOOR2"{ ApplySwitch"旅客ドア開閉"{ Case 0:
			StaticMove{Displacement = (0,0,-0.645); PreAnimationDelay = 1; AnimationTime = 3; PostAnimationDelay = 2;}
		}}
		Joint3D"syatai2"{AttachCoord = (0,0,0);}
	}
	Object3D"door2LR"{
		ModelFileName = "model_door_L_RR.x"; ModelScale = 1.0; NoShadow = 4, 5; Transparent = 4, 5;
		If("電源" > 0){ChangeAlpha =2, 0.0;}
		If"_FRONT"{ ApplySwitch"旅客ドア開閉"{ Case 2:
			StaticMove{Displacement = (0,0,0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}}
		If!"_FRONT"{ ApplySwitch"旅客ドア開閉"{ Case 3:
			StaticMove{Displacement = (0,0,0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}}
		ApplySwitch"旅客ドア開閉"{ Case 4:
			StaticMove{Displacement = (0,0,0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}
		If"_DOOR2"{ ApplySwitch"旅客ドア開閉"{ Case 0:
			StaticMove{Displacement = (0,0,0.645); PreAnimationDelay = 1; AnimationTime = 3; PostAnimationDelay = 2;}
		}}
		Joint3D"syatai2"{AttachCoord = (0,0,0);}
	}
//【ドア3号車】
	Object3D"door3RL"{
		ModelFileName = "model_door_L_LL.x"; ModelScale = 1.0; NoShadow = 4, 5; Transparent = 4, 5;
		If("電源" > 0){ChangeAlpha =2, 0.0;}
		If"_FRONT"{ ApplySwitch"旅客ドア開閉"{ Case 3:
			StaticMove{Displacement = (0,0,0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}}
		If!"_FRONT"{ ApplySwitch"旅客ドア開閉"{ Case 2:
			StaticMove{Displacement = (0,0,0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}}
		ApplySwitch"旅客ドア開閉"{ Case 4:
			StaticMove{Displacement = (0,0,0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}
		If"_DOOR1"{ ApplySwitch"旅客ドア開閉"{ Case 0:
			StaticMove{Displacement = (0,0,0.645); PreAnimationDelay = 1; AnimationTime = 3; PostAnimationDelay = 2;}
		}}
		Joint3D"syatai3"{AttachCoord = (0,0,0);}
	}
	Object3D"door3RR"{
		ModelFileName = "model_door_L_LR.x"; ModelScale = 1.0; NoShadow = 4, 5; Transparent = 4, 5;
		If("電源" > 0){ChangeAlpha =2, 0.0;}
		If"_FRONT"{ ApplySwitch"旅客ドア開閉"{ Case 3:
			StaticMove{Displacement = (0,0,-0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}}
		If!"_FRONT"{ ApplySwitch"旅客ドア開閉"{ Case 2:
			StaticMove{Displacement = (0,0,-0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}}
		ApplySwitch"旅客ドア開閉"{ Case 4:
			StaticMove{Displacement = (0,0,-0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}
		If"_DOOR1"{ ApplySwitch"旅客ドア開閉"{ Case 0:
			StaticMove{Displacement = (0,0,-0.645); PreAnimationDelay = 1; AnimationTime = 3; PostAnimationDelay = 2;}
		}}
		Joint3D"syatai3"{AttachCoord = (0,0,0);}
	}
	Object3D"door3LL"{
		ModelFileName = "model_door_L_RL.x"; ModelScale = 1.0; NoShadow = 4, 5; Transparent = 4, 5;
		If("電源" > 0){ChangeAlpha =2, 0.0;}
		If"_FRONT"{ ApplySwitch"旅客ドア開閉"{ Case 2:
			StaticMove{Displacement = (0,0,-0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}}
		If!"_FRONT"{ ApplySwitch"旅客ドア開閉"{ Case 3:
			StaticMove{Displacement = (0,0,-0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}}
		ApplySwitch"旅客ドア開閉"{ Case 4:
			StaticMove{Displacement = (0,0,-0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}
		If"_DOOR2"{ ApplySwitch"旅客ドア開閉"{ Case 0:
			StaticMove{Displacement = (0,0,-0.645); PreAnimationDelay = 1; AnimationTime = 3; PostAnimationDelay = 2;}
		}}
		Joint3D"syatai3"{AttachCoord = (0,0,0);}
	}
	Object3D"door3LR"{
		ModelFileName = "model_door_L_RR.x"; ModelScale = 1.0; NoShadow = 4, 5; Transparent = 4, 5;
		If("電源" > 0){ChangeAlpha =2, 0.0;}
		If"_FRONT"{ ApplySwitch"旅客ドア開閉"{ Case 2:
			StaticMove{Displacement = (0,0,0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}}
		If!"_FRONT"{ ApplySwitch"旅客ドア開閉"{ Case 3:
			StaticMove{Displacement = (0,0,0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}}
		ApplySwitch"旅客ドア開閉"{ Case 4:
			StaticMove{Displacement = (0,0,0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}
		If"_DOOR2"{ ApplySwitch"旅客ドア開閉"{ Case 0:
			StaticMove{Displacement = (0,0,0.645); PreAnimationDelay = 1; AnimationTime = 3; PostAnimationDelay = 2;}
		}}
		Joint3D"syatai3"{AttachCoord = (0,0,0);}
	}
//【ドア4号車】
	Object3D"door4RL"{
		ModelFileName = "model_door_L_RR.x"; ModelScale = 1.0; NoShadow = 4, 5; Transparent = 4, 5;
		If("電源" > 0){ChangeAlpha =2, 0.0;}
		If"_FRONT"{ ApplySwitch"旅客ドア開閉"{ Case 3:
			StaticMove{Displacement = (0,0,0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}}
		If!"_FRONT"{ ApplySwitch"旅客ドア開閉"{ Case 2:
			StaticMove{Displacement = (0,0,0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}}
		ApplySwitch"旅客ドア開閉"{ Case 4:
			StaticMove{Displacement = (0,0,0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}
		If"_DOOR1"{ ApplySwitch"旅客ドア開閉"{ Case 0:
			StaticMove{Displacement = (0,0,0.645); PreAnimationDelay = 1; AnimationTime = 3; PostAnimationDelay = 2;}
		}}
		Joint3D"syatai4"{AttachCoord = (0,0,0);}
	}
	Object3D"door4RR"{
		ModelFileName = "model_door_L_RL.x"; ModelScale = 1.0; NoShadow = 4, 5; Transparent = 4, 5;
		If("電源" > 0){ChangeAlpha =2, 0.0;}
		If"_FRONT"{ ApplySwitch"旅客ドア開閉"{ Case 3:
			StaticMove{Displacement = (0,0,-0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}}
		If!"_FRONT"{ ApplySwitch"旅客ドア開閉"{ Case 2:
			StaticMove{Displacement = (0,0,-0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}}
		ApplySwitch"旅客ドア開閉"{ Case 4:
			StaticMove{Displacement = (0,0,-0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}
		If"_DOOR1"{ ApplySwitch"旅客ドア開閉"{ Case 0:
			StaticMove{Displacement = (0,0,-0.645); PreAnimationDelay = 1; AnimationTime = 3; PostAnimationDelay = 2;}
		}}
		Joint3D"syatai4"{AttachCoord = (0,0,0);}
	}
	Object3D"door4LL"{
		ModelFileName = "model_door_L_LR.x"; ModelScale = 1.0; NoShadow = 4, 5; Transparent = 4, 5;
		If("電源" > 0){ChangeAlpha =2, 0.0;}
		If"_FRONT"{ ApplySwitch"旅客ドア開閉"{ Case 2:
			StaticMove{Displacement = (0,0,-0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}}
		If!"_FRONT"{ ApplySwitch"旅客ドア開閉"{ Case 3:
			StaticMove{Displacement = (0,0,-0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}}
		ApplySwitch"旅客ドア開閉"{ Case 4:
			StaticMove{Displacement = (0,0,-0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}
		If"_DOOR2"{ ApplySwitch"旅客ドア開閉"{ Case 0:
			StaticMove{Displacement = (0,0,-0.645); PreAnimationDelay = 1; AnimationTime = 3; PostAnimationDelay = 2;}
		}}
		Joint3D"syatai4"{AttachCoord = (0,0,0);}
	}
	Object3D"door4LR"{
		ModelFileName = "model_door_L_LL.x"; ModelScale = 1.0; NoShadow = 4, 5; Transparent = 4, 5;
		If("電源" > 0){ChangeAlpha =2, 0.0;}
		If"_FRONT"{ ApplySwitch"旅客ドア開閉"{ Case 2:
			StaticMove{Displacement = (0,0,0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}}
		If!"_FRONT"{ ApplySwitch"旅客ドア開閉"{ Case 3:
			StaticMove{Displacement = (0,0,0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}}
		ApplySwitch"旅客ドア開閉"{ Case 4:
			StaticMove{Displacement = (0,0,0.645); PreAnimationDelay = 0; AnimationTime = 3; PostAnimationDelay = 0;}
		}
		If"_DOOR2"{ ApplySwitch"旅客ドア開閉"{ Case 0:
			StaticMove{Displacement = (0,0,0.645); PreAnimationDelay = 1; AnimationTime = 3; PostAnimationDelay = 2;}
		}}
		Joint3D"syatai4"{AttachCoord = (0,0,0);}
	}
//【パンタグラフ可動部】
	Object3D"panta1"{
		ModelFileName = "";
		ModelScale = 1.0;
		If("電源" < 3){
			ApplySwitch"パンタグラフ"{
				Case 0:ChangeModel = "model_panta_La.x", 1.0;
				Case 1:ChangeModel = "model_panta_Lc.x", 1.0;
				Case 2:ChangeModel = "model_panta_Lb.x", 1.0;
			}
		} Else {
			ChangeModel = "model_panta_Lb.x", 1.0;
		}
		Joint3D"syatai1"{
			AttachCoord = (0, 0, 0);
		}
	}
	Object3D"panta4"{
		ModelFileName = "";
		ModelScale = 1.0;
		If("電源" < 3 && "4号車パンタ下降" == 0){
			ApplySwitch"パンタグラフ"{
				Case 0:ChangeModel = "model_panta_La.x", 1.0;
				Case 1:ChangeModel = "model_panta_Lc.x", 1.0;
				Case 2:ChangeModel = "model_panta_Lb.x", 1.0;
			}
		} Else {
			ChangeModel = "model_panta_Lb.x", 1.0;
		}
		Joint3D"syatai4"{
			AttachCoord = (0, 0, 0);
		}
	}
//【スカート・電連】
	Object3D"denren1"{
		ModelFileName = "";
		ModelScale = 1.0;
		ApplySwitch"電連"{
			Case 0:ChangeModel = "model_skirtFka_L.x", 1.0;
			Case 1:ChangeModel = "model_skirtAsa_L.x", 1.0;
		}
		Joint3D"syatai1"{
			AttachCoord = (0, 0, 0);
		}
	}
	Object3D"denren4"{
		ModelFileName = "";
		ModelScale = 1.0;
		ApplySwitch"電連"{
			Case 0:ChangeModel = "model_skirtFka_L.x", 1.0;
			Case 1:ChangeModel = "model_skirtAsa_L.x", 1.0;
		}
		Joint3D"syatai4"{
			AttachCoord = (0, 0, 0);
		}
	}
//【フロント窓】
	Object3D"frontwindow1"{
		ModelFileName = "model_frontwindow_L.x";
		ModelScale = 1.0;
		NoShadow = 0, 1;
		Transparent = 0, 1;
		ApplySwitch"編成"{	//車番
			Case 0:ShiftTexture = 1, 0.08, 0.00;
			Case 1:ShiftTexture = 1, 0.12, 0.00;
			Case 2:ShiftTexture = 1, 0.16, 0.00;
		}
		Joint3D"syatai1"{
			AttachCoord = (0, 0, 0);
		}
	}
	Object3D"frontwindow4"{
		ModelFileName = "model_frontwindow_L.x";
		ModelScale = 1.0;
		NoShadow = 0, 1;
		Transparent = 0, 1;
		ApplySwitch"編成"{	//車番
			Case 0:ShiftTexture = 1, 0.08, 0.02;
			Case 1:ShiftTexture = 1, 0.12, 0.02;
			Case 2:ShiftTexture = 1, 0.16, 0.02;
		}
		Joint3D"syatai4"{
			AttachCoord = (0, 0, 0);
		}
	}
//【車端ホロ】
	Object3D"holo1"{
		ModelFileName = "";
		ModelScale = 1.0;
		NoCastShadow = 0;
		Transparent = 0;

		If("電源" < 2 && "車端ホログラムサイン" != 2){
			ChangeModel = "model_holo_L.x", 1.0;
		}
		ApplySwitch"車端ホログラムサイン"{
			Case 0:If"_VELOCITY" > 10{
				StaticMove{
					Displacement = (0.4, 0, 0);
					PreAnimationDelay = 0;
					AnimationTime = 1.0;
					PostAnimationDelay = 0;
				}
				StaticMove{
					Displacement = (0.5, 0, 0);
					PreAnimationDelay = 1.0;
					AnimationTime = 0;
					PostAnimationDelay = 0;
				}
			}
			Case 3:
				StaticMove{
					Displacement = (0.4, 0, 0);
					PreAnimationDelay = 0;
					AnimationTime = 1.0;
					PostAnimationDelay = 0;
				}
				StaticMove{
					Displacement = (0.5, 0, 0);
					PreAnimationDelay = 1.0;
					AnimationTime = 0;
					PostAnimationDelay = 0;
				}
		}

		Joint3D"syatai1"{
			AttachCoord = (0, 0, 0);
		}
	}
	Object3D"holomoji1"{
		ModelFileName = "";
		ModelScale = 1.0;
		NoCastShadow = 0,1;
		Transparent = 0,1;

		If("電源" < 2 && "車端ホログラムサイン" != 2){
			ChangeModel = "model_holomoji_L.x", 1.0;
		}
		ApplySwitch"方向幕"{
			Case 1:ShiftTexture = 0, 0.00, 0.03;
			Case 2:ShiftTexture = 0, 0.00, 0.06;
			Case 3:ShiftTexture = 0, 0.00, 0.09;
			Case 4:ShiftTexture = 0, 0.00, 0.12; ChangeAlpha = 1, 0.0;
			Case 5:ShiftTexture = 0, 0.00, 0.15; ChangeAlpha = 1, 0.0;
		}
		ApplySwitch"車端ホログラムサイン"{
			Case 0:If"_VELOCITY" > 10{
				StaticMove{
					Displacement = (0.9, 0, 0);
					PreAnimationDelay = 1.0;
					AnimationTime = 0;
					PostAnimationDelay = 0;
					PreReverseDelay = 1.0;
					PostReverseDelay = 0;
				}
			}
			Case 3:
				StaticMove{
					Displacement = (0.9, 0, 0);
					PreAnimationDelay = 1.0;
					AnimationTime = 0;
					PostAnimationDelay = 0;
					PreReverseDelay = 1.0;
					PostReverseDelay = 0;
				}
		}

		Joint3D"syatai1"{
			AttachCoord = (0, 0, 0);
		}
	}
	Object3D"holo2-1"{
		ModelFileName = ""; ModelScale = 1.0; NoCastShadow = 0; Transparent = 0;
		If("電源" < 2 && "車端ホログラムサイン" != 2){ ChangeModel = "model_holo_L.x", 1.0; }
		ApplySwitch"車端ホログラムサイン"{
			Case 0:If"_VELOCITY" > 10{
				StaticMove{Displacement = (0.4, 0, 0); PreAnimationDelay = 0; AnimationTime = 1.0; PostAnimationDelay = 0;}
				StaticMove{Displacement = (0.5, 0, 0); PreAnimationDelay = 1.0; AnimationTime = 0; PostAnimationDelay = 0;}
			}
			Case 3:
				StaticMove{Displacement = (0.4, 0, 0); PreAnimationDelay = 0; AnimationTime = 1.0; PostAnimationDelay = 0;}
				StaticMove{Displacement = (0.5, 0, 0); PreAnimationDelay = 1.0; AnimationTime = 0; PostAnimationDelay = 0;}
		}
		Joint3D"syatai2"{AttachCoord = (0, 0, 0);}
	}
	Object3D"holo2-2"{
		ModelFileName = ""; ModelScale = 1.0; NoCastShadow = 0; Transparent = 0;
		If("電源" < 2 && "車端ホログラムサイン" != 2){ ChangeModel = "model_holo_L.x", 1.0; }
		ApplySwitch"車端ホログラムサイン"{
			Case 0:If"_VELOCITY" > 10{
				StaticMove{Displacement = (0.4, 0, 0); PreAnimationDelay = 0; AnimationTime = 1.0; PostAnimationDelay = 0;}
				StaticMove{Displacement = (0.5, 0, 0); PreAnimationDelay = 1.0; AnimationTime = 0; PostAnimationDelay = 0;}
			}
			Case 3:
				StaticMove{Displacement = (0.4, 0, 0); PreAnimationDelay = 0; AnimationTime = 1.0; PostAnimationDelay = 0;}
				StaticMove{Displacement = (0.5, 0, 0); PreAnimationDelay = 1.0; AnimationTime = 0; PostAnimationDelay = 0;}
		}
		Joint3D"syatai2"{AttachCoord = (0, 0, 0); AttachDir = (0, 0, -1);}
	}
	Object3D"holomoji2-1"{
		ModelFileName = ""; ModelScale = 1.0; NoCastShadow = 0,1; Transparent = 0,1;
		If("電源" < 2 && "車端ホログラムサイン" != 2){ChangeModel = "model_holomoji_L.x", 1.0;}
		ApplySwitch"方向幕"{Case 1:ShiftTexture = 0, 0.00, 0.03; Case 2:ShiftTexture = 0, 0.00, 0.06; Case 3:ShiftTexture = 0, 0.00, 0.09; Case 4:ShiftTexture = 0, 0.00, 0.12; ChangeAlpha = 1, 0.0; Case 5:ShiftTexture = 0, 0.00, 0.15; ChangeAlpha = 1, 0.0;}
		ApplySwitch"車端ホログラムサイン"{
			Case 0:If"_VELOCITY" > 10{StaticMove{Displacement = (0.9, 0, 0); PreAnimationDelay = 1.0; AnimationTime = 0; PostAnimationDelay = 0; PreReverseDelay = 1.0; PostReverseDelay = 0;}}
			Case 3:StaticMove{Displacement = (0.9, 0, 0); PreAnimationDelay = 1.0; AnimationTime = 0; PostAnimationDelay = 0; PreReverseDelay = 1.0; PostReverseDelay = 0;}
		}
		Joint3D"syatai2"{AttachCoord = (0, 0, 0);}
	}
	Object3D"holomoji2-2"{
		ModelFileName = ""; ModelScale = 1.0; NoCastShadow = 0,1; Transparent = 0,1;
		If("電源" < 2 && "車端ホログラムサイン" != 2){ChangeModel = "model_holomoji_L.x", 1.0;}
		ApplySwitch"方向幕"{Case 1:ShiftTexture = 0, 0.00, 0.03; Case 2:ShiftTexture = 0, 0.00, 0.06; Case 3:ShiftTexture = 0, 0.00, 0.09; Case 4:ShiftTexture = 0, 0.00, 0.12; ChangeAlpha = 1, 0.0; Case 5:ShiftTexture = 0, 0.00, 0.15; ChangeAlpha = 1, 0.0;}
		ApplySwitch"車端ホログラムサイン"{
			Case 0:If"_VELOCITY" > 10{StaticMove{Displacement = (0.9, 0, 0); PreAnimationDelay = 1.0; AnimationTime = 0; PostAnimationDelay = 0; PreReverseDelay = 1.0; PostReverseDelay = 0;}}
			Case 3:StaticMove{Displacement = (0.9, 0, 0); PreAnimationDelay = 1.0; AnimationTime = 0; PostAnimationDelay = 0; PreReverseDelay = 1.0; PostReverseDelay = 0;}
		}
		Joint3D"syatai2"{AttachCoord = (0, 0, 0); AttachDir = (0, 0, -1);}
	}
	Object3D"holo3-1"{
		ModelFileName = ""; ModelScale = 1.0; NoCastShadow = 0; Transparent = 0;
		If("電源" < 2 && "車端ホログラムサイン" != 2){ ChangeModel = "model_holo_L.x", 1.0; }
		ApplySwitch"車端ホログラムサイン"{
			Case 0:If"_VELOCITY" > 10{
				StaticMove{Displacement = (0.4, 0, 0); PreAnimationDelay = 0; AnimationTime = 1.0; PostAnimationDelay = 0;}
				StaticMove{Displacement = (0.5, 0, 0); PreAnimationDelay = 1.0; AnimationTime = 0; PostAnimationDelay = 0;}
			}
			Case 3:
				StaticMove{Displacement = (0.4, 0, 0); PreAnimationDelay = 0; AnimationTime = 1.0; PostAnimationDelay = 0;}
				StaticMove{Displacement = (0.5, 0, 0); PreAnimationDelay = 1.0; AnimationTime = 0; PostAnimationDelay = 0;}
		}
		Joint3D"syatai3"{AttachCoord = (0, 0, 0);}
	}
	Object3D"holo3-2"{
		ModelFileName = ""; ModelScale = 1.0; NoCastShadow = 0; Transparent = 0;
		If("電源" < 2 && "車端ホログラムサイン" != 2){ ChangeModel = "model_holo_L.x", 1.0; }
		ApplySwitch"車端ホログラムサイン"{
			Case 0:If"_VELOCITY" > 10{
				StaticMove{Displacement = (0.4, 0, 0); PreAnimationDelay = 0; AnimationTime = 1.0; PostAnimationDelay = 0;}
				StaticMove{Displacement = (0.5, 0, 0); PreAnimationDelay = 1.0; AnimationTime = 0; PostAnimationDelay = 0;}
			}
			Case 3:
				StaticMove{Displacement = (0.4, 0, 0); PreAnimationDelay = 0; AnimationTime = 1.0; PostAnimationDelay = 0;}
				StaticMove{Displacement = (0.5, 0, 0); PreAnimationDelay = 1.0; AnimationTime = 0; PostAnimationDelay = 0;}
		}
		Joint3D"syatai3"{AttachCoord = (0, 0, 0); AttachDir = (0, 0, -1);}
	}
	Object3D"holomoji3-1"{
		ModelFileName = ""; ModelScale = 1.0; NoCastShadow = 0,1; Transparent = 0,1;
		If("電源" < 2 && "車端ホログラムサイン" != 2){ChangeModel = "model_holomoji_L.x", 1.0;}
		ApplySwitch"方向幕"{Case 1:ShiftTexture = 0, 0.00, 0.03; Case 2:ShiftTexture = 0, 0.00, 0.06; Case 3:ShiftTexture = 0, 0.00, 0.09; Case 4:ShiftTexture = 0, 0.00, 0.12; ChangeAlpha = 1, 0.0; Case 5:ShiftTexture = 0, 0.00, 0.15; ChangeAlpha = 1, 0.0;}
		ApplySwitch"車端ホログラムサイン"{
			Case 0:If"_VELOCITY" > 10{StaticMove{Displacement = (0.9, 0, 0); PreAnimationDelay = 1.0; AnimationTime = 0; PostAnimationDelay = 0; PreReverseDelay = 1.0; PostReverseDelay = 0;}}
			Case 3:StaticMove{Displacement = (0.9, 0, 0); PreAnimationDelay = 1.0; AnimationTime = 0; PostAnimationDelay = 0; PreReverseDelay = 1.0; PostReverseDelay = 0;}
		}
		Joint3D"syatai3"{AttachCoord = (0, 0, 0);}
	}
	Object3D"holomoji3-2"{
		ModelFileName = ""; ModelScale = 1.0; NoCastShadow = 0,1; Transparent = 0,1;
		If("電源" < 2 && "車端ホログラムサイン" != 2){ChangeModel = "model_holomoji_L.x", 1.0;}
		ApplySwitch"方向幕"{Case 1:ShiftTexture = 0, 0.00, 0.03; Case 2:ShiftTexture = 0, 0.00, 0.06; Case 3:ShiftTexture = 0, 0.00, 0.09; Case 4:ShiftTexture = 0, 0.00, 0.12; ChangeAlpha = 1, 0.0; Case 5:ShiftTexture = 0, 0.00, 0.15; ChangeAlpha = 1, 0.0;}
		ApplySwitch"車端ホログラムサイン"{
			Case 0:If"_VELOCITY" > 10{StaticMove{Displacement = (0.9, 0, 0); PreAnimationDelay = 1.0; AnimationTime = 0; PostAnimationDelay = 0; PreReverseDelay = 1.0; PostReverseDelay = 0;}}
			Case 3:StaticMove{Displacement = (0.9, 0, 0); PreAnimationDelay = 1.0; AnimationTime = 0; PostAnimationDelay = 0; PreReverseDelay = 1.0; PostReverseDelay = 0;}
		}
		Joint3D"syatai3"{AttachCoord = (0, 0, 0); AttachDir = (0, 0, -1);}
	}
	Object3D"holo4"{
		ModelFileName = ""; ModelScale = 1.0; NoCastShadow = 0; Transparent = 0;
		If("電源" < 2 && "車端ホログラムサイン" != 2){ ChangeModel = "model_holo_L.x", 1.0; }
		ApplySwitch"車端ホログラムサイン"{
			Case 0:If"_VELOCITY" > 10{
				StaticMove{Displacement = (0.4, 0, 0); PreAnimationDelay = 0; AnimationTime = 1.0; PostAnimationDelay = 0;}
				StaticMove{Displacement = (0.5, 0, 0); PreAnimationDelay = 1.0; AnimationTime = 0; PostAnimationDelay = 0;}
			}
			Case 3:
				StaticMove{Displacement = (0.4, 0, 0); PreAnimationDelay = 0; AnimationTime = 1.0; PostAnimationDelay = 0;}
				StaticMove{Displacement = (0.5, 0, 0); PreAnimationDelay = 1.0; AnimationTime = 0; PostAnimationDelay = 0;}
		}
		Joint3D"syatai4"{AttachCoord = (0, 0, 0);}
	}
	Object3D"holomoji4"{
		ModelFileName = ""; ModelScale = 1.0; NoCastShadow = 0,1; Transparent = 0,1;
		If("電源" < 2 && "車端ホログラムサイン" != 2){ChangeModel = "model_holomoji_L.x", 1.0;}
		ApplySwitch"方向幕"{Case 1:ShiftTexture = 0, 0.00, 0.03; Case 2:ShiftTexture = 0, 0.00, 0.06; Case 3:ShiftTexture = 0, 0.00, 0.09; Case 4:ShiftTexture = 0, 0.00, 0.12; ChangeAlpha = 1, 0.0; Case 5:ShiftTexture = 0, 0.00, 0.15; ChangeAlpha = 1, 0.0;}
		ApplySwitch"車端ホログラムサイン"{
			Case 0:If"_VELOCITY" > 10{StaticMove{Displacement = (0.9, 0, 0); PreAnimationDelay = 1.0; AnimationTime = 0; PostAnimationDelay = 0; PreReverseDelay = 1.0; PostReverseDelay = 0;}}
			Case 3:StaticMove{Displacement = (0.9, 0, 0); PreAnimationDelay = 1.0; AnimationTime = 0; PostAnimationDelay = 0; PreReverseDelay = 1.0; PostReverseDelay = 0;}
		}
		Joint3D"syatai4"{AttachCoord = (0, 0, 0);}
	}

	If"_FRONT" == 0 && "_CONNECT1" == 0 && ("電源" < 2){	//進行方向が正かつ正方向の先頭車であり、電源がオン
		Headlight{
			AttachObject = "syatai1";
			SourceCoord = (-0.85, 1.12, 7.70);
			Direction = (0.0, 0.0, 15.0);
			MaxDistance = 100.0;
			LensFlare{
				StartAngle = 75.0;
				Circle{
					Distance = 0.0;
					Radius = 0.2;
					InnerColor = #f0ffffff;
					OuterColor = #00000000;
				}
			}
		}
		Headlight{
			AttachObject = "syatai1";
			SourceCoord = (0.85, 1.12, 7.70);
			Direction = (0.0, 0.0, 15.0);
			MaxDistance = 100.0;
			LensFlare{
				StartAngle = 75.0;
				Circle{
					Distance = 0.0;
					Radius = 0.2;
					InnerColor = #f0ffffff;
					OuterColor = #00000000;
				}
			}
		}
	}

	If"_FRONT" && "_CONNECT2" == 0 && ("電源" < 2){	//進行方向が負かつ負方向の先頭車両であり、電源がオン
		Headlight{
			AttachObject = "syatai4";
			SourceCoord = (-0.85, 1.12, 7.70);
			Direction = (0.0, 0.0, 15.0);
			MaxDistance = 100.0;
			LensFlare{
				StartAngle = 75.0;
				Circle{
					Distance = 0.0;
					Radius = 0.2;
					InnerColor = #f0ffffff;
					OuterColor = #00000000;
				}
			}
		}
		Headlight{
			AttachObject = "syatai4";
			SourceCoord = (0.85, 1.12, 7.70);
			Direction = (0.0, 0.0, 15.0);
			MaxDistance = 100.0;
			LensFlare{
				StartAngle = 75.0;
				Circle{
					Distance = 0.0;
					Radius = 0.2;
					InnerColor = #f0ffffff;
					OuterColor = #00000000;
				}
			}
		}
	}
	FrontCabin{
		Joint3D "syatai1"{
			AttachCoord = (-0.6, 2.1, 6.5);
			DirLink = "syatai1";
		}
	}
	TailCabin{
		Joint3D "syatai4"{
			AttachCoord = (-0.6, 2.1, 6.5);
			DirLink = "syatai4";
		}
	}
}