PluginHeader{
	RailSimVersion = 2.12;
	PluginType = Struct;
	PluginName = "[道路]月極駐車場路面標示番号";
	PluginAuthor = "NyahoTaro";
	IconTexture = "../common_nya/nyaicon.png";
	Description = "";
}
StructInfo{
}

DefineSwitch "桁数"{
	Entry = "1桁";
	Entry = "2桁";
	Entry = "3桁";
}
DefineSwitch "1桁目"{
	Entry = "0";
	Entry = "1";
	Entry = "2";
	Entry = "3";
	Entry = "4";
	Entry = "5";
	Entry = "6";
	Entry = "7";
	Entry = "8";
	Entry = "9";
}

DefineSwitch "2桁目"{
	Entry = "0";
	Entry = "1";
	Entry = "2";
	Entry = "3";
	Entry = "4";
	Entry = "5";
	Entry = "6";
	Entry = "7";
	Entry = "8";
	Entry = "9";
}

DefineSwitch "3桁目"{
	Entry = "0";
	Entry = "1";
	Entry = "2";
	Entry = "3";
	Entry = "4";
	Entry = "5";
	Entry = "6";
	Entry = "7";
	Entry = "8";
	Entry = "9";
}
DefineSwitch "サイズ"{
	Entry = "x0.2";
	Entry = "x0.3";
	Entry = "x0.4";
	Entry = "x0.5";
	Entry = "x0.6";
	Entry = "x0.7";
	Entry = "x0.8";
	Entry = "x0.9";
	Entry = "x1.0";
}
DefineSwitch "色"{
	Entry = "白色";
	Entry = "黄色";
	Entry = "赤色";
}

DefineSwitch "設置位置微調整(Y)"{
	Entry = "Default(+0.01)";
	Entry = "+0.00";
	Entry = "+0.01";
	Entry = "+0.02";
	Entry = "+0.03";
	Entry = "+0.04";
}


PrimaryAssembly{
	Object3D "Model"{
		ModelFileName = "";	ModelScale = 100.0;
		NoCastShadow = 0,1,2;
		AlphaZeroTest = 0,1,2;
		ApplySwitch "サイズ"{
		Case 0://0.2
			ApplySwitch "桁数"{
			Case 0:		ChangeModel = "../../Struct/nya_Road_cm/Model/nya_LineNumber01-1.0x2.0-1.x", 0.2;
			Case 1:		ChangeModel = "../../Struct/nya_Road_cm/Model/nya_LineNumber01-1.0x2.0-2.x", 0.2;
			Case 2:		ChangeModel = "../../Struct/nya_Road_cm/Model/nya_LineNumber01-1.0x2.0-3.x", 0.2;
			}
		Case 1://0.3
			ApplySwitch "桁数"{
			Case 0:		ChangeModel = "../../Struct/nya_Road_cm/Model/nya_LineNumber01-1.0x2.0-1.x", 0.3;
			Case 1:		ChangeModel = "../../Struct/nya_Road_cm/Model/nya_LineNumber01-1.0x2.0-2.x", 0.3;
			Case 2:		ChangeModel = "../../Struct/nya_Road_cm/Model/nya_LineNumber01-1.0x2.0-3.x", 0.3;
			}
		Case 2://0.4
			ApplySwitch "桁数"{
			Case 0:		ChangeModel = "../../Struct/nya_Road_cm/Model/nya_LineNumber01-1.0x2.0-1.x", 0.4;
			Case 1:		ChangeModel = "../../Struct/nya_Road_cm/Model/nya_LineNumber01-1.0x2.0-2.x", 0.4;
			Case 2:		ChangeModel = "../../Struct/nya_Road_cm/Model/nya_LineNumber01-1.0x2.0-3.x", 0.4;
			}
		Case 3://0.5
			ApplySwitch "桁数"{
			Case 0:		ChangeModel = "../../Struct/nya_Road_cm/Model/nya_LineNumber01-1.0x2.0-1.x", 0.5;
			Case 1:		ChangeModel = "../../Struct/nya_Road_cm/Model/nya_LineNumber01-1.0x2.0-2.x", 0.5;
			Case 2:		ChangeModel = "../../Struct/nya_Road_cm/Model/nya_LineNumber01-1.0x2.0-3.x", 0.5;
			}
		Case 4://0.6
			ApplySwitch "桁数"{
			Case 0:		ChangeModel = "../../Struct/nya_Road_cm/Model/nya_LineNumber01-1.0x2.0-1.x", 0.6;
			Case 1:		ChangeModel = "../../Struct/nya_Road_cm/Model/nya_LineNumber01-1.0x2.0-2.x", 0.6;
			Case 2:		ChangeModel = "../../Struct/nya_Road_cm/Model/nya_LineNumber01-1.0x2.0-3.x", 0.6;
			}
		Case 5://0.7
			ApplySwitch "桁数"{
			Case 0:		ChangeModel = "../../Struct/nya_Road_cm/Model/nya_LineNumber01-1.0x2.0-1.x", 0.7;
			Case 1:		ChangeModel = "../../Struct/nya_Road_cm/Model/nya_LineNumber01-1.0x2.0-2.x", 0.7;
			Case 2:		ChangeModel = "../../Struct/nya_Road_cm/Model/nya_LineNumber01-1.0x2.0-3.x", 0.7;
			}
		Case 6://0.8
			ApplySwitch "桁数"{
			Case 0:		ChangeModel = "../../Struct/nya_Road_cm/Model/nya_LineNumber01-1.0x2.0-1.x", 0.8;
			Case 1:		ChangeModel = "../../Struct/nya_Road_cm/Model/nya_LineNumber01-1.0x2.0-2.x", 0.8;
			Case 2:		ChangeModel = "../../Struct/nya_Road_cm/Model/nya_LineNumber01-1.0x2.0-3.x", 0.8;
			}
		Case 7://0.9
			ApplySwitch "桁数"{
			Case 0:		ChangeModel = "../../Struct/nya_Road_cm/Model/nya_LineNumber01-1.0x2.0-1.x", 0.9;
			Case 1:		ChangeModel = "../../Struct/nya_Road_cm/Model/nya_LineNumber01-1.0x2.0-2.x", 0.9;
			Case 2:		ChangeModel = "../../Struct/nya_Road_cm/Model/nya_LineNumber01-1.0x2.0-3.x", 0.9;
			}
		Case 8://1.0
			ApplySwitch "桁数"{
			Case 0:		ChangeModel = "../../Struct/nya_Road_cm/Model/nya_LineNumber01-1.0x2.0-1.x", 1.0;
			Case 1:		ChangeModel = "../../Struct/nya_Road_cm/Model/nya_LineNumber01-1.0x2.0-2.x", 1.0;
			Case 2:		ChangeModel = "../../Struct/nya_Road_cm/Model/nya_LineNumber01-1.0x2.0-3.x", 1.0;
			}
		}
		ApplySwitch "1桁目"{
		Case 0:		ShiftTexture = 0, 0.0000, 0.0;
		Case 1:		ShiftTexture = 0, 0.0625, 0.0;
		Case 2:		ShiftTexture = 0, 0.1250, 0.0;
		Case 3:		ShiftTexture = 0, 0.1875, 0.0;
		Case 4:		ShiftTexture = 0, 0.2500, 0.0;
		Case 5:		ShiftTexture = 0, 0.3125, 0.0;
		Case 6:		ShiftTexture = 0, 0.3750, 0.0;
		Case 7:		ShiftTexture = 0, 0.4375, 0.0;
		Case 8:		ShiftTexture = 0, 0.5000, 0.0;
		Case 9:		ShiftTexture = 0, 0.5625, 0.0;
		Case 10:	ShiftTexture = 0, 0.6250, 0.0;
		Case 11:	ShiftTexture = 0, 0.6875, 0.0;
		Case 12:	ShiftTexture = 0, 0.7500, 0.0;
		Case 13:	ShiftTexture = 0, 0.8125, 0.0;
		Case 14:	ShiftTexture = 0, 0.8750, 0.0;
		Case 15:	ShiftTexture = 0, 0.9375, 0.0;
		}
		ApplySwitch "2桁目"{
		Case 0:		ShiftTexture = 1, 0.0000, 0.0;
		Case 1:		ShiftTexture = 1, 0.0625, 0.0;
		Case 2:		ShiftTexture = 1, 0.1250, 0.0;
		Case 3:		ShiftTexture = 1, 0.1875, 0.0;
		Case 4:		ShiftTexture = 1, 0.2500, 0.0;
		Case 5:		ShiftTexture = 1, 0.3125, 0.0;
		Case 6:		ShiftTexture = 1, 0.3750, 0.0;
		Case 7:		ShiftTexture = 1, 0.4375, 0.0;
		Case 8:		ShiftTexture = 1, 0.5000, 0.0;
		Case 9:		ShiftTexture = 1, 0.5625, 0.0;
		Case 10:	ShiftTexture = 1, 0.6250, 0.0;
		Case 11:	ShiftTexture = 1, 0.6875, 0.0;
		Case 12:	ShiftTexture = 1, 0.7500, 0.0;
		Case 13:	ShiftTexture = 1, 0.8125, 0.0;
		Case 14:	ShiftTexture = 1, 0.8750, 0.0;
		Case 15:	ShiftTexture = 1, 0.9375, 0.0;
		}
		ApplySwitch "3桁目"{
		Case 0:		ShiftTexture = 2, 0.0000, 0.0;
		Case 1:		ShiftTexture = 2, 0.0625, 0.0;
		Case 2:		ShiftTexture = 2, 0.1250, 0.0;
		Case 3:		ShiftTexture = 2, 0.1875, 0.0;
		Case 4:		ShiftTexture = 2, 0.2500, 0.0;
		Case 5:		ShiftTexture = 2, 0.3125, 0.0;
		Case 6:		ShiftTexture = 2, 0.3750, 0.0;
		Case 7:		ShiftTexture = 2, 0.4375, 0.0;
		Case 8:		ShiftTexture = 2, 0.5000, 0.0;
		Case 9:		ShiftTexture = 2, 0.5625, 0.0;
		Case 10:	ShiftTexture = 2, 0.6250, 0.0;
		Case 11:	ShiftTexture = 2, 0.6875, 0.0;
		Case 12:	ShiftTexture = 2, 0.7500, 0.0;
		Case 13:	ShiftTexture = 2, 0.8125, 0.0;
		Case 14:	ShiftTexture = 2, 0.8750, 0.0;
		Case 15:	ShiftTexture = 2, 0.9375, 0.0;
		}
		ApplySwitch "色"{
		Case 1:
			ChangeMaterial{
				MaterialID = 0,1,2;
				Diffuse = 0.749, 0.525, 0.235, 1.0;
				Ambient = 0.749, 0.525, 0.235;
			}
		Case 2:
			ChangeMaterial{
				MaterialID = 0,1,2;
				Diffuse = 0.750, 0.250, 0.250, 1.0;
				Ambient = 0.750, 0.250, 0.250;
			}
		}
		ApplySwitch "設置位置微調整(Y)"{
		Case 0,2:	StaticMove{ Displacement = (0.0, 0.01, 0.0); }
		Case 3:		StaticMove{ Displacement = (0.0, 0.02, 0.0); }
		Case 4:		StaticMove{ Displacement = (0.0, 0.03, 0.0); }
		Case 5:		StaticMove{ Displacement = (0.0, 0.04, 0.0); }
		}

		Joint3D "_LOCAL"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, 1.0);
		}
	}
}
