Jump to content
Sign in to follow this  
commander1985

Config.cpp and the ingame GPS

Recommended Posts

Hi Folks, i've encountered a new Problem.

The GPS doesn't seem to work right. I was pretty sure it worked in an older Version of my Map. But now the GPS only shows 2numbers. 1x and 1y axis..

I guess its a Problem in my Config but im not sure what it is since im pretty bad in scripting. My whole Map wouldn't even work if Beton would not have give me a working one in the Past. Thx again Beton :)

However heres the config.cpp part that seems to be for the GPS --->

class Grid : Grid {

offsetX = 0;

offsetY = 0;

class Zoom1 {

zoomMax = 0.15;

format = "XY";

formatX = 000;

formatY = 000;

stepX = 100;

stepY = 100;

};

class Zoom2 {

zoomMax = 0.85;

format = "XY";

formatX = "00";

formatY = "00";

stepX = 1000;

stepY = 1000;

};

class Zoom3 {

zoomMax = 1e+030;

format = "XY";

formatX = "0";

formatY = "0";

stepX = 10000;

stepY = 10000;

};

};

I hope you can help me out once more :)

P.s. sorry if it was discussed somewhere else (which i think it was), but i couldt find it via search.

Share this post


Link to post
Share on other sites

Just in case you dont know what i mean, i uploaded these pics..

hw2lle1bukyv.jpg

76zqjtjj7s5y.jpg

I hope somebody can help me now with this stupid problem....

Share this post


Link to post
Share on other sites

Hello Commander1985

I spend the same to take the example of bis configs.

The solution is this

class Grid: Grid (
offsetX = 0
offsetY = 0;

Zoom1 class (
zoomMax = 0.15;
format = "XY";
formatX = [color="Red"]"[/color]000[color="red"]"[/color];
formatY = [color="red"]"[/color]000[color="red"]"[/color];
stepX = 100;
stepY = 100;

Regards

Share this post


Link to post
Share on other sites

LoL, that was all!? Dunno why i didnt see that little bug.. However thank you very much! You just made my Day :)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×