OsmoticShift
Account Details
SteamID64 76561198010299978
SteamID3 [U:1:50034250]
SteamID32 STEAM_0:0:25017125
Country United States
Signed Up January 23, 2016
Last Posted January 25, 2016 at 7:13 PM
Posts 2 (0 per day)
Game Settings
In-game Sensitivity
Windows Sensitivity
Raw Input  
DPI
 
Resolution
 
Refresh Rate
 
Hardware Peripherals
Mouse  
Keyboard  
Mousepad  
Headphones  
Monitor  
#2494 HUD editing: short questions, quick answers in Customization

Thank you, Wiethoofd. I was able to fix the vaccinator issue.

Here's a screenshot: http://imgur.com/SpI5VCi

In the above image, the Currently Healing health cross is clipped off by something. I tried messing with hudlayout.res, targetid.res, and spectatorguihealth.res but I couldn't figure out what was causing that. Similarly, the health cross above the player is also clipped off. What parameters controls the invisible box above the player's head and around the targetID?

WiethoofdIn TargetID find spectatorguihealth and change "HealthBonusPosAdj" to it's default value of 10 and the HealthDeathWarning to 0.49 and see if this improves the issue.

Both of these were already set to default. I can't figure out why the overheal health cross above the player's head is behaving differently from targetID.

If it helps, here are my .res files:

TargetID.res

Show Content
{
"TargetIDBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "TargetIDBG"
"xpos" "03"
"ypos" "-24"
"zpos" "-1"
"wide" "252"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"image" "../hud/color_panel_brown"
"scaleImage" "1"
"teambg_1" "../hud/color_panel_brown"
"teambg_2" "../hud/color_panel_red"
"teambg_3" "../hud/color_panel_blu"

"src_corner_height" "40"
"src_corner_width" "40"
"draw_corner_width" "0"
"draw_corner_height" "0"
}
"TargetIDBG_Spec_Blue"
{
"ControlName" "CTFImagePanel"
"fieldName" "TargetIDBG_Spec_blue"
"xpos" "03"
"ypos" "-24"
"zpos" "-1"
"wide" "252"
"tall" "80"
"autoResize" "1"
"pinCorner" "0"
"visible" "0"
"enabled" "1"
"image" "../hud/color_panel_blu"
"scaleImage" "1"

"src_corner_height" "40"
"src_corner_width" "40"
"draw_corner_width" "0"
"draw_corner_height" "0"
}
"TargetIDBG_Black_Bar"
{
"ControlName" "ImagePanel"
"fieldName" "TargetIDBG_Black_Bar"
"xpos" "03"
"ypos" "5"
"zpos" "0"
"wide" "350"
"tall" "14" //"14"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"fillcolor" "0 0 0 200"
"PaintBackgroundType" "0"
}
"TargetIDBG_Spec_Red"
{
"ControlName" "CTFImagePanel"
"fieldName" "TargetIDBG_Spec_red"
"xpos" "03"
"ypos" "-24"
"zpos" "-1"
"wide" "252"
"tall" "8"
"autoResize" "1"
"pinCorner" "0"
"visible" "0"
"enabled" "1"
"image" "../hud/color_panel_red"
"scaleImage" "1"

"src_corner_height" "40"
"src_corner_width" "40"
"draw_corner_width" "0"
"draw_corner_height" "0"
}

"TargetNameLabel"
{
"ControlName" "CExLabel"
"fieldName" "TargetNameLabel"
"font" "default"
"xpos" "55"
"ypos" "7"
"zpos" "1"
"wide" "640"
"tall" "10"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"labelText" "%targetname%"
"textAlignment" "North-West"
"dulltext" "0"
"brighttext" "0"
"fgcolor" "220 220 220 255"
//"fgcolor" "white"
}
"TargetDataLabel"
{
"ControlName" "CExLabel"
"fieldName" "TargetDataLabel"
"font" "DefaultSmallShadow"
"xpos" "55"
"ypos" "19"
"zpos" "1"
"wide" "280"
"tall" "10"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"labelText" "%targetdata%"
"textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
"fgcolor" "150 250 150 255"
}
"SpectatorGUIHealth"
{
"ControlName" "EditablePanel"
"fieldName" "SpectatorGUIHealth"
"xpos" "10" //"-20"
"zpos" "1"
"ypos" "-10"
"wide" "90" //"60"
"tall" "200" //"200"
"visible" "1"
"enabled" "1"
"HealthBonusPosAdj" "10"
"HealthDeathWarning" "0.49"
"TFFont" "HudFontSmall"
"HealthDeathWarningColor" "HUDDeathWarning"
"TextColor" "Hudoffwhite"

SpectatorGUIHealth.res

Show Content
{
"PlayerStatusHealthImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatusHealthImage"
"xpos" "5"
"ypos" "10"
"zpos" "4"
"wide" "25"
"tall" "25"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
}
"PlayerStatusHealthImageBG"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatusHealthImageBG"
"xpos" "4"
"ypos" "9"
"zpos" "3"
"wide" "27" //2 greather than above ^
"tall" "27"
"visible" "1"
"enabled" "1"
"image" "../hud/health_bg"
"scaleImage" "1"
}
"BuildingStatusHealthImageBG"
{
"ControlName" "ImagePanel"
"fieldName" "BuildingStatusHealthImageBG"
"xpos" "8"
"ypos" "7"
"zpos" "2"
"wide" "19"
"tall" "19"
"visible" "1"
"enabled" "1"
"image" "../hud/health_equip_bg"
"scaleImage" "1"
}
"PlayerStatusHealthBonusImage"
{
"ControlName" "ImagePanel"
"fieldName" "PlayerStatusHealthBonusImage"
"xpos" "5" //"12"
"ypos" "10" //"12"
"zpos" "3"
"wide" "25"
"tall" "25"
"visible" "0"
"enabled" "1"
"image" "../hud/health_over_bg"
"scaleImage" "1"
}
"PlayerStatusHealthValueSpec"
{
"ControlName" "CExLabel"
"fieldName" "PlayerStatusHealthValueSpec"
"xpos" "37"
"ypos" "10" //"14"
"zpos" "6"
"wide" "55"
"tall" "24"
"visible" "1"
"enabled" "1"
"labeltext" "%Health%"
"textAlignment" "west"
"font" "hudfontmediumbold"
"fgcolor" "white"
}
"PlayerStatusHealthValueSpecShadow"
{
"ControlName" "CExLabel"
"fieldName" "PlayerStatusHealthValueSpecShadow"
"xpos" "38"
"ypos" "11" //"15"
"zpos" "5"
"wide" "56"
"tall" "24"
"visible" "1"
"enabled" "1"
"fgcolor" "0 0 0 255"
"labeltext" "%Health%"
"textAlignment" "west"
"font" "hudfontmediumbold"
}
"PlayerStatusPlayerLevel"
{
"ControlName" "CExLabel"
"fieldName" "PlayerStatusPlayerLevel"
"xpos" "26"
"xpos_minmode" "0"
"ypos" "9"
"zpos" "5"
"wide" "16"
"tall" "12"
"visible" "0"
"enabled" "1"
"textAlignment" "center"
"font" "ScoreboardVerySmall"
"fgcolor" "TFOrange"
}
}

HudLayout.res

Show Content
CMainTargetID
{
"fieldName" "CMainTargetID"
"visible" "0"
"enabled" "1"
"xpos" "c-126"
"ypos" "300"
"wide" "700" //400
"tall" "30" //"30"
"priority" "40"

if_vr
{
"ypos" "355"
"x_offset" "20"
}
}

CSecondaryTargetID
{
"fieldName" "CSecondaryTargetID"
"visible" "0"
"enabled" "1"
"xpos" "c-126"
"ypos" "350"
"wide" "252" //"252"
"tall" "40" //30
"priority" "35"
"zpos" "1"

if_vr
{
"ypos" "385"
"x_offset" "20"
}
}

CSpectatorTargetID
{
"fieldName" "CSpectatorTargetID"
"visible" "0"
"enabled" "1"
"xpos" "c-126"
"ypos" "300"
"wide" "252"
"tall" "30"
"priority" "40"
"zpos" "10"

//"x_offset" "20"
//"y_offset" "20"
}

Again, I'm using E.V.E. HUD

EDIT: After trying it with the default HUD, the same issue with the overheal cross arises. Even in the default HUD, the overheal cross above the player's head doesn't change size.

posted about 8 years ago
#2482 HUD editing: short questions, quick answers in Customization

Here's a screenshot of E.V.E. HUD

http://imgur.com/RucdzP7

I'd like the health cross and number above the player's head to be about 4x larger to make it more visible, and the TargetID cross/number to be 2x bigger. The background box will probably have to be increased to compensate as well. I tried tinkering with spectatorguihealth.res but that didn't work out too well.

Also, it bothers me that the overheal cross jumps to max size regardless of how much overheal and stays that way until health goes back down to normal, then the overheal cross disappears, rather than slowly shrinking. Is there a way to fix this? It behaves normally on TargetID but not above the player's head.

And finally, I want to center the vaccinator's resistance icon. In HudMedicCharge.res, I set the wide and tall values to 70 for good visibility, but the xpos and ypos dont seem to affect the position.

Here is a link to E.V.E. HUD: http://tf2.gamebanana.com/guis/25711

posted about 8 years ago