PluginHeader{
	RailSimVersion = 2.00;
	PluginType = Train;
	PluginName = "東京都交通局6300形 中間車";
	PluginAuthor = "n";
	IconTexture = "icon.png";
	Description = "-種別の標示について(6300形の場合)-";
	Description = "目黒駅で種別表示の切り替えを行います。";
	Description = "";
	Description = "-運転区間について-";
	Description = "(1)登場時｜西高島平 - 三田";
	Description = "(2)2000年9月26日〜｜西高島平 - 武蔵小杉";
	Description = "(3)2008年6月22日〜｜西高島平 - 日吉";
	Description = "(4)2023年3月18日〜｜西高島平 - 新横浜";
	Description = "";
	Description = "-運番について-";
	Description = "目黒延伸前は01Tから、直通開始後は31Tから順に使用します";
	Description = "";
	Description = "-入換灯について-";
	Description = "主に白金高輪駅や日吉駅の、ホーム〜引上線間で点灯します。";
	Description = "";
	Description = "-急行灯について-";
	Description = "基本的に使用しません。";
	Description = "";
}

TrainInfo{
	FrontLimit = 10.00;
	TailLimit = -10.00;
	MaxVelocity = 110.0;
	MaxAcceleration = 3.3;
	MaxDeceleration = 3.5;
	DoorClosingTime = 5.0;
}
DefineSwitch "電源"{
GroupCommon = "ntoei6300電源";
	Entry = "入";
	Entry = "切";
}
DefineSwitch "パンタ高さ"{
	GroupCommon = "ntoei6300pt";
	Entry = "自動(基準：シンプルカテナリ)";
	Entry = "剛体架線";
}
DefineSwitch "客室照明"{
GroupCommon = "ntoei6300客室灯";
	Entry = "入";
	Entry = "切";
}
DefineSwitch "走行区間"{
GroupCommon = "ntoei6300走行区間";
	Entry = "三田線(・2006年以前の東急線)";
	Entry = "東急線";
	Entry = "";
}
DefineSwitch "種別"{
GroupCommon = "ntoei6300種別";
	Entry = "回送";
	Entry = "試運転";
	Entry = "臨時";
	Entry = "各停";
	Entry = "急行";
}
DefineSwitch "表示"{
GroupCommon = "ntoei6300行先";
	Entry = "三田";
	Entry = "西高島平";
	Entry = "高島平";
	Entry = "新板橋";	
	Entry = "御成門";
	Entry = "本蓮沼";
	Entry = "巣鴨";
	Entry = "水道橋";
	Entry = "日比谷";
	Entry = "芝公園";	
	Entry = "白金高輪";		//10
	Entry = "目黒";		//	//11
	Entry = "大岡山";
	Entry = "奥沢";
	Entry = "武蔵小杉";
	Entry = "日吉";
	Entry = "元住吉";	
	Entry = "";
	Entry = "武蔵小山";
	Entry = "新横浜";
}
DefineSwitch "編成"{
GroupCommon = "ntoei6300編成";
	Entry = "6301F";
	Entry = "6302F";
	Entry = "6303F";
	Entry = "6304F";
	Entry = "6305F";
	Entry = "6306F";
	Entry = "6307F";
	Entry = "6308F";
	Entry = "6309F";
	Entry = "6310F";
	Entry = "6311F";
	Entry = "6312F";
	Entry = "6313F";
	Entry = "6314F";
	Entry = "6315F";
	Entry = "6316F";
	Entry = "6317F";
	Entry = "6318F";
	Entry = "6319F";
	Entry = "6320F";
	Entry = "6321F";
	Entry = "6322F";
	Entry = "6323F";
	Entry = "6324F";
	Entry = "6325F";
	Entry = "6326F";
	Entry = "6327F";
	Entry = "6328F";
	Entry = "6329F";
	Entry = "6330F";
	Entry = "6331F";
	Entry = "6332F";
	Entry = "6333F";
	Entry = "6334F";
	Entry = "6335F";
	Entry = "6336F";
	Entry = "6337F";
}
DefineSwitch "号車"{
	Entry = "2号車";
	Entry = "3号車";
	Entry = "4号車";
	Entry = "5号車";
}
DefineSwitch "仕様"{
	GroupCommon = "ntoei6300仕様";
	Entry = "現行";
//	Entry = "2010〜";
//	Entry = "2000〜";
//	Entry = "登場時";
}
DefineSwitch "転落防止幌"{
	GroupCommon = "ntoei6300転落防止幌";
	Entry = "無";
//	Entry = "有(みなとみらい号運用時のみ)";
}
DefineSwitch "弱冷房車"{
	GroupCommon = "ntoei6300弱冷";
	Entry = "有(1994〜)";
//	Entry = "無";
}
DefineSwitch "簡易影"{
	GroupCommon = "ntoei6300簡易陰";
	Entry = "入";
	Entry = "切";
}
DefineSwitch "PBR"{
	GroupCommon = "ntoei6300PBR";
	Entry = "入(1)";
	Entry = "入(2)";
	Entry = "切";
}
PrimaryAssembly{
	Axle "wheel1"{
		ModelFileName = "../n_toei6300_1/wheel.x";
		CastShadow = no;
		AlphaZeroTest = 0,1;
		If "PBR"!=2{
			ChangeMaterial{
				MaterialID = 0;
				Diffuse = 0.6, 0.6, 0.6, 1.0;
				Ambient = 0.3, 0.3, 0.3;
　　　　　		}
			ChangeMaterial{
				MaterialID = 1;
				Diffuse = 0.3, 0.3, 0.3, 1.0;
				Ambient = 0.1, 0.1, 0.1;
　　　　　		}
			ChangeMaterial{
				MaterialID = 2;
				Diffuse = 0.6, 0.6, 0.6, 1.0;
　　　　　		}
			BumpMap = 0,1,2;
			EnvMap = 0,1,2;
			ChangeTexture = 0, "../n_toei6300_1/tex/車体.png", "../n_toei6300_1/tex/n.png", "../n_toei6300_1/tex/yo.png";
			ChangeTexture = 1, "../n_toei6300_1/tex/車体.png", "../n_toei6300_1/tex/n.png", "../n_toei6300_1/tex/yo.png";
			ChangeTexture = 2, "../n_toei6300_1/tex/車体.png", "../n_toei6300_1/tex/n.png", "../n_toei6300_1/tex/ho.png";
　　　　　	}
		Diameter = 0.86;
		Symmetric = 16;
		Coord = (7.95,0.43);
	}
	Axle "wheel2"{
		ModelFileName = "../n_toei6300_1/wheel.x";
		CastShadow = no;
		AlphaZeroTest = 0,1;
		If "PBR"!=2{
			ChangeMaterial{
				MaterialID = 0;
				Diffuse = 0.6, 0.6, 0.6, 1.0;
				Ambient = 0.3, 0.3, 0.3;
　　　　　		}
			ChangeMaterial{
				MaterialID = 1;
				Diffuse = 0.3, 0.3, 0.3, 1.0;
				Ambient = 0.1, 0.1, 0.1;
　　　　　		}
			ChangeMaterial{
				MaterialID = 2;
				Diffuse = 0.6, 0.6, 0.6, 1.0;
　　　　　		}
			BumpMap = 0,1,2;
			EnvMap = 0,1,2;
			ChangeTexture = 0, "../n_toei6300_1/tex/車体.png", "../n_toei6300_1/tex/n.png", "../n_toei6300_1/tex/yo.png";
			ChangeTexture = 1, "../n_toei6300_1/tex/車体.png", "../n_toei6300_1/tex/n.png", "../n_toei6300_1/tex/yo.png";
			ChangeTexture = 2, "../n_toei6300_1/tex/車体.png", "../n_toei6300_1/tex/n.png", "../n_toei6300_1/tex/ho.png";
　　　　　	}
		Diameter = 0.86;
		Symmetric = 16;
		Coord = (5.85,0.43);
	}
	Axle "wheel3"{
		ModelFileName = "../n_toei6300_1/wheel.x";
		CastShadow = no;
		AlphaZeroTest = 0,1;
		If "PBR"!=2{
			ChangeMaterial{
				MaterialID = 0;
				Diffuse = 0.6, 0.6, 0.6, 1.0;
				Ambient = 0.3, 0.3, 0.3;
　　　　　		}
			ChangeMaterial{
				MaterialID = 1;
				Diffuse = 0.3, 0.3, 0.3, 1.0;
				Ambient = 0.1, 0.1, 0.1;
　　　　　		}
			ChangeMaterial{
				MaterialID = 2;
				Diffuse = 0.6, 0.6, 0.6, 1.0;
　　　　　		}
			BumpMap = 0,1,2;
			EnvMap = 0,1,2;
			ChangeTexture = 0, "../n_toei6300_1/tex/車体.png", "../n_toei6300_1/tex/n.png", "../n_toei6300_1/tex/yo.png";
			ChangeTexture = 1, "../n_toei6300_1/tex/車体.png", "../n_toei6300_1/tex/n.png", "../n_toei6300_1/tex/yo.png";
			ChangeTexture = 2, "../n_toei6300_1/tex/車体.png", "../n_toei6300_1/tex/n.png", "../n_toei6300_1/tex/ho.png";
　　　　　	}
		Diameter = 0.86;
		Symmetric = 16;
		Coord = (-7.95,0.43);
	}
	Axle "wheel4"{
		ModelFileName = "../n_toei6300_1/wheel.x";
		CastShadow = no;
		AlphaZeroTest = 0,1;
		If "PBR"!=2{
			ChangeMaterial{
				MaterialID = 0;
				Diffuse = 0.6, 0.6, 0.6, 1.0;
				Ambient = 0.3, 0.3, 0.3;
　　　　　		}
			ChangeMaterial{
				MaterialID = 1;
				Diffuse = 0.3, 0.3, 0.3, 1.0;
				Ambient = 0.1, 0.1, 0.1;
　　　　　		}
			ChangeMaterial{
				MaterialID = 2;
				Diffuse = 0.6, 0.6, 0.6, 1.0;
　　　　　		}
			BumpMap = 0,1,2;
			EnvMap = 0,1,2;
			ChangeTexture = 0, "../n_toei6300_1/tex/車体.png", "../n_toei6300_1/tex/n.png", "../n_toei6300_1/tex/yo.png";
			ChangeTexture = 1, "../n_toei6300_1/tex/車体.png", "../n_toei6300_1/tex/n.png", "../n_toei6300_1/tex/yo.png";
			ChangeTexture = 2, "../n_toei6300_1/tex/車体.png", "../n_toei6300_1/tex/n.png", "../n_toei6300_1/tex/ho.png";
　　　　　	}
		Diameter = 0.86;
		Symmetric = 16;
		Coord = (-5.85,0.43);
	}
	Body "Bogie1"{
		ModelFileName = "../n_toei6300_1/bogie.x";
		JointZY "wheel1"{
			AttachCoord = (0,0);
			LocalCoord = (1.05,0);
		}
		JointZY "wheel2"{
			AttachCoord = (0,0);
			LocalCoord = (-1.05,0);
		}
	}
	Body "Bogie2"{
		ModelFileName = "../n_toei6300_1/bogie.x";
		Turn = yes;
		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 "in"{
		ModelFileName = "../n_toei6300_1/in_1_1.x";
		//NoCastShadow = 22,23,24,25,26;
		//Transparent = 21;
		If "電源"==0&&"客室照明"==0{
			ChangeMaterial{
				MaterialID = 0;
				Emissive = 0.8, 0.8, 0.8;
　　　　　	　　	}
				//NoShadow = 1,2,3,4,5,6,7,8,9,10,11;
		}
		ApplySwitch "号車"{
		Case 1,3,5:
			StaticRotation{
				RotationAxis = (0.0, 1.0, 0.0);
				RotationAngle = 180;
			}
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Doorll_i"{
		ModelFileName = "../n_toei6300_1/Dooril.x";
		NoCastShadow = 1;
		If "電源"==0 && "客室照明"==0{
			ChangeMaterial{
				MaterialID = 0;
				Emissive = 0.8, 0.8, 0.8;
			}
			//NoShadow = 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 3:
			If "号車" <7{
				ShiftTexture = 1, 0.0234375, 0.0;
			}Else{
				ShiftTexture = 1, 0.046875, 0.0;
			}
		Case 4:
			If "編成" <6{
				ShiftTexture = 1, 0.046875, 0.0;
			}
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}

	Object3D "Doorlr_i"{
		ModelFileName = "../n_toei6300_1/Doorir.x";
		NoCastShadow = 3;
		If "電源"==0 && "客室照明"==0{
				ChangeMaterial{
					MaterialID = 0;
					Emissive = 0.8, 0.8, 0.8;
				}
　　　　　　　　}
		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 3:
			If "号車" ==7{
				ShiftTexture = 1, 0.0234375, 0.0;
			}Else{
				ShiftTexture = 1, 0.046875, 0.0;
			}
		Case 4:
			If "編成" <6{
				ShiftTexture = 1, 0.046875, 0.0;
			}
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Doorrl_i"{
		ModelFileName = "../n_toei6300_1/Doorir.x";
		NoCastShadow = 3;
		If "電源"==0 && "客室照明"==0{
				ChangeMaterial{
					MaterialID = 0;
					Emissive = 0.8, 0.8, 0.8;
				}
　　　　　　　　}
		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 3:
			If "号車" <7{
				ShiftTexture = 1, 0.0234375, 0.0;
			}Else{
				ShiftTexture = 1, 0.046875, 0.0;
			}
		Case 4:
			If "編成" <6{
				ShiftTexture = 1, 0.046875, 0.0;
			}
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}

	Object3D "Doorrr_i"{
		ModelFileName = "../n_toei6300_1/Dooril.x";
		NoCastShadow = 3;
		If "電源"==0 && "客室照明"==0{
			ChangeMaterial{
				MaterialID = 0;
				Emissive = 0.8, 0.8, 0.8;
			}
			//NoShadow = 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 3:
			If "号車" ==7{
				ShiftTexture = 1, 0.0234375, 0.0;
			}Else{
				ShiftTexture = 1, 0.046875, 0.0;
			}
		Case 4:
			If "編成" <6{
				ShiftTexture = 1, 0.046875, 0.0;
			}
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}

	Object3D "Doorll"{
		ModelFileName = "../n_toei6300_1/Door1l.x";
		NoCastShadow = 2;
		If "PBR"==0{
			BumpMap = 0,2;
			EnvMap = 0,2;
			ChangeTexture = 0, "../n_toei6300_1/tex/n.png", normal;
			ChangeTexture = 0, "../n_toei6300_1/tex/ドアo.png", pbr;
			ChangeTexture = 2, "../n_toei6300_1/tex/wn.png", normal;
			ChangeTexture = 2, "../n_toei6300_1/tex/窓o.png", pbr;
			ChangeMaterial{
				MaterialID = 2;
				Diffuse = 1.5, 1.5, 1.5, 1.0;
				Ambient = 0.97, 0.99, 1.0;
				Power = 7.0;
　　　　　		}
			ChangeMaterial{
				MaterialID = 0;
				Diffuse = 1.05, 1.05, 1.05, 1.0;
				Ambient = 0.95, 0.95, 0.95;
				Specular = 0.9, 0.9, 0.9;
　　　　	　	}
		}
		If "PBR"==1{
			BumpMap = 0,2;
			EnvMap = 0,2;
			ChangeTexture = 0, "../n_toei6300_1/tex/n.png", normal;
			ChangeTexture = 0, "../n_toei6300_1/tex/ドアo1.png", pbr;
			ChangeTexture = 2, "../n_toei6300_1/tex/wn.png", normal;
			ChangeTexture = 2, "../n_toei6300_1/tex/窓o.png", pbr;
			ChangeMaterial{
				MaterialID = 2;
				Diffuse = 1.5, 1.5, 1.5, 1.0;
				Ambient = 0.97, 0.99, 1.0;
				Power = 7.0;
　　　　　		}
			ChangeMaterial{
				MaterialID = 0;
				Diffuse = 1.05, 1.05, 1.05, 1.0;
				Ambient = 0.95, 0.95, 0.95;
				Specular = 0.9, 0.9, 0.9;
　　　　	　	}
		}
		ApplySwitch "仕様"{
		Case 3:
			If "号車" <7{
				ShiftTexture = 2, 0.0234375, 0.0;
			}Else{
				ShiftTexture = 2, 0.046875, 0.0;
			}
		Case 4:
			If "編成" <6{
				ShiftTexture = 2, 0.046875, 0.0;
			}
		}
		If "編成" >12{
			ChangeModel = "../n_toei6300_1/Door3l.x", 1.0;
		}
		Joint3D "Doorll_i"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}

	Object3D "Doorlr"{
		ModelFileName = "../n_toei6300_1/Door1r.x";
		NoCastShadow = 2;
		If "PBR"==0{
			BumpMap = 0,2;
			EnvMap = 0,2;
			ChangeTexture = 0, "../n_toei6300_1/tex/n.png", normal;
			ChangeTexture = 0, "../n_toei6300_1/tex/ドアo.png", pbr;
			ChangeTexture = 2, "../n_toei6300_1/tex/wn.png", normal;
			ChangeTexture = 2, "../n_toei6300_1/tex/窓o.png", pbr;
			ChangeMaterial{
				MaterialID = 2;
				Diffuse = 1.5, 1.5, 1.5, 1.0;
				Ambient = 0.97, 0.99, 1.0;
				Power = 7.0;
　　　　　		}
			ChangeMaterial{
				MaterialID = 0;
				Diffuse = 1.05, 1.05, 1.05, 1.0;
				Ambient = 0.95, 0.95, 0.95;
				Specular = 0.9, 0.9, 0.9;
　　　　	　	}
		}
		If "PBR"==1{
			BumpMap = 0,2;
			EnvMap = 0,2;
			ChangeTexture = 0, "../n_toei6300_1/tex/n.png", normal;
			ChangeTexture = 0, "../n_toei6300_1/tex/ドアo1.png", pbr;
			ChangeTexture = 2, "../n_toei6300_1/tex/wn.png", normal;
			ChangeTexture = 2, "../n_toei6300_1/tex/窓o.png", pbr;
			ChangeMaterial{
				MaterialID = 2;
				Diffuse = 1.5, 1.5, 1.5, 1.0;
				Ambient = 0.97, 0.99, 1.0;
				Power = 7.0;
　　　　　		}
			ChangeMaterial{
				MaterialID = 0;
				Diffuse = 1.05, 1.05, 1.05, 1.0;
				Ambient = 0.95, 0.95, 0.95;
				Specular = 0.9, 0.9, 0.9;
　　　　	　	}
		}
		ApplySwitch "仕様"{
		Case 3:
			If "号車" ==7{
				ShiftTexture = 2, 0.0234375, 0.0;
			}Else{
				ShiftTexture = 2, 0.046875, 0.0;
			}
		Case 4:
			If "編成" <6{
				ShiftTexture = 2, 0.046875, 0.0;
			}
		}
		If "編成" >12{
			ChangeModel = "../n_toei6300_1/Door3r.x", 1.0;
		}
		Joint3D "Doorlr_i"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Doorrl"{
		ModelFileName = "../n_toei6300_1/Door1r.x";
		NoCastShadow = 2;
		If "PBR"==0{
			BumpMap = 0,2;
			EnvMap = 0,2;
			ChangeTexture = 0, "../n_toei6300_1/tex/n.png", normal;
			ChangeTexture = 0, "../n_toei6300_1/tex/ドアo.png", pbr;
			ChangeTexture = 2, "../n_toei6300_1/tex/wn.png", normal;
			ChangeTexture = 2, "../n_toei6300_1/tex/窓o.png", pbr;
			ChangeMaterial{
				MaterialID = 2;
				Diffuse = 1.5, 1.5, 1.5, 1.0;
				Ambient = 0.97, 0.99, 1.0;
				Power = 7.0;
　　　　　		}
			ChangeMaterial{
				MaterialID = 0;
				Diffuse = 1.05, 1.05, 1.05, 1.0;
				Ambient = 0.95, 0.95, 0.95;
				Specular = 0.9, 0.9, 0.9;
　　　　	　	}
		}
		If "PBR"==1{
			BumpMap = 0,2;
			EnvMap = 0,2;
			ChangeTexture = 0, "../n_toei6300_1/tex/n.png", normal;
			ChangeTexture = 0, "../n_toei6300_1/tex/ドアo1.png", pbr;
			ChangeTexture = 2, "../n_toei6300_1/tex/wn.png", normal;
			ChangeTexture = 2, "../n_toei6300_1/tex/窓o.png", pbr;
			ChangeMaterial{
				MaterialID = 2;
				Diffuse = 1.5, 1.5, 1.5, 1.0;
				Ambient = 0.97, 0.99, 1.0;
				Power = 7.0;
　　　　　		}
			ChangeMaterial{
				MaterialID = 0;
				Diffuse = 1.05, 1.05, 1.05, 1.0;
				Ambient = 0.95, 0.95, 0.95;
				Specular = 0.9, 0.9, 0.9;
　　　　	　	}
		}
		ApplySwitch "仕様"{
		Case 3:
			If "号車" <7{
				ShiftTexture = 2, 0.0234375, 0.0;
			}Else{
				ShiftTexture = 2, 0.046875, 0.0;
			}
		Case 4:
			If "編成" <6{
				ShiftTexture = 2, 0.046875, 0.0;
			}
		}
		If "編成" >12{
			ChangeModel = "../n_toei6300_1/Door3r.x", 1.0;
		}
		Joint3D "Doorrl_i"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Doorrr"{
		ModelFileName = "../n_toei6300_1/Door1l.x";
		NoCastShadow = 2;
		If "PBR"==0{
			BumpMap = 0,2;
			EnvMap = 0,2;
			ChangeTexture = 0, "../n_toei6300_1/tex/n.png", normal;
			ChangeTexture = 0, "../n_toei6300_1/tex/ドアo.png", pbr;
			ChangeTexture = 2, "../n_toei6300_1/tex/wn.png", normal;
			ChangeTexture = 2, "../n_toei6300_1/tex/窓o.png", pbr;
			ChangeMaterial{
				MaterialID = 2;
				Diffuse = 1.5, 1.5, 1.5, 1.0;
				Ambient = 0.97, 0.99, 1.0;
				Power = 7.0;
　　　　　		}
			ChangeMaterial{
				MaterialID = 0;
				Diffuse = 1.05, 1.05, 1.05, 1.0;
				Ambient = 0.95, 0.95, 0.95;
				Specular = 0.9, 0.9, 0.9;
　　　　	　	}
		}
		If "PBR"==1{
			BumpMap = 0,2;
			EnvMap = 0,2;
			ChangeTexture = 0, "../n_toei6300_1/tex/n.png", normal;
			ChangeTexture = 0, "../n_toei6300_1/tex/ドアo1.png", pbr;
			ChangeTexture = 2, "../n_toei6300_1/tex/wn.png", normal;
			ChangeTexture = 2, "../n_toei6300_1/tex/窓o.png", pbr;
			ChangeMaterial{
				MaterialID = 2;
				Diffuse = 1.5, 1.5, 1.5, 1.0;
				Ambient = 0.97, 0.99, 1.0;
				Power = 7.0;
　　　　　		}
			ChangeMaterial{
				MaterialID = 0;
				Diffuse = 1.05, 1.05, 1.05, 1.0;
				Ambient = 0.95, 0.95, 0.95;
				Specular = 0.9, 0.9, 0.9;
　　　　	　	}
		}
		ApplySwitch "仕様"{
		Case 3:
			If "号車" ==7{
				ShiftTexture = 2, 0.0234375, 0.0;
			}Else{
				ShiftTexture = 2, 0.046875, 0.0;
			}
		Case 4:
			If "編成" <6{
				ShiftTexture = 2, 0.046875, 0.0;
			}
		}
		If "編成" >12{
			ChangeModel = "../n_toei6300_1/Door3l.x", 1.0;
		}
		Joint3D "Doorrr_i"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "MainBody"{
		ModelFileName = "../n_toei6300_1/body_2.x";
		NoCastShadow = 0,1,12,13;
		If "PBR"==0{
			BumpMap = 0,1,3,4,5,6,7,8,9,10,12,13,14,15;
			EnvMap = 0,1,3,4,5,6,7,8,9,10,12,13,14,15;
			ChangeTexture = 0, "../n_toei6300_1/tex/n.png", normal;
			ChangeTexture = 1, "../n_toei6300_1/tex/n.png", normal;
			ChangeTexture = 3, "../n_toei6300_1/tex/bodyn.png", normal;
			ChangeTexture = 4, "../n_toei6300_1/tex/bodyn.png", normal;
			ChangeTexture = 5, "../n_toei6300_1/tex/n.png", normal;
			ChangeTexture = 6, "../n_toei6300_1/tex/n.png", normal;
			ChangeTexture = 7, "../n_toei6300_1/tex/n.png", normal;
			ChangeTexture = 8, "../n_toei6300_1/tex/n.png", normal;
			ChangeTexture = 9, "../n_toei6300_1/tex/n.png", normal;
			ChangeTexture = 10, "../n_toei6300_1/tex/n.png", normal;
			ChangeTexture = 12, "../n_toei6300_1/tex/wn.png", normal;
			ChangeTexture = 13, "../n_toei6300_1/tex/wn.png", normal;
			ChangeTexture = 14, "../n_toei6300_1/tex/n.png", normal;
			ChangeTexture = 15, "../n_toei6300_1/tex/n.png", normal;
			ChangeTexture = 0, "../n_toei6300_1/tex/窓o.png", pbr;
			ChangeTexture = 1, "../n_toei6300_1/tex/窓o.png", pbr;
			ChangeTexture = 3, "../n_toei6300_1/tex/bodyo.png", pbr;
			ChangeTexture = 4, "../n_toei6300_1/tex/bodyo.png", pbr;
			ChangeTexture = 5, "../n_toei6300_1/tex/妻面o.png", pbr;
			ChangeTexture = 6, "../n_toei6300_1/tex/mo.png", pbr;
			ChangeTexture = 7, "../n_toei6300_1/tex/mo.png", pbr;
			ChangeTexture = 8, "../n_toei6300_1/tex/mo.png", pbr;
			ChangeTexture = 9, "../n_toei6300_1/tex/mo.png", pbr;
			ChangeTexture = 10, "../n_toei6300_1/tex/mo.png", pbr;
			ChangeTexture = 12, "../n_toei6300_1/tex/bodyo.png", pbr;
			ChangeTexture = 13, "../n_toei6300_1/tex/bodyo.png", pbr;
			ChangeTexture = 14, "../n_toei6300_1/tex/ho.png", pbr;
			ChangeTexture = 15, "../n_toei6300_1/tex/ho.png", pbr;
			ChangeMaterial{
				MaterialID = 0,1;
				Diffuse = 1.5, 1.5, 1.5, 1.0;
				Ambient = 1.0, 1.0, 1.0;
				//Specular = 1.0, 1.03, 1.05;
				Power = 7.0;
　　　　　		}
			ChangeMaterial{
				MaterialID = 12,13;
				Diffuse = 1.5, 1.5, 1.5, 1.0;
				Ambient = 0.97, 0.99, 1.0;
				//Specular = 1.0, 1.03, 1.05;
				Power = 7.0;
　　　　　		}
			ChangeMaterial{
				MaterialID = 3,4,5,15;
				Diffuse = 1.05, 1.05, 1.05, 1.0;
				Ambient = 0.95, 0.95, 0.95;
				Specular = 0.9, 0.9, 0.9;
　　　　	　	}
			ChangeMaterial{
				MaterialID = 6,7,8,9,10;
				Diffuse = 0.75, 0.75, 0.75, 1.0;
				Ambient = 0.7, 0.7, 0.7;
				Specular = 0.6, 0.6, 0.6;
　　　　	　	}
		}
		If "PBR"==1{
			BumpMap = 0,1,3,4,5,6,7,8,9,10,12,13,14,15;
			EnvMap = 0,1,3,4,5,6,7,8,9,10,12,13,14,15;
			ChangeTexture = 0, "../n_toei6300_1/tex/n.png", normal;
			ChangeTexture = 1, "../n_toei6300_1/tex/n.png", normal;
			ChangeTexture = 3, "../n_toei6300_1/tex/bodyn.png", normal;
			ChangeTexture = 4, "../n_toei6300_1/tex/bodyn.png", normal;
			ChangeTexture = 5, "../n_toei6300_1/tex/n.png", normal;
			ChangeTexture = 6, "../n_toei6300_1/tex/n.png", normal;
			ChangeTexture = 7, "../n_toei6300_1/tex/n.png", normal;
			ChangeTexture = 8, "../n_toei6300_1/tex/n.png", normal;
			ChangeTexture = 9, "../n_toei6300_1/tex/n.png", normal;
			ChangeTexture = 10, "../n_toei6300_1/tex/n.png", normal;
			ChangeTexture = 12, "../n_toei6300_1/tex/wn.png", normal;
			ChangeTexture = 13, "../n_toei6300_1/tex/wn.png", normal;
			ChangeTexture = 14, "../n_toei6300_1/tex/n.png", normal;
			ChangeTexture = 15, "../n_toei6300_1/tex/n.png", normal;
			ChangeTexture = 0, "../n_toei6300_1/tex/窓o.png", pbr;
			ChangeTexture = 1, "../n_toei6300_1/tex/窓o.png", pbr;
			ChangeTexture = 3, "../n_toei6300_1/tex/bodyo1.png", pbr;
			ChangeTexture = 4, "../n_toei6300_1/tex/bodyo1.png", pbr;
			ChangeTexture = 5, "../n_toei6300_1/tex/妻面o.png", pbr;
			ChangeTexture = 6, "../n_toei6300_1/tex/mo.png", pbr;
			ChangeTexture = 7, "../n_toei6300_1/tex/mo.png", pbr;
			ChangeTexture = 8, "../n_toei6300_1/tex/mo.png", pbr;
			ChangeTexture = 9, "../n_toei6300_1/tex/mo.png", pbr;
			ChangeTexture = 10, "../n_toei6300_1/tex/mo.png", pbr;
			ChangeTexture = 12, "../n_toei6300_1/tex/bodyo1.png", pbr;
			ChangeTexture = 13, "../n_toei6300_1/tex/bodyo1.png", pbr;
			ChangeTexture = 14, "../n_toei6300_1/tex/ho.png", pbr;
			ChangeTexture = 15, "../n_toei6300_1/tex/ho.png", pbr;
			ChangeMaterial{
				MaterialID = 0,1;
				Diffuse = 1.5, 1.5, 1.5, 1.0;
				Ambient = 1.0, 1.0, 1.0;
				//Specular = 1.0, 1.03, 1.05;
				Power = 7.0;
　　　　　		}
			ChangeMaterial{
				MaterialID = 12,13;
				Diffuse = 1.5, 1.5, 1.5, 1.0;
				Ambient = 0.97, 0.99, 1.0;
				//Specular = 1.0, 1.03, 1.05;
				Power = 7.0;
　　　　　		}
			ChangeMaterial{
				MaterialID = 3,4,5,15;
				Diffuse = 1.05, 1.05, 1.05, 1.0;
				Ambient = 0.95, 0.95, 0.95;
				Specular = 0.9, 0.9, 0.9;
　　　　	　	}
			ChangeMaterial{
				MaterialID = 6,7,8,9,10;
				Diffuse = 0.75, 0.75, 0.75, 1.0;
				Ambient = 0.7, 0.7, 0.7;
				Specular = 0.6, 0.6, 0.6;
　　　　	　	}
		}
		ApplySwitch "号車"{
		Case 1,3:
			StaticRotation{
				RotationAxis = (0.0, 1.0, 0.0);
				RotationAngle = 180;
			}
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "LED"{
		ModelFileName = "../n_toei6300_1/maku1.x";
		If !"電源"{
			ApplySwitch "種別"{
			Case 0:
				If "走行区間"==2{
					ChangeAlpha = 1, 0.0;
				}
			Case 1:
				ApplySwitch "走行区間"{
				Case 2:
					ChangeAlpha = 1, 0.0;
					ShiftTexture = 2, 0.0, 0.015625;
				Default:
					ShiftTexture = 1, 0.0, 0.03125;
					ShiftTexture = 2, 0.0, 0.015625;
				}
			Case 2:
				ApplySwitch "走行区間"{
				Case 0:
					ApplySwitch "表示"{
					Case 1:
						ShiftTexture = 1, 0.375, 0.46875;
						ShiftTexture = 2, 0.28125, 0.234375;
					Case 2:
						ShiftTexture = 1, -0.5, 0.34375;
						ShiftTexture = 2, -0.125, 0.21875;
					Case 17:
						ShiftTexture = 1, -0.5, 0.375;
						ShiftTexture = 2, -0.125, 0.234375;
					Default:
						ShiftTexture = 1, 0.0, 0.0625;
						ShiftTexture = 2, 0.0, 0.03125;
					}
				Case 2:
					ChangeAlpha = 1, 0.0;
					ShiftTexture = 2, 0.0, 0.03125;
				Default:
					ShiftTexture = 1, 0.0, 0.0625;
					ShiftTexture = 2, 0.0, 0.03125;
				}
			Case 3:
				ApplySwitch "走行区間"{
				Case 0,2:
					ApplySwitch "表示"{
					Case 0:
						ShiftTexture = 1, 0.0, 0.09375;
						ShiftTexture = 2, 0.0, 0.046875;
					Case 1:
						ShiftTexture = 1, 0.0, 0.125;
						ShiftTexture = 2, 0.0, 0.0625;
					Case 2:
						ShiftTexture = 1, 0.0, 0.15625;
						ShiftTexture = 2, 0.0, 0.078125;
					Case 3:
						ShiftTexture = 1, 0.0, 0.1875;
						ShiftTexture = 2, 0.0, 0.09375;
					Case 4:
						ShiftTexture = 1, 0.0, 0.21875;
						ShiftTexture = 2, 0.0, 0.109375;
					Case 5:
						ShiftTexture = 1, 0.0, 0.25;
						ShiftTexture = 2, 0.0, 0.125;
					Case 6:
						ShiftTexture = 1, 0.0, 0.28125;
						ShiftTexture = 2, 0.0, 0.140625;
					Case 7:
						ShiftTexture = 1, 0.0, 0.3125;
						ShiftTexture = 2, 0.0, 0.15625;
					Case 8:
						ShiftTexture = 1, 0.0, 0.34375;
						ShiftTexture = 2, 0.0, 0.171875;
					Case 9:
						ShiftTexture = 1, 0.0, 0.375;
						ShiftTexture = 2, 0.0, 0.1875;
					Case 10:
						ShiftTexture = 1, 0.0, 0.40625;
						ShiftTexture = 2, 0.0, 0.203125;
					Case 11:
						ShiftTexture = 1, 0.0, 0.4375;
						ShiftTexture = 2, 0.0, 0.21875;
					Case 12:
						ShiftTexture = 1, 0.0, 0.46875;
						ShiftTexture = 2, 0.0, 0.234375;
					Case 13:
						ShiftTexture = 1, 0.125, 0.0;
						ShiftTexture = 2, 0.09375, 0.0;
					Case 14:
						ShiftTexture = 1, 0.125, 0.03125;
						ShiftTexture = 2, 0.09375, 0.015625;
					Case 15:
						ShiftTexture = 1, 0.125, 0.0625;
						ShiftTexture = 2, 0.09375, 0.03125;
					Case 16:
						ShiftTexture = 1, 0.125, 0.09375;
						ShiftTexture = 2, 0.09375, 0.046875;
					Case 17:
						ShiftTexture = 1, 0.125, 0.125;
						ShiftTexture = 2, 0.09375, 0.0625;
					Case 18:
						ShiftTexture = 1, 0.125, 0.15625;
						ShiftTexture = 2, 0.09375, 0.078125;
					Case 19:
						ShiftTexture = 1, 0.125, 0.1875;
						ShiftTexture = 2, 0.09375, 0.09375;
					Case 20:
						ShiftTexture = 1, 0.125, 0.21875;
						ShiftTexture = 2, 0.09375, 0.109375;
					}
				Case 1:
					ApplySwitch "表示"{
					Case 0:
						ShiftTexture = 1, 0.125, 0.21875;
						ShiftTexture = 2, 0.09375, 0.109375;
					Case 1:
						ShiftTexture = 1, 0.125, 0.25;
						ShiftTexture = 2, 0.09375, 0.125;
					Case 2:
						ShiftTexture = 1, 0.125, 0.28125;
						ShiftTexture = 2, 0.09375, 0.140625;
					Case 3:
						ShiftTexture = 1, 0.125, 0.3125;
						ShiftTexture = 2, 0.09375, 0.15625;
					Case 4:
						ShiftTexture = 1, 0.125, 0.34375;
						ShiftTexture = 2, 0.09375, 0.171875;
					Case 5:
						ShiftTexture = 1, 0.125, 0.375;
						ShiftTexture = 2, 0.09375, 0.1875;
					Case 6:
						ShiftTexture = 1, 0.125, 0.40625;
						ShiftTexture = 2, 0.09375, 0.203125;
					Case 7:
						ShiftTexture = 1, 0.125, 0.4375;
						ShiftTexture = 2, 0.09375, 0.21875;
					Case 8:
						ShiftTexture = 1, 0.125, 0.46875;
						ShiftTexture = 2, 0.09375, 0.234375;
					Case 9:
						ShiftTexture = 1, 0.25, 0.0;
						ShiftTexture = 2, 0.1875, 0.0;
					Case 10:
						ShiftTexture = 1, 0.25, 0.03125;
						ShiftTexture = 2, 0.1875, 0.015625;
					Case 11:
						ShiftTexture = 1, 0.25, 0.0625;
						ShiftTexture = 2, 0.1875, 0.03125;
					Case 12:
						ShiftTexture = 1, 0.25, 0.09375;
						ShiftTexture = 2, 0.1875, 0.046875;
					Case 13:
						ShiftTexture = 1, 0.25, 0.125;
						ShiftTexture = 2, 0.1875, 0.0625;
					Case 14:
						ShiftTexture = 1, 0.25, 0.15625;
						ShiftTexture = 2, 0.1875, 0.078125;
					Case 15:
						ShiftTexture = 1, 0.25, 0.1875;
						ShiftTexture = 2, 0.1875, 0.09375;
					Case 16:
						ShiftTexture = 1, 0.25, 0.21875;
						ShiftTexture = 2, 0.1875, 0.109375;
					Case 17:
						ShiftTexture = 1, 0.25, 0.25;
						ShiftTexture = 2, 0.1875, 0.125;
					Case 18:
						ShiftTexture = 1, 0.25, 0.28125;
						ShiftTexture = 2, 0.1875, 0.140625;
					Case 19:
						ShiftTexture = 1, 0.25, 0.3125;
						ShiftTexture = 2, 0.1875, 0.15625;
					Case 20:
						ShiftTexture = 1, 0.25, 0.34375;
						ShiftTexture = 2, 0.1875, 0.171875;
					}
				Case 2:
					ChangeAlpha = 1, 0.0;
				}
			Case 4:
				ApplySwitch "走行区間"{
				Case 0,2:
					ApplySwitch "表示"{
					Case 0:
						ShiftTexture = 1, 0.0, 0.09375;
						ShiftTexture = 2, 0.0, 0.046875;
					Case 1:
						ShiftTexture = 1, 0.0, 0.125;
						ShiftTexture = 2, 0.0, 0.0625;
					Case 2:
						ShiftTexture = 1, 0.0, 0.15625;
						ShiftTexture = 2, 0.0, 0.078125;
					Case 3:
						ShiftTexture = 1, 0.0, 0.1875;
						ShiftTexture = 2, 0.0, 0.09375;
					Case 4:
						ShiftTexture = 1, 0.0, 0.21875;
						ShiftTexture = 2, 0.0, 0.109375;
					Case 5:
						ShiftTexture = 1, 0.0, 0.25;
						ShiftTexture = 2, 0.0, 0.125;
					Case 6:
						ShiftTexture = 1, 0.0, 0.28125;
						ShiftTexture = 2, 0.0, 0.140625;
					Case 7:
						ShiftTexture = 1, 0.0, 0.3125;
						ShiftTexture = 2, 0.0, 0.15625;
					Case 8:
						ShiftTexture = 1, 0.0, 0.34375;
						ShiftTexture = 2, 0.0, 0.171875;
					Case 9:
						ShiftTexture = 1, 0.0, 0.375;
						ShiftTexture = 2, 0.0, 0.1875;
					Case 10:
						ShiftTexture = 1, 0.0, 0.40625;
						ShiftTexture = 2, 0.0, 0.203125;
					Case 11:
						ShiftTexture = 1, 0.0, 0.4375;
						ShiftTexture = 2, 0.0, 0.21875;
					Case 12:
						ShiftTexture = 1, 0.375, 0.21875;
						ShiftTexture = 2, 0.28125, 0.109375;
					Case 13:
						ShiftTexture = 1, 0.375, 0.25;
						ShiftTexture = 2, 0.28125, 0.125;
					Case 14:
						ShiftTexture = 1, 0.375, 0.28125;
						ShiftTexture = 2, 0.28125, 0.140625;
					Case 15:
						ShiftTexture = 1, 0.375, 0.3125;
						ShiftTexture = 2, 0.28125, 0.15625;
					Case 16:
						ShiftTexture = 1, 0.375, 0.34375;
						ShiftTexture = 2, 0.28125, 0.171875;
					Case 17:
						ShiftTexture = 1, 0.375, 0.375;
						ShiftTexture = 2, 0.28125, 0.1875;
					Case 18:
						ShiftTexture = 1, 0.375, 0.40625;
						ShiftTexture = 2, 0.28125, 0.203125;
					Case 19:
						ShiftTexture = 1, 0.375, 0.4375;
						ShiftTexture = 2, 0.28125, 0.21875;
					Case 20:
						ShiftTexture = 1, 0.375, 0.46875;
						ShiftTexture = 2, 0.28125, 0.234375;
					}
				Case 1:
					ApplySwitch "表示"{
					Case 0:
						ShiftTexture = 1, 0.25, 0.34375;
						ShiftTexture = 2, 0.1875, 0.171875;
					Case 1:
						ShiftTexture = 1, 0.25, 0.375;
						ShiftTexture = 2, 0.1875, 0.1875;
					Case 2:
						ShiftTexture = 1, 0.25, 0.40625;
						ShiftTexture = 2, 0.1875, 0.203125;
					Case 3:
						ShiftTexture = 1, 0.25, 0.4375;
						ShiftTexture = 2, 0.1875, 0.21875;
					Case 4:
						ShiftTexture = 1, 0.25, 0.46875;
						ShiftTexture = 2, 0.1875, 0.234375;
					Case 5:
						ShiftTexture = 1, 0.375, 0.0;
						ShiftTexture = 2, 0.28125, 0.0;
					Case 6:
						ShiftTexture = 1, 0.375, 0.03125;
						ShiftTexture = 2, 0.28125, 0.015625;
					Case 7:
						ShiftTexture = 1, 0.375, 0.0625;
						ShiftTexture = 2, 0.28125, 0.03125;
					Case 8:
						ShiftTexture = 1, 0.375, 0.09375;
						ShiftTexture = 2, 0.28125, 0.046875;
					Case 9:
						ShiftTexture = 1, 0.375, 0.125;
						ShiftTexture = 2, 0.28125, 0.0625;
					Case 10:
						ShiftTexture = 1, 0.375, 0.15625;
						ShiftTexture = 2, 0.28125, 0.078125;
					Case 11:
						ShiftTexture = 1, 0.375, 0.1875;
						ShiftTexture = 2, 0.28125, 0.09375;
					Case 12:
						ShiftTexture = 1, 0.375, 0.21875;
						ShiftTexture = 2, 0.28125, 0.109375;
					Case 13:
						ShiftTexture = 1, 0.375, 0.25;
						ShiftTexture = 2, 0.28125, 0.125;
					Case 14:
						ShiftTexture = 1, 0.375, 0.28125;
						ShiftTexture = 2, 0.28125, 0.140625;
					Case 15:
						ShiftTexture = 1, 0.375, 0.3125;
						ShiftTexture = 2, 0.28125, 0.15625;
					Case 16:
						ShiftTexture = 1, 0.375, 0.34375;
						ShiftTexture = 2, 0.28125, 0.171875;
					Case 17:
						ShiftTexture = 1, 0.375, 0.375;
						ShiftTexture = 2, 0.28125, 0.1875;
					Case 18:
						ShiftTexture = 1, 0.375, 0.40625;
						ShiftTexture = 2, 0.28125, 0.203125;
					Case 19:
						ShiftTexture = 1, 0.375, 0.4375;
						ShiftTexture = 2, 0.28125, 0.21875;
					Case 20:
						ShiftTexture = 1, 0.375, 0.46875;
						ShiftTexture = 2, 0.28125, 0.234375;
					}
				Case 2:
					ChangeAlpha = 1, 0.0;
				}
			}
		}Else{
			ChangeAlpha = 1, 0.0;
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Horoz"{
		ModelFileName = "";
		If "仕様" <3{
			ChangeModel = "horo.x", 1.0;
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Horo-z"{
		ModelFileName = "";
		If "仕様" <3{
			ApplySwitch "号車"{
			Case 0,7:
				ChangeModel = "", 1.0;
			}
			ChangeModel = "horo.x", 1.0;
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}
	Object3D "Cooler"{
		ModelFileName = "../n_toei6300_1/cooler_2.x";
			If "仕様"==0{
				ApplySwitch "編成"{
				Case 0,3,4,5,6,7,8,9,10,11,12:
					ChangeModel = "../n_toei6300_1/cooler_1.x", 1.0;
				}
			}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "yuka"{
		ModelFileName = "";
		Transparent = 2;
		ApplySwitch "号車"{
		Case 0:
			ChangeModel = "../n_toei6300_1/yuka2.x", 1.0;
		Case 1:
			ChangeModel = "../n_toei6300_1/yuka3.x", 1.0;
		Case 2:
			ChangeModel = "../n_toei6300_1/yuka4.x", 1.0;
		Case 3:
			ChangeModel = "../n_toei6300_1/yuka2.x", 1.0;
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "number_x"{
		ModelFileName = "../n_toei6300_1/number_s.x";
		CastShadow = no;
		ApplySwitch "編成"{
		Case 0:
			ShiftTexture = 0, -0.125, -0.046875;
			ShiftTexture = 2, -0.125, -0.046875;
		Case 1:
			ShiftTexture = 0, -0.125, -0.03125;
			ShiftTexture = 2, -0.125, -0.03125;
		Case 2:
			ShiftTexture = 0, -0.125, -0.015625;
			ShiftTexture = 2, -0.125, -0.015625;
		Case 3:
			ShiftTexture = 0, -0.125, 0.0;
			ShiftTexture = 2, -0.125, 0.0;
		Case 4:
			ShiftTexture = 0, -0.125, 0.015625;
			ShiftTexture = 2, -0.125, 0.015625;
		Case 5:
			ShiftTexture = 0, -0.125, 0.03125;
			ShiftTexture = 2, -0.125, 0.03125;
		Case 6:
			ShiftTexture = 0, -0.125, 0.046875;
			ShiftTexture = 2, -0.125, 0.046875;
		Case 7:
			ShiftTexture = 0, -0.125, 0.0625;
			ShiftTexture = 2, -0.125, 0.0625;
		Case 8:
			ShiftTexture = 0, -0.0625, -0.046875;
			ShiftTexture = 2, -0.0625, -0.046875;
		Case 9:
			ShiftTexture = 0, -0.0625, -0.03125;
			ShiftTexture = 2, -0.0625, -0.03125;
		Case 10:
			ShiftTexture = 0, -0.0625, -0.015625;
			ShiftTexture = 2, -0.0625, -0.015625;
		Case 11:
			ShiftTexture = 0, -0.0625, 0.0;
			ShiftTexture = 2, -0.0625, 0.0;
		Case 12:
			ShiftTexture = 0, -0.0625, 0.015625;
			ShiftTexture = 2, -0.0625, 0.015625;
		Case 13:
			ShiftTexture = 0, -0.0625, 0.03125;
			ShiftTexture = 2, -0.0625, 0.03125;
		Case 14:
			ShiftTexture = 0, -0.0625, 0.046875;
			ShiftTexture = 2, -0.0625, 0.046875;
		Case 15:
			ShiftTexture = 0, -0.0625, 0.0625;
			ShiftTexture = 2, -0.0625, 0.0625;
		Case 16:
			ShiftTexture = 0, 0.0, -0.046875;
			ShiftTexture = 2, 0.0, -0.046875;
		Case 17:
			ShiftTexture = 0, 0.0, -0.03125;
			ShiftTexture = 2, 0.0, -0.03125;
		Case 18:
			ShiftTexture = 0, 0.0, -0.015625;
			ShiftTexture = 2, 0.0, -0.015625;
		Case 19:
			ShiftTexture = 0, 0.0, 0.0;
			ShiftTexture = 2, 0.0, 0.0;
		Case 20:
			ShiftTexture = 0, 0.0, 0.015625;
			ShiftTexture = 2, 0.0, 0.015625;
		Case 21:
			ShiftTexture = 0, 0.0, 0.03125;
			ShiftTexture = 2, 0.0, 0.03125;
		Case 22:
			ShiftTexture = 0, 0.0, 0.046875;
			ShiftTexture = 2, 0.0, 0.046875;
		Case 23:
			ShiftTexture = 0, 0.0, 0.0625;
			ShiftTexture = 2, 0.0, 0.0625;
		Case 24:
			ShiftTexture = 0, 0.0625, -0.046875;
			ShiftTexture = 2, 0.0625, -0.046875;
		Case 25:
			ShiftTexture = 0, 0.0625, -0.03125;
			ShiftTexture = 2, 0.0625, -0.03125;
		Case 26:
			ShiftTexture = 0, 0.0625, -0.015625;
			ShiftTexture = 2, 0.0625, -0.015625;
		Case 27:
			ShiftTexture = 0, 0.0625, 0.0;
			ShiftTexture = 2, 0.0625, 0.0;
		Case 28:
			ShiftTexture = 0, 0.0625, 0.015625;
			ShiftTexture = 2, 0.0625, 0.015625;
		Case 29:
			ShiftTexture = 0, 0.0625, 0.03125;
			ShiftTexture = 2, 0.0625, 0.03125;
		Case 30:
			ShiftTexture = 0, 0.0625, 0.046875;
			ShiftTexture = 2, 0.0625, 0.046875;
		Case 31:
			ShiftTexture = 0, 0.0625, 0.0625;
			ShiftTexture = 2, 0.0625, 0.0625;
		Case 32:
			ShiftTexture = 0, 0.125, -0.046875;
			ShiftTexture = 2, 0.125, -0.046875;
		Case 33:
			ShiftTexture = 0, 0.125, -0.03125;
			ShiftTexture = 2, 0.125, -0.03125;
		Case 34:
			ShiftTexture = 0, 0.125, -0.015625;
			ShiftTexture = 2, 0.125, -0.015625;
		Case 35:
			ShiftTexture = 0, 0.125, 0.0;
			ShiftTexture = 2, 0.125, 0.0;
		Case 36:
			ShiftTexture = 0, 0.125, 0.015625;
			ShiftTexture = 2, 0.125, 0.015625;
		}
		ApplySwitch "号車"{
		Case 0:
			ShiftTexture = 1, 0.0, 0.015625;
			ShiftTexture = 3, 0.0, 0.015625;
		Case 1:
			ShiftTexture = 1, 0.0, 0.03125;
			ShiftTexture = 3, 0.0, 0.03125;
		Case 2:
			ShiftTexture = 1, 0.0, 0.046875;
			ShiftTexture = 3, 0.0, 0.046875;
		Case 3:
			ShiftTexture = 1, 0.0, 0.09375;
			ShiftTexture = 3, 0.0, 0.09375;
		}
		ApplySwitch "編成"{
		Case 0,9,11,12,13,14,15,16,17,18,20,30:
			StaticMove{
				Displacement = (0.0, 0.0, 0.02);
			}
		Case 10:
			StaticMove{
				Displacement = (0.0, 0.0, 0.04);
			}
		}
		If "仕様">2{
			NoShadow = 2,3;
			ChangeAlpha = 2,0.0;
			ChangeAlpha = 3,0.0;
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "number_-x"{
		ModelFileName = "../n_toei6300_1/number_s.x";
		CastShadow = no;
		ApplySwitch "編成"{
		Case 0:
			ShiftTexture = 0, -0.125, -0.046875;
			ShiftTexture = 2, -0.125, -0.046875;
		Case 1:
			ShiftTexture = 0, -0.125, -0.03125;
			ShiftTexture = 2, -0.125, -0.03125;
		Case 2:
			ShiftTexture = 0, -0.125, -0.015625;
			ShiftTexture = 2, -0.125, -0.015625;
		Case 3:
			ShiftTexture = 0, -0.125, 0.0;
			ShiftTexture = 2, -0.125, 0.0;
		Case 4:
			ShiftTexture = 0, -0.125, 0.015625;
			ShiftTexture = 2, -0.125, 0.015625;
		Case 5:
			ShiftTexture = 0, -0.125, 0.03125;
			ShiftTexture = 2, -0.125, 0.03125;
		Case 6:
			ShiftTexture = 0, -0.125, 0.046875;
			ShiftTexture = 2, -0.125, 0.046875;
		Case 7:
			ShiftTexture = 0, -0.125, 0.0625;
			ShiftTexture = 2, -0.125, 0.0625;
		Case 8:
			ShiftTexture = 0, -0.0625, -0.046875;
			ShiftTexture = 2, -0.0625, -0.046875;
		Case 9:
			ShiftTexture = 0, -0.0625, -0.03125;
			ShiftTexture = 2, -0.0625, -0.03125;
		Case 10:
			ShiftTexture = 0, -0.0625, -0.015625;
			ShiftTexture = 2, -0.0625, -0.015625;
		Case 11:
			ShiftTexture = 0, -0.0625, 0.0;
			ShiftTexture = 2, -0.0625, 0.0;
		Case 12:
			ShiftTexture = 0, -0.0625, 0.015625;
			ShiftTexture = 2, -0.0625, 0.015625;
		Case 13:
			ShiftTexture = 0, -0.0625, 0.03125;
			ShiftTexture = 2, -0.0625, 0.03125;
		Case 14:
			ShiftTexture = 0, -0.0625, 0.046875;
			ShiftTexture = 2, -0.0625, 0.046875;
		Case 15:
			ShiftTexture = 0, -0.0625, 0.0625;
			ShiftTexture = 2, -0.0625, 0.0625;
		Case 16:
			ShiftTexture = 0, 0.0, -0.046875;
			ShiftTexture = 2, 0.0, -0.046875;
		Case 17:
			ShiftTexture = 0, 0.0, -0.03125;
			ShiftTexture = 2, 0.0, -0.03125;
		Case 18:
			ShiftTexture = 0, 0.0, -0.015625;
			ShiftTexture = 2, 0.0, -0.015625;
		Case 19:
			ShiftTexture = 0, 0.0, 0.0;
			ShiftTexture = 2, 0.0, 0.0;
		Case 20:
			ShiftTexture = 0, 0.0, 0.015625;
			ShiftTexture = 2, 0.0, 0.015625;
		Case 21:
			ShiftTexture = 0, 0.0, 0.03125;
			ShiftTexture = 2, 0.0, 0.03125;
		Case 22:
			ShiftTexture = 0, 0.0, 0.046875;
			ShiftTexture = 2, 0.0, 0.046875;
		Case 23:
			ShiftTexture = 0, 0.0, 0.0625;
			ShiftTexture = 2, 0.0, 0.0625;
		Case 24:
			ShiftTexture = 0, 0.0625, -0.046875;
			ShiftTexture = 2, 0.0625, -0.046875;
		Case 25:
			ShiftTexture = 0, 0.0625, -0.03125;
			ShiftTexture = 2, 0.0625, -0.03125;
		Case 26:
			ShiftTexture = 0, 0.0625, -0.015625;
			ShiftTexture = 2, 0.0625, -0.015625;
		Case 27:
			ShiftTexture = 0, 0.0625, 0.0;
			ShiftTexture = 2, 0.0625, 0.0;
		Case 28:
			ShiftTexture = 0, 0.0625, 0.015625;
			ShiftTexture = 2, 0.0625, 0.015625;
		Case 29:
			ShiftTexture = 0, 0.0625, 0.03125;
			ShiftTexture = 2, 0.0625, 0.03125;
		Case 30:
			ShiftTexture = 0, 0.0625, 0.046875;
			ShiftTexture = 2, 0.0625, 0.046875;
		Case 31:
			ShiftTexture = 0, 0.0625, 0.0625;
			ShiftTexture = 2, 0.0625, 0.0625;
		Case 32:
			ShiftTexture = 0, 0.125, -0.046875;
			ShiftTexture = 2, 0.125, -0.046875;
		Case 33:
			ShiftTexture = 0, 0.125, -0.03125;
			ShiftTexture = 2, 0.125, -0.03125;
		Case 34:
			ShiftTexture = 0, 0.125, -0.015625;
			ShiftTexture = 2, 0.125, -0.015625;
		Case 35:
			ShiftTexture = 0, 0.125, 0.0;
			ShiftTexture = 2, 0.125, 0.0;
		Case 36:
			ShiftTexture = 0, 0.125, 0.015625;
			ShiftTexture = 2, 0.125, 0.015625;
		}
		ApplySwitch "号車"{
		Case 0:
			ShiftTexture = 1, 0.0, 0.015625;
			ShiftTexture = 3, 0.0, 0.015625;
		Case 1:
			ShiftTexture = 1, 0.0, 0.03125;
			ShiftTexture = 3, 0.0, 0.03125;
		Case 2:
			ShiftTexture = 1, 0.0, 0.046875;
			ShiftTexture = 3, 0.0, 0.046875;
		Case 3:
			ShiftTexture = 1, 0.0, 0.09375;
			ShiftTexture = 3, 0.0, 0.09375;
		}
		ApplySwitch "編成"{
		Case 0,9,11,12,13,14,15,16,17,18,20,30:
			If "号車"==1{
				StaticMove{
					Displacement = (0.0, 0.0, 0.02);
				}
			}Else{
				StaticMove{
					Displacement = (0.0, 0.0, 0.01);
				}
			}
		Case 10:
			If "号車"==1{
				StaticMove{
					Displacement = (0.0, 0.0, 0.04);
				}
			}Else{
				StaticMove{
					Displacement = (0.0, 0.0, 0.02);
				}
			}
		Default:
			If "号車"==0{
				StaticMove{
					Displacement = (0.0, 0.0, -0.02);
				}
			}
		}
		If "仕様">2{
			NoShadow = 2,3;
			ChangeAlpha = 2,0.0;
			ChangeAlpha = 3,0.0;
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}
	Object3D "Sticker"{
		ModelFileName = "../n_toei6300_1/sticker.x";
		CastShadow = no;
		ApplySwitch "号車"{
		Case 0:
			If "仕様"!=0{
				NoShadow = 5,6;
				ChangeAlpha = 5,0.0;
				ChangeAlpha = 6,0.0;
			}Else{
				NoShadow = 6;
				ChangeAlpha = 6,0.0;
			}
			ShiftTexture = 0, 0.015625, 0.0;
			ShiftTexture = 2, 0.015625, 0.0;
		Case 1:
			If "編成">12{
				NoShadow = 4,5,6;
				ChangeAlpha = 4,0.0;
				ChangeAlpha = 5,0.0;
				ChangeAlpha = 6,0.0;
			}Else{
				NoShadow = 1,4,5,6;
				ChangeAlpha = 1,0.0;
				ChangeAlpha = 4,0.0;
				ChangeAlpha = 5,0.0;
				ChangeAlpha = 6,0.0;
			}
			ShiftTexture = 0, 0.03125, 0.0;
		Case 2:
			If "編成"<5&&"弱冷房車"==1{
				NoShadow = 1,4,5,6;
				ChangeAlpha = 1,0.0;
				ChangeAlpha = 4,0.0;
				ChangeAlpha = 5,0.0;
				ChangeAlpha = 6,0.0;
			}Else{
				If "編成">12{
					NoShadow = 4,5;
					ChangeAlpha = 4,0.0;
					ChangeAlpha = 5,0.0;
				}Else{
					NoShadow = 1,4,5;
					ChangeAlpha = 1,0.0;
					ChangeAlpha = 4,0.0;
					ChangeAlpha = 5,0.0;
				}
			}
			ShiftTexture = 0, 0.0, 0.015625;
			ShiftTexture = 2, 0.015625, 0.0;
		Case 3:
			If "仕様"!=0{
				NoShadow = 5,6;
				ChangeAlpha = 5,0.0;
				ChangeAlpha = 6,0.0;
				ShiftTexture = 0, 0.015625, 0.0;
			}Else{
				NoShadow = 6;
				ChangeAlpha = 6,0.0;
				ShiftTexture = 0, 0.015625, 0.0;
			}
			ShiftTexture = 0, 0.015625, 0.015625;
		}
		Joint3D "MainBody"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}
	Object3D "Doorl"{
		ModelFileName = "../n_toei6300_1/tojime.x";
		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 "Dummy"{
			AttachCoord = (-1.39, 3.16, -0.53);
		}
	}
	Object3D "Doorr"{
		ModelFileName = "../n_toei6300_1/tojime.x";
		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 "Dummy"{
			AttachCoord = (1.39, 3.16, 0.53);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}
	Object3D "Shadow"{
		ModelFileName = "";
		NoShadow = 0;
		If!"簡易影"&&!"_SHADOW" { 
			ChangeModel = "../n_toei6300_1/Shadow.x", 1.0;
		}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "HishiBase"{
		ModelFileName = "../n_toei6300_1/pt.x";
		AlphaZeroTest = 3;
			ApplySwitch "号車"{
			Case 1,2:
				ChangeModel = "", 1.0;
			}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "HishiBase1"{
		ModelFileName = "";
		Joint3D "Dummy"{
			AttachCoord = (0.0, 3.79, 6.9);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}
	Object3D "HishiShoe1"{
		ModelFileName = "../n_toei6300_1/HishiShoe.x";
			ApplySwitch "号車"{
			Case 1,2:
			ChangeModel = "", 1.0;
			}
		ApplySwitch "電源"{
		Case 0:
		ApplySwitch "パンタ高さ"{
		Case 0:
			TrackingMove{
				TrackingID = "Trolley";			
				AscentRange = 1.6;
				SliderRange = 1.0;
				Displacement = (0.0, 1.04, 0.0);
				PreAnimationDelay = 0.1;
				AnimationTime = 1.0;
			}
		Case 1:
			StaticMove{
				Displacement = (0.0, 0.35, 0.0);
				PreAnimationDelay = 0.1;
				AnimationTime = 1.0;
			}
		}
		}
		Joint3D "HishiBase1"{
			AttachCoord = (0.0, 0.3, 0.0);
		}
	}
	TriangleZY{
		Link "HishiArm-y-z1"{
			ModelFileName = "../n_toei6300_1/HishiArm-y.x";
			ApplySwitch "号車"{
			Case 1,2:
			ChangeModel = "", 1.0;
			}
			JointZYX "HishiBase1"{
				AttachCoord = (0.485, 0.02);
				LocalCoord = (0.0, 0.0);
			}
			LinkCoord = (0.99, 0.00);
		}
		Link "HishiArmy-z1"{
			ModelFileName = "../n_toei6300_1/HishiArmy.x";
			ApplySwitch "号車"{
			Case 1,2:
			ChangeModel = "", 1.0;
			}
			JointZYX "HishiShoe1"{
				AttachCoord = (0.0, -0.12);
				LocalCoord = (0.0, 0.0);
			}
			LinkCoord = (1.48, -0.00);
		}
	}
	TriangleZY{
		Link "HishiArmyz1"{
			ModelFileName = "../n_toei6300_1/HishiArmy.x";
			Turn = yes;
			ApplySwitch "号車"{
			Case 1,2:
			ChangeModel = "", 1.0;
			}
			JointZYX "HishiShoe1"{
				AttachCoord = (0.0, -0.12);
				LocalCoord = (0.0, 0.0);
			}
			LinkCoord = (1.48, 0.0);
		}
		Link "HishiArm-yz1"{
			ModelFileName = "../n_toei6300_1/HishiArm-y.x";
			Turn = yes;
			ApplySwitch "号車"{
			Case 1,2:
			ChangeModel = "", 1.0;
			}
			JointZYX "HishiBase1"{
				AttachCoord = (-0.485, 0.02);
				LocalCoord = (0.0, 0.00);
			}
			LinkCoord = (0.99, 0.00);
		}
	}
	Object3D "HishiBase2"{
		ModelFileName = "";
			ApplySwitch "号車"{
			Case 1,2:
			ChangeModel = "", 1.0;
			}
		Joint3D "Dummy"{
			AttachCoord = (0.0, 3.79, -6.9);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}
	Object3D "HishiShoe2"{
		ModelFileName = "../n_toei6300_1/HishiShoe.x";
			ApplySwitch "号車"{
			Case 1,2:
			ChangeModel = "", 1.0;
			}
		ApplySwitch "電源"{
		Case 0:
		ApplySwitch "パンタ高さ"{
		Case 0:
			TrackingMove{
				TrackingID = "Trolley";			
				AscentRange = 1.6;
				SliderRange = 1.0;
				Displacement = (0.0, 1.04, 0.0);
				PreAnimationDelay = 0.1;
				AnimationTime = 1.0;
			}
		Case 1:
			StaticMove{
				Displacement = (0.0, 0.35, 0.0);
				PreAnimationDelay = 0.1;
				AnimationTime = 1.0;
			}
		}
		}
		Joint3D "HishiBase2"{
			AttachCoord = (0.0, 0.3, 0.0);
		}
	}
	TriangleZY{
		Link "HishiArm-y-z2"{
			ModelFileName = "../n_toei6300_1/HishiArm-y.x";
			ApplySwitch "号車"{
			Case 1,2:
			ChangeModel = "", 1.0;
			}
			JointZYX "HishiBase2"{
				AttachCoord = (0.485, 0.02);
				LocalCoord = (0.0, 0.0);
			}
			LinkCoord = (0.99, 0.00);
		}
		Link "HishiArmy-z2"{
			ModelFileName = "../n_toei6300_1/HishiArmy.x";
			ApplySwitch "号車"{
			Case 1,2:
			ChangeModel = "", 1.0;
			}
			JointZYX "HishiShoe2"{
				AttachCoord = (0.0, -0.06);
				LocalCoord = (0.0, 0.0);
			}
			LinkCoord = (1.48, -0.00);
		}
	}
	TriangleZY{
		Link "HishiArmyz2"{
			ModelFileName = "../n_toei6300_1/HishiArmy.x";
			Turn = yes;
			ApplySwitch "号車"{
			Case 1,2:
			ChangeModel = "", 1.0;
			}
			JointZYX "HishiShoe2"{
				AttachCoord = (0.0, -0.06);
				LocalCoord = (0.0, 0.0);
			}
			LinkCoord = (1.48, 0.0);
		}
		Link "HishiArm-yz2"{
			ModelFileName = "../n_toei6300_1/HishiArm-y.x";
			Turn = yes;
			ApplySwitch "号車"{
			Case 1,2:
			ChangeModel = "", 1.0;
			}
			JointZYX "HishiBase2"{
				AttachCoord = (-0.485, 0.02);
				LocalCoord = (0.0, 0.00);
			}
			LinkCoord = (0.99, 0.00);
		}
	}
}

