
PluginHeader{
	RailSimVersion = 2.00;
	PluginType = Train;
	PluginName = "掗搒崅懍搙岎捠塩抍 07宯 桳妝挰慄巇條 愭摢幵";
	PluginAuthor = "n";
	IconTexture = "";
}
TrainInfo{
	FrontLimit = 10.07;
	TailLimit = -10.00;
	MaxVelocity = 110.0;
	MaxAcceleration = 3.3;
	MaxDeceleration = 3.5;
	DoorClosingTime = 5.0;
}
DefineSwitch "仭婎杮愝掕"{
}
DefineSwitch "劌揹尮"{
GroupCommon = "n07_y揹尮";
	Entry = "擖";
	Entry = "愗";
}
DefineSwitch "劋僷儞僞崅偝"{
	GroupCommon = "n07_ypt";
	Entry = "帺摦(婎弨丗僔儞僾儖僇僥僫儕)";
	Entry = "崉懱壦慄";
}
DefineSwitch "仭摂壩椶愝掕-"{
}
DefineSwitch "劌慜徠摂"{
GroupCommon = "n07_y慜徠摂";
	Entry = "帺摦";
	Entry = "擖";
	Entry = "愗";
}
DefineSwitch "劌旜摂"{
GroupCommon = "n07_y旜摂";
	Entry = "帺摦";
	Entry = "擖(擖懼)";
	Entry = "愗";
}
DefineSwitch "劌塣揮幒摂"{
GroupCommon = "n07_y塣揮幒摂";
	Entry = "帺摦";
	Entry = "擖";
	Entry = "愗";
}
DefineSwitch "劋媞幒徠柧"{
GroupCommon = "n07_y媞幒摂";
	Entry = "擖";
	Entry = "愗";
}
DefineSwitch "仭楍幵愝掕"{
}
DefineSwitch "劌峴愭"{
GroupCommon = "n07_y峴愭";
	Entry = "柍昞帵";
	Entry = "夞憲";
	Entry = "怴栘応";
	Entry = "怴慄抮戃";
	Entry = "榓岝巗";
	Entry = "愳墇巗";
	Entry = "彫庤巜";
	Entry = "";
}
DefineSwitch "劌楍幵斣崋100埵"{
GroupCommon = "n07_y楍幵斣崋100埵";
	Entry = "0";
	Entry = "1";
	Entry = "2";
	Entry = "3";
	Entry = "4";
	Entry = "5";
	Entry = "6";
	Entry = "7";
	Entry = "8";
	Entry = "9";
}
DefineSwitch "劌楍幵斣崋10埵"{
GroupCommon = "n07_y楍幵斣崋10埵";
	Entry = "0";
	Entry = "1";
	Entry = "2";
	Entry = "3";
	Entry = "4";
	Entry = "5";
	Entry = "6";
	Entry = "7";
	Entry = "8";
	Entry = "9";
}
DefineSwitch "劋楍幵斣崋1埵"{
GroupCommon = "n07_y楍幵斣崋1埵";
	Entry = "S";
	Entry = "M";
	Entry = "T";
	Entry = "柍昞帵";
}
DefineSwitch "仭幵椉愝掕"{
}
DefineSwitch "劌曇惉"{
GroupCommon = "n07_y曇惉";
	Entry = "01";
	Entry = "02";
	Entry = "03";
	Entry = "04";
	Entry = "05";
	Entry = "06";
	Entry = "";
	Entry = "";
}
DefineSwitch "劌崋幵"{
	Entry = "1崋幵(怴栘応曽愭摢)";	//( 07-100)
	Entry = "10崋幵(榓岝巗曽愭摢)";	//( 07-000)
}
DefineSwitch "劌巇條"{
GroupCommon = "n07_y巇條";
	Entry = "塩抍";
	Entry = "儊僩儘";
	Entry = "";
	Entry = "";
}
DefineSwitch "劌幷岝枊"{
	Entry = "奐";
	Entry = "暵";
}
DefineSwitch "劌彴壓墭偟"{
GroupCommon = "n07_y彴壓墭偟";
	Entry = "愗";
	Entry = "擖";
}
DefineSwitch "劌仩寉検壔愝掕"{
}
DefineSwitch "劆劋撪憰寉検壔"{
GroupCommon = "n07_y撪憰寉検壔";
	Entry = "愗";
	Entry = "擖";
}
DefineSwitch "劋娙堈塭"{
	GroupCommon = "n07_y娙堈堿";
	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 "Maku_TRTA"{
		ModelFileName = "../n_TRTA07_y_1/led06.x";
		NoShadow = 1,2,3,4;
		If "劌曇惉" <=5 && "劌巇條" ==3 {
			ChangeModel = "", 1.0;
		}
		ApplySwitch "劌揹尮"{
			Case 0:
				ApplySwitch "劌慜徠摂"{
					Case 0:
						If !"_FRONT"&&!"_CONNECT1"{
							ChangeTexture = 5, "tex/儔僀僩揰.png";
							ShiftTexture = 5, 0.0, 0.0;
							NoShadow = 5;
							ChangeMaterial{
								MaterialID = 5;
								Emissive = 1.0, 1.0, 1.0;
丂丂丂丂丂	丂丂					}
						}
					Case 1:
						ChangeTexture = 5, "tex/儔僀僩揰.png";
						ShiftTexture = 5, 0.0, 0.0;
						NoShadow = 5;
						ChangeMaterial{
							MaterialID = 5;
							Emissive = 1.0, 1.0, 1.0;
丂丂丂丂丂	丂丂				}
				}

				ApplySwitch "劌旜摂"{
					Case 0:
						If "_FRONT"&&!"_CONNECT1"{
							ChangeTexture = 6, "tex/僥乕儖揰.png";
							ShiftTexture = 6, 0.0, 0.0;
							NoShadow = 6;
							ChangeMaterial{
								MaterialID = 6;
								Emissive = 1.0, 1.0, 1.0;
丂丂丂丂丂	丂丂					}
						}
					Case 1:
						ChangeTexture = 6, "tex/僥乕儖揰.png";
						ShiftTexture = 6, 0.0, 0.0;
						NoShadow = 6;
						ChangeMaterial{
							MaterialID = 6;
							Emissive = 1.0, 1.0, 1.0;
丂丂丂丂丂	丂丂				}
				}
				If "劌曇惉" <=5 && "劌巇條" ==2 {
					ApplySwitch "劌楍幵斣崋100埵"{
						Case 0:
							ShiftTexture = 2, 0.03125, 0.0;
						Case 1:
							ShiftTexture = 2, 0.03125, -0.01611328125;
						Case 2:
							ShiftTexture = 2, 0.03125, -0.0322265625;
						Case 3:
							ShiftTexture = 2, 0.03125, -0.0483398438;
						Case 4:
							ShiftTexture = 2, 0.03125, -0.064453125;
						Case 5:
							ShiftTexture = 2, 0.03125, -0.0805664062;
						Case 6:
							ShiftTexture = 2, 0.03125, -0.0966796875;
						Case 7:
							ShiftTexture = 2, 0.03125, -0.112792969;
						Case 8:
							ShiftTexture = 2, 0.03125, -0.12890625;
						Case 9:
							ShiftTexture = 2, 0.03125, -0.145019531;
						Default:
							ChangeAlpha = 2, 0.0;
					}
					ApplySwitch "劌楍幵斣崋10埵"{
						Case 0:
							ShiftTexture = 3, 0.03125, 0.01611328125;
						Case 1:
							ShiftTexture = 3, 0.03125, 0.0;
						Case 2:
							ShiftTexture = 3, 0.03125, -0.01611328125;
						Case 3:
							ShiftTexture = 3, 0.03125, -0.0322265625;
						Case 4:
							ShiftTexture = 3, 0.03125, -0.0483398438;
						Case 5:
							ShiftTexture = 3, 0.03125, -0.064453125;
						Case 6:
							ShiftTexture = 3, 0.03125, -0.0805664062;
						Case 7:
							ShiftTexture = 3, 0.03125, -0.0966796875;
						Case 8:
							ShiftTexture = 3, 0.03125, -0.112792969;
						Case 9:
							ShiftTexture = 3, 0.03125, -0.12890625;
						Default:
							ChangeAlpha = 3, 0.0;
					}
					ApplySwitch "劋楍幵斣崋1埵"{
						Case 0:
							ShiftTexture = 4, 0.03125, -0.12890625;
						Case 1:
							ShiftTexture = 4, 0.03125, -0.145019531;
						Case 2:
							ShiftTexture = 4, 0.03125, -0.161132812;
						Default:
							ChangeAlpha = 4, 0.0;
					}
				}Else{
					ApplySwitch "劌楍幵斣崋100埵"{
						Case 0:
							ShiftTexture = 2, 0.0, 0.0;
						Case 1:
							ShiftTexture = 2, 0.0, -0.01611328125;
						Case 2:
							ShiftTexture = 2, 0.0, -0.0322265625;
						Case 3:
							ShiftTexture = 2, 0.0, -0.0483398438;
						Case 4:
							ShiftTexture = 2, 0.0, -0.064453125;
						Case 5:
							ShiftTexture = 2, 0.0, -0.0805664062;
						Case 6:
							ShiftTexture = 2, 0.0, -0.0966796875;
						Case 7:
							ShiftTexture = 2, 0.0, -0.112792969;
						Case 8:
							ShiftTexture = 2, 0.0, -0.12890625;
						Case 9:
							ShiftTexture = 2, 0.0, -0.145019531;
						Default:
							ChangeAlpha = 2, 0.0;
					}
					ApplySwitch "劌楍幵斣崋10埵"{
						Case 0:
							ShiftTexture = 3, 0.0, 0.01611328125;
						Case 1:
							ShiftTexture = 3, 0.0, 0.0;
						Case 2:
							ShiftTexture = 3, 0.0, -0.01611328125;
						Case 3:
							ShiftTexture = 3, 0.0, -0.0322265625;
						Case 4:
							ShiftTexture = 3, 0.0, -0.0483398438;
						Case 5:
							ShiftTexture = 3, 0.0, -0.064453125;
						Case 6:
							ShiftTexture = 3, 0.0, -0.0805664062;
						Case 7:
							ShiftTexture = 3, 0.0, -0.0966796875;
						Case 8:
							ShiftTexture = 3, 0.0, -0.112792969;
						Case 9:
							ShiftTexture = 3, 0.0, -0.12890625;
						Default:
							ChangeAlpha = 3, 0.0;
					}
					If "劌曇惉" <=5 {
						ApplySwitch "劌巇條"{
							Case 0,1:
								ApplySwitch "劋楍幵斣崋1埵"{
									Case 0:
										ShiftTexture = 4, 0.0, -0.12890625;
									Case 1:
										ShiftTexture = 4, 0.0, -0.177246094;
									Case 2:
										ShiftTexture = 4, 0.03125, -0.1796875;
									Default:
										ChangeAlpha = 4, 0.0;
								}
							Case 2:
								ApplySwitch "劋楍幵斣崋1埵"{
									Case 0:
										ShiftTexture = 4, 0.0, -0.12890625;
									Case 1:
										ShiftTexture = 4, 0.0, -0.161132812;
									Case 2:
										ShiftTexture = 4, 0.03125, -0.1796875;
									Default:
										ChangeAlpha = 4, 0.0;
								}
						}
					}Else{
						ApplySwitch "劋楍幵斣崋1埵"{
							Case 0:
								ShiftTexture = 4, 0.0, -0.12890625;
							Case 1:
								ShiftTexture = 4, 0.0, -0.145019531;
							Case 2:
								ShiftTexture = 4, 0.0, -0.161132812;
							Default:
								ChangeAlpha = 4, 0.0;
						}
					}
				}
				ApplySwitch "劌曇惉"{
					Case 6:
						ApplySwitch "劌峴愭"{
							Case 1:
							Case 2:
								ShiftTexture = 1, 0.0, 0.28125;
							Case 3:
								ShiftTexture = 1, 0.0, 0.3125;
							Case 4:
								ShiftTexture = 1, 0.0, 0.34375;
							Case 5:
								ApplySwitch "劌巇條"{
									Case 0:
										ShiftTexture = 1, 0.1875, 0.28125;
									Default:
										ShiftTexture = 1, 0.0, 0.375;
								}
							Case 6:
								ApplySwitch "劌巇條"{
									Case 0:
										ShiftTexture = 1, 0.1875, 0.3125;
									Default:
										ShiftTexture = 1, 0.0, 0.40625;
								}
							Case 7:
								ShiftTexture = 1, 0.0, 0.4375;
							Default:
								ChangeAlpha = 1, 0.0;
						}
					Case 7:
						ApplySwitch "劌峴愭"{
							Case 1:
							Case 2:
								ShiftTexture = 1, 0.0, 0.28125;
							Case 3:
								ShiftTexture = 1, 0.0, 0.3125;
							Case 4:
								ShiftTexture = 1, 0.0, 0.34375;
							Case 7:
								ShiftTexture = 1, 0.0, 0.4375;
							Default:
								ChangeAlpha = 1, 0.0;
						}
					Default:
						ApplySwitch "劌巇條"{
							Case 0,1:
								ApplySwitch "劌峴愭"{
									Case 1:
									Case 2:
										ShiftTexture = 1, 0.0, 0.03125;
									Case 3:
										ShiftTexture = 1, 0.0, 0.0625;
									Case 4:
										ShiftTexture = 1, 0.0, 0.09375;
									Case 5:
										ShiftTexture = 1, 0.0, 0.125;
									Case 6:
										ShiftTexture = 1, 0.0, 0.15625;
									Case 7:
										ShiftTexture = 1, 0.0, 0.1875;
									Default:
										ChangeAlpha = 1, 0.0;
								}
							Case 2:
								ApplySwitch "劌峴愭"{
									Case 1:
										ShiftTexture = 1, 0.1875, 0.0;
									Case 2:
										ShiftTexture = 1, 0.1875, 0.03125;
									Case 3:
										ShiftTexture = 1, 0.1875, 0.0625;
									Case 4:
										ShiftTexture = 1, 0.1875, 0.09375;
									Case 5:
										ShiftTexture = 1, 0.1875, 0.125;
									Case 6:
										ShiftTexture = 1, 0.1875, 0.15625;
									Case 7:
										ShiftTexture = 1, 0.1875, 0.1875;
									Default:
										ChangeAlpha = 1, 0.0;
								}
						}
				}

			Default:
				ChangeAlpha = 1, 0.0;
				ChangeAlpha = 2, 0.0;
				ChangeAlpha = 3, 0.0;
				ChangeAlpha = 4, 0.0;
		}

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



	Object3D "Maku_B"{
		ModelFileName = "";
		NoShadow = 1,2,3,4,7;
		ChangeAlpha = 7, 0.0;
		If "劌曇惉" <=5 && "劌巇條" ==3 {
			ChangeModel = "../n_TRTA07_y_1/led07.x", 1.0;
		}
		ApplySwitch "劌揹尮"{
			Case 0:
				ApplySwitch "劌慜徠摂"{
					Case 0:
						If !"_FRONT"&&!"_CONNECT1"{
							ChangeAlpha = 7, 1.0;
							NoShadow = 7;
						}
					Case 1:
						ChangeAlpha = 7, 1.0;
						NoShadow = 7;
				}

				ApplySwitch "劌旜摂"{
					Case 0:
						If "_FRONT"&&!"_CONNECT1"{
							ChangeTexture = 6, "tex/僥乕儖揰.png";
							ShiftTexture = 6, 0.0, 0.0;
							NoShadow = 6;
							ChangeMaterial{
								MaterialID = 6;
								Emissive = 1.0, 1.0, 1.0;
丂丂丂丂丂	丂丂					}
						}
					Case 1:
						ChangeTexture = 6, "tex/僥乕儖揰.png";
						ShiftTexture = 6, 0.0, 0.0;
						NoShadow = 6;
						ChangeMaterial{
							MaterialID = 6;
							Emissive = 1.0, 1.0, 1.0;
丂丂丂丂丂	丂丂				}
				}
					ApplySwitch "劌峴愭"{
						Case 1:
						Case 2:
							ShiftTexture = 1, 0.0, 0.0625;
						Case 3:
							ShiftTexture = 1, 0.0, 0.125;
						Case 4:
							ShiftTexture = 1, 0.0, 0.1875;
						Case 5:
							ShiftTexture = 1, 0.0, 0.25;
						Case 6:
							ShiftTexture = 1, 0.0, 0.3125;
						Case 7:
							ShiftTexture = 1, 0.0, 0.375;
						Case 8:
							ShiftTexture = 1, 0.0, 0.4375;
						Case 9:
							ShiftTexture = 1, 0.0, 0.5;
						Default:
							ChangeAlpha = 1, 0.0;
					}
					ApplySwitch "劌楍幵斣崋100埵"{
						Case 0:
						Case 1:
							ShiftTexture = 2, 0.0, 0.0625;
						Case 2:
							ShiftTexture = 2, 0.0, 0.125;
						Case 3:
							ShiftTexture = 2, 0.125, 0.0;
						Case 4:
							ShiftTexture = 2, 0.0, 0.1875;
						Case 5:
							ShiftTexture = 2, 0.0, 0.25;
						Case 6:
							ShiftTexture = 2, 0.125, 0.0625;
						Case 7:
							ShiftTexture = 2, 0.0, 0.3125;
						Case 8:
							ShiftTexture = 2, 0.0, 0.375;
						Case 9:
							ShiftTexture = 2, 0.125, 0.125;
						Default:
							ChangeAlpha = 2, 0.0;
					}
					ApplySwitch "劌楍幵斣崋10埵"{
						Case 0:
									ShiftTexture = 3, -0.0234375, 0.0;
						Case 1:
									ShiftTexture = 3, -0.0234375, 0.0625;
						Case 2:
									ShiftTexture = 3, -0.0234375, 0.125;
						Case 3:
									ShiftTexture = 3, 0.1015625, 0.0;
						Case 4:
									ShiftTexture = 3, -0.0234375, 0.1875;
						Case 5:
									ShiftTexture = 3, -0.0234375, 0.25;
						Case 6:
									ShiftTexture = 3, 0.1015625, 0.0625;
						Case 7:
									ShiftTexture = 3, -0.0234375, 0.3125;
						Case 8:
									ShiftTexture = 3, -0.0234375, 0.375;
						Case 9:
									ShiftTexture = 3, 0.1015625, 0.125;
						Default:
							ChangeAlpha = 3, 0.0;
					}
					ApplySwitch "劋楍幵斣崋1埵"{
						Case 0:
						Case 1:
							ShiftTexture = 4, 0.0, 0.3125;
						Case 2:
							ShiftTexture = 4, 0.0, 0.25;
						Default:
							ChangeAlpha = 4, 0.0;
					}
			Default:
				ChangeAlpha = 1, 0.0;
				ChangeAlpha = 2, 0.0;
				ChangeAlpha = 3, 0.0;
				ChangeAlpha = 4, 0.0;
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "MainBody"{
		ModelFileName = "body_100.x";
		NoShadow = 3;
		NoCastShadow = 16,17,56,57,68,69,70;
		Transparent = 59,60,61,62,63;
		ApplySwitch "劌幷岝枊"{
				Case 1:
					ShiftTexture = 59, 0.25, 0.0;
			}
		If "劌揹尮"==0{
			If ("劌慜徠摂"==0 && !"_FRONT"&&!"_CONNECT1")||"劌慜徠摂"==1{
				If "劌曇惉"<=5 && "劌巇條"==3{
					ChangeTexture = 0, "tex/儔僀僩揰3.png";
				}Else{
					ChangeTexture = 0, "tex/儔僀僩揰2.png";
				}
				NoShadow = 0;
丂丂丂丂丂	丂丂	}
			ApplySwitch "劌旜摂"{
				Case 0:
					If "_FRONT"&&!"_CONNECT1"{
						ChangeTexture = 1, "tex/僥乕儖揰1.png";
						NoShadow = 1;
					}
				Case 1:
					ChangeTexture = 1, "tex/僥乕儖揰1.png";
					NoShadow = 1;
			}
			If "劋媞幒徠柧"==0{
					ChangeMaterial{
						MaterialID = 22,23,24,25,26,27,28,29,30,31,34,35,36,37,38,39,40,41,42,43,44,47,48,49,50,51,52;
						Emissive = 1.0, 1.0, 1.0;
丂丂丂丂丂	丂丂		}
			}
			If "劌塣揮幒摂"==1 || ("劌塣揮幒摂"==0 && "_FRONT"){
					ChangeMaterial{
						MaterialID = 32,33,54,55;
						Emissive = 1.0, 1.0, 1.0;
丂丂丂丂丂	丂丂		}
			}
				ApplySwitch "劌曇惉"{
					Case 6:
						ApplySwitch "劌峴愭"{
							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 "劌巇條"{
									Case 0:
										ShiftTexture = 3, 0.25, 0.25;
									Default:
										ShiftTexture = 3, 0.25, -0.0625;
								}
							Case 6:
								ApplySwitch "劌巇條"{
									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 "劌峴愭"{
							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 "劌巇條"{
							Case 0,1:
								ApplySwitch "劌峴愭"{
									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 "劌峴愭"{
									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 "劌峴愭"{
									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 1:
				ShiftTexture = 59, 0.25, 0.0;
		}

		ApplySwitch "劌曇惉"{
			Case 6:
				ApplySwitch "劌巇條"{
					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, "tex/#005637.png";
						NoShadow = 65,66,68,69;
					Case 1,2,3:
						ShiftTexture = 17, 0.0, -0.5;
						ChangeTexture = 63, "tex/慜柺憢1.png";
						ChangeAlpha = 64,0.0;
						ChangeAlpha = 68,0.0;
						ChangeAlpha = 69,0.0;
						NoShadow = 64,68,69;
						NoCastShadow = 65;
				}
				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, "tex/幵撪嵗惾嵗柺_1.png";
				ChangeAlpha = 46,0.0;
				ChangeAlpha = 58,0.0;
				NoShadow = 46,58;
			Case 7:
				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, "tex/幵撪嵗惾嵗柺_3.png";
				ChangeAlpha = 46,0.0;
				ChangeAlpha = 58,0.0;
				ChangeTexture = 63, "tex/慜柺憢1.png";
				ChangeAlpha = 64,0.0;
				ChangeAlpha = 68,0.0;
				ChangeAlpha = 69,0.0;
				NoShadow = 46,58,64,68,69;
				NoCastShadow = 65;
			Default :
				ApplySwitch "劌巇條"{
					Case 0:
						ChangeMaterial{
							MaterialID = 57;
							Diffuse = 0.2, 0.2, 0.2, 1.0;
							Ambient = 0.2, 0.2, 0.2;
丂丂丂丂丂	丂丂				}
						NoShadow = 46,58,65,66,68,69;
						ChangeAlpha = 46,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 = 57;
							Diffuse = 0.2, 0.2, 0.2, 1.0;
							Ambient = 0.2, 0.2, 0.2;
丂丂丂丂丂	丂丂				}
						ShiftTexture = 17, 0.0, -0.5;
						ChangeAlpha = 46,0.0;
						ChangeAlpha = 58,0.0;
						ShiftTexture = 63, 0.0, 0.5;
						ChangeTexture = 63, "tex/慜柺憢1.png";
						ChangeAlpha = 64,0.0;
						ChangeAlpha = 68,0.0;
						ChangeAlpha = 69,0.0;
						NoShadow = 46,58,64,68,69;
						NoCastShadow = 65;
					Case 2:
						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, "tex/幵撪嵗惾嵗柺_3.png";
						ChangeAlpha = 46,1.0;
						ChangeAlpha = 58,0.0;
						ShiftTexture = 63, 0.0, 0.5;
						ChangeAlpha = 64,0.0;
						ChangeAlpha = 68,0.0;
						ChangeAlpha = 69,0.0;
						NoShadow = 58,64,68,69;
						NoCastShadow = 46,65;
					Case 3:
						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, "tex/幵撪嵗惾嵗柺_3.png";
						ChangeAlpha = 46,1.0;
						ShiftTexture = 61, 0.0, 0.125;
						ChangeTexture = 63, "tex/慜柺憢2.png";
						ChangeAlpha = 64,0.0;
						NoShadow = 64;
						NoCastShadow = 46,58,65;
				}
		}

		ApplySwitch "劌崋幵"{
			Case 0:
				ApplySwitch "劌曇惉"{
					Case 6:
						ShiftTexture = 67, 0.0, 0.375;

				}
			Case 1:
				ApplySwitch "劌曇惉"{
					Case 6:
						ShiftTexture = 67, 0.125, 0.25;
					Default:
						ShiftTexture = 67, 0.125, 0.125;
				}
		}
		ApplySwitch "劌曇惉"{
			Case 0,7:
				ApplySwitch "劌崋幵"{
					Case 0:
					Case 1:
						ShiftTexture = 56, 0.5, 0.0;
						ShiftTexture = 57, 0.5, 0.0;
						ShiftTexture = 58, 0.5, 0.0;
				}
			Case 1:
				ApplySwitch "劌崋幵"{
					Case 0:
						ShiftTexture = 56, 0.0, 0.125;
						ShiftTexture = 57, 0.0, 0.125;
						ShiftTexture = 58, 0.0, 0.125;
					Case 1:
						ShiftTexture = 56, 0.5, 0.125;
						ShiftTexture = 57, 0.5, 0.125;
						ShiftTexture = 58, 0.5, 0.125;
				}
				ShiftTexture = 46, 0.125, 0.0;
			Case 2:
				ApplySwitch "劌崋幵"{
					Case 0:
						ShiftTexture = 56, 0.0, 0.25;
						ShiftTexture = 57, 0.0, 0.25;
						ShiftTexture = 58, 0.0, 0.25;
					Case 1:
						ShiftTexture = 56, 0.5, 0.25;
						ShiftTexture = 57, 0.5, 0.25;
						ShiftTexture = 58, 0.5, 0.25;
				}
				ShiftTexture = 46, 0.0, 0.125;
			Case 3:
				ApplySwitch "劌崋幵"{
					Case 0:
						ShiftTexture = 56, 0.0, 0.375;
						ShiftTexture = 57, 0.0, 0.375;
						ShiftTexture = 58, 0.0, 0.375;
					Case 1:
						ShiftTexture = 56, 0.5, 0.375;
						ShiftTexture = 57, 0.5, 0.375;
						ShiftTexture = 58, 0.5, 0.375;
				}
				ShiftTexture = 46, 0.125, 0.125;
			Case 4:
				ApplySwitch "劌崋幵"{
					Case 0:
						ShiftTexture = 56, 0.0, 0.5;
						ShiftTexture = 57, 0.0, 0.5;
						ShiftTexture = 58, 0.0, 0.5;
					Case 1:
						ShiftTexture = 56, 0.5, 0.5;
						ShiftTexture = 57, 0.5, 0.5;
						ShiftTexture = 58, 0.5, 0.5;
				}
				ShiftTexture = 46, -0.25, 0.625;
			Case 5:
				ApplySwitch "劌崋幵"{
					Case 0:
						ShiftTexture = 56, 0.0, 0.625;
						ShiftTexture = 57, 0.0, 0.625;
						ShiftTexture = 58, 0.0, 0.625;
					Case 1:
						ShiftTexture = 56, 0.5, 0.625;
						ShiftTexture = 57, 0.5, 0.625;
						ShiftTexture = 58, 0.5, 0.625;
				}
				ShiftTexture = 46, -0.125, 0.625;
			Case 6:
				ApplySwitch "劌崋幵"{
					Case 0:
						ShiftTexture = 56, 0.0, -0.125;
						ShiftTexture = 57, 0.0, -0.125;
						ShiftTexture = 58, 0.0, -0.125;
					Case 1:
						ShiftTexture = 56, 0.5, -0.125;
						ShiftTexture = 57, 0.5, -0.125;
						ShiftTexture = 58, 0.5, -0.125;
				}
		}
		ApplySwitch "劌曇惉"{
			Case 6,7:
				ApplySwitch "劌崋幵"{
					Case 0:
						ShiftTexture = 60, -0.3125, 0.0;
				}
			Default:
				ApplySwitch "劌崋幵"{
					Case 1:
						ShiftTexture = 60, -0.3125, 0.0;
				}
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "parts"{
		ModelFileName = "";
		ApplySwitch "劌曇惉"{
			Case 6:
				ApplySwitch "劌崋幵"{
					Case 0:ChangeModel = "parts_06101.x", 1.0;
					Case 1:ChangeModel = "parts_06001.x", 1.0;
				}
			Case 7:
				ApplySwitch "劌崋幵"{
					Case 0:ChangeModel = "parts_06101.x", 1.0;
					Case 1:ChangeModel = "parts_06001.x", 1.0;
				}
				ShiftTexture = 6, 0.0, -0.5;
			Default :
				ApplySwitch "劌巇條"{
					Case 0,1:
						ApplySwitch "劌崋幵"{
							Case 0:ChangeModel = "parts_07101.x", 1.0;
							Case 1:ChangeModel = "parts_07001.x", 1.0;
						}
					Case 2:
						ApplySwitch "劌崋幵"{
							Case 0:ChangeModel = "parts_07102.x", 1.0;
							Case 1:ChangeModel = "parts_07002.x", 1.0;
						}
					Case 3:
						ChangeModel = "parts_07103.x", 1.0;
				}
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "yuka"{
		ModelFileName = "";
		ApplySwitch "劌彴壓墭偟"{
			Case 1:
				ChangeTexture = 0, "tex/彴壓1.png";
		}
		ApplySwitch "劌崋幵"{
			Case 0:ChangeModel = "yuka101.x", 1.0;
			Case 1:ChangeModel = "yuka001.x", 1.0;
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Interior"{
		ModelFileName = "";
		EnvMap = 1;
		If "劆劋撪憰寉検壔"==0 || "劆劋撪憰寉検壔"==2 && "_CAMDIST" < 10 || "劆劋撪憰寉検壔"==3 && "_CAMDIST" < 30 || "劆劋撪憰寉検壔"==4 && "_CAMDIST" < 50 || "劆劋撪憰寉検壔"==5 && "_CAMDIST" < 100 || "劆劋撪憰寉検壔"==6 && "_CAMDIST" < 300 || "劆劋撪憰寉検壔"==7 && "_CAMDIST" < 500 || "劆劋撪憰寉検壔"==8 && "_CAMDIST" < 1000 {
			ChangeModel = "../n_TRTA07_y_1/Interior_101.x", 1.0;
		}
		If "劌揹尮"==0{
			If "劋媞幒徠柧"==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 "劆劋撪憰寉検壔"==0 || "劆劋撪憰寉検壔"==2 && "_CAMDIST" < 10 || "劆劋撪憰寉検壔"==3 && "_CAMDIST" < 30 || "劆劋撪憰寉検壔"==4 && "_CAMDIST" < 50 || "劆劋撪憰寉検壔"==5 && "_CAMDIST" < 100 || "劆劋撪憰寉検壔"==6 && "_CAMDIST" < 300 || "劆劋撪憰寉検壔"==7 && "_CAMDIST" < 500 || "劆劋撪憰寉検壔"==8 && "_CAMDIST" < 1000 {
			ChangeModel = "../n_TRTA07_y_1/rack_101.x", 1.0;
		}
		If "劌揹尮"==0{
			If "劋媞幒徠柧"==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 "劌揹尮"==0 && "劋媞幒徠柧"==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 "劌巇條"{
					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 "劌揹尮"==0 && "劋媞幒徠柧"==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 "劌巇條"{
					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 "劌揹尮"==0 && "劋媞幒徠柧"==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 "劌巇條"{
					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 "劌揹尮"==0 && "劋媞幒徠柧"==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 "劌巇條"{
					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 && "劌巇條" ==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 && "劌巇條" ==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 "Shadow"{
		ModelFileName = "../n_TRTA07_y_1/Shadow.x";
		NoCastShadow = 0;
			ApplySwitch "劋娙堈塭"{
			Case 1:
			ChangeModel = "", 1.0;
			}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	FrontCabin{
		Joint3D "MainBody"{
			AttachCoord = (0.0,0.0,0.0);
		}
	}
}

