PluginHeader{
	RailSimVersion = 2.00;
	PluginType = Train;
	PluginName = "LdS 1000`";
	PluginAuthor = "mitsubachi";
	IconTexture = "../common_mtbc/icon.png";
	Description = "O: 1,435 [mm] (WO)";
	Description = "LdSSHŉ^p\ȒᏰԗB2013NoB";
}

TrainInfo{
	FrontLimit = 9.3;
	TailLimit = -9.3;
	MaxVelocity = 40.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 = "PICCOLO / PICCOLA";
	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 = "1001 (PICCOLO)";
	Entry = "1002 (PICCOLA)";
	Entry = "1003";
	Entry = "1004";
	Entry = "1005";
}

DefineSwitch "h"{
	Entry = "Ajo[T[bh / LEXh";
	Entry = "Gߌ胉bsO(10011002/ĥ~)";
}

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 = "../mtbc_hiroden5100/wheel.x";
		ModelScale = 10;
		AlphaZeroTest = 0;
		NoCastShadow = 0;
		Diameter = 0.3;
		Symmetric = 16;
		Coord = (6.6, 0.3);
	}
	Axle "wheel_a2"{
		ModelFileName = "../mtbc_hiroden5100/wheel.x";
		ModelScale = 10;
		AlphaZeroTest = 0;
		NoCastShadow = 0;
		Diameter = 0.3;
		Symmetric = 16;
		Coord = (4.8, 0.3);
	}
	Axle "wheel_b1"{
		ModelFileName = "../mtbc_hiroden5100/wheel.x";
		ModelScale = 10;
		AlphaZeroTest = 0;
		NoCastShadow = 0;
		Diameter = 0.3;
		Symmetric = 16;
		Coord = (-6.6, 0.3);
	}
	Axle "wheel_b2"{
		ModelFileName = "../mtbc_hiroden5100/wheel.x";
		ModelScale = 10;
		AlphaZeroTest = 0;
		NoCastShadow = 0;
		Diameter = 0.3;
		Symmetric = 16;
		Coord = (-4.8, 0.3);
	}
	Axle "dummy-wheel_1"{
		ModelFileName = "";
		ModelScale = 10;
		Diameter = 0.0;
		Symmetric = 0;
		Coord = (3.1, 0.0);
		WheelSound = no;
	}
	Axle "dummy-wheel_2"{
		ModelFileName = "";
		ModelScale = 10;
		Diameter = 0.0;
		Symmetric = 0;
		Coord = (-3.1, 0.0);
		WheelSound = no;
	}
	Body "body_a"{
		ModelFileName = "body_ab.x";
		ModelScale = 10;
		NoCastShadow = 9,10;
		ApplySwitch "" {
		Case 6:
		ApplySwitch "ԍ" {
		Case 0: ShiftTexture = 1, 0.0, 0.07813; ShiftTexture = 2, 0.0, 0.07813;
		Case 1: ShiftTexture = 1, 0.0, 0.11719; ShiftTexture = 2, 0.0, 0.11719;
		Default: ShiftTexture = 1, 0.32813, 0.19531; ShiftTexture = 2, 0.32813, 0.19531;
		}
		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,"exterior_ar1.png";
			If "h"==1&&"_SEASON"==1 { ChangeTexture = 4,"exterior_ar1s.png"; }
		Case 1: ChangeTexture = 4,"exterior_ar2.png";
			If "h"==1 {
				If "_SEASON"==1 { ChangeTexture = 4,"exterior_ar2s.png"; }
				If "_SEASON"==3 { ChangeTexture = 4,"exterior_ar2w.png"; }
			}
		Case 0,1: ChangeAlpha = 9, 0.0; ChangeAlpha = 10, 0.0;
		Case 3: ShiftTexture = 10, 0.0, 0.00684;
		Case 4: ShiftTexture = 10, 0.0, 0.01367;
		Default: ChangeTexture = 4,"exterior.png";
		}
		If "_CONNECT1"==1|"Cg"==2|("Cg"==0&&"_NIGHT"==0)|"p^Ot"==1{
			ChangeAlpha = 6, 0.0;
			ChangeAlpha = 7, 0.0;
		}Else{
			If "_CONNECT1"==0&&("Cg"==1|("Cg"==0&&"_NIGHT"==1)){
				ApplySwitch "_FRONT"{
				Case 0: ChangeAlpha = 7, 0.0;
				Case 1: ChangeAlpha = 6, 0.0;
				}
			}
		}
		If "_CONNECT1"==0&&"_FRONT"==1&&"Cg"!=2&&"p^Ot"!=1&&("_ACCEL"<-2|"_VELOCITY"==0) {
			ChangeAlpha = 7, 1.0;
			ChangeAlpha = 8, 1.0;
		}
		If ""==0&&"p^Ot"==0{
			ChangeAlpha = 5, NightAlpha;
		}Else{ ChangeAlpha = 5, 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 = 9,10;
		ApplySwitch "" {
		Case 6:
		ApplySwitch "ԍ" {
		Case 0: ShiftTexture = 1, 0.0, 0.07813; ShiftTexture = 2, 0.0, 0.07813;
		Case 1: ShiftTexture = 1, 0.0, 0.11719; ShiftTexture = 2, 0.0, 0.11719;
		Default: ShiftTexture = 1, 0.32813, 0.19531; ShiftTexture = 2, 0.32813, 0.19531;
		}
		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,"exterior_ar1.png";
			If "h"==1&&"_SEASON"==1 { ChangeTexture = 4,"exterior_ar1s.png"; }
		Case 1: ChangeTexture = 4,"exterior_ar2.png";
			If "h"==1 {
				If "_SEASON"==1 { ChangeTexture = 4,"exterior_ar2s.png"; }
				If "_SEASON"==3 { ChangeTexture = 4,"exterior_ar2w.png"; }
			}
		Case 0,1: ChangeAlpha = 9, 0.0; ChangeAlpha = 10, 0.0;
		Case 3: ShiftTexture = 10, 0.0, 0.00684;
		Case 4: ShiftTexture = 10, 0.0, 0.01367;
		Default: ChangeTexture = 4,"exterior.png";
		}
		If "_CONNECT2"==1|"Cg"==2|("Cg"==0&&"_NIGHT"==0)|"p^Ot"==1{
			ChangeAlpha = 6, 0.0;
			ChangeAlpha = 7, 0.0;
		}Else{
			If "_CONNECT2"==0&&("Cg"==1|("Cg"==0&&"_NIGHT"==1)){
				ApplySwitch "_FRONT"{
				Case 0: ChangeAlpha = 6, 0.0;
				Case 1: ChangeAlpha = 7, 0.0;
				}
			}
		}
		If "_CONNECT2"==0&&"_FRONT"==0&&"Cg"!=2&&"p^Ot"!=1&&("_ACCEL"<-2|"_VELOCITY"==0) {
			ChangeAlpha = 7, 1.0;
			ChangeAlpha = 8, 1.0;
		}
		If ""==0&&"p^Ot"==0{
			ChangeAlpha = 5, NightAlpha;
		}Else{ ChangeAlpha = 5, 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 = 6,7,11;
		ChangeTexture = 0,"../mtbc_hiroden5100/exterior.png";
		ApplySwitch "" {
		Case 6:
		ApplySwitch "ԍ" {
		Case 0: ShiftTexture = 1, 0.0, 0.07813; ShiftTexture = 2, 0.0, 0.07813;
		Case 1: ShiftTexture = 1, 0.0, 0.11719; ShiftTexture = 2, 0.0, 0.11719;
		Default: ShiftTexture = 1, 0.32813, 0.19531; ShiftTexture = 2, 0.32813, 0.19531;
		}
		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,"exterior_ar1.png";
			If "h"==1&&"_SEASON"==1 { ChangeTexture = 4,"exterior_ar1s.png"; }
		Case 1: ChangeTexture = 4,"exterior_ar2.png";
			If "h"==1 {
				If "_SEASON"==1 { ChangeTexture = 4,"exterior_ar2s.png"; }
				If "_SEASON"==3 { ChangeTexture = 4,"exterior_ar2w.png"; }
			}
		Case 0,1: ChangeAlpha = 6, 0.0; ChangeAlpha = 7, 0.0; ChangeTexture = 11,"exterior_ar1.png";
		Case 3: ShiftTexture = 7, 0.0, 0.00684;
		Case 4: ShiftTexture = 7, 0.0, 0.01367;
		Default: ChangeTexture = 4,"exterior.png";
		}
		If ""==0&&"p^Ot"==0{
			ChangeAlpha = 5, NightAlpha;
		}Else{ ChangeAlpha = 5, 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);
		}
	}
	Object3D "door_a"{
		ModelFileName = "../mtbc_hiroden5100/door1.x";
		ModelScale = 10.0;
		ApplySwitch "ԍ" {
		Case 0:
			ChangeTexture = 0,"exterior_ar1.png";
			If "h"==1&&"_SEASON"==1 { ChangeTexture = 0,"exterior_ar1s.png"; }
		Case 1: ChangeTexture = 0,"exterior_ar2.png";
			If "h"==1 {
				If "_SEASON"==1 { ChangeTexture = 0,"exterior_ar2s.png"; }
				If "_SEASON"==3 { ChangeTexture = 0,"exterior_ar2w.png"; }
			}
		Default: ChangeTexture = 0,"exterior.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 = "../mtbc_hiroden5100/door1.x";
		ModelScale = 10.0;
		ApplySwitch "ԍ" {
		Case 0:
			ChangeTexture = 0,"exterior_ar1.png";
			If "h"==1&&"_SEASON"==1 { ChangeTexture = 0,"exterior_ar1s.png"; }
		Case 1: ChangeTexture = 0,"exterior_ar2.png";
			If "h"==1 {
				If "_SEASON"==1 { ChangeTexture = 0,"exterior_ar2s.png"; }
				If "_SEASON"==3 { ChangeTexture = 0,"exterior_ar2w.png"; }
			}
		Default: ChangeTexture = 0,"exterior.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_c1r"{
		ModelFileName = "../mtbc_hiroden5100/door2.x";
		ModelScale = 10.0;
		ShiftTexture = 0, 0.08691, 0.0;
		ApplySwitch "ԍ" {
		Case 0:
			ChangeTexture = 0,"exterior_ar1.png";
			If "h"==1&&"_SEASON"==1 { ChangeTexture = 0,"exterior_ar1s.png"; }
		Case 1: ChangeTexture = 0,"exterior_ar2.png";
			If "h"==1 {
				If "_SEASON"==1 { ChangeTexture = 0,"exterior_ar2s.png"; }
				If "_SEASON"==3 { ChangeTexture = 0,"exterior_ar2w.png"; }
			}
		Default: ChangeTexture = 0,"exterior.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, -1.255);
		}
	}
	Object3D "door_c1l"{
		ModelFileName = "../mtbc_hiroden5100/door2.x";
		ModelScale = 10.0;
		ShiftTexture = 0, 0.00977, 0.0;
		ApplySwitch "ԍ" {
		Case 0:
			ChangeTexture = 0,"exterior_ar1.png";
			If "h"==1&&"_SEASON"==1 { ChangeTexture = 0,"exterior_ar1s.png"; }
		Case 1: ChangeTexture = 0,"exterior_ar2.png";
			If "h"==1 {
				If "_SEASON"==1 { ChangeTexture = 0,"exterior_ar2s.png"; }
				If "_SEASON"==3 { ChangeTexture = 0,"exterior_ar2w.png"; }
			}
		Default: ChangeTexture = 0,"exterior.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.483);
		}
	}
	Object3D "door_c2r"{
		ModelFileName = "../mtbc_hiroden5100/door2.x";
		ModelScale = 10.0;
		ShiftTexture = 0, 0.08691, 0.0;
		ApplySwitch "ԍ" {
		Case 0:
			ChangeTexture = 0,"exterior_ar1.png";
			If "h"==1&&"_SEASON"==1 { ChangeTexture = 0,"exterior_ar1s.png"; }
		Case 1: ChangeTexture = 0,"exterior_ar2.png";
			If "h"==1 {
				If "_SEASON"==1 { ChangeTexture = 0,"exterior_ar2s.png"; }
				If "_SEASON"==3 { ChangeTexture = 0,"exterior_ar2w.png"; }
			}
		Default: ChangeTexture = 0,"exterior.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_c"{
			AttachCoord = (1.248, 0.0, 1.255);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}
	Object3D "door_c2l"{
		ModelFileName = "../mtbc_hiroden5100/door2.x";
		ModelScale = 10.0;
		ShiftTexture = 0, 0.00977, 0.0;
		ApplySwitch "ԍ" {
		Case 0:
			ChangeTexture = 0,"exterior_ar1.png";
			If "h"==1&&"_SEASON"==1 { ChangeTexture = 0,"exterior_ar1s.png"; }
		Case 1: ChangeTexture = 0,"exterior_ar2.png";
			If "h"==1 {
				If "_SEASON"==1 { ChangeTexture = 0,"exterior_ar2s.png"; }
				If "_SEASON"==3 { ChangeTexture = 0,"exterior_ar2w.png"; }
			}
		Default: ChangeTexture = 0,"exterior.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_c"{
			AttachCoord = (1.248, 0.0, 0.483);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}
	Object3D "p-0"{
		ModelFileName = "../mtbc_hiroden5100/p-0.x";
		ModelScale = 10.0;
		Joint3D "body_c"{
			AttachCoord = (0.0, 3.432, 0.2);
		}
	}
	Object3D "p-1"{
		ModelFileName = "../mtbc_hiroden5100/p-1.x";
		ModelScale = 10.0;
		StaticRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationAngle = -3.0; }
		If "p^Ot"==0 {
			StaticRotation{
				RotationAxis = (1.0, 0.0, 0.0);
				RotationAngle = -35.2;
				AnimationTime = 1.5;
			}
		}
		Joint3D "p-0"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "p-2"{
		ModelFileName = "../mtbc_hiroden5100/p-2.x";
		ModelScale = 10.0;
		StaticRotation{ RotationAxis = (1.0, 0.0, 0.0); RotationAngle = 2.0; }
		If "p^Ot"==0 {
			StaticRotation{
				RotationAxis = (1.0, 0.0, 0.0);
				RotationAngle = 67.2;
				AnimationTime = 1.5;
			}
		}
		Joint3D "p-1"{
			AttachCoord = (0.0, 0.015, 1.235);
		}
	}
	Object3D "p-3"{
		ModelFileName = "../mtbc_hiroden5100/p-3.x";
		ModelScale = 10.0;
		Joint3D "p-2"{
			AttachCoord = (0.0, 0.042, -1.466);
			DirLink = "body_c";
			UpLink = "body_c";
		}
	}
	ObjectZY "p-4"{
		ModelFileName = "../mtbc_hiroden5100/p-4.x";
		ModelScale = 10.0;
		FixPosition = 0.0;
		JointZYX "p-2"{
			AttachCoord = (0.13, -0.052);
			LocalCoord = (0.0, 0.0);
		}
		JointZYX "body_c"{
			AttachCoord = (0.53, 3.38);
			LocalCoord = (1.0, 0.0);
		}
	}
	ObjectZY "p-5"{
		ModelFileName = "../mtbc_hiroden5100/p-5.x";
		ModelScale = 10.0;
		FixPosition = 0.1;
		JointZYX "p-1"{
			AttachX = -0.1;
			AttachCoord = (1.195, 0.013);
			LocalCoord = (0.0, 0.0);
		}
		JointZYX "p-3"{
			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);
			AttachDir = (0.0, 0.0, 1.0);
		}
	}
	Object3D "shadow_c"{
		ModelFileName = "../mtbc_hiroden5100/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 "horo_a"{
		ModelFileName = "../mtbc_hiroden5100/horo.x";
		ModelScale = 10.0;
		Joint3D "body_a"{
			AttachCoord = (0.0, 0.00, -2.65);
		}
	}
	Object3D "horo_b"{
		ModelFileName = "../mtbc_hiroden5100/horo.x";
		ModelScale = 10.0;
		Joint3D "body_b"{
			AttachCoord = (0.0, 0.00, -2.65);
		}
	}
	Object3D "horo_c1"{
		ModelFileName = "../mtbc_hiroden5100/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 = "../mtbc_hiroden5100/horo.x";
		ModelScale = 10.0;
		Joint3D "body_c"{
			AttachCoord = (0.0, 0.00, -3.3);
		}
	}
	If "p^Ot"==0&&("Cg"==1|("Cg"==0&&"_NIGHT"==1)){
		If "_CONNECT1"==0&&"_FRONT"==0{
			Headlight{
			AttachObject = "body_a";
			SourceCoord = (0.708, 0.891, 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.708, 0.891, 2.56);
			Direction = (0.0, 0.0, 1.0);
			MaxDistance = 50.0;
			}
		}
		If "_CONNECT2"==0&&"_FRONT"==1{
			Headlight{
			AttachObject = "body_b";
			SourceCoord = (0.708, 0.891, -2.56);
			Direction = (0.0, 0.0, -1.0);
			MaxDistance = 50.0;
			}
			Headlight{
			AttachObject = "body_b";
			SourceCoord = (-0.708, 0.891, -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);
		}
	}
}