PluginHeader{
	RailSimVersion = 2.13;
	PluginType = Struct;
	PluginName = "[設備]しましまポール";
	PluginAuthor = "NyahoTaro";
	IconTexture = "../common_nya/nyaicon.png";
	Description = "";
}
StructInfo{
}
DefineSwitch "■スケール"{
	Entry = "H1000mm φ30mm";
	Entry = "H2000mm φ30mm";
	Entry = "H3000mm φ30mm";
	Entry = "H4000mm φ30mm";
}
DefineSwitch "■カラーリング間隔"{
	Entry = "200mm";
	Entry = "100mm";
	Entry = "単色";
}
DefineSwitch "├カラーリング01"{
	Entry = "赤色";
	Entry = "白色";
	Entry = "黄色";
	Entry = "橙色";
	Entry = "茶色";
	Entry = "緑色";
	Entry = "青緑";
	Entry = "青色";
	Entry = "灰色";
	Entry = "黒色";

}
DefineSwitch "└カラーリング02"{
	Entry = "白色";
	Entry = "赤色";
	Entry = "黄色";
	Entry = "橙色";
	Entry = "茶色";
	Entry = "緑色";
	Entry = "青緑";
	Entry = "青色";
	Entry = "灰色";
	Entry = "黒色";
}

DefineSwitch "■傾き"{
	Entry = "0";
	Entry = "+1";
	Entry = "+2";
	Entry = "+4";
	Entry = "+8";
	Entry = "+12";
	Entry = "-1";
	Entry = "-2";
	Entry = "-4";
	Entry = "-8";
	Entry = "-12";
}
PrimaryAssembly{
	Object3D "Model"{
		ModelFileName = "";
		If "_CAMDIST">600{	ChangeModel = "", 1.0;	}
		ApplySwitch "■スケール"{
		Case 0:		ChangeModel = "Pole_1m.x", 100.0;
		Case 1:		ChangeModel = "Pole_2m.x", 100.0;
		Case 2:		ChangeModel = "Pole_3m.x", 100.0;
		Case 3:		ChangeModel = "Pole_4m.x", 100.0;
		}
		ApplySwitch "■カラーリング間隔"{
		Case 0:	ChangeTexture = 1, "200mm.png";
		Case 1:	ChangeTexture = 1, "100mm.png";
		Case 2:	ChangeTexture = 1, "base.png";
		}
		ApplySwitch "├カラーリング01"{
		Case 0:		ChangeMaterial{	MaterialID = 1;	Diffuse = 0.65, 0.07, 0.07, 1.0;	Ambient = 0.65, 0.07, 0.07;	}//赤色
		Case 1:		ChangeMaterial{	MaterialID = 1;	Diffuse = 1.00, 1.00, 1.00, 1.0;	Ambient = 1.00, 1.00, 1.00;	}//白色
		Case 2:		ChangeMaterial{	MaterialID = 1;	Diffuse = 0.75, 0.52, 0.06, 1.0;	Ambient = 0.75, 0.52, 0.06;	}//橙色
		Case 3:		ChangeMaterial{	MaterialID = 1;	Diffuse = 0.63, 0.23, 0.07, 1.0;	Ambient = 0.63, 0.23, 0.07;	}//黄色
		Case 4:		ChangeMaterial{	MaterialID = 1;	Diffuse = 0.33, 0.22, 0.16, 1.0;	Ambient = 0.33, 0.22, 0.16;	}//茶色
		Case 5:		ChangeMaterial{	MaterialID = 1;	Diffuse = 0.07, 0.40, 0.15, 1.0;	Ambient = 0.07, 0.40, 0.15;	}//緑色
		Case 6:		ChangeMaterial{	MaterialID = 1;	Diffuse = 0.07, 0.27, 0.39, 1.0;	Ambient = 0.07, 0.27, 0.39;	}//青緑
		Case 7:		ChangeMaterial{	MaterialID = 1;	Diffuse = 0.15, 0.34, 0.87, 1.0;	Ambient = 0.15, 0.34, 0.87;	}//青色
		Case 8:		ChangeMaterial{	MaterialID = 1;	Diffuse = 0.50, 0.50, 0.50, 1.0;	Ambient = 0.50, 0.50, 0.50;	}//灰色
		Case 9:		ChangeMaterial{	MaterialID = 1;	Diffuse = 0.10, 0.10, 0.10, 1.0;	Ambient = 0.10, 0.10, 0.10;	}//黒色
		}
		ApplySwitch "└カラーリング02"{
		Case 0:		ChangeMaterial{	MaterialID = 0;	Diffuse = 1.00, 1.00, 1.00, 1.0;	Ambient = 1.00, 1.00, 1.00;	}//白色
		Case 1:		ChangeMaterial{	MaterialID = 0;	Diffuse = 0.65, 0.07, 0.07, 1.0;	Ambient = 0.65, 0.07, 0.07;	}//赤色
		Case 2:		ChangeMaterial{	MaterialID = 0;	Diffuse = 0.75, 0.52, 0.06, 1.0;	Ambient = 0.75, 0.52, 0.06;	}//黄色
		Case 3:		ChangeMaterial{	MaterialID = 0;	Diffuse = 0.63, 0.23, 0.07, 1.0;	Ambient = 0.63, 0.23, 0.07;	}//橙色
		Case 4:		ChangeMaterial{	MaterialID = 0;	Diffuse = 0.33, 0.22, 0.16, 1.0;	Ambient = 0.33, 0.22, 0.16;	}//茶色
		Case 5:		ChangeMaterial{	MaterialID = 0;	Diffuse = 0.07, 0.40, 0.15, 1.0;	Ambient = 0.07, 0.40, 0.15;	}//緑色
		Case 6:		ChangeMaterial{	MaterialID = 0;	Diffuse = 0.07, 0.27, 0.39, 1.0;	Ambient = 0.07, 0.27, 0.39;	}//青緑
		Case 7:		ChangeMaterial{	MaterialID = 0;	Diffuse = 0.15, 0.34, 0.87, 1.0;	Ambient = 0.15, 0.34, 0.87;	}//青色
		Case 8:		ChangeMaterial{	MaterialID = 0;	Diffuse = 0.50, 0.50, 0.50, 1.0;	Ambient = 0.50, 0.50, 0.50;	}//灰色
		Case 9:		ChangeMaterial{	MaterialID = 0;	Diffuse = 0.10, 0.10, 0.10, 1.0;	Ambient = 0.10, 0.10, 0.10;	}//黒色
		}
		ApplySwitch "■傾き"{
			Case 1:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 1.0;	}
			Case 2:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 2.0;	}
			Case 3:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 4.0;	}
			Case 4:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 8.0;	}
			Case 5:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = 12.0;	}
			Case 6:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = -1.0;	}
			Case 7:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = -2.0;	}
			Case 8:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = -4.0;	}
			Case 9:		StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = -8.0;	}
			Case 10:	StaticRotation{		RotationAxis = (0.0, 0.0, 1.0);		RotationAngle = -12.0;	}
		}
		Joint3D "_LOCAL"{
			AttachCoord = (0.0, 0.0, 0.0);
		}
	}
}
