From b5f3641eebb5778a0a625de45c2f8d29e51ef582 Mon Sep 17 00:00:00 2001 From: CriticalFlaw Date: Tue, 27 Apr 2021 22:00:01 -0400 Subject: Centered custom crosshair --- scripts/hudanimations_custom.txt | 4 ++-- scripts/hudlayout.res | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'scripts') diff --git a/scripts/hudanimations_custom.txt b/scripts/hudanimations_custom.txt index 7a24217..4acd00a 100644 --- a/scripts/hudanimations_custom.txt +++ b/scripts/hudanimations_custom.txt @@ -156,7 +156,7 @@ event HudSpyDisguiseChanged Animate PlayerStatusSpyOutlineImage Alpha "200" Linear 0.0 0.2 Animate PlayerStatusSpyOutlineImage Position "c-350 r175" Linear 0.0 0.2 Animate PlayerStatusSpyOutlineImage Size "150 150" Linear 0.0 0.2 - + RunEvent HudSpyDisguiseHide 0.7 } //================================================================================== @@ -184,4 +184,4 @@ event TeamStatus_PlayerAlive event CompetitiveGame_LowerChatWindow { } event CompetitiveGame_RestoreChatWindow { } -event HudTournament_MoveChatWindow { } +event HudTournament_MoveChatWindow { } \ No newline at end of file diff --git a/scripts/hudlayout.res b/scripts/hudlayout.res index 050eece..7bf5691 100644 --- a/scripts/hudlayout.res +++ b/scripts/hudlayout.res @@ -15,8 +15,8 @@ "controlName" "CExLabel" "fieldName" "CustomCrosshair" "zpos" "0" - "xpos" "cs-0.4999" - "ypos" "cs-0.4990" + "xpos" "cs-0.5" + "ypos" "cs-0.5" "wide" "f0" "tall" "f0" "font" "Size:18 | Outline:OFF" @@ -308,7 +308,7 @@ "tall" "50" "priority" "35" } - + "BuildingStatusAnchor" { "fieldName" "BuildingStatusAnchor" @@ -320,7 +320,7 @@ "wide" "640" "tall" "480" } - + "BuildingStatus_Spy" { "fieldName" "BuildingStatus_Spy" @@ -331,7 +331,7 @@ "wide" "640" "tall" "480" "PaintBackgroundType" "2" - + "pin_to_sibling" "BuildingStatusAnchor" "pin_to_sibling_corner" "PIN_TOPLEFT" "pin_corner_to_sibling" "PIN_TOPLEFT" @@ -347,7 +347,7 @@ "wide" "640" "tall" "480" "PaintBackgroundType" "2" - + "pin_to_sibling" "BuildingStatusAnchor" "pin_to_sibling_corner" "PIN_TOPLEFT" "pin_corner_to_sibling" "PIN_TOPLEFT" @@ -1462,4 +1462,4 @@ "HudTrainingMsg" { } "TrainingComplete" { } "AnnotationsPanel" { } -} +} \ No newline at end of file -- cgit v1.2.3