Ry0uSh1n Posted October 26 Share Posted October 26 (edited) Im using a custom hud element that monitors infection and radiation and would like to remove these from showing on the pop out list normally displayed in the bottom left of the players screen. Any direction into doing this will be appreciated. Another note, I am using the following code, as the custom hud, the "filling" of the element is not working correctly and for w/e reason the sprite in its place is only tied into the players health. So it fills and empties in relation to the players health. Guidance please. <!-- Infection Debuff Monitor --> <rect pos="215,125" width="377" height="8" controller="HUDStatBar" custom_stat_type="Infection" visible="{statvisible}"> <sprite pos="91,-124" depth="5" height="80" width="80" name="border" pivot="center" sprite="ui_StatBarInfection_1" globalopacitymod="1.4"/> <sprite name="BarBg" depth="3" pos="91,-124" width="80" height="80" pivot="center" sprite="ui_StatBarBg" color="darkGrey" fill="0" globalopacitymod="1.8"/> <sprite name="BarContent" depth="4" pos="91,-124" width="80" height="80" pivot="center" sprite="ui_StatBarFiller" color="192,248,255" type="filled" fill="{statfill}" globalopacitymod="1.8" filldirection="vertical"/> <!-- Infection Text Content --> <label depth="7" name="TextContent" pos="90,-140" font_size="18" color="[white]" justify="center" pivot="center" text="{cvar(.infectionDisplayPerc:##0.0'%')}" height="35" width="70"/> </rect> Edited October 26 by Ry0uSh1n Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now