Disable the default FPS HUD
Moderator: Moderators
Disable the default FPS HUD
Before filing a feature request, i thought i'd ask first if this is somewhere around and i just missed that.
The idea is simple: i already can detect when a unit is direct-controlled, and with that i can enforce the use of direct-control thingy by giving units various combat bonuses for being fps'ed as well as possibly drawing some slick HUD with blackjack and bitches. However, with the latter case, the default HUD with colored vector lines and crosshairs still remains in place.
So: can i disable it? And if, then how?
The idea is simple: i already can detect when a unit is direct-controlled, and with that i can enforce the use of direct-control thingy by giving units various combat bonuses for being fps'ed as well as possibly drawing some slick HUD with blackjack and bitches. However, with the latter case, the default HUD with colored vector lines and crosshairs still remains in place.
So: can i disable it? And if, then how?
- Tribulexrenamed
- Posts: 775
- Joined: 22 Apr 2008, 19:06
Re: Disable the default FPS HUD
Personally, I knock out the whole gui and draw directly on the world. This works for what I have to do... maybe its good for you too?
Re: Disable the default FPS HUD
check the docs folder of your spring install it contains a file named cmds.txt
Re: Disable the default FPS HUD
/fpshud 0 ftw
Thx for that one
Thx for that one
Re: Disable the default FPS HUD
Oh.
I tried both /fpshud 0 and killing all gui.
The default crosshairs stay
I tried both /fpshud 0 and killing all gui.
The default crosshairs stay
Re: Disable the default FPS HUD
/cross doesn't kill it?
Re: Disable the default FPS HUD
Hmm, i missed that one. However, it only kills the mouse cross, not the aiming crosshairs for the guns.
Re: Disable the default FPS HUD
Sometimes the following works:
function gadget:DrawScreen()
Spring.SetMouseCursor("none")
end
function gadget:DrawScreen()
Spring.SetMouseCursor("none")
end
Re: Disable the default FPS HUD
Now that just disables the mouse cursor, leaving both the mouse cross and the default aiming sights intact >.<Spring.SetMouseCursor("none")
Eh, seems this won't be around until the next spring comes out.
Re: Disable the default FPS HUD
What is very special, is that Spring.SetMouseCursor("none") works where the interface is shown, but not when the interface is hidden (F5).
Re: Disable the default FPS HUD
It works on the mouse cursor, that it does.
It doesn't do anything about the crosshair (the + in the middle of the screen that appears when you go fps or just squeeze the mb3), nor the actual aiming sights (i.e, the colored lines that show where the cannon will hit in fps mode).
While it's fortunately possible to disable the crosshair with /cross, and the cursor with that lua call, neither does anything to the aiming sights, irrespective whether you enable or disable the gui and hud.
(you can try any combo of gui/hud/cross/cursor flags, the aimsight stays either way)
It doesn't do anything about the crosshair (the + in the middle of the screen that appears when you go fps or just squeeze the mb3), nor the actual aiming sights (i.e, the colored lines that show where the cannon will hit in fps mode).
While it's fortunately possible to disable the crosshair with /cross, and the cursor with that lua call, neither does anything to the aiming sights, irrespective whether you enable or disable the gui and hud.
(you can try any combo of gui/hud/cross/cursor flags, the aimsight stays either way)
Re: Disable the default FPS HUD
A UFO making crop circles!