Reload HUD


(FireWorks) #1

Whats the command to reload the HUD or ShooterUI.ini to edit the file on the fly without restarting the game each time?

Would speed up my HUD modding attemps a lot. Thanks :slight_smile:


(FireWorks) #2

I mean how is the UI designer doing it? The elements are so random in their behaviour, you gotta test at some point in the wild game.

The elements are just in a roughly right place and are not aligned the way they are supposed to be when using the Align and Attach command. You need to finetune and additionally readjusted them with OffsetPixel.

For experience, some elements like in my case the GameWaveTimer will even change position during a match on UI update events from the engine. How do I force these updates?

Hence I ask for documentation and ways to test a HUD more efficiently.


(fubar) #3

It’s been a while since I’ve last toyed with the HUD, but iirc: there were in-game console commands that would let you move and assign/attach hud objects live (I believe they rarely or barely functioning though, never got around to testing them as I already had mine done by that time) another alternative is executing a “config” directly from your steam folder (Steam\steamapps\common\Dirty Bomb\Binaries), no idea if this updates the HUD. Otherwise. Pressing TAB tends to “refresh” the already loaded HUD information (at least it refreshes the chat/minimap), it may be able to be used in conjunction with either of the two.

But, generally… we all did it by restarting our games a thousand times over with lots of trial and error.


(FireWorks) #4

[QUOTE=fubar;539624]It’s been a while since I’ve last toyed with the HUD, but iirc: there were in-game console commands that would let you move and assign/attach hud objects live (I believe they rarely or barely functioning though, never got around to testing them as I already had mine done by that time) another alternative is executing a “config” directly from your steam folder (Steam\steamapps\common\Dirty Bomb\Binaries), no idea if this updates the HUD. Otherwise. Pressing TAB tends to “refresh” the already loaded HUD information (at least it refreshes the chat/minimap), it may be able to be used in conjunction with either of the two.

But, generally… we all did it by restarting our games a thousand times over with lots of trial and error.[/QUOTE]

Thanks a lot for your answer! I just read it too late…

I tried the setWidget… commands but they didnt seem to work at all.

After wasting 3 days with the intention of doing it right and to create a HUD also usuable by other players with other resolutions, I just gave up. It seems impossible to align some elements and make them grouped in a general and clear manner. For example I wanted to have my PlayerHealth in the middle und the GameWaveTimer grouped below it. Abilities left, ammo right work pretty easily, but it is not possible to make the timer work with Align(H=HA_CENTER) no matter the anchor point.

Some of my tries:
GameWaveTimerPosition=(Align=(H=HA_CENTER, V=HA_TOP), Attach=(H=HA_CENTER, V=HA_BOTTOM, VA=“PlayerHealth”, HA=“PlayerHealth”))
GameWaveTimerPosition=(Align=(H=HA_RIGHT, V=HA_TOP), Attach=(H=HA_CENTER, V=HA_BOTTOM, VA=“PlayerHealth”, HA=“PlayerHealth”), PixelOffset=(X=61, Y=34))

Instead I had to go with some pixel offsets that are of course not looking the same on different resolutions.

In the end, I did it like you and restarted the game a thousand times. For the timer had to see running games and leave them again. Very annoying not only for me with the extended loading screens or bugged lobbies but also for the teams losing a player. Creating these imbalances over and over didnt feel too good.

Thanks again and if someone wants help, just drop me a PM.