Forums Index >> Modding >> radar dots
Page : <1> :
RadarHud.dotWidth = "XX";
RadarHud.dotHeight = "YY";
Where XX = desired width and YY = desired height in pixels.
-Z-
Where do u put the Radar.dotWidth ="XX" ; ?
Do u put it in the.mis files?
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
Can we see a sample of your main.cs script (hence, your Bolo Code)!
:)
What happend to Bolo's name? :o X/
Yeah, show us wut u put in ur main.cs file please
Wats Goin On?
When I tried it, my radar filled the screen almost! Yikes!!!
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
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.
@ 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!
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
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
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
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";
@ 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
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
@KBC
Thanks! Great stuff!
Same to all of you!!!
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.
Hey kbc, will u send me that radar ur currently using in that pic(the larger one) to _zoon_@myway.com, thanks
Zoon, you can find them Here. Scroll down to Bolo's post with the links.
Thanks kbc
Bump for poeple that dont want to go through 16 pages to find this (like me)
Is there ne way to change the little dots to something else?
Which code do you put in the bttom of main.cs?
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