PluginHeader{
	RailSimVersion = 2.12;
	PluginType = Struct;
	PluginName = "[設備]バラストプレート";
	PluginAuthor = "NyahoTaro";
	IconTexture = "../common_nya/nyaicon.png";
	Description = "";
}
StructInfo{
}

DefineSwitch "サイズ"{
	Entry = "01x01";
	Entry = "01x05";
	Entry = "01x10";
	Entry = "01x20";
	Entry = "02x10";
	Entry = "02x20";
	Entry = "02x40";
	Entry = "04x10";
	Entry = "04x20";
	Entry = "04x40";
	Entry = "05x10";
	Entry = "05x20";
	Entry = "05x40";
	Entry = "10x10";
	Entry = "10x20";
	Entry = "10x40";
	Entry = "10x80";
}

DefineSwitch "テクスチャ"{
	Entry = "0";
	Entry = "1";
	Entry = "2";
	Entry = "3";
}

DefineSwitch "Y座標_0.x"{
	Entry = "+0.0";		Entry = "+0.1";		Entry = "+0.2";		Entry = "+0.3";		Entry = "+0.4";		Entry = "+0.5";		Entry = "+0.6";		Entry = "+0.7";		Entry = "+0.8";		Entry = "+0.9";
	Entry = "-0.0";		Entry = "-0.1";		Entry = "-0.2";		Entry = "-0.3";		Entry = "-0.4";		Entry = "-0.5";		Entry = "-0.6";		Entry = "-0.7";		Entry = "-0.8";		Entry = "-0.9";
}
DefineSwitch "Y座標_0.0x"{
	Entry = "+0.00";	Entry = "+0.01";	Entry = "+0.02";	Entry = "+0.03";	Entry = "+0.04";	Entry = "+0.05";	Entry = "+0.06";	Entry = "+0.07";	Entry = "+0.08";	Entry = "+0.09";
	Entry = "-0.00";	Entry = "-0.01";	Entry = "-0.02";	Entry = "-0.03";	Entry = "-0.04";	Entry = "-0.05";	Entry = "-0.06";	Entry = "-0.07";	Entry = "-0.08";	Entry = "-0.09";
}

PrimaryAssembly{

/****************************
**	Bodyここから
*****************************/
	Object3D "Body"{
		ModelFileName = "";	ModelScale = 1.0;
		NoCastShadow = 0;
		ApplySwitch "サイズ"{
		Case 0:		ChangeModel = "01x01.x", 100.0;
		Case 1:		ChangeModel = "01x05.x", 100.0;
		Case 2:		ChangeModel = "01x10.x", 100.0;
		Case 3:		ChangeModel = "01x20.x", 100.0;

		Case 4:		ChangeModel = "02x10.x", 100.0;
		Case 5:		ChangeModel = "02x20.x", 100.0;
		Case 6:		ChangeModel = "02x40.x", 100.0;

		Case 7:		ChangeModel = "04x10.x", 100.0;
		Case 8:		ChangeModel = "04x20.x", 100.0;
		Case 9:		ChangeModel = "04x40.x", 100.0;

		Case 10:	ChangeModel = "05x10.x", 100.0;
		Case 11:	ChangeModel = "05x20.x", 100.0;
		Case 12:	ChangeModel = "05x40.x", 100.0;

		Case 13:	ChangeModel = "10x10.x", 100.0;
		Case 14:	ChangeModel = "10x20.x", 100.0;
		Case 15:	ChangeModel = "10x40.x", 100.0;
		Case 16:	ChangeModel = "10x80.x", 100.0;
		}
		ApplySwitch "テクスチャ"{
		Case 0:		ChangeTexture = 0, "../../Tie/common_nya/Set01/Ballast_Base01.dds";
				ScaleTexture = 0, 2.0, 2.0, 0.0, 0.0;
		Case 1:		ChangeTexture = 0, "../../Tie/common_nya/Set01/Ballast_Base02.dds";
				ScaleTexture = 0, 2.0, 2.0, 0.0, 0.0;
		Case 2:		ChangeTexture = 0, "../../Struct/common_nya/texture/Ballast_Base01.dds";
				ScaleTexture = 0, 8.0, 8.0, 0.0, 0.0;
		Case 3:		ChangeTexture = 0, "../../Struct/common_nya/texture/Coal01.dds";
				ScaleTexture = 0, 8.0, 8.0, 0.0, 0.0;
		}


		ApplySwitch "Y座標_0.x"{
			Case 0:		StaticMove{	Displacement = (0.0, 0.0, 0.0);		}	Case 1:		StaticMove{	Displacement = (0.0, 0.1, 0.0);		}	Case 2:		StaticMove{	Displacement = (0.0, 0.2, 0.0);		}	Case 3:		StaticMove{	Displacement = (0.0, 0.3, 0.0);		}
			Case 4:		StaticMove{	Displacement = (0.0, 0.4, 0.0);		}	Case 5:		StaticMove{	Displacement = (0.0, 0.5, 0.0);		}	Case 6:		StaticMove{	Displacement = (0.0, 0.6, 0.0);		}	Case 7:		StaticMove{	Displacement = (0.0, 0.7, 0.0);		}
			Case 8:		StaticMove{	Displacement = (0.0, 0.8, 0.0);		}	Case 9:		StaticMove{	Displacement = (0.0, 0.9, 0.0);		}	Case 10:	StaticMove{	Displacement = (0.0, -0.0, 0.0);	}	Case 11:	StaticMove{	Displacement = (0.0, -0.1, 0.0);	}
			Case 12:	StaticMove{	Displacement = (0.0, -0.2, 0.0);	}	Case 13:	StaticMove{	Displacement = (0.0, -0.3, 0.0);	}	Case 14:	StaticMove{	Displacement = (0.0, -0.4, 0.0);	}	Case 15:	StaticMove{	Displacement = (0.0, -0.5, 0.0);	}
			Case 16:	StaticMove{	Displacement = (0.0, -0.6, 0.0);	}	Case 17:	StaticMove{	Displacement = (0.0, -0.7, 0.0);	}	Case 18:	StaticMove{	Displacement = (0.0, -0.8, 0.0);	}	Case 19:	StaticMove{	Displacement = (0.0, -0.9, 0.0);	}
		}

		ApplySwitch "Y座標_0.0x"{
			Case 0:		StaticMove{	Displacement = (0.0, 0.00, 0.0);	}	Case 1:		StaticMove{	Displacement = (0.0, 0.01, 0.0);	}	Case 2:		StaticMove{	Displacement = (0.0, 0.02, 0.0);	}	Case 3:		StaticMove{	Displacement = (0.0, 0.03, 0.0);	}
			Case 4:		StaticMove{	Displacement = (0.0, 0.04, 0.0);	}	Case 5:		StaticMove{	Displacement = (0.0, 0.05, 0.0);	}	Case 6:		StaticMove{	Displacement = (0.0, 0.06, 0.0);	}	Case 7:		StaticMove{	Displacement = (0.0, 0.07, 0.0);	}
			Case 8:		StaticMove{	Displacement = (0.0, 0.08, 0.0);	}	Case 9:		StaticMove{	Displacement = (0.0, 0.09, 0.0);	}	Case 10:	StaticMove{	Displacement = (0.0, -0.00, 0.0);	}	Case 11:	StaticMove{	Displacement = (0.0, -0.01, 0.0);	}
			Case 12:	StaticMove{	Displacement = (0.0, -0.02, 0.0);	}	Case 13:	StaticMove{	Displacement = (0.0, -0.03, 0.0);	}	Case 14:	StaticMove{	Displacement = (0.0, -0.04, 0.0);	}	Case 15:	StaticMove{	Displacement = (0.0, -0.05, 0.0);	}
			Case 16:	StaticMove{	Displacement = (0.0, -0.06, 0.0);	}	Case 17:	StaticMove{	Displacement = (0.0, -0.07, 0.0);	}	Case 18:	StaticMove{	Displacement = (0.0, -0.08, 0.0);	}	Case 19:	StaticMove{	Displacement = (0.0, -0.09, 0.0);	}
		}
		Joint3D "_LOCAL"{
			AttachCoord = (0.0, 0.0, 0.0);
			AttachDir = (0.0, 0.0, -1.0);
		}
	}
}

