
PluginHeader{
	RailSimVersion = 2.00;
	PluginType = Train;
	PluginName = "L6000n Ԏ";
	PluginAuthor = "n";
	IconTexture = "icon.png";
	Description = "AXgC̏ԗłB";
}

TrainInfo{
	FrontLimit = 4.2;
	TailLimit = -4.2;
	MaxVelocity = 60.0;
	MaxAcceleration = 3.2;
	MaxDeceleration = 3.5;
	DoorClosingTime = 5.0;
}
DefineSwitch "dݒ"{
}
DefineSwitch "d"{
GroupCommon = "nHRT6000d";
	Entry = "";
	Entry = "";
}
DefineSwitch "qݒ"{
}
DefineSwitch "qƖ"{
GroupCommon = "nHRT6000q";
	Entry = "";
	Entry = "";
}
DefineSwitch "~"{
GroupCommon = "nHRT6000~";
	Entry = "";
	Entry = "SJ";
	Entry = "";
}
DefineSwitch "qȓ悯"{
	Entry = "J";
	Entry = "J";
	Entry = "";
}
DefineSwitch "ԗݒ"{
}
DefineSwitch "Ґ"{
GroupCommon = "nHRT6000Ґ";
	Entry = "6001";
	Entry = "6002";
	Entry = "6003";
	Entry = "6004";
	Entry = "6005";
	Entry = "6006";
	Entry = "6007";
	Entry = "6008";
	Entry = "6009";
	Entry = "6010";
	Entry = "6011";
	Entry = "6012";
	Entry = "6013";
	Entry = "6014";
	Entry = "6015";
	Entry = "6016";
	Entry = "6017";
	Entry = "6018";
	Entry = "6019";
	Entry = "6020";
	Entry = "6021";
	Entry = "6022";
	Entry = "6023";
	Entry = "";
}
DefineSwitch ""{
	Entry = "2";
	Entry = "3";
	Entry = "4";
	Entry = "5";
}
DefineSwitch "dl"{
GroupCommon = "nHRT6000dl";
	Entry = "oꎞ";
	Entry = "XV(2016?`)";
}
DefineSwitch "yʉݒ"{
}
DefineSwitch "yʉ"{
GroupCommon = "nHRT6000yʉ";
	Entry = "";
	Entry = "";
	Entry = "10mȏォ";
	Entry = "30mȏォ";
	Entry = "50mȏォ";
	Entry = "100mȏォ";
	Entry = "300mȏォ";
	Entry = "500mȏォ";
	Entry = "1000mȏォ";
}
DefineSwitch "WdKi"{
GroupCommon = "nHRT6000WdKi";
	Entry = "1";
	Entry = "2";
}
DefineSwitch "ȈՉA"{
	GroupCommon = "nHRT6000ȈՉA";
	Entry = "";
	Entry = "";
}
PrimaryAssembly{
	Axle "FrontDummyWheel"{
		ModelFileName = "";
		ModelScale = 1.0;
		Diameter = 1.0;
		Symmetric = 16;
		Coord = (2.5, 0.51);
	}
	Axle "TailDummyWheel"{
		ModelFileName = "";
		ModelScale = 1.0;
		Diameter = 1.0;
		Symmetric = 16;
		Coord = (-2.5, 0.51);
	}
	Body "Dummy"{
		ModelFileName = "";
		ModelScale = 1.0;
		ApplySwitch ""{
		Case 0,3:
			ApplySwitch "WdKi"{
				Case 0:ChangeModel = "../n_hrt6100/bogie1002_0.x", 1.0;
				Case 1:ChangeModel = "../n_hrt6100/bogie1002_1.x", 1.0;
			}
		Case 1,2:
			ApplySwitch "WdKi"{
				Case 0:ChangeModel = "../n_hrt6100/bogie1001_0.x", 1.0;
				Case 1:ChangeModel = "../n_hrt6100/bogie1001_1.x", 1.0;
			}
		}
		JointZY "FrontDummyWheel"{
			AttachCoord = (0.0, 0.0);
			LocalCoord = (2.5, 0.51);
		}
		JointZY "TailDummyWheel"{
			AttachCoord = (0.0, 0.0);
			LocalCoord = (-2.5, 0.51);
		}
	}
	Object3D "FrontRightWheel"{
		ModelFileName = "../n_hrt6100/wheel.x";
		ModelScale = 1.085106382978723;
		Joint3D "Dummy"{
			AttachCoord = (0.85, 0.51, 2.5);
			DirLink = "FrontDummyWheel";
			AttachDir = (5.0, 0.0, 0.0);
			UpLink = "FrontDummyWheel";
			AttachUp = (0.0, 0.0, 1.0);
		}
	}
	Object3D "FrontLeftWheel"{
		ModelFileName = "../n_hrt6100/wheel.x";
		ModelScale = 1.085106382978723;
		Joint3D "Dummy"{
			AttachCoord = (-0.85, 0.51, 2.5);
			DirLink = "FrontDummyWheel";
			AttachDir = (-1.0, 0.0, 0.0);
			UpLink = "FrontDummyWheel";
			AttachUp = (0.0, 0.0, 1.0);
		}
	}
	Object3D "TailRightWheel"{
		ModelFileName = "../n_hrt6100/wheel.x";
		ModelScale = 1.085106382978723;
		Joint3D "Dummy"{
			AttachCoord = (0.85, 0.51, -2.5);
			DirLink = "Dummy";
			AttachDir = (1.0, 0.0, 0.0);
			UpLink = "FrontDummyWheel";
			AttachUp = (0.0, 0.0, 1.0);
		}
	}
	Object3D "TailLeftWheel"{
		ModelFileName = "../n_hrt6100/wheel.x";
		ModelScale = 1.085106382978723;
		Joint3D "Dummy"{
			AttachCoord = (-0.85, 0.51, -2.5);
			DirLink = "Dummy";
			AttachDir = (-1.0, 0.0, 0.0);
			UpLink = "FrontDummyWheel";
			AttachUp = (0.0, 0.0, 1.0);
		}
	}
	Object3D "Doorll"{
		ModelFileName = "../n_hrt6100/Doorll.x";
		ModelScale = 1.0;
		Transparent = 5,6;
		If "d"==0 && "qƖ"==0{
			ChangeMaterial{
				MaterialID = 1,2;
				Emissive = 0.5, 0.5, 0.5;
			}
@@@@@@@@}
		If "~"==0 && "_DOOR1" ||"~"==1{
			StaticMove{
				Displacement = (0.0, 0.0, 0.61);
				PreAnimationDelay = 1.0;
				AnimationTime = 2.0;
				 PreReverseDelay = 0.0;
				ReverseTime = 2.0;
			}
			StaticMove{
				Displacement = (0.0, 0.0, 0.05);
				PreAnimationDelay = 3.0;
				AnimationTime = 1.0;
				PreReverseDelay = 2.1;
				ReverseTime = 1.0;
			}
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}

	Object3D "Doorlr"{
		ModelFileName = "../n_hrt6100/Doorlr.x";
		ModelScale = 1.0;
		Transparent = 5,6;
		If "d"==0 && "qƖ"==0{
			ChangeMaterial{
				MaterialID = 1,2;
				Emissive = 0.5, 0.5, 0.5;
			}
@@@@@@@@}
		If "~"==0 && "_DOOR1" ||"~"==1{
			StaticMove{
				Displacement = (0.0, 0.0, -0.61);
				PreAnimationDelay = 1.0;
				AnimationTime = 2.0;
				 PreReverseDelay = 0.0;
				ReverseTime = 2.0;
			}
			StaticMove{
				Displacement = (0.0, 0.0, -0.05);
				PreAnimationDelay = 3.0;
				AnimationTime = 1.0;
				PreReverseDelay = 2.1;
				ReverseTime = 1.0;
			}
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Doorrl"{
		ModelFileName = "../n_hrt6100/Doorrl.x";
		ModelScale = 1.0;
		Transparent = 5,6;
		If "d"==0 && "qƖ"==0{
			ChangeMaterial{
				MaterialID = 1,2;
				Emissive = 0.5, 0.5, 0.5;
			}
@@@@@@@@}
		If "~"==0 && "_DOOR2" ||"~"==1{
			StaticMove{
				Displacement = (0.0, 0.0, 0.61);
				PreAnimationDelay = 1.0;
				AnimationTime = 2.0;
				 PreReverseDelay = 0.0;
				ReverseTime = 2.0;
			}
			StaticMove{
				Displacement = (0.0, 0.0, 0.05);
				PreAnimationDelay = 3.0;
				AnimationTime = 1.0;
				PreReverseDelay = 2.1;
				ReverseTime = 1.0;
			}
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}

	Object3D "Doorrr"{
		ModelFileName = "../n_hrt6100/Doorrr.x";
		ModelScale = 1.0;
		Transparent = 5,6;
		If "d"==0 && "qƖ"==0{
			ChangeMaterial{
				MaterialID = 1,2;
				Emissive = 0.5, 0.5, 0.5;
			}
@@@@@@@@}
		If "~"==0 && "_DOOR2" ||"~"==1{
			StaticMove{
				Displacement = (0.0, 0.0, -0.61);
				PreAnimationDelay = 1.0;
				AnimationTime = 2.0;
				 PreReverseDelay = 0.0;
				ReverseTime = 2.0;
			}
			StaticMove{
				Displacement = (0.0, 0.0, -0.05);
				PreAnimationDelay = 3.0;
				AnimationTime = 1.0;
				PreReverseDelay = 2.1;
				ReverseTime = 1.0;
			}
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Interior"{
		ModelFileName = "";
		ModelScale = 1.0;
		EnvMap = 0;
		If "d"==0 && "qƖ"==0{
			ChangeMaterial{
				MaterialID = 0,1;
				Emissive = 0.5, 0.5, 0.5;
			}
@@@@@@@@}
		If "yʉ"==0 || "yʉ"==2 && "_CAMDIST" < 10 || "yʉ"==3 && "_CAMDIST" < 30 || "yʉ"==4 && "_CAMDIST" < 50 || "yʉ"==5 && "_CAMDIST" < 100 || "yʉ"==6 && "_CAMDIST" < 300 || "yʉ"==7 && "_CAMDIST" < 500 || "yʉ"==8 && "_CAMDIST" < 1000 {
			ChangeModel = "../n_hrt6100/6200_interior.x", 1.0;
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Curtain"{
		ModelFileName = "";
		ModelScale = 1.0;
		If "d"==0 && "qƖ"==0{
			ChangeMaterial{
				MaterialID = 0;
				Emissive = 0.5, 0.5, 0.5;
			}
@@@@@@@@}
		ApplySwitch "qȓ悯"{
			Case 1:ChangeModel = "../n_hrt6100/curtain_6200_1.x", 1.0;
			Case 2:ChangeModel = "../n_hrt6100/curtain_6200_2.x", 1.0;
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Mainbody"{
		ModelFileName = "";
		NoCastShadow = 12,13,14,26;
		Transparent = 23,24,25;
		If "d"==0 && "qƖ"==0{
			ChangeMaterial{
				MaterialID = 3,4,5,6,7;
				Emissive = 0.5, 0.5, 0.5;
			}
@@@@@@@@}
		ApplySwitch "Ґ"{
			Case 1:
				ShiftTexture = 13, 0.0, 0.03125;
			Case 2:
				ShiftTexture = 13, 0.0, 0.0625;
			Case 3:
				ShiftTexture = 13, 0.0, 0.09375;
			Case 4:
				ShiftTexture = 13, 0.0, 0.125;
			Case 5:
				ShiftTexture = 13, 0.0, 0.15625;
			Case 6:
				ShiftTexture = 13, 0.0, 0.1875;
			Case 7:
				ShiftTexture = 13, 0.125, 0.0;
			Case 8:
				ShiftTexture = 13, 0.125, 0.03125;
			Case 9:
				ShiftTexture = 13, 0.125, 0.0625;
			Case 10:
				ShiftTexture = 13, 0.125, 0.09375;
			Case 11:
				ShiftTexture = 13, 0.125, 0.125;
			Case 12:
				ShiftTexture = 13, 0.125, 0.15625;
			Case 13:
				ShiftTexture = 13, 0.125, 0.1875;
			Case 14:
				ShiftTexture = 13, 0.25, 0.0;
			Case 15:
				ShiftTexture = 13, 0.25, 0.03125;
			Case 16:
				ShiftTexture = 13, 0.25, 0.0625;
			Case 17:
				ShiftTexture = 13, 0.25, 0.09375;
			Case 18:
				ShiftTexture = 13, 0.25, 0.125;
			Case 19:
				ShiftTexture = 13, 0.25, 0.15625;
			Case 20:
				ShiftTexture = 13, 0.25, 0.1875;
			Case 21:
				ShiftTexture = 13, 0.375, 0.0;
			Case 22:
				ShiftTexture = 13, 0.375, 0.03125;
			Case 23:
				ShiftTexture = 13, 0.375, 0.0625;
				ChangeTexture = 11, "../n_hrt6100/tex/ԑ̑_6200.png";
		}
		ApplySwitch ""{
			Case 0:
				ChangeModel = "../n_hrt6100/6200_body.x", 1.0;
			Case 1:
				ChangeModel = "../n_hrt6100/6300_body.x", 1.0;
			Case 2:
				ChangeModel = "../n_hrt6100/6300_body.x", 1.0;
				ShiftTexture = 14, 0.0, 0.03125;
			Case 3:
				ChangeModel = "../n_hrt6100/6200_body.x", 1.0;
				ShiftTexture = 14, 0.0, 0.09375;
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "shadow"{
		ModelFileName = "";
		ModelScale = 1.0;
		NoCastShadow = 0;
		ApplySwitch "ȈՉA"{
		Case 0:ChangeModel = "../n_hrt6100/shadow_1002.x", 1.0;
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	FrontCabin{
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
}
