Forums Index >> Modding >> radar dots



Page : <1> :


Hey modders:

How do you change the size of the dots that appear in radar....i am using the double size transparent radar but the dots are too small...i want to resize them to make them fit the radar....i couldnt find any graphics in the TT folders that were for the dots...

B

Saturday, June 05, 2004 at 7:40:41 AM
-z-

 

                                        
RadarHud.dotWidth = "XX";
RadarHud.dotHeight = "YY";

 

Where XX = desired width and YY = desired height in pixels.

-Z-

 

 

 

 

Saturday, June 05, 2004 at 9:15:45 AM

Where do u put the Radar.dotWidth ="XX" ; ?

Do u put it in the.mis files?

Saturday, June 05, 2004 at 10:57:26 PM

Put it in Main.cs

If using double radar (256 X 256 vs the 128 X 128) like I am then just double the radar dots's size like this:

RadarHud.dotWidth = RadarHud.dotWidth + RadarHud.dotWidth;

RadarHud.dotHeight = RadarHud.dotHeight + RadarHud.dotHeight;

(if using the 3X radar then add them one more time)

(the ++ operator isnt implemented I guess)

Works like a charm!!

Im never driving fowards again!!

Now I see why -z- didnt make the goal dot proportionate to the CTF goal...He could but then the player dots would be too big...

Coolness

B

Last edited: Sunday, June 06, 2004 at 9:39:38 AM

Sunday, June 06, 2004 at 9:24:26 AM

Can we see a sample of your main.cs script (hence, your Bolo Code)!

:)

 

Wednesday, June 09, 2004 at 1:45:30 PM

What happend to Bolo's name? :o X/

Wednesday, June 09, 2004 at 1:54:59 PM

What should it look like for the double radar?

Wednesday, June 09, 2004 at 4:05:52 PM

Yeah, show us wut u put in ur main.cs file please

Wednesday, June 09, 2004 at 5:57:28 PM

Wats Goin On?

Wednesday, June 09, 2004 at 5:57:34 PM

When I tried it, my radar filled the screen almost! Yikes!!!

 

Wednesday, June 09, 2004 at 6:13:20 PM

Were the dots the normal size b4???? The script I came up with (after -z- explained the syntax above) was to double the DEFAULT size dots....also im on a pc and I dont know macs....ask TG, tally, JB or one of the mac experts

B

Thursday, June 10, 2004 at 4:49:35 AM

Bolo,

Yeah, the biggest advantage with those radars is driving backwards and NEVER missing your target. It even helps with stealing the ball while driving backwards.

Sad though.... Now your games gonna get even better which means even more catching up to do.

Thursday, June 10, 2004 at 12:12:13 PM

Triple radar rocks! But I need to know how to make the dots bigger.

Thursday, June 10, 2004 at 12:40:35 PM

@ Racer, 1st few posts explain how to do that.

@ paisano, The higher you set the resolution, the smaller the radar becomes.

640 x 480 resolution with triple size radar

1280 x 1024 resolution with triple size radar

Here's my old, tiny little radar.

Thanks all! It's really nice to be able to use the radar now!

Thursday, June 10, 2004 at 1:31:28 PM

Ok, I'm kinda new at this...what program do you use to edit Main.cs?

BTW thanks Bolo/Lilalien for posting the bigger radar..that's exactly what I needed.

D.lition

Thursday, June 10, 2004 at 1:43:56 PM
OM

Hmmm, I'm confused. Where does this code go? Do I add those lines into the Main.cs file, or are they already there and I need to modify them. (if they're there, I can't find them) Some more info on how to do this would be appreciated. Thx.

OM

Thursday, June 10, 2004 at 2:50:06 PM

Add them to the bottom of the main.cs file...just open it in a text editor..anything will do

Make sure to make a backup copy of all the radar files and of main.cs so u can revert back to them I case it gets hosed

for double size radar dots:

RadarHud.dotWidth = RadarHud.dotWidth + RadarHud.dotWidth;

RadarHud.dotHeight = RadarHud.dotHeight + RadarHud.dotHeight;

for triple size radar dots:

RadarHud.dotWidth = RadarHud.dotWidth + RadarHud.dotWidth + RadarHud.dotWidth;

RadarHud.dotHeight = RadarHud.dotHeight + RadarHud.dotHeight + RadarHud.dotWidth;

If u need the radar even bigger 4x, 5x, etc use the same logic

If u need the radar at 1/2 the size make the images 64 X 64 and the dots smaller:

RadarHud.dotWidth = RadarHud.dotWidth / 2;

RadarHud.dotHeight = RadarHud.dotHeight / 2;

I didnt test the 1/2 size...im not sure if * and / are implemented...try and see

This is for pc....i suck at macs...sry

Hope this helps

B

Thursday, June 10, 2004 at 3:11:10 PM

What Bolo said works on Mac too.

Shouldn't have to play with the images unless you go a lot larger. If the dots start to get fuzzy, then increasing the image size will keep them crisp.

If you want to fine tune the dot size, use -z-'s script (2nd post). Add it to the bottom of the main.cs file and adjust the numbers until you're happy with the results. Try the settings below and get an oval dot.

RadarHud.dotWidth = "16";

RadarHud.dotHeight = "8";

Thursday, June 10, 2004 at 3:27:37 PM

@ Bolo

I asked you in a game today how to change the dot size...What I was doing wrong was trying to edit main.cs.dso instead of main.cs. I haven't really poked around the directories to see what's in there yet and I got it in my head that it was in ThinkTanks>game. But I have it figured out now and it's working well as you saw today. I actually outscored Bolo!!! And, I believe I saw you make at least 2 mistakes. I had to rub my eyes. This could be a sign of the apocalypse. J/k. Anyhoo, I have it @ 2x dots with the 3x radar. 3x dots is freakin' huge at my resolution.

It seems like a lot of these things (skins, sizes, radars, reticles, etc) could/should be incorporated into a "preferences" menu in the game. Just my.02

D.lition

 

Thursday, June 10, 2004 at 5:44:57 PM

Demolition: werent we on the same team :) if not I must have been more tired than I thought...lol....fun games

All: looks like most of u who want to try it have the radar and the dots tweaked....i just wanna add an important detail....im not 100% sure about this but I think it makes sense.....

-z-, 56 correct if im wrong please:

The original radar size is 128 X 128....the original size dots for the goal and tanks, etc are accurately set to scale so that when u want to slice the goal really thin backward u will hit what your radar shows, etc...also for swiping you will hit the tank square and not just a nip...i.e. What u see is really what u get...if u use larger or smaller size radar dots that are not to scale, the accuracy of the dots will be slightly off... (I played a few rounds of TS with all bots to test different things)...for me anyway the dots have to be the same scale for your accuracy to be on...

The syntax from -z- in the second post lets you specify the number of pixels for the dots...my slight change was to take the existing sized dots (from the original radar) and increase their size by exactly the same amount as the radar was changed....since im using double sized radar 256 X 256, I wanted exactly double sized dots...

Just playing around with values will get them to look the size u want.....however I question the accuracy of them once you do that...i recommend keeping things in scale.....unless I am proved wrong by the higher powers :)

Try it out with different sized dots and drive thru the goal without the scrum....slice the goal and see how close or how off the real screen is from the radar...try swiping from ri a few times backward and see how square u can hit him...some of us drive backward to the goal and can fake out a camper the same as driving forward...it is essential for the radar to be accurate for this...

I myself like the bigger dots so I dont strain my eyes...takes a few days to get used to but I think it is a good payoff...i have a more wicked back swipe so beware!!

Good luck!!

Thank lilalien for the radar images

B

Thursday, June 10, 2004 at 7:14:44 PM

@KBC

Thanks! Great stuff!

Same to all of you!!!

 

Friday, June 11, 2004 at 2:29:27 AM

Good point Bolo. I should probably mention that I use your set-up. I like that it will scale to the radar, but now I'm curious. Think I'll try out a few sizes and test the accuracy. I hadn't even thought of that. I was just so happy to be able to glance at the radar and actually find it useful!

Also, I hope no one thought I was suggesting that you set your radar dots to an oval and leave them that way. It's just a goofy way to test sizes. Firing up the game and seeing that you've set the dots way to small or large can be time consuming. Setting 2 different values will give you an idea of which size is closer to what you're looking for. By all means, set them to the same numbers when you find the size you want.

Friday, June 11, 2004 at 1:53:57 PM

Hey kbc, will u send me that radar ur currently using in that pic(the larger one) to _zoon_@myway.com, thanks

Friday, June 11, 2004 at 6:18:49 PM

Zoon, you can find them Here. Scroll down to Bolo's post with the links.

Friday, June 11, 2004 at 6:27:43 PM

Thanks kbc

Saturday, June 12, 2004 at 5:05:40 PM

I have the 3x radar with the 1x dots! It ROCKS!

J/k

Sunday, June 13, 2004 at 12:25:51 PM

Bump for poeple that dont want to go through 16 pages to find this (like me)

Sunday, January 02, 2005 at 11:35:03 AM

Is there ne way to change the little dots to something else?

Friday, January 07, 2005 at 2:20:20 PM

Which code do you put in the bttom of main.cs?

Thursday, August 25, 2005 at 11:21:55 AM

Bump

Thursday, August 25, 2005 at 11:55:31 AM

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