Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Shivan Hunter on March 11, 2011, 08:23:19 pm

Title: size of HUD radar
Post by: Shivan Hunter on March 11, 2011, 08:23:19 pm
So, I've been getting my 1080p HUD into FS, and the first gauge I configured was the radar. It's a lot larger than the FS one since the HUD is 1080p, but unfortunately FS still seems to think it's FS-size.

(http://img852.imageshack.us/img852/5417/screen0135.png)

That little white outline is where FS is drawing the radar blips. How do I get FS to use the real radar dimensions?
Title: Re: size of HUD radar
Post by: Pred the Penguin on March 11, 2011, 08:50:00 pm
http://www.hard-light.net/forums/index.php?topic=72205.0

I found a solution in this thread when using builds with the new hud code.
Title: Re: size of HUD radar
Post by: Shivan Hunter on March 11, 2011, 09:14:49 pm
Wow, very specific. I don't see anything in there about the size of the radar. I just need FS to display the blips in the correct circle.
Title: Re: size of HUD radar
Post by: Talon 1024 on March 11, 2011, 09:48:08 pm
Or, better yet, I'd like to be able to customize the aspect ratio of the radar circle.
Title: Re: size of HUD radar
Post by: JGZinv on March 11, 2011, 10:01:35 pm
There's fields listed on the Wiki for the custom HUD code, but last I looked they were not explained.
ShadowZ also asked directly and we kind of got a vague answer... the bottom line is I don't think many
folks have any idea of what most of the custom HUD code can do because it isn't commented out fully.
Title: Re: size of HUD radar
Post by: Shivan Hunter on March 11, 2011, 10:41:41 pm
Or because it's not fully "custom". Anyway, the BSG Radar has a "size" field, and as much as it really should be integrated into the radar and orb radar gauges as well, can anyone tell me if the BSG radar could function as the regular FS radar?
Title: Re: size of HUD radar
Post by: Swifty on March 14, 2011, 02:43:15 pm
Nope. BSG Radar almost works completely different from the other two radar modes.

I've yet to include a size field for the Orb and Normal radars once I figure out it's safe to do so. There are a lot of variables that get affected internally by the radar's size. I don't think it's a simple matter of just changing those values so hang on.
Title: Re: size of HUD radar
Post by: Shivan Hunter on March 15, 2011, 01:57:41 am
Yeah, I figured it'd be a lot harder than just changing a couple constants.

Also, the speed indicator on the left arc normally follows the arc itself. When I changed the shape, it no longer fits with the new arc. Customizing this would be nice, though I get the sense that it's even more hard-coded than the radar size.

[EDIT] Also, the text on the weapons list refuses to fit the new font size, no matter how big the ANIs are or what I put for the height values in the tbl. The text I'm using is larger, so it's all squished together. Although... I may replace it using scripts or something since I don't like it anyway.
Title: Re: size of HUD radar
Post by: JGZinv on March 15, 2011, 02:38:49 am
If I might interject...

Swifty, evidently Shivan Hunter's got a few things, and I know I've got a few things in terms of functionality
that we need in order to work on our HUDs further. What's the easiest way for you to have these items collected for consideration?