VU Community Forums

Would like some development help :D

I’m trying my hand at some mod developing with a simple mod that requires me to know how to remove a part of the UI.

I can easily remove a “screen” element with some simple code, but I can’t figure out how to hide a “UIComponent”. I am trying to hide UISoldierComp, unless that’s not the right one.

I am trying to hide the ammo count and health UI element in the bottom right, and then bring it back up for maybe 3 or 4 seconds if the user presses a button. Kind of like Insurgency: Sandstorm-style ammo checking.

This is my first mod so I am trying to make it as simple as possible for me.

Any help from a more experienced dev would be appreciated :smiley:

I dont think that this is possible with the vanilla UI. I think that you can only hide it when it’s pushed to the screen but you cant show it again until it’s pushed again by the engine (the pushing happens during transitions etc)

You can do it with WebUI though