PluginHeader{
	RailSimVersion = 2.00;
	PluginType = Station;
	PluginName = "[地下鉄]トンネル接続部他";
	PluginAuthor = "n";
	IconTexture = "..//..//Girder/n_Subway_Tunnel_Shield_S/i.png";
}

StationInfo{
}
Platform{
	OpenDoor = no, no;
	Coord = (0.0, 0.0, 0.0);
	Coord = (0.0, 0.0, 0.0);
}
DefineSwitch "モデル"{
	Entry = "複線シールド";
	Entry = "単線シールド";
	Entry = "複線開削1";
	Entry = "複線開削2";
	Entry = "複線開削(支柱部のみ)";
	Entry = "複線開削(支柱なし)";
	Entry = "単線開削";
	Entry = "単線開削(端部のみ)";
	Entry = "複線中央柱1";
	Entry = "複線中央柱2";
	Entry = "小断面-複線開削";
	Entry = "小断面-複線開削(支柱部のみ)";
	Entry = "小断面-複線開削(支柱なし)";
	Entry = "小断面-単線開削";
	Entry = "小断面-単線開削(端部のみ)";
	Entry = "小断面-複線中央柱";
	Entry = "壁1";
	Entry = "壁2";
	Entry = "(デフォ架線高対応)単線シールド";
	Entry = "(デフォ架線高対応)複線開削1";
	Entry = "(デフォ架線高対応)複線開削2";
	Entry = "(デフォ架線高対応)複線開削(支柱部のみ)";
	Entry = "(デフォ架線高対応)複線開削(支柱なし)";
	Entry = "(デフォ架線高対応)単線開削";
	Entry = "(デフォ架線高対応)単線開削(端部のみ)";
}
DefineSwitch "テクスチャ"{
	Entry = "暗";
	Entry = "明";
}
DefineSwitch "複線接続設置変位"{
	Entry = "入";
	Entry = "入(反転)";
	Entry = "切";
}
DefineSwitch "設置高さ補助"{
	Entry = "入(50Nレール)";
	Entry = "入(60kgレール)";
	Entry = "切";
}
PrimaryAssembly{
	Object3D "Model"{
		ModelFileName = "";
		ApplySwitch "モデル"{
		Case 0:
			ChangeModel = "00.x", 1.0;
		Case 1:
			ChangeModel = "01.x", 1.0;
		Case 2:
			ChangeModel = "02.x", 1.0;
		Case 3:
			ChangeModel = "03.x", 1.0;
		Case 4:
			ChangeModel = "04.x", 1.0;
		Case 5:
			ChangeModel = "05.x", 1.0;
		Case 6:
			ChangeModel = "06.x", 1.0;
		Case 7:
			ChangeModel = "07.x", 1.0;
		Case 8:
			ChangeModel = "../../Girder/n_Subway_Tunnel_CaC_D1/pillar.x", 1.0;
		Case 9:
			ChangeModel = "../../Girder/n_Subway_Tunnel_CaC_D2/pillar.x", 1.0;
		Case 10:
			ChangeModel = "10.x", 1.0;
		Case 11:
			ChangeModel = "11.x", 1.0;
		Case 12:
			ChangeModel = "12.x", 1.0;
		Case 13:
			ChangeModel = "13.x", 1.0;
		Case 14:
			ChangeModel = "14.x", 1.0;
		Case 15:
			ChangeModel = "../../Girder/n_Subway_Tunnel_CaC_mini_D1/pillar.x", 1.0;
		Case 16:
			ChangeModel = "16.x", 1.0;
		Case 17:
			ChangeModel = "17.x", 1.0;
		Case 18:
			ChangeModel = "18.x", 1.0;
		Case 19:
			ChangeModel = "19.x", 1.0;
		Case 20:
			ChangeModel = "20.x", 1.0;
		Case 21:
			ChangeModel = "21.x", 1.0;
		Case 22:
			ChangeModel = "22.x", 1.0;
		Case 23:
			ChangeModel = "23.x", 1.0;
		Case 24:
			ChangeModel = "24.x", 1.0;
		Case 25:
			ChangeModel = "25.x", 1.0;
		Case 26:
			ChangeModel = "26.x", 1.0;
		}
		ApplySwitch "テクスチャ"{
		Case 0:
			ChangeMaterial{
				MaterialID = 0;
				Diffuse = 0.1, 0.1, 0.1, 1.0;
				Ambient = 0.1, 0.1, 0.1;
			}
		Case 1:
			ChangeMaterial{
				MaterialID = 0;
				Diffuse = 0.35, 0.35, 0.35, 1.0;
				Ambient = 0.35, 0.35, 0.35;
			}
		}
		ApplySwitch "モデル"{
		Case 0:
		ApplySwitch "複線接続設置変位"{
		Case 0:
			StaticMove{
				Displacement = (1.8, 0.0, 0.0);
			}
		Case 1:
			StaticMove{
				Displacement = (-1.8, 0.0, 0.0);
			}
		}
		Case 2,3,4,5,8,9,19,20,21,22:
		ApplySwitch "複線接続設置変位"{
		Case 0:
			StaticMove{
				Displacement = (2.0, 0.0, 0.0);
			}
		Case 1:
			StaticMove{
				Displacement = (-2.0, 0.0, 0.0);
			}
		}
		Case 10,11,12,15:
		ApplySwitch "複線接続設置変位"{
		Case 0:
			StaticMove{
				Displacement = (1.6, 0.0, 0.0);
			}
		Case 1:
			StaticMove{
				Displacement = (-1.6, 0.0, 0.0);
			}
		}
		}
		ApplySwitch "設置高さ補助"{
		Case 0:
			StaticMove{
				Displacement = (0.0, -0.053, 0.0);
			}
		Case 1:
			StaticMove{
				Displacement = (0.0, -0.032, 0.0);
			}
		}
		Joint3D "_LOCAL"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
}
