Skip to content

Commit

Permalink
1.58 [MM]
Browse files Browse the repository at this point in the history
It's still missing some stuff (2 files, the scoreboard and the
winpanel). But it might not crash. Also testing out a new system.
  • Loading branch information
MedicodiBiscotti committed Mar 11, 2016
1 parent c59f45d commit ca05a70
Show file tree
Hide file tree
Showing 17 changed files with 1,344 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# biscottiHUD
v. 1.57
v. 1.58

This is my custom HUD for Team Fortress 2 (TF2).

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,245 @@
// Section to enable/disable certain event animations //
//=====================================================

// event HudSpyDisguiseChanged {runevent HudSpyDisguiseChangedNULL 0}
// event FlagOutline {runevent FlagOutlineNULL 0}

//===========================================

//Health Bonus Pulse
event HudHealthBonusPulse
{
Animate PlayerStatusHealthBonusImage Alpha "255" Linear 0.0 0.2 // White Cross
Animate PlayerStatusHealthBonusImage Alpha "0" Linear 0.2 0.4

Animate PlayerHealthShadedBG BgColor "BrightBlue" Linear 0.0 0.0 // Coloured Box
Animate PlayerHealthShadedBG BgColor "BrightBlueLight" Linear 0.0 0.2 // Coloured Box
Animate PlayerHealthShadedBG BgColor "BrightBlue" Linear 0.2 0.2 // Coloured Box

Animate PlayerHealthBonusShadedBGTournament Alpha "230" Linear 0.0 0.0 // Coloured Box Tournament
Animate PlayerHealthBonusShadedBGTournament BgColor "BrightBlue" Linear 0.0 0.0 // Coloured Box Tournament
Animate PlayerHealthBonusShadedBGTournament BgColor "BrightBlueLight" Linear 0.0 0.2 // Coloured Box Tournament
Animate PlayerHealthBonusShadedBGTournament BgColor "BrightBlue" Linear 0.2 0.2 // Coloured Box Tournament

Animate BlackFilter Alpha "0" Linear 0.0 0.0


Animate PlayerStatusHealthValue FgColor "HealthBonus" Linear 0.0 0.0
// Animate PlayerStatusHealthValueSelf FgColor "HealthBonus" Linear 0.0 0.0

RunEvent HudHealthBonusPulseLoop 0.4
}

// call to loop HudHealthBonusPulse
event HudHealthBonusPulseLoop
{
RunEvent HudHealthBonusPulse 0.0
}

event HudHealthBonusPulseStop
{
StopEvent HudHealthBonusPulse 0.0
StopEvent HudHealthBonusPulseLoop 0.0

Animate PlayerHealthShadedBG BgColor "BlackSolid" Linear 0.0 0.0 // Coloured Box
Animate PlayerHealthBonusShadedBGTournament Alpha "0" Linear 0.0 0.0 // Coloured Box Tournament
Animate PlayerHealthBonusShadedBGTournament BgColor "BrightBlue" Linear 0.0 0.0 // Coloured Box Tournament

Animate BlackFilter Alpha "255" Linear 0.0 0.0

Animate PlayerStatusHealthValue FgColor "White" Linear 0.0 0.0
Animate PlayerStatusHealthValueSelf FgColor "TanLight" Linear 0.0 0.0
}

//===========================================

//Health Dying Pulse
event HudHealthDyingPulse
{
Animate PlayerStatusHealthBonusImage Alpha "255" Linear 0.0 0.075 // White Cross
Animate PlayerStatusHealthBonusImage Alpha "0" Linear 0.125 0.075

Animate PlayerHealthShadedBG BgColor "BrightRed" Linear 0.0 0.0 // Coloured Box
Animate PlayerHealthShadedBG BgColor "BrightRedLight" Linear 0.0 0.075 // Coloured Box
Animate PlayerHealthShadedBG BgColor "BrightRed" Linear 0.125 0.075 // Coloured Box

Animate PlayerStatusHealthValue FgColor "HealthDying" Linear 0.0 0.0
// Animate PlayerStatusHealthValueSelf FgColor "HealthDying" Linear 0.0 0.0 // Red Text

RunEvent HudHealthDyingPulseLoop 0.25
}

// call to loop HudHealthDyingPulse
event HudHealthDyingPulseLoop
{
RunEvent HudHealthDyingPulse 0.0
}

event HudHealthDyingPulseStop
{
StopEvent HudHealthDyingPulse 0.0
StopEvent HudHealthDyingPulseLoop 0.0

Animate PlayerHealthShadedBG BgColor "BlackSolid" Linear 0.0 0.0 // Coloured Box

Animate PlayerStatusHealthValue FgColor "White" Linear 0.0 0.0
// Animate PlayerStatusHealthValueSelf FgColor "TanLight" Linear 0.0 0.0 // Text Reset
}

//===========================================

event HudLowAmmoPulse
{
// Animate HudWeaponLowAmmoImage Alpha "255" Linear 0.0 0.075
// Animate HudWeaponLowAmmoImage Alpha "0" Linear 0.125 0.075

Animate HudWeaponAmmoShadedBG BgColor "BrightRed" Linear 0.0 0.0 // Coloured Box
Animate HudWeaponAmmoShadedBG BgColor "BrightRedLight" Linear 0.0 0.075 // Coloured Box
Animate HudWeaponAmmoShadedBG BgColor "BrightRed" Linear 0.125 0.075 // Coloured Box

// Animate AmmoInClip FgColor "AmmoLow" Linear 0.0 0.0 // Red Text
// Animate AmmoInReserve FgColor "AmmoLow" Linear 0.0 0.0

RunEvent HudLowAmmoPulseLoop 0.25
}

// call to loop HudLowAmmoPulse
event HudLowAmmoPulseLoop
{
RunEvent HudLowAmmoPulse 0.0
}

event HudLowAmmoPulseStop
{
StopEvent HudLowAmmoPulse 0.0
StopEvent HudLowAmmoPulseLoop 0.0

Animate HudWeaponAmmoShadedBG BgColor "BlackSolid" Linear 0.0 0.0 // Coloured Box

Animate AmmoInClip FgColor "TanLight" Linear 0.0 0.0
Animate AmmoInReserve FgColor "TanLight" Linear 0.0 0.0
}

//===========================================

event FlagOutlineHide
{
Animate OutlineImage Alpha "0" Linear 0.0 0.1
}

// Local player flag pickup/drop
event FlagOutline
{
}

event FlagOutlineNULL
{
RunEvent FlagOutlineHide 0.0
Animate OutlineImage Alpha "255" Linear 0.1 0.2

Animate OutlineImage Position "c-200 140" Linear 0.1 0.2
Animate OutlineImage Size "400 200" Linear 0.1 0.2

Animate OutlineImage Position "c-50 r137" Linear 0.7 0.2 [$WIN32]
Animate OutlineImage Position "c-50 r158" Linear 0.7 0.2 [$X360]
Animate OutlineImage Size "100 50" Linear 0.7 0.2

Animate OutlineImage Alpha "0" Linear 0.9 0.1
}

//===========================================

// Spy Disguise
event HudSpyDisguiseChanged
{
}

event HudSpyDisguiseChangedNULL
{
Animate PlayerStatusSpyOutlineImage Alpha "255" Linear 0.0 0.2

Animate PlayerStatusSpyOutlineImage Position "c-200 c-200" Linear 0.0 0.2
Animate PlayerStatusSpyOutlineImage Size "400 400" Linear 0.0 0.2

RunEvent HudSpyDisguiseHide 0.7
}

event HudSpyDisguiseHide
{
Animate PlayerStatusSpyOutlineImage Position "3 413" Linear 0.0 0.2
Animate PlayerStatusSpyOutlineImage Size "55 55" Linear 0.0 0.2

Animate PlayerStatusSpyOutlineImage Alpha "0" Linear 0.2 0.1
}

event HudSpyDisguiseFadeIn
{
RunEvent HudSpyDisguiseChanged 0
Animate PlayerStatusSpyImage Alpha "255" Linear 0.9 0.1
}

event HudSpyDisguiseFadeOut
{
RunEvent HudSpyDisguiseChanged 0
Animate PlayerStatusSpyImage Alpha "0" Linear 0.9 0.1
}

//===========================================

// Flash the medic charge hud when we have full charge

event HudMedicCharged
{
// Animate ChargeLabel FgColor "UberReady" Linear 0.0 0.0 // My magenta/purple flash
// Animate ChargeLabel FgColor "UberReadyLight" Linear 0.0 0.5
// Animate ChargeLabel FgColor "UberReady" Linear 0.5 0.5

Animate MedicChargedShadedBG BgColor "UberReadyTrans" Linear 0.0 0.0
Animate MedicChargedShadedBG BgColor "UberReadyLightTrans" Linear 0.0 0.5
Animate MedicChargedShadedBG BgColor "UberReadyTrans" Linear 0.5 0.5

Animate ChargeMeter FgColor "UberReady" Linear 0.0 0.0
Animate ChargeMeter FgColor "UberReadyLight" Linear 0.0 0.5
Animate ChargeMeter FgColor "UberReady" Linear 0.5 0.5

// Animate ChargeLabel FgColor "SlinFire1" Linear 0.0 0.1 // SlinFire's beautiful orange flash
// Animate ChargeLabel FgColor "SlinFire2" Accel 0.3 0.4


// Animate ChargeMeter FgColor "SlinFire1" Linear 0.0 0.1
// Animate ChargeMeter FgColor "SlinFire2" Accel 0.3 0.4

RunEvent HudMedicChargedLoop 1.0
// RunEvent HudMedicChargedLoop 0.6 // Loop time for SlinFire
}

// call to loop HudHealthBonusPulse
event HudMedicChargedLoop
{
RunEvent HudMedicCharged 0.0
}

event HudMedicChargedStop
{
StopEvent HudMedicCharged 0.0
StopEvent HudMedicChargedLoop 0.0

Animate ChargeLabel FgColor "TanLight" Linear 0.0 0.0
Animate MedicChargedShadedBG BgColor "TransBlack" Linear 0.0 0.0
Animate ChargeMeter FgColor "TanLight" Linear 0.0 0.0
}

//====================================

event DamagedPlayer
{
Animate HudHitMarker Alpha "255" Linear 0.0 0.0
Animate HudHitmarker Alpha "0" Linear 0.1 0.2

Animate CDamageAccountValue Alpha "255" Linear 0.0 0.0
Animate CDamageAccountValue Alpha "0" Linear 10.0 0.2
Animate CDamageAccountValueBG Alpha "255" Linear 0.0 0.0
Animate CDamageAccountValueBG Alpha "0" Linear 10.0 0.2
}

//===========================================
Loading

0 comments on commit ca05a70

Please sign in to comment.