Created
April 4, 2011 06:58
-
-
Save anonymous/901228 to your computer and use it in GitHub Desktop.
Background of medic hub disappeared
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Flash the medic charge hud when we have full charge | |
event HudMedicCharged | |
{ | |
Animate ChargeLabel FgColor "Red" Linear 0.0 0.2 | |
Animate ChargeLabel FgColor "Orange" Linear 0.2 0.2 | |
Animate ChargeLabel FgColor "255 255 0 255" Linear 0.4 0.2 | |
Animate ChargeLabel FgColor "0 255 0 255" Linear 0.6 0.2 | |
Animate ChargeLabel FgColor "0 0 255 0" Linear 0.8 0.2 | |
Animate ChargeLabel FgColor "255 0 255 255" Linear 1.0 0.2 | |
Animate ChargeMeter FgColor "Red" Linear 0.0 0.2 | |
Animate ChargeMeter FgColor "Orange" Linear 0.2 0.2 | |
Animate ChargeMeter FgColor "255 255 0 255" Linear 0.4 0.2 | |
Animate ChargeMeter FgColor "0 255 0 255" Linear 0.6 0.2 | |
Animate ChargeMeter FgColor "0 0 255 0" Linear 0.8 0.2 | |
Animate ChargeMeter FgColor "255 0 255 255" Linear 1.0 0.2 | |
Animate ScreenshotPanel Position "c-83 -50" Linear 0.0 0.001 | |
Animate ScreenshotPanel Position "c-83 13" Spline 0.001 0.2 | |
RunEvent HudMedicChargedLoop 1.2 | |
} | |
// 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.0001 | |
Animate ChargeMeter FgColor "TanLight" Linear 0.0 0.0001 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HudMedicCharge | |
{ | |
"fieldName" "HudMedicCharge" | |
"visible" "1" | |
"enabled" "1" | |
"xpos" "c-50" | |
"ypos" "333" | |
"wide" "100" | |
"tall" "100" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Resource/UI/HudMedicCharge.res" | |
{ | |
"Background" | |
{ | |
"ControlName" "CTFImagePanel" | |
"fieldName" "Background" | |
"wide" "0" | |
"tall" "0" | |
"visible" "1" | |
"enabled" "0" | |
} | |
"ChargeLabel" | |
{ | |
"ControlName" "CTFLabel" | |
"fieldName" "ChargeLabel" | |
"xpos" "170" | |
"ypos" "198" | |
"zpos" "3" | |
"wide" "140" | |
"tall" "15" | |
"autoResize" "1" | |
"pinCorner" "2" | |
"visible" "1" | |
"enabled" "1" | |
"labelText" "#TF_Ubercharge" | |
"textAlignment" "west" | |
"font" "DefaultOutline" | |
} | |
"ChargeLabel2" | |
{ | |
"ControlName" "CTFLabel" | |
"fieldName" "ChargeLabel2" | |
"xpos" "0" | |
"ypos" "12" | |
"zpos" "3" | |
"wide" "32" | |
"tall" "12" | |
"autoResize" "1" | |
"pinCorner" "2" | |
"visible" "1" | |
"enabled" "1" | |
"labelText" "#TF_UberchargeMinHUD" | |
"textAlignment" "center" | |
"font" "DefaultOutline" | |
} | |
"ChargeMeter" | |
{ | |
"ControlName" "ContinuousProgressBar" | |
"fieldName" "ChargeMeter" | |
"font" "Default" | |
"xpos" "121" | |
"ypos" "197" | |
"zpos" "2" | |
"wide" "186" | |
"tall" "16" | |
"visible" "1" | |
"enabled" "1" | |
"textAlignment" "Left" | |
} | |
"ChargeMeterBG" | |
{ | |
"ControlName" "ImagePanel" | |
"fieldName" "ChargeMeterBG" | |
"xpos" "123" | |
"ypos" "199" | |
"zpos" "1" | |
"wide" "186" | |
"tall" "16" | |
"visible" "1" | |
"enabled" "1" | |
"fillcolor" "0 0 0 255" | |
} | |
"ChargeMeterBG2" | |
{ | |
"ControlName" "ImagePanel" | |
"fieldName" "ChargeMeterBG" | |
"xpos" "120" | |
"ypos" "196" | |
"zpos" "1" | |
"wide" "188" | |
"tall" "18" | |
"visible" "1" | |
"enabled" "1" | |
"fillcolor" "0 0 0 255" | |
} | |
"HealthClusterIcon" | |
{ | |
"ControlName" "ImagePanel" | |
"fieldName" "HealthClusterIcon" | |
"wide" "0" | |
"tall" "0" | |
"visible" "1" | |
"enabled" "0" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment