Impudenter
Account Details
SteamID64 76561198046546586
SteamID3 [U:1:86280858]
SteamID32 STEAM_0:0:43140429
Country Sweden
Signed Up August 22, 2022
Last Posted August 23, 2022 at 7:41 AM
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  
#3 End-of-game scoreboard broken in Customization

Wow, that worked perfectly! Thank you so much for the help!

posted about a year ago
#1 End-of-game scoreboard broken in Customization

I don't have a custom HUD, I only have the default HUD with a few very minor modifications. My end-of-game scoreboard currently looks like this.

So basically, I recently tried to make a small modification to the Spy silhuette that pops up every time you disguise - I wanted to make it smaller, and move it to the corner of the screen, like so.

To do this, I put a text file called hudanimations_tf.txt into the /tf/custom/hud/scripts/ folder, containing a few lines of code, all of which seem to be solely related to the disguise silhuette feature:

event HudSpyDisguiseChanged
{
Animate PlayerStatusSpyOutlineImage     Alpha       "192"           Linear 0.0 0.2

Animate PlayerStatusSpyOutlineImage     Position    "c-322 c52"     Linear 0.0 0.2
Animate PlayerStatusSpyOutlineImage     Size        "150 150"       Linear 0.0 0.2

RunEvent HudSpyDisguiseHide 0.7
}

event HudSpyDisguiseHide
{
 Animate PlayerStatusSpyOutlineImage        Position    "140 r0"        Linear 0.0 0.2
 Animate PlayerStatusSpyOutlineImage        Size        "0 0"           Linear 0.0 0.2
 Animate PlayerStatusSpyOutlineImage        Alpha       "0"             Linear 0.2 0.1
}

event HudSpyDisguiseFadeIn
{
 RunEvent HudSpyDisguiseChanged 0

Animate PlayerStatusSpyImage            Alpha       "192"       Linear 0.0 0.0

// Animate classmodelpanel              xpos        "0"         Linear 0.0 0.0
// Animate classmodelpanel              ypos        "r200"      Linear 0.0 0.0
// Animate PlayerStatusClassImage       xpos        "0"         Linear 0.0 0.0
// Animate PlayerStatusClassImage       ypos        "r50"       Linear 0.0 0.0
}

event HudSpyDisguiseFadeOut
{
 RunEvent HudSpyDisguiseChanged 0

Animate PlayerStatusSpyImage            Alpha       "0"         Linear 0.0 0.0

// Animate classmodelpanel              xpos        "-9999"     Linear 0.0 0.0
// Animate classmodelpanel              ypos        "r0"        Linear 0.0 0.0
// Animate PlayerStatusClassImage       xpos        "-9999"     Linear 0.0 0.0
// Animate PlayerStatusClassImage       ypos        "r0"        Linear 0.0 0.0
}

For some reason, this file breaks the end-of-game scoreboard. Removing this file fixes it again. But as I said, I can't see why the scoreboard would be affected by this file at all. If any of you have an idea of why this issue occurs, or how to fix it, I'd very much appreciate the help!

posted about a year ago