
PluginHeader{
	RailSimVersion = 2.00;
	PluginType = Train;
	PluginName = "sʋ V30n J XeXҐ t";
	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 ""{
GroupCommon = "nomtbn30tra";
	Entry = "";
	Entry = "";
}
DefineSwitch "qƖ"{
GroupCommon = "nomtbn30traq";
	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 = "3";
	Entry = "4";
}
DefineSwitch "ݒ"{
}
DefineSwitch "ȈՉe"{
	GroupCommon = "nomtbn30traȈՉA";
	Entry = "";
	Entry = "";
}
DefineSwitch "PBR"{
	GroupCommon = "nomtbn30traPBR";
	Entry = "";
	Entry = "";
}
DefineSwitch "ԑ̖邳(PBRL̂)"{
	GroupCommon = "nomtbn30traԑ̖邳(PBRL̂)";
	Entry = "()";
	Entry = "W";
	Entry = "Â";
	Entry = "[U[`";
	Entry = "[U[`";
	Entry = "[U[`";
	Entry = "[U[`";
	Entry = "[U[`";
	Entry = "[U[`";
	Entry = "[U[`";
}

PrimaryAssembly{
	Axle "wheel1"{
		ModelFileName = "../n_omtbn30_tra_1/wheel_t.x";
		CastShadow = no;
		AlphaZeroTest = 0,1;

		Diameter = 0.762;
		Symmetric = 16;
		Coord = (6.8,0.381);
	}
	Axle "wheel2"{
		ModelFileName = "../n_omtbn30_tra_1/wheel_t.x";
		CastShadow = no;
		AlphaZeroTest = 0,1;

		Diameter = 0.762;
		Symmetric = 16;
		Coord = (4.7,0.381);
	}
	Axle "wheel3"{
		ModelFileName = "../n_omtbn30_tra_1/wheel_t.x";
		CastShadow = no;
		AlphaZeroTest = 0,1;

		Diameter = 0.762;
		Symmetric = 16;
		Coord = (-6.8,0.381);
	}
	Axle "wheel4"{
		ModelFileName = "../n_omtbn30_tra_1/wheel_t.x";
		CastShadow = no;
		AlphaZeroTest = 0,1;

		Diameter = 0.762;
		Symmetric = 16;
		Coord = (-4.7,0.381);
	}
	Body "Bogie1"{
		ModelFileName = "../n_omtbn30_tra_1/bogie_t.x";
		JointZY "wheel1"{
			AttachCoord = (0,0);
			LocalCoord = (1.05, 0.0);
		}
		JointZY "wheel2"{
			AttachCoord = (0,0);
			LocalCoord = (-1.05, 0.0);
		}
	}
	Body "Bogie2"{
		ModelFileName = "../n_omtbn30_tra_1/bogie_t.x";
		Turn = yes;
		JointZY "wheel3"{
			AttachCoord = (0.0,0.0);
			LocalCoord = (1.05, 0.0);
		}
		JointZY "wheel4"{
			AttachCoord = (0,0);
			LocalCoord = (-1.05, 0.0);
		}
	}
	Body "Dummy"{
		ModelFileName = "";
		JointZY "Bogie1"{
			AttachCoord = (0.0, 0.619);
			LocalCoord = (5.75, 1.0);
		}
		JointZY "Bogie2"{
			AttachCoord = (0.0, 0.619);
			LocalCoord = (-5.75, 1.0);
		}
	}
	Object3D "MainBody"{
		ModelFileName = "../n_omtbn30_trs_1/body_3189.x";
		Transparent = 14,15,16;
		NoCastShadow = 18,19,20,21,25;
		If "d"==0{
			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( !"_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:
				ShiftTexture = 19, 0.0, 0.046875;
			Case 1:
				ShiftTexture = 19, 0.0, 0.03125;
				ChangeAlpha = 25, 0.0;
		}
		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";
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "yuka"{
		ModelFileName = "../n_omtbn30_tra_1/yuka_3600.x";
		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 "tojime"{
		ModelFileName = "../n_omtbn30_trs_1/tojime_3089.x";

		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Doorl"{
		ModelFileName = "../n_omtbn30_tra_1/tojime.x";
		StaticRotation{
			RotationAxis = (0.0, 1.0, 0.0);
			RotationAngle = 180;
		}
			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";
			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);
		}
	}
	FrontCabin{
		Joint3D "MainBody"{
			AttachCoord = (0.0,0.0,0.0);
		}
	}
}

