
PluginHeader{
	RailSimVersion = 2.00;
	PluginType = Train;
	PluginName = "lVss1000` Ԏ";
	PluginAuthor = "n";
	IconTexture = "icon.png";
	Description = "V[TChC̏ԗłB";
}

TrainInfo{
	FrontLimit = 4.2;
	TailLimit = -4.2;
	MaxVelocity = 60.0;
	MaxAcceleration = 3.5;
	MaxDeceleration = 3.5;
	DoorClosingTime = 5.0;
}
DefineSwitch "dݒ"{
}
DefineSwitch "d"{
GroupCommon = "nYNT1000d";
	Entry = "";
	Entry = "";
}
DefineSwitch "qݒ"{
}
DefineSwitch "qƖ"{
GroupCommon = "nYNT1000q";
	Entry = "";
	Entry = "";
}
DefineSwitch "~"{
GroupCommon = "nYNT1000~";
	Entry = "";
	Entry = "SJ";
	Entry = "";
}
DefineSwitch "qȃJ[e"{
	Entry = "J";
	Entry = "J";
	Entry = "";
}
DefineSwitch "ԗݒ"{
}
DefineSwitch "Ґ"{
GroupCommon = "nYNT1000Ґ";
	Entry = "1010";
	Entry = "1020";
	Entry = "1030";
	Entry = "1040";
	Entry = "1050";
	Entry = "1060";
	Entry = "1070";
	Entry = "1080";
	Entry = "1090";
	Entry = "1100";
	Entry = "1110";
	Entry = "1120";
	Entry = "1130";
	Entry = "1140";
	Entry = "1150";
	Entry = "1160";
	Entry = "1170";
}
DefineSwitch ""{
	Entry = "2";
	Entry = "3";
	Entry = "4";
}
DefineSwitch "dl"{
GroupCommon = "nYNT1000dl";
	Entry = "oꎞ";
	Entry = "^]JnEr튷(1994?`)";
	Entry = "ԑ̍XVEԈ֎qXy[Xݒu(2008`)";
}
DefineSwitch "yʉݒ"{
}
DefineSwitch "yʉ"{
GroupCommon = "nYNT1000yʉ";
	Entry = "";
	Entry = "";
	Entry = "10mȏォ";
	Entry = "30mȏォ";
	Entry = "50mȏォ";
	Entry = "100mȏォ";
	Entry = "300mȏォ";
	Entry = "500mȏォ";
	Entry = "1000mȏォ";
}
DefineSwitch "WdKi"{
GroupCommon = "nYNT1000WdKi";
	Entry = "1";
	Entry = "2";
}
DefineSwitch "ȈՉA"{
	GroupCommon = "nYNT1000ȈՉA";
	Entry = "";
	Entry = "";
}
PrimaryAssembly{
	Axle "FrontDummyWheel"{
		ModelFileName = "";
		ModelScale = 1.0;
		Diameter = 1.0;
		Symmetric = 12;
		Coord = (2.5, 0.51);
	}
	Axle "TailDummyWheel"{
		ModelFileName = "";
		ModelScale = 1.0;
		Diameter = 1.0;
		Symmetric = 12;
		Coord = (-2.5, 0.51);
	}
	Body "Dummy"{
		ModelFileName = "";
		ModelScale = 1.0;
		ApplySwitch ""{
		Case 0,2:
			ApplySwitch "WdKi"{
				Case 0:ChangeModel = "../n_ynt1001/bogie1002_0.x", 1.0;
				Case 1:ChangeModel = "../n_ynt1001/bogie1002_1.x", 1.0;
			}
		Case 1:
			ApplySwitch "WdKi"{
				Case 0:ChangeModel = "../n_ynt1001/bogie1003_0.x", 1.0;
				Case 1:ChangeModel = "../n_ynt1001/bogie1003_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_ynt1001/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_ynt1001/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_ynt1001/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_ynt1001/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_ynt1001/Doorll.x";
		ModelScale = 1.0;
		Transparent = 6,7;
		If "d"==0 && "qƖ"==0{
			ChangeMaterial{
				MaterialID = 2,3,4;
				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;
			}
		}
		ApplySwitch "Ґ"{
			Case 11:
				ApplySwitch "dl"{
					Case 2:ChangeTexture = 0, "../n_ynt1001/tex/ԑ̋qp_1120.png";
				}
			Case 16:ChangeTexture = 0, "../n_ynt1001/tex/ԑ̋qp_1170.png";
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}

	Object3D "Doorlr"{
		ModelFileName = "../n_ynt1001/Doorlr.x";
		ModelScale = 1.0;
		Transparent = 6,7;
		If "d"==0 && "qƖ"==0{
			ChangeMaterial{
				MaterialID = 2,3,4;
				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;
			}
		}
		ApplySwitch "Ґ"{
			Case 11:
				ApplySwitch "dl"{
					Case 2:ChangeTexture = 0, "../n_ynt1001/tex/ԑ̋qp_1120.png";
				}
			Case 16:ChangeTexture = 0, "../n_ynt1001/tex/ԑ̋qp_1170.png";
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Doorrl"{
		ModelFileName = "../n_ynt1001/Doorrl.x";
		ModelScale = 1.0;
		Transparent = 6,7;
		If "d"==0 && "qƖ"==0{
			ChangeMaterial{
				MaterialID = 2,3,4;
				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;
			}
		}
		ApplySwitch "Ґ"{
			Case 11:
				ApplySwitch "dl"{
					Case 2:ChangeTexture = 0, "../n_ynt1001/tex/ԑ̋qp_1120.png";
				}
			Case 16:ChangeTexture = 0, "../n_ynt1001/tex/ԑ̋qp_1170.png";
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}

	Object3D "Doorrr"{
		ModelFileName = "../n_ynt1001/Doorrr.x";
		ModelScale = 1.0;
		Transparent = 6,7;
		If "d"==0 && "qƖ"==0{
			ChangeMaterial{
				MaterialID = 2,3,4;
				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;
			}
		}
		ApplySwitch "Ґ"{
			Case 11:
				ApplySwitch "dl"{
					Case 2:ChangeTexture = 0, "../n_ynt1001/tex/ԑ̋qp_1120.png";
				}
			Case 16:ChangeTexture = 0, "../n_ynt1001/tex/ԑ̋qp_1170.png";
		}
		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,2,3,4;
				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 {
			ApplySwitch ""{
				Case 0:
					ApplySwitch "dl"{
						Case 2:ChangeModel = "../n_ynt1001/1002_interior.x", 1.0;
						Default:ChangeModel = "../n_ynt1001/1003_interior.x", 1.0;
					}
				Case 1:ChangeModel = "../n_ynt1001/1003_interior.x", 1.0;
				Case 2:ChangeModel = "../n_ynt1001/1003_interior.x", 1.0;
			}
		}
		ApplySwitch ""{
			Case 0,2:
				ShiftTexture = 1, 0.5, 0.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.3, 0.3, 0.3;
			}
@@@@@@@@}
		ApplySwitch "qȃJ[e"{
			Case 0:ChangeModel = "../n_ynt1001/curtain_1002_1.x", 1.0;
			Case 1:ChangeModel = "../n_ynt1001/curtain_1002_2.x", 1.0;
			Case 2:ChangeModel = "../n_ynt1001/curtain_1002_3.x", 1.0;
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Mainbody"{
		ModelFileName = "";
		ModelScale = 1.0;
		EnvMap = 5;
		NoCastShadow = 29,30;
		Transparent = 25,26,27,28;
		ChangeAlpha = 30, 0.0;
		ApplySwitch ""{
			Case 0:
				ApplySwitch "dl"{
					Case 2 :ChangeModel = "../n_ynt1001/1012_body.x", 1.0;
					Default:ChangeModel = "../n_ynt1001/1002_body.x", 1.0;
				}
			Case 1:ChangeModel = "../n_ynt1001/1003_body.x", 1.0;
			Case 2:ChangeModel = "../n_ynt1001/1004_body.x", 1.0;
		}
		If "d"==0 && "qƖ"==0{
			ChangeMaterial{
				MaterialID = 0,1,2,3,4,5,6,7,8,9,10,11;
				Emissive = 0.5, 0.5, 0.5;
			}
@@@@@@@@}
		ApplySwitch ""{
		Case 0:
			ApplySwitch "Ґ"{
				Case 0:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1012.png";
				Case 1:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1022.png";
				Case 2:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1032.png";
				Case 3:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1042.png";
				Case 4:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1052.png";
				Case 5:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1062.png";
				Case 6:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1072.png";
				Case 7:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1082.png";
				Case 8:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1092.png";
				Case 9:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1102.png";
				Case 10:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1112.png";
				Case 11:
					ApplySwitch "dl"{
						Case 2: ChangeTexture = 12, "../n_ynt1001/tex/ԑ̑_1122.png";
							ShiftTexture = 13, 0.0, 0.5;
					}
					ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1122.png";
				Case 12:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1132.png";
				Case 13:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1142.png";
				Case 14:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1152.png";
				Case 15:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1162.png";
				Case 16:
					ApplySwitch "dl"{
						Case 2:@ChangeTexture = 12, "../n_ynt1001/tex/ԑ̑_1172.png";
						Default:@ChangeTexture = 12, "../n_ynt1001/tex/ԑ̑_1173.png";
					}
					ShiftTexture = 13, 0.5, 0.0;
					ShiftTexture = 14, 0.125, 0.0;
					ChangeAlpha = 29, 0.0;
					ChangeAlpha = 30, 1.0;
					ChangeTexture = 30, "../n_ynt1001/tex/Ԕ/1172.png";
			}
			ApplySwitch "dl"{
				Case 2 :ChangeModel = "../n_ynt1001/1012_body.x", 1.0;
				Default:ChangeModel = "../n_ynt1001/1002_body.x", 1.0;
			}
		Case 1:
			ApplySwitch "Ґ"{
				Case 0:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1013.png";
				Case 1:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1023.png";
				Case 2:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1033.png";
				Case 3:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1043.png";
				Case 4:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1053.png";
				Case 5:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1063.png";
				Case 6:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1073.png";
				Case 7:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1083.png";
				Case 8:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1093.png";
				Case 9:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1103.png";
				Case 10:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1113.png";
				Case 11:
					ApplySwitch "dl"{
						Case 2: ChangeTexture = 12, "../n_ynt1001/tex/ԑ̑_1123.png";
							ShiftTexture = 13, 0.0, 0.5;
					}
					ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1123.png";
				Case 12:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1133.png";
				Case 13:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1143.png";
				Case 14:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1153.png";
				Case 15:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1163.png";
				Case 16:ChangeTexture = 12, "../n_ynt1001/tex/ԑ̑_1173.png";
					ShiftTexture = 13, 0.5, 0.0;
					ShiftTexture = 14, 0.125, 0.0;
					ChangeAlpha = 29, 0.0;
					ChangeAlpha = 30, 1.0;
					ChangeTexture = 30, "../n_ynt1001/tex/Ԕ/1173.png";
			}
			ChangeModel = "1003_body.x", 1.0;
		Case 2:
			ApplySwitch "Ґ"{
				Case 0:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1014.png";
				Case 1:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1024.png";
				Case 2:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1034.png";
				Case 3:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1044.png";
				Case 4:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1054.png";
				Case 5:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1064.png";
				Case 6:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1074.png";
				Case 7:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1084.png";
				Case 8:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1094.png";
				Case 9:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1104.png";
				Case 10:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1114.png";
				Case 11:
					ApplySwitch "dl"{
						Case 2: ChangeTexture = 12, "../n_ynt1001/tex/ԑ̑_1123.png";
							ShiftTexture = 13, 0.0, 0.5;
					}
					ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1124.png";
				Case 12:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1134.png";
				Case 13:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1144.png";
				Case 14:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1154.png";
				Case 15:ChangeTexture = 29, "../n_ynt1001/tex/Ԕ/1164.png";
				Case 16:ChangeTexture = 12, "../n_ynt1001/tex/ԑ̑_1173.png";
					ShiftTexture = 13, 0.5, 0.0;
					ShiftTexture = 14, 0.125, 0.0;
					ChangeAlpha = 29, 0.0;
					ChangeAlpha = 30, 1.0;
					ChangeTexture = 30, "../n_ynt1001/tex/Ԕ/1174.png";
			}
			ChangeModel = "1004_body.x", 1.0;
		}
		ApplySwitch "dl"{
		Case 2:
				ApplySwitch "Ґ"{
					Case 9:
					Default:
						ChangeTexture = 6, "../n_ynt1001/tex/ԓȍ_1.png";
				}
		}	
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "shadow"{
		ModelFileName = "";
		ModelScale = 1.0;
		NoCastShadow = 0;
		ApplySwitch "ȈՉA"{
		Case 0:ChangeModel = "../n_ynt1001/shadow_1002.x", 1.0;
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	FrontCabin{
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
}
