
PluginHeader{
	RailSimVersion = 2.00;
	PluginType = Train;
	PluginName = "sʋ V30n J XeXҐ d";
	PluginAuthor = "n";
	IconTexture = "icon.png";
	Description = "ԃp^[";
	Description = "-{-";
	Description = "E - ";
	Description = "Es - ̗";
	Description = "-bV-";
	Description = "Es - AZj";
}
TrainInfo{
	FrontLimit = 9.35;
	TailLimit = -9.35;
	MaxVelocity = 70.0;
	MaxAcceleration = 2.5;
	MaxDeceleration = 3.5;
	DoorClosingTime = 5.0;
}
DefineSwitch "{ݒ"{
}
DefineSwitch "d"{
GroupCommon = "nomtbn30trad";
	Entry = "";
	Entry = "";
}
DefineSwitch "Ηސݒ-"{
}
DefineSwitch "OƓ"{
	Entry = "";
	Entry = "";
	Entry = "";
}
DefineSwitch ""{
	Entry = "";
	Entry = "()";
	Entry = "";
}
DefineSwitch ""{
GroupCommon = "nomtbn30tra";
	Entry = "";
	Entry = "";
}
DefineSwitch "^]"{
GroupCommon = "nomtbn30tra^]";
	Entry = "";
	Entry = "";
	Entry = "";
}
DefineSwitch "qƖ"{
GroupCommon = "nomtbn30traq";
	Entry = "";
	Entry = "";
}
DefineSwitch "YtA"{
GroupCommon = "nomtbn30traLF";
	Entry = "";
	Entry = "";
}
DefineSwitch "Ԑݒ"{
}
DefineSwitch "s()"{
GroupCommon = "nomtbn30tras扝";
	Entry = "\";
	Entry = "";
	Entry = "";
	Entry = "";
	Entry = "̗";
	Entry = "s";
	Entry = "AZj";
	Entry = "";
	Entry = "";
	Entry = "";
	Entry = "";
	Entry = "";
	Entry = "";
	Entry = "^]";
	Entry = "Վ";
}
DefineSwitch "s()"{
GroupCommon = "nomtbn30tras敜";
	Entry = "\";
	Entry = "";
	Entry = "";
	Entry = "";
	Entry = "̗";
	Entry = "s";
	Entry = "AZj";
	Entry = "";
	Entry = "";
	Entry = "";
	Entry = "";
	Entry = "";
	Entry = "";
	Entry = "^]";
	Entry = "Վ";
}
DefineSwitch "ԗݒ"{
}
DefineSwitch "Ґ"{
GroupCommon = "nomtbn30traҐ";
	Entry = "89";
	Entry = "92";
	Entry = "93";
	Entry = "99";
}
DefineSwitch ""{
	Entry = "1(擪)";//3000
	Entry = "2";//3300
	Entry = "5";//3400
	Entry = "6";//3500
}
DefineSwitch "Ռ"{
	Entry = "";
	Entry = "J";
	Entry = "";
}
DefineSwitch "ݒ"{
}
DefineSwitch "ȈՉe"{
	GroupCommon = "nomtbn30traȈՉA";
	Entry = "";
	Entry = "";
}
DefineSwitch "gp܂"{
	GroupCommon = "nomtbn30traPBR";
	Entry = "";
}
DefineSwitch "gp܂ "{
	GroupCommon = "nomtbn30traԑ̖邳(PBRL̂)";
	Entry = "";
}
PrimaryAssembly{
	Axle "wheel1"{
		ModelFileName = "../n_omtbn30_tra_1/wheel.x";
		CastShadow = no;
		AlphaZeroTest = 0,1;
		Diameter = 0.86;
		Symmetric = 16;
		Coord = (6.85,0.43);
	}
	Axle "wheel2"{
		ModelFileName = "../n_omtbn30_tra_1/wheel.x";
		CastShadow = no;
		AlphaZeroTest = 0,1;
		Diameter = 0.86;
		Symmetric = 16;
		Coord = (4.65,0.43);
	}
	Axle "wheel3"{
		ModelFileName = "../n_omtbn30_tra_1/wheel.x";
		CastShadow = no;
		AlphaZeroTest = 0,1;
		Diameter = 0.86;
		Symmetric = 16;

		Coord = (-6.85,0.43);
	}
	Axle "wheel4"{
		ModelFileName = "../n_omtbn30_tra_1/wheel.x";
		CastShadow = no;
		AlphaZeroTest = 0,1;
		Diameter = 0.86;
		Symmetric = 16;
		Coord = (-4.65,0.43);
	}
	Body "Bogie1"{
		ModelFileName = "../n_omtbn30_tra_1/bogie_m1.x";
		ApplySwitch ""{
			Case 0,2,3:
				ChangeModel = "../n_omtbn30_tra_1/bogie_m.x", 1.0;
		}

		JointZY "wheel1"{
			AttachCoord = (0,0);
			LocalCoord = (1.1, 0.0);
		}
		JointZY "wheel2"{
			AttachCoord = (0,0);
			LocalCoord = (-1.1, 0.0);
		}
	}
	Body "Bogie2"{
		ModelFileName = "../n_omtbn30_tra_1/bogie_m1.x";
		Turn = yes;
		ApplySwitch ""{
			Case 0,2:
				ChangeModel = "../n_omtbn30_tra_1/bogie_m.x", 1.0;
		}

		JointZY "wheel3"{
			AttachCoord = (0.0,0.0);
			LocalCoord = (1.1, 0.0);
		}
		JointZY "wheel4"{
			AttachCoord = (0,0);
			LocalCoord = (-1.1, 0.0);
		}
	}
	Body "Dummy"{
		ModelFileName = "";
		JointZY "Bogie1"{
			AttachCoord = (0.0, 0.57);
			LocalCoord = (5.75, 1.0);
		}
		JointZY "Bogie2"{
			AttachCoord = (0.0, 0.57);
			LocalCoord = (-5.75, 1.0);
		}
	}
	Object3D "MainBody"{
		ModelFileName = "";
		ChangeAlpha = 25, 0.0;
		Transparent = 14,15,16;
		NoCastShadow = 18,19,20,21,25;
		If "d"==0{
			If ("OƓ"==0 && !"_FRONT"&&!"_CONNECT1")||"OƓ"==1{
				ChangeMaterial{
					MaterialID = 0;
					Emissive = 1.0, 1.0, 1.0;
@@@@@	@@		}
				ShiftTexture = 0, -0.0390625, 0.09765625;
				NoReceiveShadow = 0;
@@@@@	@@	}
			If (""==0 && "_FRONT"&&!"_CONNECT1")||""==1{
				ChangeMaterial{
					MaterialID = 1;
					Emissive = 1.0, 1.0, 1.0;
@@@@@	@@		}
				ShiftTexture = 1, 0.0625, 0.0;
				NoReceiveShadow = 1;
			}
			If ""==0{
					ChangeMaterial{
						MaterialID = 2;
						Emissive = 1.0, 1.0, 1.0;
@@@@@	@@		}
			}
			If "qƖ"==0{
					ChangeMaterial{
						MaterialID = 5,6,7;
						Emissive = 1.0, 1.0, 1.0;
@@@@@	@@		}
			}
			If "^]"==1 || ("^]"==0 && "_FRONT"){
					ChangeMaterial{
						MaterialID = 4;
						Emissive = 1.0, 1.0, 1.0;
@@@@@	@@		}
			}
		}

		If ("Ռ"==0 && !"_FRONT"&&!"_CONNECT1")||"Ռ"==2{
			ShiftTexture = 14, -0.0625, 0.0;
		}
		If( !"_FRONT" && ""!=3 )||( "_FRONT" && ""==3 ){
			ApplySwitch "s()"{
				Case 1:
	
				Case 2:
					ShiftTexture = 2, 0.0, 0.03125;
				Case 3:
					ShiftTexture = 2, 0.0, 0.0625;
				Case 4:
					ShiftTexture = 2, 0.0, 0.09375;
				Case 5:
					ShiftTexture = 2, 0.0, 0.125;
				Case 6:
					ShiftTexture = 2, 0.0, 0.15625;
				Case 7:
					ShiftTexture = 2, 0.0, 0.1875;
				Case 12:
					ShiftTexture = 2, 0.0625, 0.15625;
				Case 13:
					ShiftTexture = 2, 0.0625, 0.1875;
				Case 14:
					ShiftTexture = 2, 0.0625, 0.21875;
				Default:
					ShiftTexture = 2, 0.0, 0.21875;
			}
		}
		If( "_FRONT" && ""!=3 )||( !"_FRONT" && ""==3 ){
			ApplySwitch "s()"{
				Case 1:
	
				Case 2:
					ShiftTexture = 2, 0.0, 0.03125;
				Case 3:
					ShiftTexture = 2, 0.0, 0.0625;
				Case 4:
					ShiftTexture = 2, 0.0, 0.09375;
				Case 5:
					ShiftTexture = 2, 0.0, 0.125;
				Case 6:
					ShiftTexture = 2, 0.0, 0.15625;
				Case 7:
					ShiftTexture = 2, 0.0, 0.1875;
				Case 12:
					ShiftTexture = 2, 0.0625, 0.15625;
				Case 13:
					ShiftTexture = 2, 0.0625, 0.1875;
				Case 14:
					ShiftTexture = 2, 0.0625, 0.21875;
				Default:
					ShiftTexture = 2, 0.0, 0.21875;
			}
		}
				ApplySwitch ""{
					Case 0,3:
						ChangeModel = "../n_omtbn30_trs_1/body_3089.x", 1.0;
					Case 1,2:
						ChangeModel = "../n_omtbn30_trs_1/body_3189.x", 1.0;
				}
		ApplySwitch ""{
			Case 0:
				ShiftTexture = 19, 0.0, 0.078125;
			Case 1:
				ShiftTexture = 19, 0.0, 0.0625;
			Case 2:
				ShiftTexture = 19, 0.0, 0.015625;
			Case 3:
		}
		ApplySwitch "Ґ"{
			Case 0:

			Case 1:
				ShiftTexture = 18, 0.0, 0.015625;
			Case 2:
				ShiftTexture = 18, 0.0, 0.03125;
			Case 3:
				ShiftTexture = 18, 0.0, 0.046875;
			Case 4:
				ShiftTexture = 18, 0.0, 0.0625;
			Case 5:
				ShiftTexture = 18, 0.0, 0.078125;
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "c"{
		ModelFileName = "../n_omtbn30_tra_1/yuka_c.x";
		ApplySwitch ""{
			Case 0,3:
				ChangeModel = "../n_omtbn30_tra_1/yuka_f.x", 1.0;
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "yuka"{
		ModelFileName = "";
		ApplySwitch ""{
			Case 0,2:
				ChangeModel = "../n_omtbn30_tra_1/yuka_3000.x", 1.0;
			Case 1:
				ChangeModel = "../n_omtbn30_tra_1/yuka_3100.x", 1.0;
			Case 3:
				ChangeModel = "../n_omtbn30_tra_1/yuka_3100.x", 1.0;
				StaticRotation{
					RotationAxis = (0.0, 1.0, 0.0);
					RotationAngle = 180;
				}
		}

		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Doorll"{
		ModelFileName = "";
		Transparent = 3;
		If "d"==0 && "qƖ"==0{
				ChangeMaterial{
					MaterialID = 0;
					Emissive = 1.0, 1.0, 1.0;
				}
@@@@@@@@}
		If "_DOOR1"{
			StaticMove{
				Displacement = (0.0, 0.0, 0.6);
				PreAnimationDelay = 1.0;
				AnimationTime = 1.5;
				 PreReverseDelay = 0.5;
				ReverseTime = 1.5;
			}
			StaticMove{
				Displacement = (0.0, 0.0, 0.05);
				PreAnimationDelay = 2.5;
				AnimationTime = 0.5;
				 PreReverseDelay = 2.0;
				ReverseTime = 0.5;
			}
		}
			ChangeModel = "../n_omtbn30_trs_1/doorl_3059.x", 1.0;

		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}

	Object3D "Doorlr"{
		ModelFileName = "";
		Transparent = 3;
		If "d"==0 && "qƖ"==0{
				ChangeMaterial{
					MaterialID = 0;
					Emissive = 1.0, 1.0, 1.0;
				}
@@@@@@@@}
		If "_DOOR1" {
			StaticMove{
				Displacement = (0.0, 0.0, -0.6);
				PreAnimationDelay = 1.0;
				AnimationTime = 1.5;
				 PreReverseDelay = 0.5;
				ReverseTime = 1.5;
			}
			StaticMove{
				Displacement = (0.0, 0.0, -0.05);
				PreAnimationDelay = 2.5;
				AnimationTime = 0.5;
				 PreReverseDelay = 2.0;
				ReverseTime = 0.5;
			}
		}

			ChangeModel = "../n_omtbn30_trs_1/doorr_3059.x", 1.0;

		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Doorrl"{
		ModelFileName = "";
		Transparent = 3;
		If "d"==0 && "qƖ"==0{
				ChangeMaterial{
					MaterialID = 0;
					Emissive = 1.0, 1.0, 1.0;
				}
@@@@@@@@}
		If "_DOOR2"{
			StaticMove{
				Displacement = (0.0, 0.0, -0.6);
				PreAnimationDelay = 1.0;
				AnimationTime = 1.5;
				 PreReverseDelay = 0.5;
				ReverseTime = 1.5;
			}
			StaticMove{
				Displacement = (0.0, 0.0, -0.05);
				PreAnimationDelay = 2.5;
				AnimationTime = 0.5;
				 PreReverseDelay = 2.0;
				ReverseTime = 0.5;
			}
		}

			ChangeModel = "../n_omtbn30_trs_1/doorr_3059.x", 1.0;
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}

	Object3D "Doorrr"{
		ModelFileName = "";
		Transparent = 3;
		If "d"==0 && "qƖ"==0{
				ChangeMaterial{
					MaterialID = 0;
					Emissive = 1.0, 1.0, 1.0;
				}
@@@@@@@@}
		If "_DOOR2" {
			StaticMove{
				Displacement = (0.0, 0.0, 0.6);
				PreAnimationDelay = 1.0;
				AnimationTime = 1.5;
				 PreReverseDelay = 0.5;
				ReverseTime = 1.5;
			}
			StaticMove{
				Displacement = (0.0, 0.0, 0.05);
				PreAnimationDelay = 2.5;
				AnimationTime = 0.5;
				 PreReverseDelay = 2.0;
				ReverseTime = 0.5;
			}
		}

			ChangeModel = "../n_omtbn30_trs_1/doorl_3059.x", 1.0;
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}
	Object3D "Doorl"{
		ModelFileName = "../n_omtbn30_tra_1/tojime.x";
		StaticRotation{
			RotationAxis = (0.0, 1.0, 0.0);
			RotationAngle = 180;
		}
		If ""==3{
			StaticMove{
				Displacement = (-1.41, 3.145, -4.16);
			}
		}Else{
			StaticMove{
				Displacement = (-1.41, 3.145, 4.16);
			}
		}
		If "_DOOR2"{
			StaticRotation{
				RotationAxis = (0.0, 1.0, 0.0);
				RotationAngle = 180;
				PreAnimationDelay = 1.0;
				AnimationTime = 0.0;
				 PreReverseDelay = 2.5;
				ReverseTime = 0.0;
			}
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Doorr"{
		ModelFileName = "../n_omtbn30_tra_1/tojime.x";
		If ""==3{
			StaticMove{
				Displacement = (-1.41, 3.145, 4.16);
			}
		}Else{
			StaticMove{
				Displacement = (-1.41, 3.145, -4.16);
			}
		}
		If "_DOOR1"{
			StaticRotation{
				RotationAxis = (0.0, 1.0, 0.0);
				RotationAngle = 180;
				PreAnimationDelay = 1.0;
				AnimationTime = 0.0;
				 PreReverseDelay = 2.5;
				ReverseTime = 0.0;
			}
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Shadow"{
		ModelFileName = "";
		CastShadow = no;
		NoShadow = 0;
		If "ȈՉe" ==0 && !"_SHADOW"==1 {
			ChangeModel = "../n_omtbn30_tra_1/Shadow.x", 1.0;
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	If (""==0 || ""==3) && "d"==0 && (("OƓ"==0 && !"_FRONT")|| "OƓ"==1) && "YtA"==0 && !"_CONNECT1" {
			Headlight{
			    AttachObject = "Dummy";
			    SourceCoord = (0.75, 1.66, 9.2);
			    Direction = (0.0, 0.0, 1.0);
			    MaxDistance = 10.0;
				LensFlare{
				    StartAngle = 50.0;
				    Twinkle = 0.1;
					Texture{
					    Distance = 0.005;
					    Radius = 0.6;
					    TexFileName = "../n_omtbn30_tra_1/tex/tA.png";
					    Color = #FFE0C894;
					}
				}
			}
			Headlight{
			    AttachObject = "Dummy";
			    SourceCoord = (-0.75, 1.66, 9.2);
			    Direction = (0.0, 0.0, 1.0);
			    MaxDistance = 10.0;
			}
	}
	If (""==0 || ""==3) && "d"==0 && ((""==0 && "_FRONT")|| ""==1) && "YtA"==0 && !"_CONNECT1" {
		Headlight{
		    AttachObject = "Dummy";
		    SourceCoord = (0.99, 1.66, 9.19);
		    Direction = (0.0, 0.0, 1.0);
		    MaxDistance = 10.0;
			LensFlare{
			    StartAngle = 40.0;
			    Twinkle = 0.1;
				Texture{
				    Distance = 0.005;
				    Radius = 0.35;
				    TexFileName = "../n_omtbn30_tra_1/tex/tA.png";
				    Color = #FFDD0014;
				}
			}
		}
		Headlight{
		    AttachObject = "Dummy";
		    SourceCoord = (-0.99, 1.66, 9.19);
		    Direction = (0.0, 0.0, 1.0);
		    MaxDistance = 10.0;
		}
	}
	FrontCabin{
		Joint3D "MainBody"{
			AttachCoord = (0.0,0.0,0.0);
		}
	}
}

