HUDS.TF

Hello There, Guest!

1 2 >
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mandatory TF2 HUD Update
#1
(This is a little late, I've been at Insomnia 55 so I wasn't able to push this out earlier).

So as we're all aware by now, a TF2 Update came out recently which added the new Trade Up feature to the backpack. This allows you to take any of the terrible skins you've managed to obtain over the last few weeks from the contracts, and trade them in for a higher tier skin.

However, this is broken as all hell with custom HUDs, and it requires fixing for all HUD submitted to the site.

The fix is quite simple, you just need to update your scripts/hudanimations_tf.txt file to include the following at the bottom:
Code:
event HideStamp
{
    SetVisible ApplyStampButton        0                    0
}

event CollectionCrafting_Intro
{
    // Reset
    SetVisible ApplyStampButton        0                    0
    SetVisible Stamp                0                    0
    Animate Stamp                    xpos c140    Accel    0 0
    Animate DrawingPanel            xpos c0        Accel    0 0
    Animate DrawingPanel            wide 0        Accel    0 0
    Animate LetterFront                xpos c0        Accel    0 0
    Animate LetterFront                wide 0        Accel    0 0
    Animate LetterBack_Top        xpos c-250    Accel    0 0
    Animate LetterBack_Top        ypos 400    Accel    0 0
    Animate LetterBack_Top        wide 500    Accel    0 0
    Animate LetterBack_Bottom        xpos c-250    Accel    0 0
    Animate LetterBack_Bottom        ypos 400    Accel    0 0
    Animate LetterBack_Bottom        wide 500    Accel    0 0
    Animate LetterBack_Flap            xpos c-250    Accel    0 0
    Animate LetterBack_Flap            ypos 400    Accel    0 0
    Animate LetterBack_Flap            wide 500    Accel    0 0
    Animate LetterBack_Flap            tall 0        Deaccel 0.6 0.4
    Animate LetterBack_Top            ypos 400    Accel    0 0
    SetVisible ReturnModel            0                    0
    Animate SendEvelopeButton        ypos 280    Accel    0 0
    SetVisible    SendEvelopeButton         0                0
    SetVisible ResponseTimeout        0                    0
    SetVisible WaitingForResponse    0                    0

    SetVisible ShowExplanationsButton1            1                    0
    SetVisible ShowExplanationsButton2            0                    0
    Animate TradeUpContainer    wide 800    Accel 0 0    

    // Slide paper down
    Animate TradeUpContainer Position    "0 60"    Deaccel    0    0.3

    // Slider BG up
    Animate BG            Position    "0 34"    Deaccel    0    0.3

    // Fade dimmer down
    Animate Dimmer Alpha "255" Linear 0 0.4
}

event CollectionCrafting_LetterStart
{
    // Slide envelope up
    FireCommand    0.0 "playsound ui/trade_up_envelope_slide_in.wav"
    Animate LetterBack_Bottom    ypos 60    Deaccel 0 0.3
    Animate LetterBack_Flap        ypos 60    Deaccel 0 0.3
    Animate LetterBack_Top        ypos 60    Deaccel 0 0.3
    SetVisible ShowExplanationsButton1    0        0

    // Close flap
    FireCommand    0.3 "playsound ui/trade_up_envelope_fold.wav"
    Animate LetterBack_Flap        tall 250 Deaccel 0.4 0.2
    
    // Start Flip
    FireCommand    0.8 "playsound ui/trade_up_envelope_spin.wav"
    Animate TradeUpContainer    wide 0    Accel 0.8 0    
    Animate LetterBack_Bottom    wide 0    Accel 0.8 0.2
    Animate LetterBack_Bottom    xpos c0    Accel 0.8 0.2
    Animate LetterBack_Flap        wide 0    Accel 0.8 0.2
    Animate LetterBack_Flap        xpos c0    Accel 0.8 0.2
    Animate LetterBack_Top        wide 0    Accel 0.8 0.2
    Animate LetterBack_Top        xpos c0    Accel 0.8 0.2
    
    // End Flips
    Animate LetterFront            xpos c-250    Deaccel 1.0 0.2
    Animate LetterFront            wide 500    Deaccel 1.0 0.2
    Animate DrawingPanel        xpos c-250    Deaccel 1.0 0.2
    Animate DrawingPanel        wide 500    Deaccel 1.0 0.2
    SetVisible ApplyStampButton    1                    1.3
    SetVisible ShowExplanationsButton2    1            1.3
}

event CollectionCrafting_PlaceStamp
{
    SetVisible Stamp                1                    0
    SetVisible ApplyStampButton        0                    0
    FireCommand    0 "playsound ui/trade_up_apply_stamp.wav"
}

event CollectionCrafting_LetterSend
{
    SetVisible ShowExplanationsButton2    0            0
    SetVisible    SendEvelopeButton        0            0
    Animate Stamp                xpos    c70    Deaccel    0 0.3
    Animate LetterFront            xpos    c-320    Deaccel 0 0.3
    Animate DrawingPanel        xpos    c-320    Deaccel 0 0.3

    RunEventChild BehindItemParticlePanel PlayEnvelopSendParticles 0.3
    Animate Stamp                xpos 1120    Accel 0.3 0.2
    Animate LetterFront            xpos 1000    Accel 0.3 0.2
    Animate DrawingPanel        xpos 1000    Accel 0.3 0.2
    SetVisible CloseButton        0                    0
    FireCommand    0.2 "playsound ui/trade_up_envelope_slide_out.wav"
}

event PlayNewItemParticles
{
    FireCommand 0 "start0"
}

event PlayCrateSmashParticles
{
    FireCommand 0 "start1"
}

event PlayEnvelopSendParticles
{
    FireCommand 0 "start2"
}

event ShowFoundLabels
{
    Animate YouTradedForLabel alpha 0 Linear 0 0
    Animate ItemName        alpha 0 Linear 0 0

    Animate YouTradedForLabel alpha 255 Linear 3 1
    Animate ItemName        alpha 255 Linear 3 1
}

event CollectionCrafting_ItemRecieved
{
    RunEventChild NewItemPanel ShowFoundLabels    0
    FireCommand 0    "playcratesequence1"
    SetVisible    NewItemPanel                    0 0
    SetVisible ReturnModel                        1 0.05
    RunEventChild BehindItemParticlePanel PlayCrateSmashParticles 0.2

    FireCommand    0 "playsound ui/trade_up_crate_smash.wav"

    SetVisible    NewItemPanel      1            1.5
    SetVisible CloseButton          1            1.5

    FireCommand 2.1 "playcratesequence2"
    RunEventChild BehindItemParticlePanel PlayNewItemParticles 1.5
    
    FireCommand    1.0 "playsound ../player/taunt_medic_heroic.wav"
}

event CollectionCrafting_OKBlink_Repeatable
{
    Animate OkButton    FgColor Red         Linear 0 0.1
    Animate OkButton    FgColor TanLight Linear 0.1 0.1
}

event CollectionCrafting_OKBlink
{
    RunEvent CollectionCrafting_OKBlink_Repeatable 0
    RunEvent CollectionCrafting_OKBlink_Repeatable 0.2
    RunEvent CollectionCrafting_OKBlink_Repeatable 0.4
    RunEvent CollectionCrafting_OKBlink_Repeatable 0.6
}


event CollectionCrafting_ShowSendButton
{
    SetVisible    SendEvelopeButton      1                    0
    Animate SendEvelopeButton        ypos    320 Deaccel 0 0.5
}

event CollectionCrafting_ShowWaiting
{
    SetVisible WaitingForResponse    1    0
}

event CollectionCrafting_HideWaiting
{
    SetVisible WaitingForResponse    0    0
}

event CollectionCrafting_ShowFailure
{
    SetVisible ResponseTimeout    1    0
    SetVisible CloseButton        1    0
}
(This is to be placed above the // at the bottom of the file).

Any HUDs submitted to the site that have not been updated to fix these changes by Saturday 5th September will be moved to the Outdated section on the Directory. If you've updated your HUD to reflect these changes, feel free to send an updated form. You'll make my job a lot easier.
#2
my hud is not on here since its for my personal use, but thank you for this quick fix :^)
#3
posting fixes on here is an incredibly good idea. good on you, omni.
#4
Holy hell, good thing I checked the site today! I wasn't unable to work on my HUD because I was on vacation! Thanks omni for the info, made it a lot easier for me!
#5
I need help, I'm trying to update my HUD but whenever I put the text over //, its still not updated. And now I cannot equip my secondary. thanks Smile
#6
(08-09-2015, 03:34 PM)kay Wrote: I need help, I'm trying to update my HUD but whenever I put the text over //, its still not updated. And now I cannot equip my secondary. thanks Smile

If you could, copy and paste your hudanimations_tf.txt file into a Pastebin and I'll try and work out your problem.
#7
(08-09-2015, 05:36 PM)omnibombulator Wrote:
(08-09-2015, 03:34 PM)kay Wrote: I need help, I'm trying to update my HUD but whenever I put the text over //, its still not updated. And now I cannot equip my secondary. thanks Smile

If you could, copy and paste your hudanimations_tf.txt file into a Pastebin and I'll try and work out your problem.

Alright, i copied my hud animation file, but it wont paste into paste bin.
#8
(08-09-2015, 06:46 PM)kay Wrote:
(08-09-2015, 05:36 PM)omnibombulator Wrote:
(08-09-2015, 03:34 PM)kay Wrote: I need help, I'm trying to update my HUD but whenever I put the text over //, its still not updated. And now I cannot equip my secondary. thanks Smile

If you could, copy and paste your hudanimations_tf.txt file into a Pastebin and I'll try and work out your problem.

Alright, i copied my hud animation file, but it wont paste into paste bin.

You need to copy the text within the file, not the file itself.
#9
(08-09-2015, 07:22 PM)omnibombulator Wrote:
(08-09-2015, 06:46 PM)kay Wrote:
(08-09-2015, 05:36 PM)omnibombulator Wrote:
(08-09-2015, 03:34 PM)kay Wrote: I need help, I'm trying to update my HUD but whenever I put the text over //, its still not updated. And now I cannot equip my secondary. thanks Smile

If you could, copy and paste your hudanimations_tf.txt file into a Pastebin and I'll try and work out your problem.

Alright, i copied my hud animation file, but it wont paste into paste bin.

You need to copy the text within the file, not the file itself.

Okay, I believe that I did it wrong from the start.. I kind of put the text at the beginning of the file.. ;\ silly me.
#10
(08-09-2015, 10:11 PM)kay Wrote:
(08-09-2015, 07:22 PM)omnibombulator Wrote:
(08-09-2015, 06:46 PM)kay Wrote:
(08-09-2015, 05:36 PM)omnibombulator Wrote:
(08-09-2015, 03:34 PM)kay Wrote: I need help, I'm trying to update my HUD but whenever I put the text over //, its still not updated. And now I cannot equip my secondary. thanks Smile

If you could, copy and paste your hudanimations_tf.txt file into a Pastebin and I'll try and work out your problem.

Alright, i copied my hud animation file, but it wont paste into paste bin.

You need to copy the text within the file, not the file itself.

Okay, I believe that I did it wrong from the start.. I kind of put the text at the beginning of the file.. ;\ silly me.

Nope, nevermind. ill just do the pastebin thing
1 2 >



Copyright © 2014 - 2019 huds.tf | Site by omnibombulator | Powered by MyBB, © 2002 - 2019 MyBB Group and Steam.