Xonotic Forums
[SOLVED] I broke my hud... :( - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3)
+--- Forum: Xonotic - Help & Troubleshooting (https://forums.xonotic.org/forumdisplay.php?fid=4)
+--- Thread: [SOLVED] I broke my hud... :( (/showthread.php?tid=3579)



I broke my hud... :( - s1lence - 10-10-2012

EDIT: Issue resolved by typing
Quote:hud_panel_healtharmor_size "0.45 .08"
in console via mudkip's suggestion on IRC. This allowed me to drag and resize the panel again.




I was messing around with the panelHUD editor and dragged the health/armor panel to be the full size of the screen.
[Image: BV1NK.png]
Now I can't drag the panel or resize it, so i'm forced disable the panel entirely.

Is there any way to reset to default the HUD?

There seriously needs to be a big ol' button for that.


RE: I broke my hud... :( - hutty - 10-10-2012

there does ...

deleting your config will reset to default hud .... but it will delete all your other configs too ...


RE: I broke my hud... :( - s1lence - 10-10-2012

Is there any way i can fix it without deleting my config?

Could i just edit it or is it like a million lines?

solved. see edit to main post.


RE: I broke my hud... :( - Mr. Bougo - 10-11-2012

What are you talking about, that seems like a cool hud to me.

I agree that there should be a way to get out of these situations without resetting everything or changing cvars by hand... But that's a problem for when the HUD system gets rewritten, I think.


RE: I broke my hud... :( - zykure - 10-12-2012

(10-11-2012, 12:58 AM)Mr. Bougo Wrote: I agree that there should be a way to get out of these situations without resetting everything or changing cvars by hand... But that's a problem for when the HUD system gets rewritten, I think.

Hm, we already have default values for *all* cvars, and the config system shows which values were changed. (I'm talking about the red "config editor" in the main menu.) To reset your hud, all you have to do is reset all cvars beginning with "hud_" to their default values. Actually that is were I found some of the "hidden" features the HUD has ;-)


RE: I broke my hud... :( - Mr. Bougo - 10-12-2012

(10-12-2012, 02:05 PM)zykure Wrote: Hm, we already have default values for *all* cvars, and the config system shows which values were changed. (I'm talking about the red "config editor" in the main menu.) To reset your hud, all you have to do is reset all cvars beginning with "hud_" to their default values. Actually that is were I found some of the "hidden" features the HUD has ;-)

Sure, but that resets your entire HUD config. All you want to do in this situation is undo the one thing that got messed up, and not loose the rest of the work.