PluginHeader{
	RailSimVersion = 2.00;
	PluginType = Train;
	PluginName = "LdS 5100`";
	PluginAuthor = "mitsubachi";
	IconTexture = "../common_mtbc/icon.png";
	Description = "O: 1,435 [mm] (WO)";
	Description = "Y̊SᏰԗB2005NoB";
}

TrainInfo{
	FrontLimit = 15.0;
	TailLimit = -15.0;
	MaxVelocity = 60.0;	//݌vōx: 80km/h
	MaxAcceleration = 3.5;
	MaxDeceleration = 4.8;
	DoorClosingTime = 4.35;
}

DefineSwitch ""{
	Entry = "";
	Entry = "0| ^]";
	Entry = "0| ";
	Entry = "0| ݐ";
	Entry = "0| LdO";
	Entry = "LdS";
	Entry = "GREEN MOVER MAX";
	Entry = "1| s @Lw";
	Entry = "1|  s@L`(Fi)";
	Entry = "2| h[O @Lw";
	Entry = "2| {";
	Entry = "3|  s@L`(Fi)";
	Entry = "3| s @L(Ȕ)";
	Entry = "5| 䎡RoR@Lw";
	Entry = "5| 䎡RoR@L`(Fi)";
	Entry = "6| h[O @Lw";
	Entry = "6|  h[O@]g";
	Entry = "7| s @w";
	Entry = "7|  s@LdO";
	Entry = "7|  s@L`(Fi)";
	Entry = "8| w";
	Entry = "8| ]g";
	Entry = "9| h[O @";
	Entry = "9|  h[O@]g";
}

DefineSwitch "ԍ"{
	Entry = "5101 (h)";
	Entry = "5102";
	Entry = "5103";
	Entry = "5104";
	Entry = "5105";
	Entry = "5106";
	Entry = "5107";
	Entry = "5108";
	Entry = "5109";
	Entry = "5110";
}

DefineSwitch "Cg"{
	Entry = "";
	Entry = "(펞_)";
	Entry = "";
}

DefineSwitch ""{
	Entry = "";
	Entry = "";
}

DefineSwitch "p^Ot"{
	Entry = "WJ";
	Entry = "[";
}

DefineSwitch "ȈՃVhE"{
	Entry = "";
	Entry = "Ȃ";
}

DefineSwitch "hA"{
	Entry = "";
	Entry = "";
}

PrimaryAssembly{
	Axle "wheel_a1"{
		ModelFileName = "wheel.x";
		ModelScale = 10;
		AlphaZeroTest = 0;
		NoCastShadow = 0;
		Diameter = 0.3;
		Symmetric = 16;
		Coord = (12.3, 0.3);
	}
	Axle "wheel_a2"{
		ModelFileName = "wheel.x";
		ModelScale = 10;
		AlphaZeroTest = 0;
		NoCastShadow = 0;
		Diameter = 0.3;
		Symmetric = 16;
		Coord = (10.5, 0.3);
	}
	Axle "wheel_b1"{
		ModelFileName = "wheel.x";
		ModelScale = 10;
		AlphaZeroTest = 0;
		NoCastShadow = 0;
		Diameter = 0.3;
		Symmetric = 16;
		Coord = (-12.3, 0.3);
	}
	Axle "wheel_b2"{
		ModelFileName = "wheel.x";
		ModelScale = 10;
		AlphaZeroTest = 0;
		NoCastShadow = 0;
		Diameter = 0.3;
		Symmetric = 16;
		Coord = (-10.5, 0.3);
	}
	Axle "wheel_e1"{
		ModelFileName = "wheel.x";
		ModelScale = 10;
		AlphaZeroTest = 0;
		NoCastShadow = 0;
		Diameter = 0.3;
		Symmetric = 16;
		Coord = (0.9, 0.3);
	}
	Axle "wheel_e2"{
		ModelFileName = "wheel.x";
		ModelScale = 10;
		AlphaZeroTest = 0;
		NoCastShadow = 0;
		Diameter = 0.3;
		Symmetric = 16;
		Coord = (-0.9, 0.3);
	}
	Axle "dummy-wheel_1"{
		ModelFileName = "";
		ModelScale = 10;
		Diameter = 0.0;
		Symmetric = 0;
		Coord = (8.8, 0.0);
		WheelSound = no;
	}
	Axle "dummy-wheel_2"{
		ModelFileName = "";
		ModelScale = 10;
		Diameter = 0.0;
		Symmetric = 0;
		Coord = (2.6, 0.0);
		WheelSound = no;
	}
	Axle "dummy-wheel_3"{
		ModelFileName = "";
		ModelScale = 10;
		Diameter = 0.0;
		Symmetric = 0;
		Coord = (-8.8, 0.0);
		WheelSound = no;
	}
	Axle "dummy-wheel_4"{
		ModelFileName = "";
		ModelScale = 10;
		Diameter = 0.0;
		Symmetric = 0;
		Coord = (-2.6, 0.0);
		WheelSound = no;
	}
	Body "body_a"{
		ModelFileName = "body_ab.x";
		ModelScale = 10;
		NoCastShadow = 11,12,13,14,15,16;
		ApplySwitch "" {
		Case 6: ShiftTexture = 1, 0.0, 0.03906; ShiftTexture = 2, 0.0, 0.03906;
		Case 1,2,3,4: ShiftTexture = 1, 0.0, 0.15625;
		Case 7,8: ShiftTexture = 1, 0.0, 0.19531;
		Case 9,10: ShiftTexture = 1, 0.0, 0.23438;
		Case 11,12: ShiftTexture = 1, 0.0, 0.27344;
		Case 13,14: ShiftTexture = 1, 0.0, 0.3125;
		Case 15,16: ShiftTexture = 1, 0.16406, 0.0;
		Case 17,18,19: ShiftTexture = 1, 0.16406, 0.03906;
		Case 20,21: ShiftTexture = 1, 0.16406, 0.07813;
		Case 22,23: ShiftTexture = 1, 0.16406, 0.11719;
		Case 1: ShiftTexture = 2, 0.0, 0.15625;
		Case 2: ShiftTexture = 2, 0.0, 0.19531;
		Case 3: ShiftTexture = 2, 0.0, 0.23438;
		Case 4: ShiftTexture = 2, 0.0, 0.27344;
		Case 7: ShiftTexture = 2, 0.0, 0.3125;
		Case 8,11,19: ShiftTexture = 2, 0.16406, 0.0;
		Case 9,15: ShiftTexture = 2, 0.16406, 0.03906;
		Case 10: ShiftTexture = 2, 0.16406, 0.07813;
		Case 12: ShiftTexture = 2, 0.16406, 0.11719;
		Case 13: ShiftTexture = 2, 0.16406, 0.15625;
		Case 14: ShiftTexture = 2, 0.16406, 0.19531;
		Case 16,23: ShiftTexture = 2, 0.16406, 0.23438;
		Case 17: ShiftTexture = 2, 0.32813, 0.0;
		Case 18: ShiftTexture = 2, 0.32813, 0.03906;
		Case 20: ShiftTexture = 2, 0.32813, 0.07813;
		Case 21: ShiftTexture = 2, 0.32813, 0.11719;
		Case 22: ShiftTexture = 2, 0.32813, 0.15625;
		}
		If ""==0|"p^Ot"==1{
			ChangeAlpha = 1, 0.0; ChangeAlpha = 2, 0.0;
		}
		ApplySwitch "ԍ" {
		Case 0:
			ChangeTexture = 6,"exterior2.png";
			ShiftTexture = 15, 0.0, -0.00977;
		Case 0,9:
			ChangeAlpha = 12, 0.0;
			ChangeAlpha = 13, 0.0;
			ChangeAlpha = 14, 0.0;
			ChangeAlpha = 15, 1.0;
			ChangeAlpha = 16, 1.0;
		Case 2: ShiftTexture = 13, 0.0, 0.00977;
		Case 3: ShiftTexture = 13, 0.0, 0.01953;
		Case 4: ShiftTexture = 13, 0.0, 0.02930;
		Case 5: ShiftTexture = 13, 0.0, 0.03906;
		Case 6: ShiftTexture = 13, -0.01270, -0.02344;
		Case 7: ShiftTexture = 13, -0.01270, -0.01367;
		Case 8: ShiftTexture = 13, -0.01270, -0.00391;
		}
		If "_CONNECT1"==1|"Cg"==2|("Cg"==0&&"_NIGHT"==0)|"p^Ot"==1{
			ChangeAlpha = 4, 0.0;
			ChangeAlpha = 5, 0.0;
		}Else{
			If "_CONNECT1"==0&&("Cg"==1|("Cg"==0&&"_NIGHT"==1)){
				ApplySwitch "_FRONT"{
				Case 0: ChangeAlpha = 5, 0.0;
				Case 1: ChangeAlpha = 4, 0.0;
				}
			}
		}
		If "_CONNECT1"==0&&"_FRONT"==1&&"Cg"!=2&&"p^Ot"!=1&&("_ACCEL"<-2|"_VELOCITY"==0) {
			ChangeAlpha = 5, 1.0;
			ChangeAlpha = 8, 1.0;
		}
		If ""==0&&"p^Ot"==0{
			ChangeAlpha = 7, NightAlpha;
		}Else{ ChangeAlpha = 7, 0.0; }
		JointZY "wheel_a1"{
			AttachCoord = (0.0, 0.0);
			LocalCoord = (-0.05, 0.3);
		}
		JointZY "wheel_a2"{
			AttachCoord = (0.0, 0.0);
			LocalCoord = (-1.85, 0.3);
		}
	}
	Body "body_b"{
		ModelFileName = "body_ab.x";
		ModelScale = 10;
		Turn = yes;
		NoCastShadow = 11,12,13,14,15,16;
		ShiftTexture = 14, 0.0, 0.01074;
		ShiftTexture = 16, 0.0, 0.01074;
		ApplySwitch "" {
		Case 6: ShiftTexture = 1, 0.0, 0.03906; ShiftTexture = 2, 0.0, 0.03906;
		Case 1,2,3,4: ShiftTexture = 1, 0.0, 0.15625;
		Case 7,8: ShiftTexture = 1, 0.0, 0.19531;
		Case 9,10: ShiftTexture = 1, 0.0, 0.23438;
		Case 11,12: ShiftTexture = 1, 0.0, 0.27344;
		Case 13,14: ShiftTexture = 1, 0.0, 0.3125;
		Case 15,16: ShiftTexture = 1, 0.16406, 0.0;
		Case 17,18,19: ShiftTexture = 1, 0.16406, 0.03906;
		Case 20,21: ShiftTexture = 1, 0.16406, 0.07813;
		Case 22,23: ShiftTexture = 1, 0.16406, 0.11719;
		Case 1: ShiftTexture = 2, 0.0, 0.15625;
		Case 2: ShiftTexture = 2, 0.0, 0.19531;
		Case 3: ShiftTexture = 2, 0.0, 0.23438;
		Case 4: ShiftTexture = 2, 0.0, 0.27344;
		Case 7: ShiftTexture = 2, 0.0, 0.3125;
		Case 8,11,19: ShiftTexture = 2, 0.16406, 0.0;
		Case 9,15: ShiftTexture = 2, 0.16406, 0.03906;
		Case 10: ShiftTexture = 2, 0.16406, 0.07813;
		Case 12: ShiftTexture = 2, 0.16406, 0.11719;
		Case 13: ShiftTexture = 2, 0.16406, 0.15625;
		Case 14: ShiftTexture = 2, 0.16406, 0.19531;
		Case 16,23: ShiftTexture = 2, 0.16406, 0.23438;
		Case 17: ShiftTexture = 2, 0.32813, 0.0;
		Case 18: ShiftTexture = 2, 0.32813, 0.03906;
		Case 20: ShiftTexture = 2, 0.32813, 0.07813;
		Case 21: ShiftTexture = 2, 0.32813, 0.11719;
		Case 22: ShiftTexture = 2, 0.32813, 0.15625;
		}
		If ""==0|"p^Ot"==1{
			ChangeAlpha = 1, 0.0; ChangeAlpha = 2, 0.0;
		}
		ApplySwitch "ԍ" {
		Case 0:
			ChangeTexture = 6,"exterior2.png";
			ShiftTexture = 15, 0.0, -0.00977;
		Case 0,9:
			ChangeAlpha = 12, 0.0;
			ChangeAlpha = 13, 0.0;
			ChangeAlpha = 14, 0.0;
			ChangeAlpha = 15, 1.0;
			ChangeAlpha = 16, 1.0;
		Case 2: ShiftTexture = 13, 0.0, 0.00977;
		Case 3: ShiftTexture = 13, 0.0, 0.01953;
		Case 4: ShiftTexture = 13, 0.0, 0.02930;
		Case 5: ShiftTexture = 13, 0.0, 0.03906;
		Case 6: ShiftTexture = 13, -0.01270, -0.02344;
		Case 7: ShiftTexture = 13, -0.01270, -0.01367;
		Case 8: ShiftTexture = 13, -0.01270, -0.00391;
		}
		If "_CONNECT2"==1|"Cg"==2|("Cg"==0&&"_NIGHT"==0)|"p^Ot"==1{
			ChangeAlpha = 4, 0.0;
			ChangeAlpha = 5, 0.0;
		}Else{
			If "_CONNECT2"==0&&("Cg"==1|("Cg"==0&&"_NIGHT"==1)){
				ApplySwitch "_FRONT"{
				Case 0: ChangeAlpha = 4, 0.0;
				Case 1: ChangeAlpha = 5, 0.0;
				}
			}
		}
		If "_CONNECT2"==0&&"_FRONT"==0&&"Cg"!=2&&"p^Ot"!=1&&("_ACCEL"<-2|"_VELOCITY"==0) {
			ChangeAlpha = 5, 1.0;
			ChangeAlpha = 8, 1.0;
		}
		If ""==0&&"p^Ot"==0{
			ChangeAlpha = 7, NightAlpha;
		}Else{ ChangeAlpha = 7, 0.0; }
		JointZY "wheel_b1"{
			AttachCoord = (0.0, 0.0);
			LocalCoord = (-0.05, 0.3);
		}
		JointZY "wheel_b2"{
			AttachCoord = (0.0, 0.0);
			LocalCoord = (-1.85, 0.3);
		}
	}
	Body "body_c"{
		ModelFileName = "body_cd.x";
		ModelScale = 10;
		NoCastShadow = 3,4,5,6,7,8;
		ApplySwitch "ԍ" {
		Case 0:
			ChangeTexture = 0,"exterior2.png";
			ShiftTexture = 7, 0.0, -0.00977;
		Case 0,9:
			ChangeAlpha = 4, 0.0;
			ChangeAlpha = 5, 0.0;
			ChangeAlpha = 6, 0.0;
			ChangeAlpha = 7, 1.0;
			ChangeAlpha = 8, 1.0;
		Case 2: ShiftTexture = 5, 0.0, 0.00977;
		Case 3: ShiftTexture = 5, 0.0, 0.01953;
		Case 4: ShiftTexture = 5, 0.0, 0.02930;
		Case 5: ShiftTexture = 5, 0.0, 0.03906;
		Case 6: ShiftTexture = 5, -0.01270, -0.02344;
		Case 7: ShiftTexture = 5, -0.01270, -0.01367;
		Case 8: ShiftTexture = 5, -0.01270, -0.00391;
		}
		If ""==0&&"p^Ot"==0{
			ChangeAlpha = 1, NightAlpha;
		}Else{ ChangeAlpha = 1, 0.0; }
		JointZY "dummy-wheel_1"{
			AttachCoord = (0.0, 0.0);
			LocalCoord = (3.1, 0.0);
		}
		JointZY "dummy-wheel_2"{
			AttachCoord = (0.0, 0.0);
			LocalCoord = (-3.1, 0.0);
		}
	}
	Body "body_d"{
		ModelFileName = "body_cd.x";
		ModelScale = 10;
		Turn = yes;
		NoCastShadow = 3,4,5,6,7,8;
		ShiftTexture = 6, 0.0, 0.01074;
		ShiftTexture = 8, 0.0, 0.01074;
		ApplySwitch "ԍ" {
		Case 0:
			ChangeTexture = 0,"exterior2.png";
			ShiftTexture = 7, 0.0, -0.00977;
		Case 0,9:
			ChangeAlpha = 4, 0.0;
			ChangeAlpha = 5, 0.0;
			ChangeAlpha = 6, 0.0;
			ChangeAlpha = 7, 1.0;
			ChangeAlpha = 8, 1.0;
		Case 2: ShiftTexture = 5, 0.0, 0.00977;
		Case 3: ShiftTexture = 5, 0.0, 0.01953;
		Case 4: ShiftTexture = 5, 0.0, 0.02930;
		Case 5: ShiftTexture = 5, 0.0, 0.03906;
		Case 6: ShiftTexture = 5, -0.01270, -0.02344;
		Case 7: ShiftTexture = 5, -0.01270, -0.01367;
		Case 8: ShiftTexture = 5, -0.01270, -0.00391;
		}
		If ""==0&&"p^Ot"==0{
			ChangeAlpha = 1, NightAlpha;
		}Else{ ChangeAlpha = 1, 0.0; }
		JointZY "dummy-wheel_3"{
			AttachCoord = (0.0, 0.0);
			LocalCoord = (3.1, 0.0);
		}
		JointZY "dummy-wheel_4"{
			AttachCoord = (0.0, 0.0);
			LocalCoord = (-3.1, 0.0);
		}
	}
	Body "body_e"{
		ModelFileName = "body_e.x";
		ModelScale = 10;
		NoCastShadow = 7,8,9,10,11;
		ApplySwitch "" {
		Case 6: ShiftTexture = 1, 0.0, 0.03906; ShiftTexture = 2, 0.0, 0.03906;
		Case 1,2,3,4: ShiftTexture = 1, 0.0, 0.15625;
		Case 7,8: ShiftTexture = 1, 0.0, 0.19531;
		Case 9,10: ShiftTexture = 1, 0.0, 0.23438;
		Case 11,12: ShiftTexture = 1, 0.0, 0.27344;
		Case 13,14: ShiftTexture = 1, 0.0, 0.3125;
		Case 15,16: ShiftTexture = 1, 0.16406, 0.0;
		Case 17,18,19: ShiftTexture = 1, 0.16406, 0.03906;
		Case 20,21: ShiftTexture = 1, 0.16406, 0.07813;
		Case 22,23: ShiftTexture = 1, 0.16406, 0.11719;
		Case 1: ShiftTexture = 2, 0.0, 0.15625;
		Case 2: ShiftTexture = 2, 0.0, 0.19531;
		Case 3: ShiftTexture = 2, 0.0, 0.23438;
		Case 4: ShiftTexture = 2, 0.0, 0.27344;
		Case 7: ShiftTexture = 2, 0.0, 0.3125;
		Case 8,11,19: ShiftTexture = 2, 0.16406, 0.0;
		Case 9,15: ShiftTexture = 2, 0.16406, 0.03906;
		Case 10: ShiftTexture = 2, 0.16406, 0.07813;
		Case 12: ShiftTexture = 2, 0.16406, 0.11719;
		Case 13: ShiftTexture = 2, 0.16406, 0.15625;
		Case 14: ShiftTexture = 2, 0.16406, 0.19531;
		Case 16,23: ShiftTexture = 2, 0.16406, 0.23438;
		Case 17: ShiftTexture = 2, 0.32813, 0.0;
		Case 18: ShiftTexture = 2, 0.32813, 0.03906;
		Case 20: ShiftTexture = 2, 0.32813, 0.07813;
		Case 21: ShiftTexture = 2, 0.32813, 0.11719;
		Case 22: ShiftTexture = 2, 0.32813, 0.15625;
		}
		If ""==0|"p^Ot"==1{
			ChangeAlpha = 1, 0.0; ChangeAlpha = 2, 0.0;
		}
		ApplySwitch "ԍ" {
		Case 0:
			ChangeTexture = 4,"exterior2.png";
			ShiftTexture = 10, 0.0, -0.00977;
		Case 0,9:
			ChangeAlpha = 8, 0.0;
			ChangeAlpha = 9, 0.0;
			ChangeAlpha = 10, 1.0;
			ChangeAlpha = 11, 1.0;
		Case 2: ShiftTexture = 9, 0.0, 0.00977;
		Case 3: ShiftTexture = 9, 0.0, 0.01953;
		Case 4: ShiftTexture = 9, 0.0, 0.02930;
		Case 5: ShiftTexture = 9, 0.0, 0.03906;
		Case 6: ShiftTexture = 9, -0.01270, -0.02344;
		Case 7: ShiftTexture = 9, -0.01270, -0.01367;
		Case 8: ShiftTexture = 9, -0.01270, -0.00391;
		}
		If ""==0&&"p^Ot"==0{
			ChangeAlpha = 5, NightAlpha;
		}Else{ ChangeAlpha = 5, 0.0; }
		JointZY "wheel_e1"{
			AttachCoord = (0.0, 0.0);
			LocalCoord = (0.9, 0.3);
		}
		JointZY "wheel_e2"{
			AttachCoord = (0.0, 0.0);
			LocalCoord = (-0.9, 0.3);
		}
	}
	Object3D "door_a"{
		ModelFileName = "door1.x";
		ModelScale = 10.0;
		ApplySwitch "ԍ" {
		Case 0: ChangeTexture = 0,"exterior2.png";
		}
		If "_DOOR1"==1&&"hA"==0&&"p^Ot"==0{
			StaticMove{
				Displacement = (-0.05, 0.0, -0.05);
				PreAnimationDelay = 0.5;
				AnimationTime = 0.85;
				PostAnimationDelay = 3.0;
			}
			StaticMove{
				Displacement = (0.0, 0.0, -0.85);
				PreAnimationDelay = 1.35;
				AnimationTime = 2.5;
				PostAnimationDelay = 0.5;
			}
		}
		Joint3D "body_a"{
			AttachCoord = (-1.248, 0.0, 1.652);
		}
	}
	Object3D "door_b"{
		ModelFileName = "door1.x";
		ModelScale = 10.0;
		ApplySwitch "ԍ" {
		Case 0: ChangeTexture = 0,"exterior2.png";
		}
		If "_DOOR2"==1&&"hA"==0&&"p^Ot"==0{
			StaticMove{
				Displacement = (-0.05, 0.0, -0.05);
				PreAnimationDelay = 0.5;
				AnimationTime = 0.85;
				PostAnimationDelay = 3.0;
			}
			StaticMove{
				Displacement = (0.0, 0.0, -0.85);
				PreAnimationDelay = 1.35;
				AnimationTime = 2.5;
				PostAnimationDelay = 0.5;
			}
		}
		Joint3D "body_b"{
			AttachCoord = (-1.248, 0.0, 1.652);
		}
	}
	Object3D "door_c1"{
		ModelFileName = "door1.x";
		ModelScale = 10.0;
		ShiftTexture = 0, 0.39648, 0.32227;
		ApplySwitch "ԍ" {
		Case 0: ChangeTexture = 0,"exterior2.png";
		}
		If "_DOOR2"==1&&"hA"==0&&"p^Ot"==0{
			StaticMove{
				Displacement = (-0.05, 0.0, 0.05);
				PreAnimationDelay = 0.5;
				AnimationTime = 0.85;
				PostAnimationDelay = 3.0;
			}
			StaticMove{
				Displacement = (0.0, 0.0, 0.85);
				PreAnimationDelay = 1.35;
				AnimationTime = 2.5;
				PostAnimationDelay = 0.5;
			}
		}
		Joint3D "body_c"{
			AttachCoord = (1.248, 0.0, 0.761);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}
	Object3D "door_c2"{
		ModelFileName = "door1.x";
		ModelScale = 10.0;
		ShiftTexture = 0, 0.05078, 0.32227;
		ApplySwitch "ԍ" {
		Case 0: ChangeTexture = 0,"exterior2.png";
		}
		If "_DOOR2"==1&&"hA"==0&&"p^Ot"==0{
			StaticMove{
				Displacement = (-0.05, 0.0, -0.05);
				PreAnimationDelay = 0.5;
				AnimationTime = 0.85;
				PostAnimationDelay = 3.0;
			}
			StaticMove{
				Displacement = (0.0, 0.0, -0.85);
				PreAnimationDelay = 1.35;
				AnimationTime = 2.5;
				PostAnimationDelay = 0.5;
			}
		}
		Joint3D "body_c"{
			AttachCoord = (1.248, 0.0, -2.695);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}
	Object3D "door_c3r"{
		ModelFileName = "door2.x";
		ModelScale = 10.0;
		ApplySwitch "ԍ" {
		Case 0: ChangeTexture = 0,"exterior2.png";
		}
		If "_DOOR1"==1&&"hA"==0&&"p^Ot"==0{
			StaticMove{
				Displacement = (-0.05, 0.0, -0.05);
				PreAnimationDelay = 0.5;
				AnimationTime = 0.85;
				PostAnimationDelay = 3.0;
			}
			StaticMove{
				Displacement = (0.0, 0.0, -0.6);
				PreAnimationDelay = 1.35;
				AnimationTime = 2.5;
				PostAnimationDelay = 0.5;
			}
		}
		Joint3D "body_c"{
			AttachCoord = (-1.248, 0.0, -0.386);
		}
	}
	Object3D "door_c3l"{
		ModelFileName = "door2.x";
		ModelScale = 10.0;
		ShiftTexture = 0, -0.07715, 0.0;
		ApplySwitch "ԍ" {
		Case 0: ChangeTexture = 0,"exterior2.png";
		}
		If "_DOOR1"==1&&"hA"==0&&"p^Ot"==0{
			StaticMove{
				Displacement = (-0.05, 0.0, 0.05);
				PreAnimationDelay = 0.5;
				AnimationTime = 0.85;
				PostAnimationDelay = 3.0;
			}
			StaticMove{
				Displacement = (0.0, 0.0, 0.6);
				PreAnimationDelay = 1.35;
				AnimationTime = 2.5;
				PostAnimationDelay = 0.5;
			}
		}
		Joint3D "body_c"{
			AttachCoord = (-1.248, 0.0, 0.386);
		}
	}
	Object3D "door_d1"{
		ModelFileName = "door1.x";
		ModelScale = 10.0;
		ShiftTexture = 0, 0.39648, 0.32227;
		ApplySwitch "ԍ" {
		Case 0: ChangeTexture = 0,"exterior2.png";
		}
		If "_DOOR1"==1&&"hA"==0&&"p^Ot"==0{
			StaticMove{
				Displacement = (-0.05, 0.0, 0.05);
				PreAnimationDelay = 0.5;
				AnimationTime = 0.85;
				PostAnimationDelay = 3.0;
			}
			StaticMove{
				Displacement = (0.0, 0.0, 0.85);
				PreAnimationDelay = 1.35;
				AnimationTime = 2.5;
				PostAnimationDelay = 0.5;
			}
		}
		Joint3D "body_d"{
			AttachCoord = (1.248, 0.0, 0.761);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}
	Object3D "door_d2"{
		ModelFileName = "door1.x";
		ModelScale = 10.0;
		ShiftTexture = 0, 0.05078, 0.32227;
		ApplySwitch "ԍ" {
		Case 0: ChangeTexture = 0,"exterior2.png";
		}
		If "_DOOR1"==1&&"hA"==0&&"p^Ot"==0{
			StaticMove{
				Displacement = (-0.05, 0.0, -0.05);
				PreAnimationDelay = 0.5;
				AnimationTime = 0.85;
				PostAnimationDelay = 3.0;
			}
			StaticMove{
				Displacement = (0.0, 0.0, -0.85);
				PreAnimationDelay = 1.35;
				AnimationTime = 2.5;
				PostAnimationDelay = 0.5;
			}
		}
		Joint3D "body_d"{
			AttachCoord = (1.248, 0.0, -2.695);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}
	Object3D "door_d3r"{
		ModelFileName = "door2.x";
		ModelScale = 10.0;
		ApplySwitch "ԍ" {
		Case 0: ChangeTexture = 0,"exterior2.png";
		}
		If "_DOOR2"==1&&"hA"==0&&"p^Ot"==0{
			StaticMove{
				Displacement = (-0.05, 0.0, -0.05);
				PreAnimationDelay = 0.5;
				AnimationTime = 0.85;
				PostAnimationDelay = 3.0;
			}
			StaticMove{
				Displacement = (0.0, 0.0, -0.6);
				PreAnimationDelay = 1.35;
				AnimationTime = 2.5;
				PostAnimationDelay = 0.5;
			}
		}
		Joint3D "body_d"{
			AttachCoord = (-1.248, 0.0, -0.386);
		}
	}
	Object3D "door_d3l"{
		ModelFileName = "door2.x";
		ModelScale = 10.0;
		ShiftTexture = 0, -0.07715, 0.0;
		ApplySwitch "ԍ" {
		Case 0: ChangeTexture = 0,"exterior2.png";
		}
		If "_DOOR2"==1&&"hA"==0&&"p^Ot"==0{
			StaticMove{
				Displacement = (-0.05, 0.0, 0.05);
				PreAnimationDelay = 0.5;
				AnimationTime = 0.85;
				PostAnimationDelay = 3.0;
			}
			StaticMove{
				Displacement = (0.0, 0.0, 0.6);
				PreAnimationDelay = 1.35;
				AnimationTime = 2.5;
				PostAnimationDelay = 0.5;
			}
		}
		Joint3D "body_d"{
			AttachCoord = (-1.248, 0.0, 0.386);
		}
	}
	Object3D "kiki_a"{
		ModelFileName = "kiki_ab2.x";
		ModelScale = 10.0;
		ApplySwitch "ԍ" {
		Case 0: ChangeModel = "kiki_ab1.x",10.0;
		}
		Joint3D "body_a"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "kiki_b"{
		ModelFileName = "kiki_ab2.x";
		ModelScale = 10.0;
		ApplySwitch "ԍ" {
		Case 0: ChangeModel = "kiki_ab1.x",10.0;
		}
		Joint3D "body_b"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "kiki_c"{
		ModelFileName = "kiki_cd2.x";
		ModelScale = 10.0;
		ApplySwitch "ԍ" {
		Case 0: ChangeModel = "kiki_cd1.x",10.0;
		}
		Joint3D "body_c"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "kiki_d"{
		ModelFileName = "kiki_cd2.x";
		ModelScale = 10.0;
		ApplySwitch "ԍ" {
		Case 0: ChangeModel = "kiki_cd1.x",10.0;
		}
		Joint3D "body_d"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "p-0_c"{
		ModelFileName = "p-0.x";
		ModelScale = 10.0;
		Joint3D "body_c"{
			AttachCoord = (0.0, 3.432, 2.253);
		}
	}
	Object3D "p-1_c"{
		ModelFileName = "p-1.x";
		ModelScale = 10.0;
		StaticRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationAngle = -3.0; }
		If "p^Ot"==0&&"_FRONT"==0 {
			StaticRotation{
				RotationAxis = (1.0, 0.0, 0.0);
				RotationAngle = -35.2;
				AnimationTime = 1.5;
			}
		}
		Joint3D "p-0_c"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "p-2_c"{
		ModelFileName = "p-2.x";
		ModelScale = 10.0;
		StaticRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationAngle = 2.0; }
		If "p^Ot"==0&&"_FRONT"==0 {
			StaticRotation{
				RotationAxis = (1.0, 0.0, 0.0);
				RotationAngle = 67.2;
				AnimationTime = 1.5;
			}
		}
		Joint3D "p-1_c"{
			AttachCoord = (0.0, 0.015, 1.235);
		}
	}
	Object3D "p-3_c"{
		ModelFileName = "p-3.x";
		ModelScale = 10.0;
		Joint3D "p-2_c"{
			AttachCoord = (0.0, 0.042, -1.466);
			DirLink = "body_c";
			UpLink = "body_c";
		}
	}
	ObjectZY "p-4_c"{
		ModelFileName = "p-4.x";
		ModelScale = 10.0;
		FixPosition = 0.0;
		JointZYX "p-2_c"{
			AttachCoord = (0.13, -0.052);
			LocalCoord = (0.0, 0.0);
		}
		JointZYX "body_c"{
			AttachCoord = (2.68, 3.38);
			LocalCoord = (1.0, 0.0);
		}
	}
	ObjectZY "p-5_c"{
		ModelFileName = "p-5.x";
		ModelScale = 10.0;
		FixPosition = 0.1;
		JointZYX "p-1_c"{
			AttachX = -0.1;
			AttachCoord = (1.195, 0.013);
			LocalCoord = (0.0, 0.0);
		}
		JointZYX "p-3_c"{
			AttachX = -0.1;
			AttachCoord = (0.0, -0.013);
			LocalCoord = (1.5, -0.061);
		}
	}
	Object3D "p-0_d"{
		ModelFileName = "p-0.x";
		ModelScale = 10.0;
		Joint3D "body_d"{
			AttachCoord = (0.0, 3.432, 2.253);
		}
	}
	Object3D "p-1_d"{
		ModelFileName = "p-1.x";
		ModelScale = 10.0;
		StaticRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationAngle = -3.0; }
		If "p^Ot"==0&&"_FRONT"==1 {
			StaticRotation{
				RotationAxis = (1.0, 0.0, 0.0);
				RotationAngle = -35.2;
				AnimationTime = 1.5;
			}
		}
		Joint3D "p-0_d"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "p-2_d"{
		ModelFileName = "p-2.x";
		ModelScale = 10.0;
		StaticRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationAngle = 2.0; }
		If "p^Ot"==0&&"_FRONT"==1 {
			StaticRotation{
				RotationAxis = (1.0, 0.0, 0.0);
				RotationAngle = 67.2;
				AnimationTime = 1.5;
			}
		}
		Joint3D "p-1_d"{
			AttachCoord = (0.0, 0.015, 1.235);
		}
	}
	Object3D "p-3_d"{
		ModelFileName = "p-3.x";
		ModelScale = 10.0;
		Joint3D "p-2_d"{
			AttachCoord = (0.0, 0.042, -1.466);
			DirLink = "body_d";
			UpLink = "body_d";
		}
	}
	ObjectZY "p-4_d"{
		ModelFileName = "p-4.x";
		ModelScale = 10.0;
		FixPosition = 0.0;
		JointZYX "p-2_d"{
			AttachCoord = (0.12, -0.049);
			LocalCoord = (0.0, 0.0);
		}
		JointZYX "body_d"{
			AttachCoord = (2.68, 3.38);
			LocalCoord = (1.0, 0.0);
		}
	}
	ObjectZY "p-5_d"{
		ModelFileName = "p-5.x";
		ModelScale = 10.0;
		FixPosition = 0.1;
		JointZYX "p-1_d"{
			AttachX = -0.1;
			AttachCoord = (1.195, 0.013);
			LocalCoord = (0.0, 0.0);
		}
		JointZYX "p-3_d"{
			AttachX = -0.1;
			AttachCoord = (0.0, -0.013);
			LocalCoord = (1.5, -0.061);
		}
	}
	Object3D "shadow_a"{
		ModelFileName = "../mtbc_hiroden5100/shadow.x";
		ModelScale = 10.0;
		Transparent = 0,1,2;
		If "_SHADOW"==1|"ȈՃVhE"==1{
			ChangeModel = "",10;
		}
		ChangeAlpha = 0,0.0;
		ChangeAlpha = 1,0.0;
		Joint3D "body_a"{
			AttachCoord = (0.0, 0.03, 0.0);
		}
	}
	Object3D "shadow_b"{
		ModelFileName = "../mtbc_hiroden5100/shadow.x";
		ModelScale = 10.0;
		Transparent = 0,1,2;
		If "_SHADOW"==1|"ȈՃVhE"==1{
			ChangeModel = "",10;
		}
		ChangeAlpha = 0,0.0;
		ChangeAlpha = 1,0.0;
		Joint3D "body_b"{
			AttachCoord = (0.0, 0.03, 0.0);
		}
	}
	Object3D "shadow_c"{
		ModelFileName = "shadow.x";
		ModelScale = 10.0;
		Transparent = 0,1,2;
		If "_SHADOW"==1|"ȈՃVhE"==1{
			ChangeModel = "",10;
		}
		ChangeAlpha = 1,0.0;
		ChangeAlpha = 2,0.0;
		Joint3D "body_c"{
			AttachCoord = (0.0, 0.03, 0.0);
		}
	}
	Object3D "shadow_d"{
		ModelFileName = "shadow.x";
		ModelScale = 10.0;
		Transparent = 0,1,2;
		If "_SHADOW"==1|"ȈՃVhE"==1{
			ChangeModel = "",10;
		}
		ChangeAlpha = 1,0.0;
		ChangeAlpha = 2,0.0;
		Joint3D "body_d"{
			AttachCoord = (0.0, 0.03, 0.0);
		}
	}
	Object3D "shadow_e"{
		ModelFileName = "shadow.x";
		ModelScale = 10.0;
		Transparent = 0,1,2;
		If "_SHADOW"==1|"ȈՃVhE"==1{
			ChangeModel = "",10;
		}
		ChangeAlpha = 0,0.0;
		ChangeAlpha = 2,0.0;
		Joint3D "body_e"{
			AttachCoord = (0.0, 0.03, 0.0);
		}
	}
	Object3D "horo_a"{
		ModelFileName = "horo.x";
		ModelScale = 10.0;
		Joint3D "body_a"{
			AttachCoord = (0.0, 0.00, -2.65);
		}
	}
	Object3D "horo_b"{
		ModelFileName = "horo.x";
		ModelScale = 10.0;
		Joint3D "body_b"{
			AttachCoord = (0.0, 0.00, -2.65);
		}
	}
	Object3D "horo_c1"{
		ModelFileName = "horo.x";
		ModelScale = 10.0;
		Joint3D "body_c"{
			AttachCoord = (0.0, 0.00, 3.3);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}
	Object3D "horo_c2"{
		ModelFileName = "horo.x";
		ModelScale = 10.0;
		Joint3D "body_c"{
			AttachCoord = (0.0, 0.00, -3.3);
		}
	}
	Object3D "horo_d1"{
		ModelFileName = "horo.x";
		ModelScale = 10.0;
		Joint3D "body_d"{
			AttachCoord = (0.0, 0.00, 3.3);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}
	Object3D "horo_d2"{
		ModelFileName = "horo.x";
		ModelScale = 10.0;
		Joint3D "body_d"{
			AttachCoord = (0.0, 0.00, -3.3);
		}
	}
	Object3D "horo_e1"{
		ModelFileName = "horo.x";
		ModelScale = 10.0;
		Joint3D "body_e"{
			AttachCoord = (0.0, 0.00, 1.7);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}
	Object3D "horo_e2"{
		ModelFileName = "horo.x";
		ModelScale = 10.0;
		Joint3D "body_e"{
			AttachCoord = (0.0, 0.00, -1.7);
		}
	}
	If "p^Ot"==0&&("Cg"==1|("Cg"==0&&"_NIGHT"==1)){
		If "_CONNECT1"==0&&"_FRONT"==0{
			Headlight{
			AttachObject = "body_a";
			SourceCoord = (0.663, 0.869, 2.56);
			Direction = (0.0, 0.0, 1.0);
			MaxDistance = 50.0;
			LensFlare{
			StartAngle = 30.0;
				Texture{
				Distance = 0.0;
				Radius = 0.35;
				TexFileName = "../common_mtbc/flare.png";
				Color = #ffcccccc;
				}
			}
			}
			Headlight{
			AttachObject = "body_a";
			SourceCoord = (-0.663, 0.869, 2.56);
			Direction = (0.0, 0.0, 1.0);
			MaxDistance = 50.0;
			}
		}
		If "_CONNECT2"==0&&"_FRONT"==1{
			Headlight{
			AttachObject = "body_b";
			SourceCoord = (0.663, 0.869, -2.56);
			Direction = (0.0, 0.0, -1.0);
			MaxDistance = 50.0;
			}
			Headlight{
			AttachObject = "body_b";
			SourceCoord = (-0.663, 0.869, -2.56);
			Direction = (0.0, 0.0, -1.0);
			MaxDistance = 50.0;
			}
		}
	}
	FrontCabin{
		Joint3D "body_a"{
			AttachCoord = (0.22,1.73,1.17);
		}
	}
	TailCabin{
		Joint3D "body_b"{
			AttachCoord = (0.22,1.73,1.17);
		}
	}
}