summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCriticalFlaw <[email protected]>2020-08-05 22:37:29 -0400
committerCriticalFlaw <[email protected]>2020-08-05 22:37:29 -0400
commit736d6ccdbb4380a71c95b2d74e45d88bbfdc64b3 (patch)
tree81ed82a4046e243eb0ea54d5af1b8a4760726bfb /scripts
parentced4c955b2a5ae691226f47efd0b0f6965ed0415 (diff)
Visual Tweaks, Bug Fixes (see notes)
- Added the missing player effect and health cluster icons - Visual tweaks to the scoreboard, team/class select, freezecam, item test - Updated the main menu to use the new Player Mute menu - Fixed the Overtime label overlapping with the server time limit - Removed unused font definitions
Diffstat (limited to 'scripts')
-rw-r--r--scripts/hudanimations_custom.txt128
-rw-r--r--scripts/hudlayout.res10
2 files changed, 68 insertions, 70 deletions
diff --git a/scripts/hudanimations_custom.txt b/scripts/hudanimations_custom.txt
index 1e152d6..d245234 100644
--- a/scripts/hudanimations_custom.txt
+++ b/scripts/hudanimations_custom.txt
@@ -1,58 +1,54 @@
// Bonus Health Pulse
event HudHealthBonusPulse
{
- Animate PlayerStatusHealthBonusImage Alpha "255" Linear 0.0 0.2
- Animate PlayerStatusHealthBonusImage Alpha "0" Linear 0.2 0.4
+ Animate PlayerStatusHealthBonusImage Alpha "255" Linear 0.0 0.2
+ Animate PlayerStatusHealthBonusImage Alpha "0" Linear 0.2 0.4
- Animate PlayerStatusHealthValue FgColor "Health Buff" Accel 0.0 0.0
- Animate PlayerStatusHealthValueSpectator FgColor "Health Buff" Accel 0.0 0.0
- Animate PlayerStatusHealthValueFreezePanel FgColor "Health Buff" Accel 0.0 0.0
+ Animate PlayerStatusHealthValue FgColor "Health Buff" Accel 0.0 0.0
+ Animate GuiPlayerHealth FgColor "Health Buff" Accel 0.0 0.0
- RunEvent HudHealthBonusPulseLoop 0.4
+ RunEvent HudHealthBonusPulseLoop 0.4
}
event HudHealthBonusPulseStop
{
- StopEvent HudHealthBonusPulse 0.0
- StopEvent HudHealthBonusPulseLoop 0.0
+ StopEvent HudHealthBonusPulse 0.0
+ StopEvent HudHealthBonusPulseLoop 0.0
- Animate PlayerStatusHealthValue FgColor "Health Normal" Accel 0.0 0.0
- Animate PlayerStatusHealthValueSpectator FgColor "Health Normal" Accel 0.0 0.0
- Animate PlayerStatusHealthValueFreezePanel FgColor "Health Normal" Accel 0.0 0.0
+ Animate PlayerStatusHealthValue FgColor "Health Normal" Accel 0.0 0.0
+ Animate GuiPlayerHealth FgColor "Health Normal" Accel 0.0 0.0
}
//==================================================================================
// Low Health Pulse
event HudHealthDyingPulse
{
- Animate PlayerStatusHealthBonusImage Alpha "255" Linear 0.0 0.2
- Animate PlayerStatusHealthBonusImage Alpha "0" Linear 0.2 0.2
+ Animate PlayerStatusHealthBonusImage Alpha "255" Linear 0.0 0.2
+ Animate PlayerStatusHealthBonusImage Alpha "0" Linear 0.2 0.2
- Animate PlayerStatusHealthValue FgColor "Health Hurt" Accel 0.0 0.0
- Animate PlayerStatusHealthValueSpectator FgColor "Health Hurt" Accel 0.0 0.0
- Animate PlayerStatusHealthValueFreezePanel FgColor "Health Hurt" Accel 0.0 0.0
+ Animate PlayerStatusHealthValue FgColor "Health Hurt" Accel 0.0 0.0
+ Animate GuiPlayerHealth FgColor "Health Hurt" Accel 0.0 0.0
- RunEvent HudHealthDyingPulseLoop 0.4
+ RunEvent HudHealthDyingPulseLoop 0.4
}
event HudHealthDyingPulseStop
{
- StopEvent HudHealthDyingPulse 0.0
- StopEvent HudHealthDyingPulseLoop 0.0
+ StopEvent HudHealthDyingPulse 0.0
+ StopEvent HudHealthDyingPulseLoop 0.0
- Animate PlayerStatusHealthValue FgColor "Health Normal" Accel 0.0 0.0
- Animate PlayerStatusHealthValueSpectator FgColor "Health Normal" Accel 0.0 0.0
- Animate PlayerStatusHealthValueFreezePanel FgColor "Health Normal" Accel 0.0 0.0
+ Animate PlayerStatusHealthValue FgColor "Health Normal" Accel 0.0 0.0
+ Animate GuiPlayerHealth FgColor "Health Normal" Accel 0.0 0.0
}
//==================================================================================
// Low Ammo Pulse
event HudLowAmmoPulse
{
- Animate HudWeaponLowAmmoImage Alpha "255" Linear 0.0 0.075
- Animate HudWeaponLowAmmoImage Alpha "0" Linear 0.125 0.075
+ Animate HudWeaponLowAmmoImage Alpha "255" Linear 0.0 0.075
+ Animate HudWeaponLowAmmoImage Alpha "0" Linear 0.125 0.075
- Animate AmmoInClip FgColor "Ammo In Clip Low" Linear 0.0 0.0
- Animate AmmoInReserve FgColor "Ammo In Reserve Low" Linear 0.0 0.0
- Animate AmmoNoClip FgColor "Ammo In Clip Low" Linear 0.0 0.0
+ Animate AmmoInClip FgColor "Ammo In Clip Low" Linear 0.0 0.0
+ Animate AmmoInReserve FgColor "Ammo In Reserve Low" Linear 0.0 0.0
+ Animate AmmoNoClip FgColor "Ammo In Clip Low" Linear 0.0 0.0
RunEvent HudLowAmmoPulseLoop 0.4
}
@@ -62,16 +58,16 @@ event HudLowAmmoPulseStop
StopEvent HudLowAmmoPulse 0.0
StopEvent HudLowAmmoPulseLoop 0.0
- Animate AmmoInClip FgColor "Ammo In Clip" Accel 0.0 0.0
- Animate AmmoInReserve FgColor "Ammo In Reserve" Accel 0.0 0.0
- Animate AmmoNoClip FgColor "Ammo In Clip" Accel 0.0 0.0
+ Animate AmmoInClip FgColor "Ammo In Clip" Accel 0.0 0.0
+ Animate AmmoInReserve FgColor "Ammo In Reserve" Accel 0.0 0.0
+ Animate AmmoNoClip FgColor "Ammo In Clip" Accel 0.0 0.0
}
//==================================================================================
// Ubercharge Meters
event HudMedicCharged
{
RunEvent HudMedicOrangePulseCharge 0.0
-// RunEvent HudMedicSolidColorCharge 0.0
+// RunEvent HudMedicSolidColorCharge 0.0
// RunEvent HudMedicRainbowCharged 0.0
RunEvent HudMedicChargedLoop 0.6
@@ -79,39 +75,39 @@ event HudMedicCharged
event HudMedicRainbowCharged
{
- Animate ChargeLabel FgColor "ColorGreen" Linear 0.0 0.1
- Animate ChargeLabel FgColor "ColorCyan" Linear 0.1 0.1
- Animate ChargeLabel FgColor "ColorBlue" Linear 0.2 0.1
- Animate ChargeLabel FgColor "ColorMagenta" Linear 0.3 0.1
- Animate ChargeLabel FgColor "ColorRed" Linear 0.4 0.1
- Animate ChargeLabel FgColor "ColorYellow" Linear 0.5 0.1
+ Animate ChargeLabel FgColor "ColorGreen" Linear 0.0 0.1
+ Animate ChargeLabel FgColor "ColorCyan" Linear 0.1 0.1
+ Animate ChargeLabel FgColor "ColorBlue" Linear 0.2 0.1
+ Animate ChargeLabel FgColor "ColorMagenta" Linear 0.3 0.1
+ Animate ChargeLabel FgColor "ColorRed" Linear 0.4 0.1
+ Animate ChargeLabel FgColor "ColorYellow" Linear 0.5 0.1
- Animate ChargeMeter FgColor "ColorGreen" Linear 0.0 0.1
- Animate ChargeMeter FgColor "ColorCyan" Linear 0.1 0.1
- Animate ChargeMeter FgColor "ColorBlue" Linear 0.2 0.1
- Animate ChargeMeter FgColor "ColorMagenta" Linear 0.3 0.1
- Animate ChargeMeter FgColor "ColorRed" Linear 0.4 0.1
- Animate ChargeMeter FgColor "ColorYellow" Linear 0.5 0.1
+ Animate ChargeMeter FgColor "ColorGreen" Linear 0.0 0.1
+ Animate ChargeMeter FgColor "ColorCyan" Linear 0.1 0.1
+ Animate ChargeMeter FgColor "ColorBlue" Linear 0.2 0.1
+ Animate ChargeMeter FgColor "ColorMagenta" Linear 0.3 0.1
+ Animate ChargeMeter FgColor "ColorRed" Linear 0.4 0.1
+ Animate ChargeMeter FgColor "ColorYellow" Linear 0.5 0.1
RunEvent HudMedicChargedLoop 0.6
}
event HudMedicSolidColorCharge
{
- Animate ChargeLabel FgColor "Solid Color Uber" Linear 0.0 0.0
+ Animate ChargeLabel FgColor "Solid Color Uber" Linear 0.0 0.0
- Animate ChargeMeter FgColor "Solid Color Uber" Linear 0.0 0.0
+ Animate ChargeMeter FgColor "Solid Color Uber" Linear 0.0 0.0
RunEvent HudMedicChargedLoop 0.6
}
event HudMedicOrangePulseCharge
{
- Animate ChargeLabel FgColor "Flashing Uber Color1" Linear 0.0 0.3
- Animate ChargeLabel FgColor "Flashing Uber Color2" Linear 0.3 0.3
+ Animate ChargeLabel FgColor "Flashing Uber Color1" Linear 0.0 0.3
+ Animate ChargeLabel FgColor "Flashing Uber Color2" Linear 0.3 0.3
- Animate ChargeMeter FgColor "Flashing Uber Color1" Linear 0.0 0.3
- Animate ChargeMeter FgColor "Flashing Uber Color2" Linear 0.3 0.3
+ Animate ChargeMeter FgColor "Flashing Uber Color1" Linear 0.0 0.3
+ Animate ChargeMeter FgColor "Flashing Uber Color2" Linear 0.3 0.3
RunEvent HudMedicChargedLoop 0.6
}
@@ -124,8 +120,8 @@ event HudMedicChargedStop
StopEvent HudMedicOrangePulseCharge 0.0
StopEvent HudMedicChargedLoop 0.0
- Animate ChargeMeter FgColor "Uber Bar Color" Linear 0.0 0.0001
- Animate ChargeLabel FgColor "Ammo In Clip" Linear 0.0 0.0001
+ Animate ChargeMeter FgColor "Uber Bar Color" Linear 0.0 0.0001
+ Animate ChargeLabel FgColor "Ammo In Clip" Linear 0.0 0.0001
}
//==================================================================================
// Hitmarker Pulse
@@ -137,33 +133,35 @@ event DamagedPlayer
event HitMarker
{
- Animate CustomCrosshair FgColor "CrosshairDamage" Linear 0.0 0.0
- Animate CustomCrosshair FgColor "Crosshair" Linear 0.15 0.0
+ Animate CustomCrosshair FgColor "CrosshairDamage" Linear 0.0 0.0
+ Animate CustomCrosshair FgColor "Crosshair" Linear 0.15 0.0
}
//==================================================================================
// Spy Disguise
event HudSpyDisguiseFadeIn
{
-// RunEvent HudSpyDisguiseChanged 0.0
-// Animate PlayerStatusSpyImage Alpha "255" Linear 0.9 0.1
+// RunEvent HudSpyDisguiseChanged 0.0
+// Animate PlayerStatusSpyImage Alpha "255" Linear 0.9 0.1
}
event HudSpyDisguiseFadeOut
{
-// RunEvent HudSpyDisguiseChanged 0.0
-// Animate PlayerStatusSpyImage Alpha "0" Linear 0.9 0.1
+// RunEvent HudSpyDisguiseChanged 0.0
+// Animate PlayerStatusSpyImage Alpha "0" Linear 0.9 0.1
}
//==================================================================================
event HudSnapShotReminderIn
{
- RunEvent HudHealthDyingPulseStop 10.0
- RunEvent HudHealthBonusPulseStop 10.0
- RunEvent HudLowAmmoPulseStop 10.0
- RunEvent HudMedicChargedStop 10.0
+ RunEvent DefaultAnimHudSnapShotReminderIn 0.0
+
+ RunEvent HudHealthBonusPulseStop 0.0
+ RunEvent HudHealthDyingPulseStop 0.0
+ RunEvent HudLowAmmoPulseStop 0.0
+ RunEvent HudMedicChargedStop 0.0
}
//==================================================================================
-// Do not move chat window
-event CompetitiveGame_LowerChatWindow { }
-event CompetitiveGame_RestoreChatWindow { }
-event HudTournament_MoveChatWindow { } \ No newline at end of file
+
+event CompetitiveGame_LowerChatWindow { }
+event CompetitiveGame_RestoreChatWindow { }
+event HudTournament_MoveChatWindow { } \ No newline at end of file
diff --git a/scripts/hudlayout.res b/scripts/hudlayout.res
index a27313c..e6a8d05 100644
--- a/scripts/hudlayout.res
+++ b/scripts/hudlayout.res
@@ -49,7 +49,7 @@
"fieldName" "HudPlayerStatus"
"visible" "1"
"enabled" "1"
- "xpos" "-15"
+ "xpos" "0"
"ypos" "1"
"wide" "f0"
"tall" "480"
@@ -262,8 +262,8 @@
"fieldName" "DisguiseStatus"
"visible" "1"
"enabled" "1"
- "xpos" "20"
- "ypos" "r50"
+ "xpos" "c55"
+ "ypos" "r40"
"wide" "150"
"tall" "30"
}
@@ -1177,11 +1177,11 @@
"ControlName" "EditablePanel"
"fieldName" "HudAchievementTracker"
"xpos" "5"
- "NormalY" "330"
+ "NormalY" "300"
"EngineerY" "150"
"zpos" "0"
"wide" "200"
- "tall" "170"
+ "tall" "125"
"visible" "1"
"enabled" "1"
}