Forums Index >> Modding >> downloadbar/radar zoom trouble
Page : <1> :
My radarzoom looks like this:
Exec("game/server/radar_zoom.cs");
Does that help?
Are you sure the name is right?
Edger
They do work together mines doesnt have 1 problem
Maybe you should ask lonewolf for the newest version cause theres more than one
Ok delete everything in your main on Zoom Radar including the Exec Command Line !
Instructions for Zoom Radar
1. Open Main.cs and remove any radar tweaks you installed
2. Then locate this section (its at or near the bottom)
// Display an error message for unused arguments
for ($I = 1; $I < $Game::argc; $I++) {
if (!$argUsed[$I])
error("Error: Unkown command line argument: " @ $Game::argv[$I]);
}
3. Now copy and paste the Zoom Radar.txt into the main.cs
after the }
BUT BEFORE MODWIZARD AND/OR DASH CODES IF YOU HAVE THEM
4. Save main.cs and fire up TT
To toggle between use right click
Zoom Radar.txt
If (!$server::dedicated)
{
GlobalActionMap.bindCmd( mouse, button1, "", "radarZoom();");
}
$radarZoom = False;
function radarZoom()
{
echo("Radar Zoom");
if (isObject(RadarHud))
{
$radarZoom = !$radarZoom;
if ($radarZoom == True)
{
RadarHud.dotWidth = RadarHud.dotWidth + RadarHud.dotWidth;
RadarHud.dotHeight = RadarHud.dotHeight + RadarHud.dotHeight;
RadarHud.horizSizing = "left";
RadarHud.vertSizing = "top";
%rw = getWord($pref::Video::resolution ,0) - 400;
%rh = getWord($pref::Video::resolution ,1) - 400;
RadarHud.position = %rw SPC %rh; // "500 340";
RadarHud.extent = "400 400"; // "128 128";
RadarHud.dotOffsetX = "-1"; //"-2";
RadarHud.dotOffsetY = "0"; //"-1";
RadarHud.radius = "400"; // "260";
RadarHud.minExtent = "0 0";
RadarHud.setFirstResponder = "0";
}
else
{
RadarHud.dotWidth = RadarHud.dotWidth / 2;
RadarHud.dotHeight = RadarHud.dotHeight / 2;
RadarHud.horizSizing = "left";
RadarHud.vertSizing = "top";
%rw = getWord($pref::Video::resolution ,0) - 382;
%rh = getWord($pref::Video::resolution ,1) - 362;
RadarHud.position = %rw SPC %rh;
RadarHud.extent = "350 350";
RadarHud.dotOffsetX = "-1";
RadarHud.dotOffsetY = "0";
RadarHud.radius = "350";
RadarHud.minExtent = "0 0";
RadarHud.setFirstResponder = "0";
return;
}
}
}
RadarHud.dotWidth = RadarHud.dotWidth + RadarHud.dotWidth;
RadarHud.dotHeight = RadarHud.dotHeight + RadarHud.dotHeight;
Enjoy B)
If you still have problems email me a copy of your main and I will take a look at it and fix it for you !
Keep in mind I am leaving this Wed and will not be back until next week Mon.
Last edited: Monday, March 06, 2006 at 1:14:08 PM
If any one needs a copy of this email me and I will send it too you.
The copie I posted is still not correct it has moved these "}" out of place !
B)
@ cpt Rik
Glad I could help ! :P
Last edited: Monday, March 06, 2006 at 1:17:16 PM
Page : <1> :
Installed Art Crazies download bar and it worked fine, then when I installed LW's radar zoom the download bar stopped working :[.This is the end of the main.cs with the radar zoom command line added just need some help getting it working
// Clear all of the loading info lines:
for( %line = 0; %line < LoadingGui.qLineCount; %line++ )
LoadingGui.qLine[%line] = "";
LoadingGui.qLineCount = 0;
//
LOAD_MapName.setText(%mapName);
}
//Preferences:
//Will Take "game/" Out Of The File Name (true = yes / false = no)
$Take::GameFolder = true;
//ONLY ONE OF THESE CAN BE SELECTED:
//Shows The FileName On The Text Bar = "FileName"
//Shows The KileBytes (KB) Left To End Downloading = "FileSize"
//Shows Both = "Both"
$Show::LoadType = "Both";
//Never Stop Download Bar END
Exec("game/client/scripts/radarZoom.cs");
Cpt
Last edited: Sunday, March 05, 2006 at 6:59:51 AM