I know by all means we are suppose to use /stick and map feature only in MQ2, but I feel this clip plane plugin is not compromising the ez servers rules. If it is I apologize and will remove it.
I wrote this because of the horrible lag I got in PoDragons (only zone) and because for some reason in PoD the clip plane slider in options does nothing. What it does is just adds a /noclip #
0 would be an entire black screen, minus ui for those people who bot rangers.
750 about normal
1000+ increase your clip plane farther than the slider in options! However large numbers start tripping the graphics out and you'll need to reset it to 750.
source: only titanium client
// MQ2Test.cpp : Defines the entry point for the DLL application.
//
// PLUGIN_API is only to be used for callbacks. All existing callbacks at this time
// are shown below. Remove the ones your plugin does not use. Always use Initialize
// and Shutdown for setup and cleanup, do NOT do it in DllMain.
#include "../MQ2Plugin.h"
PreSetup("MQ2Test");
void NoClip(PSPAWNINFO pChar, PCHAR szLine) {
CHAR Arg1[MAX_STRING] = {0};
GetArg(Arg1,szLine,1);
((PZONEINFO)pZoneInfo)->MinClip = atof(Arg1);
((PZONEINFO)pZoneInfo)->MaxClip = atof(Arg1);
}
// Called once, when the plugin is to initialize
PLUGIN_API VOID InitializePlugin(VOID)
{
DebugSpewAlways("Initializing MQ2Test");
AddCommand("/noclip", NoClip);
}
// Called once, when the plugin is to shutdown
PLUGIN_API VOID ShutdownPlugin(VOID)
{
DebugSpewAlways("Shutting down MQ2Test");
RemoveCommand("/noclip");
}
dl compiled version
http://www.smokemorebong.com/MQ2Test.dll