PluginHeader{
	RailSimVersion = 2.00;
	PluginType = Struct;
	PluginName = "[摴楬]嬋慄晹桿摫昗";
	PluginAuthor = "NyahoTaro";
	IconTexture = "../common_nya/nyaicon.png";
	Description = "";
}
StructInfo{
}
DefineSwitch "仭僞僀僾"{
	Entry = "儘乕僪僗僞乕(500亊1000)";
	Entry = "儘乕僪僗僞乕(500亊500)";
	Entry = "傾儘乕僒僀儞(400亊350)";
//	Entry = "僔僃僽儘儞儅乕僇乕";
//	Entry = "僇乕僽儅乕僇乕";
//	Entry = "僇乕僽僾儗乕僩";
}
DefineSwitch "劌 栴報曽岦"{
	Entry = ">>";
	Entry = "<<";
}
DefineSwitch "劌 怓"{
	Entry = "敀抧偵愒";
	Entry = "墿怓抧偵崟";
}
DefineSwitch "劋 栭娫揰柵"{
	Entry = "偁傝";
	Entry = "側偟";
}
DefineSwitch "仭億乕儖庬椶"{
	Entry = "帺棫";
	Entry = "拰晅";
}
DefineSwitch "劌 億乕儖僇儔乕"{
	Entry = "敀";
	Entry = "拑";
	Entry = "柍";
}
DefineSwitch "劋 搚戜"{
	Entry = "偁傝";
	Entry = "側偟";
}
DefineSwitch "仭孹偒(z幉)"{
	Entry = "亇0";
	Entry = "亄2";
	Entry = "亄4";
	Entry = "亄6";
	Entry = "亄8";
	Entry = "亄10";
	Entry = "亅2";
	Entry = "亅4";
	Entry = "亅6";
	Entry = "亅8";
	Entry = "亅10";
}
DefineAnimation "ArrowL"{
	Frame = "Arrow01Emit.dds", 15;
	ScaleTexture = -1.0, 1.0, 0.0, 0.0;
	Frame = "Arrow01Emit.dds", 15;
	ScaleTexture = 0.0, 0.0, 0.0, 0.0;
}
DefineAnimation "ArrowR"{
	Frame = "Arrow01Emit.dds", 15;
	ScaleTexture = 1.0, 1.0, 0.0, 0.0;
	Frame = "Arrow01Emit.dds", 15;
	ScaleTexture = 0.0, 0.0, 0.0, 0.0;
}

PrimaryAssembly{
	Object3D "Base"{
		ModelFileName = "";	ModelScale = 1.0;
		If "_CAMDIST">600{
			ChangeModel = "", 1.0;
		}
		NoShadow = 1;		ChangeAlpha = 1, 0.4;
		If "仭億乕儖庬椶"==0 & "劋 搚戜"==0 {
			ApplySwitch "仭僞僀僾"{
			Case 0:		ChangeModel = "Base01.x", 1.0;
			Case 1:		ChangeModel = "Base02.x", 1.0;
			Case 2:		ChangeModel = "Base02.x", 1.0;
			}
		}
		ApplySwitch "仭孹偒(z幉)"{
		Case 1:		StaticRotation{	RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 2;	}
		Case 2:		StaticRotation{	RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 4;	}
		Case 3:		StaticRotation{	RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 6;	}
		Case 4:		StaticRotation{	RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 8;	}
		Case 5:		StaticRotation{	RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 10;	}
		Case 6:		StaticRotation{	RotationAxis = (0.0, 0.0, -1.0);	RotationAngle = 2;	}
		Case 7:		StaticRotation{	RotationAxis = (0.0, 0.0, -1.0);	RotationAngle = 4;	}
		Case 8:		StaticRotation{	RotationAxis = (0.0, 0.0, -1.0);	RotationAngle = 6;	}
		Case 9:		StaticRotation{	RotationAxis = (0.0, 0.0, -1.0);	RotationAngle = 8;	}
		Case 10:	StaticRotation{	RotationAxis = (0.0, 0.0, -1.0);	RotationAngle = 10;	}
		}
		Joint3D "_LOCAL"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Pole"{
		ModelFileName = "";	ModelScale = 1.0;
		If "_CAMDIST">600{
			ChangeModel = "", 1.0;
		}
		ApplySwitch "劌 億乕儖僇儔乕"{
		Case 0:		ChangeTexture = 0, "Color0.dds";
		Case 1:		ChangeTexture = 0, "Color1.dds";
		Case 2:		ChangeTexture = 0, "../../Struct/common_nya/texture/Metal_Basel01.dds";
		}
		If "仭億乕儖庬椶"==1{
			ChangeModel = "", 1.0;
		}
		ApplySwitch "仭僞僀僾"{
		Case 0:		ChangeModel = "Pole01.x", 1.0;
		Case 1:		ChangeModel = "Pole02.x", 1.0;
		Case 2:		ChangeModel = "Pole03.x", 1.0;
		}
		Joint3D "Base"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
	Object3D "Main"{
		ModelFileName = "";	ModelScale = 1.0;
		If "_CAMDIST">600{
			ChangeModel = "", 1.0;
		}
		If "_CAMDIST">100{
			ApplySwitch "仭僞僀僾"{
			Case 2:		ChangeModel = "AS01@LOD.x", 1.0;
			}
		}
		ApplySwitch "仭僞僀僾"{
		Case 0:		ChangeModel = "RS01.x", 1.0;
		Case 1:		ChangeModel = "RS02.x", 1.0;
		Case 2:		ChangeModel = "AS01.x", 1.0;
		}
		ApplySwitch "劌 栴報曽岦"{
		Case 1:		ScaleTexture = 1, -1.0, 1.0, 0.0, 0.0;
		}
		If "劋 栭娫揰柵"==0 & "_NIGHT"==1 {
			ApplySwitch "劌 栴報曽岦"{
			Case 0:		SetAnimation = 2, "ArrowR";
			Case 1:		SetAnimation = 2, "ArrowL";
			}
		}Else{
			ChangeAlpha = 2, 0.0;
		}
		ApplySwitch "劌 怓"{
		Case 0:
			ChangeMaterial{
				MaterialID = 0;
				Diffuse = 0.745, 0.741, 0.776, 1.0;
				Ambient = 0.745, 0.741, 0.776;
			}
			ChangeMaterial{
				MaterialID = 1;
				Diffuse = 0.604, 0.184, 0.129, 1.0;
				Ambient = 0.604, 0.184, 0.129;
			}
		Case 1:
			ChangeMaterial{
				MaterialID = 0;
				Diffuse = 0.965, 0.824, 0.000, 1.0;
				Ambient = 0.965, 0.824, 0.000;
			}
			ChangeMaterial{
				MaterialID = 1;
				Diffuse = 0.208, 0.153, 0.200, 1.0;
				Ambient = 0.208, 0.153, 0.200;
			}
		}
		Joint3D "Pole"{
			AttachCoord = (0.0, 0.9, 0.04);
		}
	}
}
