Forums Index >> Modding >> downloadbar/radar zoom trouble



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

Sunday, March 05, 2006 at 6:59:06 AM

My radarzoom looks like this:

 

Exec("game/server/radar_zoom.cs");

 

Does that help?
Are you sure the name is right?

Edger

Sunday, March 05, 2006 at 7:16:16 AM

Straight out of the LW zoom radar zip, the radar zoom works fine its just the fact that they dont work together, not sure weather its just not feezable :o

Last edited: Sunday, March 05, 2006 at 7:28:27 AM

Sunday, March 05, 2006 at 7:19:25 AM

Anyone :o

Sunday, March 05, 2006 at 10:03:02 AM

They do work together mines doesnt have 1 problem
Maybe you should ask lonewolf for the newest version cause theres more than one

Sunday, March 05, 2006 at 3:41:20 PM

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

Monday, March 06, 2006 at 7:44:15 AM

*cries* lol not working :( I'll get a copy sent :o

Monday, March 06, 2006 at 9:03:11 AM

Cheeeazzz!!! XD

Monday, March 06, 2006 at 10:31:29 AM

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

Monday, March 06, 2006 at 1:16:24 PM

Page : <1> :

insert quote insert url insert email insert image bold italic underline superscript subscript horizontal rule : : Help on using forum codes

Add comment:

HTML is disabled within comments, but ZBB Code is enabled.

Back to the top

Web site designed, maintained and funded by -z- and Dan MacDonald