Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: FreeSpaceFreak on December 24, 2010, 05:55:27 am
-
How hard would it be to implement a SEXP that can turn on/off specific HUD gauges? For instance, disabling the own-fighter shield status in a no-shields mission?
What I'm thinking of is a reconnaissance where you can see the camera footage on the HUD. It needs to be out of the way, so as not to disturb the player while flying. The fighter doesn't have shields, so the own-fighter shield status is not needed. Hence that would be a good spot to put the camera window. However, if the player has the gauge visible, it will shine through the image, as well as come out over the edges. Overall it would look rather clumsy.
Hence, a SEXP to switch off (or on) a specific HUD gauge would be most useful here.
(Do feature requests also go on Mantis?)
-
*snip*
(Do feature requests also go on Mantis?)
nope
-
This already exists, at least in recent BP builds. I assume it's also in trunk.
-
The sexp you are looking for is called hud-activate-gauge-type, and it is indeed in trunk.
-
kthx :)