summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCriticalFlaw <[email protected]>2020-12-29 13:18:40 -0500
committerCriticalFlaw <[email protected]>2020-12-29 13:18:40 -0500
commitea282b4939ae1c8f5b69a89acf4db91d14491e62 (patch)
treef18f10570754661429c44b9af532a033906a7abb /scripts
parent46d248b5167f9c8794c3125146952fef08f86bcd (diff)
CastingEssentials Support
- Added support for CastingEssentials features like team scores, medigun info, player status effects and loadout icons. - Updated the match HUD and the look of the player list. - Fixed the in-game chat moving when changing classes.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/hudanimations_custom.txt34
-rw-r--r--scripts/hudlayout.res16
2 files changed, 25 insertions, 25 deletions
diff --git a/scripts/hudanimations_custom.txt b/scripts/hudanimations_custom.txt
index a1b2b6b..c1571a5 100644
--- a/scripts/hudanimations_custom.txt
+++ b/scripts/hudanimations_custom.txt
@@ -124,7 +124,7 @@ event HudMedicChargedStop
Animate ChargeLabel FgColor "Ammo In Clip" Linear 0.0 0.0001
}
//==================================================================================
-// Hitmarker Pulse
+
event DamagedPlayer
{
StopEvent HitMarker 0.0
@@ -137,6 +137,7 @@ event HitMarker
Animate CustomCrosshair FgColor "Crosshair" Linear 0.10 0.10001
}
//==================================================================================
+
// Spy Disguise
event HudSpyDisguiseFadeIn
{
@@ -162,26 +163,25 @@ event HudSpyDisguiseChanged
event HudSnapShotReminderIn
{
- RunEvent DefaultAnimHudSnapShotReminderIn 0.0
- RunEvent HudHealthBonusPulseStop 0.0
- RunEvent HudHealthDyingPulseStop 0.0
- RunEvent HudLowAmmoPulseStop 0.0
- RunEvent HudMedicChargedStop 0.0
+ RunEvent HudHealthDyingPulseStop 10.0
+ RunEvent HudHealthBonusPulseStop 10.0
+ RunEvent HudLowAmmoPulseStop 10.0
+ RunEvent HudMedicChargedStop 10.0
}
//==================================================================================
-event CompetitiveGame_LowerChatWindow
-{
- Animate HudChat ypos r120 Accel 0 0
+event TeamStatus_PlayerDead
+{
+ SetVisible respawntime 1 0
}
-event CompetitiveGame_RestoreChatWindow
-{
- Animate HudChat ypos 25 Accel 0 0
+event TeamStatus_PlayerAlive
+{
+ SetVisible respawntime 0 0.2
}
-event HudTournament_MoveChatWindow
-{
- RunEvent CompetitiveGame_LowerChatWindow 0
- RunEvent CompetitiveGame_RestoreChatWindow 0
-} \ 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 8135ec8..f5bc2a3 100644
--- a/scripts/hudlayout.res
+++ b/scripts/hudlayout.res
@@ -120,7 +120,7 @@
HudDemomanCharge
{
- "fieldName" "HudItemEffectMeter"
+ "fieldName" "HudDemomanCharge"
"visible" "1"
"enabled" "1"
"xpos" "c-75"
@@ -361,9 +361,9 @@
HudRoundTimer
{
"fieldName" "HudRoundTimer"
- "xpos" "c-20"
+ "xpos" "0"
"ypos" "440"
- "wide" "120"
+ "wide" "f0"
"tall" "40"
"visible" "1"
"enabled" "1"
@@ -408,8 +408,8 @@
"fieldName" "HudDamageIndicator"
"visible" "1"
"enabled" "1"
- "MinimumWidth" "10"
- "MaximumWidth" "10"
+ "MinimumWidth" "15"
+ "MaximumWidth" "15"
"StartRadius" "80"
"EndRadius" "80"
"MinimumHeight" "30"
@@ -471,7 +471,7 @@
"visible" "1"
"enabled" "1"
"xpos" "r592"
- "ypos" "22"
+ "ypos" "25"
"wide" "580"
"tall" "468"
"MaxDeathNotices" "5"
@@ -1094,10 +1094,10 @@
"fieldName" "HudStopWatch"
"visible" "1"
"enabled" "1"
- "xpos" "c-44"
+ "xpos" "c-115"
"ypos" "27"
"zpos" "0"
- "wide" "80"
+ "wide" "90"
"tall" "15"
}