
PluginHeader{
	RailSimVersion = 2.00;
	PluginType = Train;
	PluginName = "sxʉcc 07n Lydl Ԏ";
	PluginAuthor = "n";
	IconTexture = "";
}
TrainInfo{
	FrontLimit = 10.00;
	TailLimit = -10.00;
	MaxVelocity = 110.0;
	MaxAcceleration = 3.3;
	MaxDeceleration = 3.5;
	DoorClosingTime = 5.0;
}
DefineSwitch "{ݒ"{
}
DefineSwitch "d"{
GroupCommon = "n07_yd";
	Entry = "";
	Entry = "";
}
DefineSwitch "p^"{
	GroupCommon = "n07_ypt";
	Entry = "(FVvJei)";
	Entry = "̉ː";
}
DefineSwitch "Ηސݒ-"{
}
DefineSwitch "qƖ"{
GroupCommon = "n07_yq";
	Entry = "";
	Entry = "";
}
DefineSwitch "Ԑݒ"{
}
DefineSwitch "s"{
GroupCommon = "n07_ys";
	Entry = "\";
	Entry = "";
	Entry = "V؏";
	Entry = "Vr";
	Entry = "as";
	Entry = "zs";
	Entry = "w";
	Entry = "";
}
DefineSwitch "ԗݒ"{
}
DefineSwitch "Ґ"{
GroupCommon = "n07_yҐ";
	Entry = "01";
	Entry = "02";
	Entry = "03";
	Entry = "04";
	Entry = "05";
	Entry = "06";
	Entry = "";
	Entry = "";
}
DefineSwitch ""{
	Entry = "2(V؏)";	//( 07-200)
	Entry = "3";
	Entry = "4";
	Entry = "5";
	Entry = "6";
	Entry = "7";
	Entry = "8";
	Entry = "9(as)";	//( 07-900)
}
DefineSwitch "dl"{
GroupCommon = "n07_ydl";
	Entry = "cc";
	Entry = "g";
	Entry = "";
	Entry = "";
}
DefineSwitch ""{
GroupCommon = "n07_y";
	Entry = "";
	Entry = "";
}
DefineSwitch "yʉݒ"{
}
DefineSwitch "yʉ"{
GroupCommon = "n07_yyʉ";
	Entry = "";
	Entry = "";
}
DefineSwitch "ȈՉe"{
	GroupCommon = "n07_yȈՉA";
	Entry = "";
	Entry = "";
}

PrimaryAssembly{
	Axle "wheel1"{
		ModelFileName = "../n_TRTA07_y_1/wheel.x";
		CastShadow = no;
		AlphaZeroTest = 0,1;
		Diameter = 0.86;
		Symmetric = 16;
		Coord = (7.95,0.43);
	}
	Axle "wheel2"{
		ModelFileName = "../n_TRTA07_y_1/wheel.x";
		CastShadow = no;
		AlphaZeroTest = 0,1;
		Diameter = 0.86;
		Symmetric = 16;
		Coord = (5.85,0.43);
	}
	Axle "wheel3"{
		ModelFileName = "../n_TRTA07_y_1/wheel.x";
		CastShadow = no;
		AlphaZeroTest = 0,1;
		Diameter = 0.86;
		Symmetric = 16;
		Coord = (-7.95,0.43);
	}
	Axle "wheel4"{
		ModelFileName = "../n_TRTA07_y_1/wheel.x";
		CastShadow = no;
		AlphaZeroTest = 0,1;
		Diameter = 0.86;
		Symmetric = 16;
		Coord = (-5.85,0.43);
	}
	Body "Bogie1"{
		ModelFileName = "../n_TRTA07_y_1/bogie_101.x";
		ApplySwitch ""{
			Case 1:
				ShiftTexture = 0, 0.0, 0.5;
				ShiftTexture = 1, 0.0, 0.5;
				ShiftTexture = 2, 0.0, 0.5;
				ShiftTexture = 3, 0.0, 0.5;
		}
		JointZY "wheel1"{
			AttachCoord = (0,0);
			LocalCoord = (1.05,0);
		}
		JointZY "wheel2"{
			AttachCoord = (0,0);
			LocalCoord = (-1.05,0);
		}
	}
	Body "Bogie2"{
		ModelFileName = "../n_TRTA07_y_1/bogie_101.x";
		Turn = yes;
		ApplySwitch ""{
			Case 1:
				ShiftTexture = 0, 0.0, 0.5;
				ShiftTexture = 1, 0.0, 0.5;
				ShiftTexture = 2, 0.0, 0.5;
				ShiftTexture = 3, 0.0, 0.5;
		}
		JointZY "wheel3"{
			AttachCoord = (0,0);
			LocalCoord = (1.05,0);
		}
		JointZY "wheel4"{
			AttachCoord = (0,0);
			LocalCoord = (-1.05,0);
		}
	}
	Body "Dummy"{
		ModelFileName = "";
		ModelScale = 1.0;
		JointZY "Bogie1"{
			AttachCoord = (0.0, 0.57);
			LocalCoord = (6.9, 1.0);
		}
		JointZY "Bogie2"{
			AttachCoord = (0.0, 0.57);
			LocalCoord = (-6.9, 1.0);
		}
	}
	Object3D "MainBody"{
		ModelFileName = "";
		NoShadow = 3;
		NoCastShadow = 16,17,55,56,57,58,68,69;
		Transparent = 59,60,61,62,63;
		If "d"==0{
			If "qƖ"==0{
					ChangeMaterial{
						MaterialID = 22,23,24,25,26,27,28,29,30,31,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52;
						Emissive = 1.0, 1.0, 1.0;
@@@@@	@@		}
			}
				ApplySwitch "Ґ"{
					Case 6:
						ApplySwitch "s"{
							Case 1:
							Case 2:
								ShiftTexture = 3, 0.25, 0.0625;
							Case 3:
								ShiftTexture = 3, 0.25, 0.125;
							Case 4:
								ShiftTexture = 3, 0.25, 0.1875;
							Case 5:
								ApplySwitch "dl"{
									Case 0:
										ShiftTexture = 3, 0.25, 0.25;
									Default:
										ShiftTexture = 3, 0.25, -0.0625;
								}
							Case 6:
								ApplySwitch "dl"{
									Case 0:
										ShiftTexture = 3, 0.25, 0.3125;
									Default:
										ShiftTexture = 3, 0.25, 0.0;
								}
							Case 7:
								ShiftTexture = 3, 0.25, 0.375;
							Default:
								ChangeAlpha = 3, 0.0;
						}
					Case 7:
						ApplySwitch "s"{
							Case 1:
						Case 2:
								ShiftTexture = 3, 0.25, 0.0625;
							Case 3:
								ShiftTexture = 3, 0.25, 0.125;
							Case 4:
								ShiftTexture = 3, 0.25, 0.1875;
							Case 7:
								ShiftTexture = 3, 0.25, 0.375;
							Default:
								ChangeAlpha = 3, 0.0;
						}
					Default:
						ApplySwitch "dl"{
							Case 0,1:
								ApplySwitch "s"{
									Case 1:
									Case 2:
										ShiftTexture = 3, 0.0, 0.0625;
									Case 3:
										ShiftTexture = 3, 0.0, 0.125;
									Case 4:
										ShiftTexture = 3, 0.0, 0.1875;
									Case 5:
										ShiftTexture = 3, 0.0, 0.25;
									Case 6:
										ShiftTexture = 3, 0.0, 0.3125;
									Case 7:
										ShiftTexture = 3, 0.0, 0.375;
									Default:
										ChangeAlpha = 3, 0.0;
								}
							Case 2:
								ApplySwitch "s"{
									Case 1:
										ShiftTexture = 3, -0.25, 0.0;
									Case 2:
										ShiftTexture = 3, -0.25, 0.0625;
									Case 3:
										ShiftTexture = 3, -0.25, 0.125;
									Case 4:
										ShiftTexture = 3, -0.25, 0.1875;
									Case 5:
										ShiftTexture = 3, -0.25, 0.25;
									Case 6:
										ShiftTexture = 3, -0.25, 0.3125;
									Case 7:
										ShiftTexture = 3, -0.25, 0.375;
									Default:
										ChangeAlpha = 3, 0.0;
								}
							Case 3:
								ApplySwitch "s"{
									Case 1:
										ShiftTexture = 3, 0.25, 0.5;
									Case 2:
										ShiftTexture = 3, 0.25, 0.5625;
									Case 3:
										ShiftTexture = 3, 0.25, 0.625;
									Case 4:
										ShiftTexture = 3, 0.25, 0.6875;
									Case 5:
										ShiftTexture = 3, 0.25, 0.75;
									Case 6:
										ShiftTexture = 3, 0.25, 0.8125;
									Case 7:
										ShiftTexture = 3, 0.25, 0.875;
									Default:
										ChangeAlpha = 3, 0.0;
								}
						}
				}
		}Else{
			ChangeAlpha = 3, 0.0;
		}

		ApplySwitch "Ґ"{
			Case 6:
				ApplySwitch "dl"{
					Case 0:
						ShiftTexture = 17, 0.0, -0.25;
						ChangeAlpha = 65,0.0;
						ChangeAlpha = 66,0.0;
						ChangeAlpha = 68,0.0;
						ChangeAlpha = 69,0.0;
						ChangeTexture = 64, "../n_TRTA07_y_1/tex/#005637.png";
						NoShadow = 65,66,68,69;
					Case 1,2,3:
						ShiftTexture = 17, 0.0, -0.5;
						ChangeTexture = 63, "../n_TRTA07_y_1/tex/Oʑ1.png";
						ChangeAlpha = 64,0.0;
						ChangeAlpha = 68,0.0;
						ChangeAlpha = 69,0.0;
						NoShadow = 64,68,69;
						NoCastShadow = 65;
				}
				ChangeMaterial{
					MaterialID = 55;
					Diffuse = 0.0, 0.3359375, 0.21484375, 1.0;
					Ambient = 0.0, 0.3359375, 0.21484375;
@@@@@	@@		}
				ChangeMaterial{
					MaterialID = 57;
					Diffuse = 0.0, 0.3359375, 0.21484375, 1.0;
					Ambient = 0.0, 0.3359375, 0.21484375;
@@@@@	@@		}
				ShiftTexture = 16, 0.0, 0.125;
				ChangeTexture = 34, "../n_TRTA07_y_1/tex/ԓȍ_1.png";
				ChangeAlpha = 56,0.0;
				ChangeAlpha = 58,0.0;
				NoShadow = 56,58;
			Case 7:
				ChangeMaterial{
					MaterialID = 55;
					Diffuse = 0.03515625, 0.12890625, 0.34765625, 1.0;
					Ambient = 0.03515625, 0.12890625, 0.34765625;
@@@@@	@@		}
				ChangeMaterial{
					MaterialID = 57;
					Diffuse = 0.03515625, 0.12890625, 0.34765625, 1.0;
					Ambient = 0.03515625, 0.12890625, 0.34765625;
@@@@@	@@		}
				ShiftTexture = 16, 0.0, 0.0625;
				ShiftTexture = 17, 0.0, -0.5;
				ChangeTexture = 34, "../n_TRTA07_y_1/tex/ԓȍ_3.png";
				ChangeAlpha = 56,0.0;
				ChangeAlpha = 58,0.0;
				ChangeTexture = 63, "../n_TRTA07_y_1/tex/Oʑ1.png";
				ChangeAlpha = 64,0.0;
				ChangeAlpha = 68,0.0;
				ChangeAlpha = 69,0.0;
				NoShadow = 56,58,64,68,69;
				NoCastShadow = 65;
			Default :
				ApplySwitch "dl"{
					Case 0:
						ChangeMaterial{
							MaterialID = 55;
							Diffuse = 0.2, 0.2, 0.2, 1.0;
							Ambient = 0.2, 0.2, 0.2;
@@@@@	@@				}
						ChangeMaterial{
							MaterialID = 57;
							Diffuse = 0.2, 0.2, 0.2, 1.0;
							Ambient = 0.2, 0.2, 0.2;
@@@@@	@@				}
						NoShadow = 56,58,65,66,68,69;
						ChangeAlpha = 56,0.0;
						ChangeAlpha = 58,0.0;
						ChangeAlpha = 65,0.0;
						ChangeAlpha = 66,0.0;
						ChangeAlpha = 68,0.0;
						ChangeAlpha = 69,0.0;
		
					Case 1:
						ChangeMaterial{
							MaterialID = 55;
							Diffuse = 0.2, 0.2, 0.2, 1.0;
							Ambient = 0.2, 0.2, 0.2;
@@@@@	@@				}
						ChangeMaterial{
							MaterialID = 57;
							Diffuse = 0.2, 0.2, 0.2, 1.0;
							Ambient = 0.2, 0.2, 0.2;
@@@@@	@@				}
						ShiftTexture = 17, 0.0, -0.5;
						ChangeAlpha = 56,0.0;
						ChangeAlpha = 58,0.0;
						ShiftTexture = 63, 0.0, 0.5;
						ChangeTexture = 63, "../n_TRTA07_y_1/tex/Oʑ1.png";
						ChangeAlpha = 64,0.0;
						ChangeAlpha = 68,0.0;
						ChangeAlpha = 69,0.0;
						NoShadow = 56,58,64,68,69;
						NoCastShadow = 65;
					Case 2:
						ChangeMaterial{
							MaterialID = 55;
							Diffuse = 0.03515625, 0.12890625, 0.34765625, 1.0;
							Ambient = 0.03515625, 0.12890625, 0.34765625;
@@@@@	@@				}
						ChangeMaterial{
							MaterialID = 57;
							Diffuse = 0.03515625, 0.12890625, 0.34765625, 1.0;
							Ambient = 0.03515625, 0.12890625, 0.34765625;
@@@@@	@@				}
						ShiftTexture = 16, 0.0, 0.0625;
						ShiftTexture = 17, 0.0, -0.5;	
						ChangeTexture = 34, "../n_TRTA07_y_1/tex/ԓȍ_3.png";
						ChangeAlpha = 56,0.0;
						ChangeAlpha = 58,0.0;
						ShiftTexture = 63, 0.0, 0.5;
						ChangeAlpha = 64,0.0;
						ChangeAlpha = 68,0.0;
						ChangeAlpha = 69,0.0;
						NoShadow = 56,58,64,68,69;
						NoCastShadow = 65;
					Case 3:
						ChangeMaterial{
							MaterialID = 55;
							Diffuse = 0.03515625, 0.12890625, 0.34765625, 1.0;
							Ambient = 0.03515625, 0.12890625, 0.34765625;
@@@@@	@@				}
						ChangeMaterial{
							MaterialID = 57;
							Diffuse = 0.03515625, 0.12890625, 0.34765625, 1.0;
							Ambient = 0.03515625, 0.12890625, 0.34765625;
@@@@@	@@				}
						ShiftTexture = 16, 0.0, 0.0625;
						ShiftTexture = 17, 0.0, -0.5;	
						ChangeTexture = 34, "../n_TRTA07_y_1/tex/ԓȍ_3.png";
						ShiftTexture = 61, 0.0, 0.125;
						ChangeTexture = 63, "../n_TRTA07_y_1/tex/Oʑ2.png";
						ChangeAlpha = 64,0.0;
						NoShadow = 64;
						NoCastShadow = 56,58,65;
				}
		}

		ApplySwitch ""{
			Case 0:
				ChangeModel = "../n_TRTA07_y_1/Body_200.x", 1.0;
				ChangeAlpha = 68,1.0;
				NoCastShadow = 68;
			Case 7:
				ChangeModel = "../n_TRTA07_y_1/Body_900.x", 1.0;
				ChangeAlpha = 68,1.0;
				NoCastShadow = 68;
			Default :
				ChangeModel = "../n_TRTA07_y_1/Body_300.x", 1.0;
		}
		ApplySwitch ""{
			Case 0:
				ApplySwitch "Ґ"{
					Case 6:
						ShiftTexture = 67, 0.125, 0.375;
					Default:
						ShiftTexture = 67, 0.125, 0.0;
				}
			Case 1:
				ApplySwitch "Ґ"{
					Case 6:
						ShiftTexture = 67, 0.25, 0.375;
					Default:
						ShiftTexture = 67, 0.25, 0.0;
				}
			Case 2:
				ApplySwitch "Ґ"{
					Case 6:
						ShiftTexture = 67, 0.375, 0.375;
					Default:
						ShiftTexture = 67, 0.375, 0.0;
				}
				ShiftTexture = 57, 0.0625, 0.0;
				ShiftTexture = 58, 0.0625, 0.0;
			Case 3:
				ApplySwitch "Ґ"{
					Case 6:
						ShiftTexture = 67, 0.5, 0.375;
					Default:
						ShiftTexture = 67, 0.5, 0.0;
				}
				ShiftTexture = 57, 0.125, 0.0;
				ShiftTexture = 58, 0.125, 0.0;
			Case 4:
				ApplySwitch "Ґ"{
					Case 6:
						ShiftTexture = 67, 0.625, 0.375;
					Default:
						ShiftTexture = 67, 0.625, 0.0;
				}
				ShiftTexture = 57, 0.1875, 0.0;
				ShiftTexture = 58, 0.1875, 0.0;
			Case 5:
				ApplySwitch "Ґ"{
					Case 6:
						ShiftTexture = 67, 0.75, 0.375;
					Default:
						ShiftTexture = 67, 0.75, 0.0;
				}
				ShiftTexture = 57, 0.25, 0.0;
				ShiftTexture = 58, 0.25, 0.0;
			Case 6:
				ApplySwitch "Ґ"{
					Case 6:
						ShiftTexture = 67, 0.875, 0.375;
					Default:
						ShiftTexture = 67, 0.875, 0.0;
				}
				ShiftTexture = 57, 0.3125, 0.0;
				ShiftTexture = 58, 0.3125, 0.0;
			Case 7:
				ApplySwitch "Ґ"{
					Case 6:
						ShiftTexture = 67, 0.0, 0.25;
					Default:
						ShiftTexture = 67, 0.0, 0.125;
				}
		}
		ApplySwitch "Ґ"{
			Case 0,7:
			Case 1:
				ShiftTexture = 55, 0.0, 0.125;
				ShiftTexture = 56, 0.0, 0.125;
			Case 2:
				ShiftTexture = 55, 0.0, 0.25;
				ShiftTexture = 56, 0.0, 0.25;
			Case 3:
				ShiftTexture = 55, 0.0, 0.375;
				ShiftTexture = 56, 0.0, 0.375;
			Case 4:
				ShiftTexture = 55, 0.0, 0.5;
				ShiftTexture = 56, 0.0, 0.5;
			Case 5:
				ShiftTexture = 55, 0.0, 0.625;
				ShiftTexture = 56, 0.0, 0.625;
			Case 6:
				ShiftTexture = 55, 0.0, -0.125;
				ShiftTexture = 56, 0.0, -0.125;
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "parts"{
		ModelFileName = "../n_TRTA07_y_1/parts_06201.x";
		ApplySwitch "Ґ"{
			Case 6:
			Case 7:
			Default :
				ApplySwitch "dl"{
					Case 2,3:
						ChangeModel = "../n_TRTA07_y_1/parts_07201.x", 1.0;
				}
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "sticker"{
		ModelFileName = "";
		NoCastShadow = 0;
		If "Ґ" <=5{
			ApplySwitch "dl"{
				Case 0,1:
					ApplySwitch ""{
						Case 2:ChangeModel = "../n_TRTA07_y_1/sticker.x", 1.0;
					}
				Case 2:
					ApplySwitch ""{
						Case 7:ChangeModel = "../n_TRTA07_y_1/sticker.x", 1.0;
					}
				Case 3:
					ApplySwitch ""{
						Case 7:ChangeModel = "../n_TRTA07_y_1/sticker.x", 1.0;
							ShiftTexture = 0, 0.5, 0.0;
					}
			}
		}Else{
			ApplySwitch ""{
				Case 2:ChangeModel = "../n_TRTA07_y_1/sticker.x", 1.0;
			}
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "yuka"{
		ModelFileName = "";
		ApplySwitch ""{
			Case 1:
				ChangeTexture = 0, "../n_TRTA07_y_1/tex/1.png";
		}
		If "Ґ" <=5 && "dl" >=2{
			ApplySwitch ""{
				Case 0,2,7:ChangeModel = "../n_TRTA07_y_1/yuka201.x", 1.0;
				Case 1:ChangeModel = "../n_TRTA07_y_1/yuka801.x", 1.0;
				Case 3:ChangeModel = "../n_TRTA07_y_1/yuka501.x", 1.0;
				Case 4:ChangeModel = "../n_TRTA07_y_1/yuka601.x", 1.0;
				Case 5:ChangeModel = "../n_TRTA07_y_1/yuka701.x", 1.0;
				Case 6:ChangeModel = "../n_TRTA07_y_1/yuka301.x", 1.0;
			}
		}Else{
			ApplySwitch ""{
				Case 0,2,7:ChangeModel = "../n_TRTA07_y_1/yuka201.x", 1.0;
				Case 1:ChangeModel = "../n_TRTA07_y_1/yuka301.x", 1.0;
				Case 3:ChangeModel = "../n_TRTA07_y_1/yuka501.x", 1.0;
				Case 4:ChangeModel = "../n_TRTA07_y_1/yuka601.x", 1.0;
				Case 5:ChangeModel = "../n_TRTA07_y_1/yuka701.x", 1.0;
				Case 6:ChangeModel = "../n_TRTA07_y_1/yuka801.x", 1.0;
			}
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Interior"{
		ModelFileName = "";
		EnvMap = 1;
		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_TRTA07_y_1/Interior_201.x", 1.0;
		}
		If "d"==0{
			If "qƖ"==0{
					ChangeMaterial{
						MaterialID = 0,1,2,3,4,5,6,7,8,9,10;
						Emissive = 1.0, 1.0, 1.0;
					}
			}
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Rack"{
		ModelFileName = "";
		EnvMap = 0;
                AlphaZeroTest = 1;
		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:
					ChangeModel = "../n_TRTA07_y_1/rack_201.x", 1.0;
				Case 7:
					ChangeModel = "../n_TRTA07_y_1/rack_901.x", 1.0;
				Default 
					:ChangeModel = "../n_TRTA07_y_1/rack_301.x", 1.0;
			}
		}
		If "d"==0{
			If "qƖ"==0{
					ChangeMaterial{
						MaterialID = 0,1,2;
						Emissive = 1.0, 1.0, 1.0;
					}
			}
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Doorll"{
		ModelFileName = "../n_TRTA07_y_1/Doorl.x";
		Transparent = 5;
		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;
			}
		}
		ApplySwitch "Ґ"{
			Case 6:
				ShiftTexture = 2, 0.0, 0.125;
			Case 7:
				ShiftTexture = 2, 0.0, 0.0625;
			Default :
				ApplySwitch "dl"{
					Case 2,3:
						ShiftTexture = 2, 0.0, 0.0625;
				}
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}

	Object3D "Doorlr"{
		ModelFileName = "../n_TRTA07_y_1/Doorr.x";
		Transparent = 5;
		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;
			}
		}
		ApplySwitch "Ґ"{
			Case 6:
				ShiftTexture = 2, 0.0, 0.125;
			Case 7:
				ShiftTexture = 2, 0.0, 0.0625;
			Default :
				ApplySwitch "dl"{
					Case 2,3:
						ShiftTexture = 2, 0.0, 0.0625;
				}
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Doorrl"{
		ModelFileName = "../n_TRTA07_y_1/Doorr.x";
		Transparent = 5;
		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;
			}
		}
		ApplySwitch "Ґ"{
			Case 6:
				ShiftTexture = 2, 0.0, 0.125;
			Case 7:
				ShiftTexture = 2, 0.0, 0.0625;
			Default :
				ApplySwitch "dl"{
					Case 2,3:
						ShiftTexture = 2, 0.0, 0.0625;
				}
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}

	Object3D "Doorrr"{
		ModelFileName = "../n_TRTA07_y_1/Doorl.x";
		Transparent = 5;
		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;
			}
		}
		ApplySwitch "Ґ"{
			Case 6:
				ShiftTexture = 2, 0.0, 0.125;
			Case 7:
				ShiftTexture = 2, 0.0, 0.0625;
			Default :
				ApplySwitch "dl"{
					Case 2,3:
						ShiftTexture = 2, 0.0, 0.0625;
				}
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}
	Object3D "Doorl"{
		ModelFileName = "../n_TRTA07_y_1/tojime.x";
		StaticRotation{
			RotationAxis = (0.0, 1.0, 0.0);
			RotationAngle = 180;
		}
		If "Ґ" <=5 && "dl" ==3{
			ChangeModel = "../n_TRTA07_y_1/tojime1.x", 1.0;
		}
		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 = (1.4, 3.255, 0.0);
		}
	}
	Object3D "Doorr"{
		ModelFileName = "../n_TRTA07_y_1/tojime.x";
		If "Ґ" <=5 && "dl" ==3{
			ChangeModel = "../n_TRTA07_y_1/tojime1.x", 1.0;
		}
		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 = (-1.4, 3.255, 0.0);
		}
	}
	Object3D "ptparts"{
		ModelFileName = "../n_TRTA07_y_1/ptparts.x";
			ApplySwitch ""{
			Case 1,3,4,6:
			ChangeModel = "", 1.0;
			}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "HishiBase2"{
		ModelFileName = "";
		Joint3D "MainBody"{
			AttachCoord = (0.0, 3.81, -6.9);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}
	Object3D "HishiShoe2"{
		ModelFileName = "../n_TRTA07_y_1/HishiShoe.x";
			ApplySwitch ""{
			Case 1,3,4,6:
			ChangeModel = "", 1.0;
			}
		ApplySwitch "d"{
		Case 0:
		ApplySwitch "p^"{
		Case 0:
			StaticMove{
				Displacement = (0.0, 0.95, 0.0);
				PreAnimationDelay = 0.1;
				AnimationTime = 1.0;
			}
		Case 1:
			StaticMove{
				Displacement = (0.0, 0.26, 0.0);
				PreAnimationDelay = 0.1;
				AnimationTime = 1.0;
			}
		}
		}
		Joint3D "HishiBase2"{
			AttachCoord = (0.0, 0.33, 0.0);
		}
	}
	TriangleZY{
		Link "HishiArm-y-z2"{
			ModelFileName = "../n_TRTA07_y_1/HishiArm-y.x";
			ApplySwitch ""{
			Case 1,3,4,6:
			ChangeModel = "", 1.0;
			}
			JointZYX "HishiBase2"{
				AttachCoord = (0.485, 0.05);
				LocalCoord = (0.0, 0.0);
			}
			LinkCoord = (0.99, 0.00);
		}
		Link "HishiArmy-z2"{
			ModelFileName = "../n_TRTA07_y_1/HishiArmy.x";
			ApplySwitch ""{
			Case 1,3,4,6:
			ChangeModel = "", 1.0;
			}
			JointZYX "HishiShoe2"{
				AttachCoord = (0.0, -0.12);
				LocalCoord = (0.0, 0.0);
			}
			LinkCoord = (1.48, -0.00);
		}
	}
	TriangleZY{
		Link "HishiArmyz2"{
			ModelFileName = "../n_TRTA07_y_1/HishiArmy.x";
			Turn = yes;
			ApplySwitch ""{
			Case 1,3,4,6:
			ChangeModel = "", 1.0;
			}
			JointZYX "HishiShoe2"{
				AttachCoord = (0.0, -0.12);
				LocalCoord = (0.0, 0.0);
			}
			LinkCoord = (1.48, 0.0);
		}
		Link "HishiArm-yz2"{
			ModelFileName = "../n_TRTA07_y_1/HishiArm-y.x";
			Turn = yes;
			ApplySwitch ""{
			Case 1,3,4,6:
			ChangeModel = "", 1.0;
			}
			JointZYX "HishiBase2"{
				AttachCoord = (-0.485, 0.05);
				LocalCoord = (0.0, 0.00);
			}
			LinkCoord = (0.99, 0.00);
		}
	}
	Object3D "Shadow"{
		ModelFileName = "../n_TRTA07_y_1/Shadow.x";
		NoCastShadow = 0;
			ApplySwitch "ȈՉe"{
			Case 1:
			ChangeModel = "", 1.0;
			}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	FrontCabin{
		Joint3D "MainBody"{
			AttachCoord = (0.0,0.0,0.0);
		}
	}
}

