PluginHeader{
	RailSimVersion = 2.15;
	PluginType = Station;
	PluginName = "[橋梁]下路式スルー・プレートガーター橋02_終端(アンカー型)";
	PluginAuthor = "NyahoTaro";
	IconTexture = "../../Struct/common_nya/nyaicon.png";
}

StationInfo{
}

DefineSwitch "■形状"{
/*
	Entry = "左";
	Entry = "右";
	Entry = "両";
*/
}
DefineSwitch "├主桁終端"{
	Entry = "あり";
	Entry = "なし";
}
DefineSwitch "├縦桁終端"{
	Entry = "あり";
	Entry = "なし";
}
DefineSwitch "└終端パーツ"{
	Entry = "なし";
	Entry = "01";
	Entry = "02";
}
DefineSwitch "■カラーリング"{
	Entry = "アイボリー";
	Entry = "スカイブルー";
	Entry = "ライトグリーン";
	Entry = "黄";
	Entry = "灰";
	Entry = "朱色";
	Entry = "焦茶";
	Entry = "深赤";
	Entry = "深緑";
	Entry = "水色";
	Entry = "赤";
	Entry = "茶";
}
DefineSwitch "■Y座標調節"{
	Entry = "50Nレール(狭軌)";//-0.053
	Entry = "60Nレール(標準軌)";//-0.074
	Entry = "無効";
}

PrimaryAssembly{


//////////////////////////////
//
//	Base
//
//////////////////////////////

	Object3D "Base"{
		ModelFileName = "";
		ApplySwitch "■Y座標調節"{
		Case 0:		StaticMove{	Displacement = (0.0, -0.053, 0.0);	}
		Case 1:		StaticMove{	Displacement = (0.0, -0.074, 0.0);	}
		}
		Joint3D "_LOCAL"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, 1.0);
		}
	}

	Object3D "SyugetaEnd"{
		ModelFileName = "../../Station/nya_D-Through-PlateGirder02_End@Ancor/SyugetaEnd.x"; ModelScale = 1.0;
		ApplySwitch "├主桁終端"{
		Case 1:		ChangeModel = "", 1.0;
		}
		ApplySwitch "■カラーリング"{
		Case 0:		ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_Ivory.dds";
		Case 1:		ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_SkyBlue.dds";
		Case 2:		ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_LightGreen.dds";
		Case 3:		ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_Yellow.dds";
		Case 4:		ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_Gray.dds";
		Case 5:		ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_Vermilion.dds";
		Case 6:		ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_DarkBrown.dds";
		Case 7:		ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_DarkRed.dds";
		Case 8:		ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_DarkGreen.dds";
		Case 9:		ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_LightBlue.dds";
		Case 10:	ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_Red.dds";
		Case 11:	ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_Brown.dds";
		}
		Joint3D "Base"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, 1.0);
		}
	}

	Object3D "TategetaEnd"{
		ModelFileName = "../../Station/nya_D-Through-PlateGirder02_End@Ancor/TategetaEnd.x"; ModelScale = 1.0;
		ApplySwitch "├縦桁終端"{
		Case 1:		ChangeModel = "", 1.0;
		}
		ApplySwitch "■カラーリング"{
		Case 0:		ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_Ivory.dds";
		Case 1:		ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_SkyBlue.dds";
		Case 2:		ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_LightGreen.dds";
		Case 3:		ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_Yellow.dds";
		Case 4:		ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_Gray.dds";
		Case 5:		ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_Vermilion.dds";
		Case 6:		ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_DarkBrown.dds";
		Case 7:		ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_DarkRed.dds";
		Case 8:		ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_DarkGreen.dds";
		Case 9:		ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_LightBlue.dds";
		Case 10:	ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_Red.dds";
		Case 11:	ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_Brown.dds";
		}
		Joint3D "Base"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, 1.0);
		}
	}

	Object3D "EndParts"{
		ModelFileName = ""; ModelScale = 1.0;
		ApplySwitch "└終端パーツ"{
		Case 1:		ChangeModel = "../../Station/nya_D-Through-PlateGirder02_End@Ancor/EndParts01.x", 1.0;
		Case 2:		ChangeModel = "../../Station/nya_D-Through-PlateGirder02_End@Ancor/EndParts02.x", 1.0;
		}
		ApplySwitch "■カラーリング"{
		Case 0:		ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_Ivory.dds";
		Case 1:		ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_SkyBlue.dds";
		Case 2:		ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_LightGreen.dds";
		Case 3:		ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_Yellow.dds";
		Case 4:		ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_Gray.dds";
		Case 5:		ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_Vermilion.dds";
		Case 6:		ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_DarkBrown.dds";
		Case 7:		ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_DarkRed.dds";
		Case 8:		ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_DarkGreen.dds";
		Case 9:		ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_LightBlue.dds";
		Case 10:	ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_Red.dds";
		Case 11:	ChangeTexture = 0, "../../Girder/nya_PlateGirder02_cm/PlateGirder02_Brown.dds";
		}
		Joint3D "Base"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, 1.0);
		}
	}


}
