summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCriticalFlaw <[email protected]>2020-08-05 12:34:36 -0400
committerCriticalFlaw <[email protected]>2020-08-05 12:34:36 -0400
commit3963d7d8341fd29cbc47562810ffd124eed2dc94 (patch)
tree6cb0e16539e5ebab604ab32cadf8aa5240692ff7 /scripts
parent8849ade83ca8e7e1e7156f7e9b7dc179cf1c1af1 (diff)
Implemented Hypnootize's HUD Crosshair Pack
- Implemented a new crosshair pack, made by Hypnootize. This pack effectivly bundles all rayshud (and other) crosshairs into a single package.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/TF2Crosshairs.pngbin0 -> 33144 bytes
-rw-r--r--scripts/hudanimations_custom.txt38
-rw-r--r--scripts/hudlayout.res662
-rw-r--r--scripts/knucklescrosses.pngbin34047 -> 0 bytes
4 files changed, 22 insertions, 678 deletions
diff --git a/scripts/TF2Crosshairs.png b/scripts/TF2Crosshairs.png
new file mode 100644
index 0000000..dd01892
--- /dev/null
+++ b/scripts/TF2Crosshairs.png
Binary files differ
diff --git a/scripts/hudanimations_custom.txt b/scripts/hudanimations_custom.txt
index af4d0e2..1e152d6 100644
--- a/scripts/hudanimations_custom.txt
+++ b/scripts/hudanimations_custom.txt
@@ -131,44 +131,14 @@ event HudMedicChargedStop
// Hitmarker Pulse
event DamagedPlayer
{
-//StopEvent HitMarker 0.0
-//RunEvent HitMarker 0.01
+ StopEvent HitMarker 0.0
+ RunEvent HitMarker 0.01
}
event HitMarker
{
- Animate RaysCrosshair FgColor "CrosshairDamage" Linear 0.0 0.0
- Animate RaysCrosshair FgColor "Crosshair" Linear 0.15 0.0
- Animate KonrWings FgColor "CrosshairDamage" Linear 0.0 0.0
- Animate KonrWings FgColor "Crosshair" Linear 0.15 0.0
- Animate KnucklesCrosses FgColor "CrosshairDamage" Linear 0.0 0.0
- Animate KnucklesCrosses FgColor "Crosshair" Linear 0.15 0.0
- Animate BasicCross FgColor "CrosshairDamage" Linear 0.0 0.0
- Animate BasicCross FgColor "Crosshair" Linear 0.15 0.0
- Animate BasicCrossLarge FgColor "CrosshairDamage" Linear 0.0 0.0
- Animate BasicCrossLarge FgColor "Crosshair" Linear 0.15 0.0
- Animate BasicCrossSmall FgColor "CrosshairDamage" Linear 0.0 0.0
- Animate BasicCrossSmall FgColor "Crosshair" Linear 0.15 0.0
- Animate BasicDot FgColor "CrosshairDamage" Linear 0.0 0.0
- Animate BasicDot FgColor "Crosshair" Linear 0.15 0.0
- Animate CircleDot FgColor "CrosshairDamage" Linear 0.0 0.0
- Animate CircleDot FgColor "Crosshair" Linear 0.15 0.0
- Animate OpenCross FgColor "CrosshairDamage" Linear 0.0 0.0
- Animate OpenCross FgColor "Crosshair" Linear 0.15 0.0
- Animate OpenCrossDot FgColor "CrosshairDamage" Linear 0.0 0.0
- Animate OpenCrossDot FgColor "Crosshair" Linear 0.15 0.0
- Animate ScatterSpread FgColor "CrosshairDamage" Linear 0.0 0.0
- Animate ScatterSpread FgColor "Crosshair" Linear 0.15 0.0
- Animate ThinCircle FgColor "CrosshairDamage" Linear 0.0 0.0
- Animate ThinCircle FgColor "Crosshair" Linear 0.15 0.0
- Animate Wings FgColor "CrosshairDamage" Linear 0.0 0.0
- Animate Wings FgColor "Crosshair" Linear 0.15 0.0
- Animate WingsPlus FgColor "CrosshairDamage" Linear 0.0 0.0
- Animate WingsPlus FgColor "Crosshair" Linear 0.15 0.0
- Animate WingsSmall FgColor "CrosshairDamage" Linear 0.0 0.0
- Animate WingsSmall FgColor "Crosshair" Linear 0.15 0.0
- Animate WingsSmallDot FgColor "CrosshairDamage" Linear 0.0 0.0
- Animate WingsSmallDot 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
diff --git a/scripts/hudlayout.res b/scripts/hudlayout.res
index 89f93c0..2564cfe 100644
--- a/scripts/hudlayout.res
+++ b/scripts/hudlayout.res
@@ -1,653 +1,27 @@
"Resource/HudLayout.res"
{
//--------------------------------------------------------------
+ // HUD CROSSHAIR
+ //--------------------------------------------------------------
// Set visible and enabled to 1 to use.
// Change xpos and ypos values if not perfectly centered.
+ // Change labelText to the corresponding crosshair in TF2Crosshairs.png.
//--------------------------------------------------------------
- // RAYSHUD CROSSHAIRS
- //--------------------------------------------------------------
- "RaysCrosshair"
- {
- "controlName" "CExLabel"
- "fieldName" "RaysCrosshair"
- "visible" "0"
- "enabled" "0"
- "zpos" "2"
- "xpos" "c-103"
- "ypos" "c-100"
- "wide" "200"
- "tall" "200"
- "font" "Crosshairs14"
- "labelText" "3"
- "textAlignment" "center"
- "fgcolor" "Crosshair"
- }
- //--------------------------------------------------------------
- // KONRWINGS
- //--------------------------------------------------------------
- "KonrWings"
- {
- "controlName" "CExLabel"
- "fieldName" "KonrWings"
- "visible" "0"
- "enabled" "0"
- "zpos" "2"
- "xpos" "c-108"
- "ypos" "c-99"
- "wide" "200"
- "tall" "200"
- "font" "KonrWings24"
- "labelText" "i"
- "textAlignment" "center"
- "fgcolor" "Crosshair"
- }
- //--------------------------------------------------------------
- // KNUCKLESCROSSES
- //--------------------------------------------------------------
- "KnucklesCrosses"
- {
- "controlName" "CExLabel"
- "fieldName" "KnucklesCrosses"
- "visible" "0"
- "enabled" "0"
- "zpos" "0"
- "xpos" "c-25"
- "ypos" "c-24"
- "wide" "50"
- "tall" "50"
- "font" "KnucklesCrosses26"
- "labelText" "i"
- "textAlignment" "center"
- "fgcolor" "Crosshair"
- }
-
- //--------------------------------------------------------------
- // CROSSHAIRS
- //--------------------------------------------------------------
-
- "BasicCross"
- {
- "controlName" "CExLabel"
- "fieldName" "BasicCross"
- "visible" "0"
- "enabled" "0"
- "zpos" "2"
- "xpos" "c-102"
- "ypos" "c-99"
- "wide" "200"
- "tall" "200"
- "font" "Crosshairs26"
- "labelText" "2"
- "textAlignment" "center"
- "fgcolor" "Crosshair"
- }
-
- "BasicCrossLarge"
- {
- "controlName" "CExLabel"
- "fieldName" "BasicCrossLarge"
- "visible" "0"
- "enabled" "0"
- "zpos" "2"
- "xpos" "c-102"
- "ypos" "c-98"
- "wide" "200"
- "tall" "200"
- "font" "Crosshairs32"
- "labelText" "2"
- "textAlignment" "center"
- "fgcolor" "Crosshair"
- }
-
- "BasicCrossSmall"
- {
- "controlName" "CExLabel"
- "fieldName" "BasicCrossSmall"
- "visible" "0"
- "enabled" "0"
- "zpos" "2"
- "xpos" "c-101"
- "ypos" "c-99"
- "wide" "200"
- "tall" "200"
- "font" "Crosshairs18"
- "labelText" "2"
- "textAlignment" "center"
- "fgcolor" "Crosshair"
- }
-
- "BasicDot"
- {
- "controlName" "CExLabel"
- "fieldName" "BasicDot"
- "visible" "0"
- "enabled" "0"
- "zpos" "2"
- "xpos" "c-103"
- "ypos" "c-100"
- "wide" "201"
- "tall" "201"
- "font" "Crosshairs24"
- "labelText" "3"
- "textAlignment" "center"
- "fgcolor" "Crosshair"
- }
-
- "CircleDot"
- {
- "controlName" "CExLabel"
- "fieldName" "CircleDot"
- "visible" "0"
- "enabled" "0"
- "zpos" "2"
- "xpos" "c-100"
- "ypos" "c-96"
- "wide" "200"
- "tall" "200"
- "font" "Crosshairs34"
- "labelText" "8"
- "textAlignment" "center"
- "fgcolor" "Crosshair"
- }
-
- "OpenCross"
- {
- "controlName" "CExLabel"
- "fieldName" "OpenCross"
- "visible" "0"
- "enabled" "0"
- "zpos" "2"
- "xpos" "c-85"
- "ypos" "c-100"
- "wide" "199"
- "tall" "200"
- "font" "Crosshairs24"
- "labelText" "i"
- "textAlignment" "center"
- "fgcolor" "Crosshair"
- }
-
- "OpenCrossDot"
- {
- "controlName" "CExLabel"
- "fieldName" "OpenCrossDot"
- "visible" "0"
- "enabled" "0"
- "zpos" "2"
- "xpos" "c-85"
- "ypos" "c-100"
- "wide" "200"
- "tall" "200"
- "font" "Crosshairs24"
- "labelText" "h"
- "textAlignment" "center"
- "fgcolor" "Crosshair"
- }
-
- "ScatterSpread"
- {
- "controlName" "CExLabel"
- "fieldName" "ScatterSpread"
- "visible" "0"
- "enabled" "0"
- "zpos" "2"
- "xpos" "c-99"
- "ypos" "c-99"
- "wide" "200"
- "tall" "200"
- "font" "Crosshairs32"
- "labelText" "0"
- "textAlignment" "center"
- "fgcolor" "Crosshair"
- }
-
- "ThinCircle"
- {
- "controlName" "CExLabel"
- "fieldName" "ThinCircle"
- "visible" "0"
- "enabled" "0"
- "zpos" "2"
- "xpos" "c-100"
- "ypos" "c-96"
- "wide" "200"
- "tall" "200"
- "font" "Crosshairs34"
- "labelText" "9"
- "textAlignment" "center"
- "fgcolor" "Crosshair"
- }
-
- "Wings"
- {
- "controlName" "CExLabel"
- "fieldName" "Wings"
- "visible" "0"
- "enabled" "0"
- "zpos" "2"
- "xpos" "c-100"
- "ypos" "c-97"
- "wide" "200"
- "tall" "200"
- "font" "Crosshairs34"
- "labelText" "d"
- "textAlignment" "center"
- "fgcolor" "Crosshair"
- }
-
- "WingsPlus"
- {
- "controlName" "CExLabel"
- "fieldName" "WingsPlus"
- "visible" "0"
- "enabled" "0"
- "zpos" "2"
- "xpos" "c-100"
- "ypos" "c-97"
- "wide" "200"
- "tall" "200"
- "font" "Crosshairs34"
- "labelText" "c"
- "textAlignment" "center"
- "fgcolor" "Crosshair"
- }
-
- "WingsSmall"
- {
- "controlName" "CExLabel"
- "fieldName" "WingsSmall"
- "visible" "0"
- "enabled" "0"
- "zpos" "2"
- "xpos" "c-100"
- "ypos" "c-97"
- "wide" "200"
- "tall" "200"
- "font" "Crosshairs34"
- "labelText" "g"
- "textAlignment" "center"
- "fgcolor" "Crosshair"
- }
-
- "WingsSmallDot"
- {
- "controlName" "CExLabel"
- "fieldName" "WingsSmallDot"
- "visible" "0"
- "enabled" "0"
- "zpos" "2"
- "xpos" "c-100"
- "ypos" "c-97"
- "wide" "200"
- "tall" "200"
- "font" "Crosshairs34"
- "labelText" "f"
- "textAlignment" "center"
- "fgcolor" "Crosshair"
- }
-
- //--------------------------------------------------------------
- // 16:9 CROSSHAIRS (Enable all for best result)
- //--------------------------------------------------------------
- "16x9Crosshair_vertical1"
- {
- "ControlName" "ImagePanel"
- "fieldName" "VerticalLine"
- "xpos" "427"
- "ypos" "75"
- "zpos" "-5"
- "wide" "1"
- "tall" "154"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "0"
- "enabled" "0"
- "fillcolor" "255 255 255 255"
- "alpha" "50"
- }
-
- "16x9Crosshair_horizontal1"
- {
- "ControlName" "ImagePanel"
- "fieldName" "VerticalLine"
- "xpos" "40"
- "ypos" "240"
- "zpos" "-5"
- "wide" "374"
- "tall" "1"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "0"
- "enabled" "0"
- "fillcolor" "255 255 255 255"
- "alpha" "50"
- }
-
- "16x9Crosshair_horizontal2"
- {
- "ControlName" "ImagePanel"
- "fieldName" "VerticalLine"
- "xpos" "439"
- "ypos" "240"
- "zpos" "-5"
- "wide" "374"
- "tall" "1"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "0"
- "enabled" "0"
- "fillcolor" "255 255 255 255"
- "alpha" "50"
- }
-
- "16x9dark_top"
- {
- "ControlName" "ImagePanel"
- "fieldName" "VerticalLine"
- "xpos" "426"
- "ypos" "190"
- "zpos" "-5"
- "wide" ""
- "tall" "38"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "0"
- "enabled" "0"
- "fillcolor" "255 255 255 255"
- "alpha" "100"
- }
- "16x9dark_bottom"
- {
- "ControlName" "ImagePanel"
- "fieldName" "VerticalLine"
- "xpos" "427"
- "ypos" "252"
- "zpos" "-5"
- "wide" "1"
- "tall" "38"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "0"
- "enabled" "0"
- "fillcolor" "255 255 255 255"
- "alpha" "150"
- }
- "16x9dark_left"
- {
- "ControlName" "ImagePanel"
- "fieldName" "VerticalLine"
- "xpos" "365"
- "ypos" "240"
- "zpos" "-5"
- "wide" "50"
- "tall" "1"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "0"
- "enabled" "0"
- "fillcolor" "255 255 255 255"
- "alpha" "100"
- }
-
- "16x9dark_right"
- {
- "ControlName" "ImagePanel"
- "fieldName" "VerticalLine"
- "xpos" "439"
- "ypos" "240"
- "zpos" "-5"
- "wide" "50"
- "tall" "1"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "0"
- "enabled" "0"
- "fillcolor" "255 255 255 255"
- "alpha" "100"
- }
-
- //--------------------------------------------------------------
- // 16:10 CROSSHAIRS (Enable all for best result)
- //--------------------------------------------------------------
- "16x10Crosshair_vertical1"
- {
- "ControlName" "ImagePanel"
- "fieldName" "VerticalLine"
- "xpos" "384"
- "ypos" "55"
- "zpos" "-5"
- "wide" "1"
- "tall" "170"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "0"
- "enabled" "0"
- "fillcolor" "255 255 255 255"
- "alpha" "50"
- }
-
- "16x10Crosshair_horizontal1"
- {
- "ControlName" "ImagePanel"
- "fieldName" "VerticalLine"
- "xpos" "35"
- "ypos" "240"
- "zpos" "-5"
- "wide" "330"
- "tall" "1"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "0"
- "enabled" "0"
- "fillcolor" "255 255 255 255"
- "alpha" "50"
- }
-
- "16x10Crosshair_horizontal2"
- {
- "ControlName" "ImagePanel"
- "fieldName" "VerticalLine"
- "xpos" "403"
- "ypos" "240"
- "zpos" "-5"
- "wide" "330"
- "tall" "1"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "0"
- "enabled" "0"
- "fillcolor" "255 255 255 255"
- "alpha" "50"
- }
-
- "16x10dark_top"
- {
- "ControlName" "ImagePanel"
- "fieldName" "VerticalLine"
- "xpos" "384"
- "ypos" "187"
- "zpos" "-5"
- "wide" "1"
- "tall" "38"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "0"
- "enabled" "0"
- "fillcolor" "255 255 255 255"
- "alpha" "100"
- }
-
- "16x10dark_bottom"
- {
- "ControlName" "ImagePanel"
- "fieldName" "VerticalLine"
- "xpos" "384"
- "ypos" "254"
- "zpos" "-5"
- "wide" "1"
- "tall" "38"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "0"
- "enabled" "0"
- "fillcolor" "255 255 255 255"
- "alpha" "150"
- }
-
- "16x10dark_left"
- {
- "ControlName" "ImagePanel"
- "fieldName" "VerticalLine"
- "xpos" "315"
- "ypos" "240"
- "zpos" "-5"
- "wide" "50"
- "tall" "1"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "0"
- "enabled" "0"
- "fillcolor" "255 255 255 255"
- "alpha" "100"
- }
-
- "16x10dark_right"
- {
- "ControlName" "ImagePanel"
- "fieldName" "VerticalLine"
- "xpos" "403"
- "ypos" "240"
- "zpos" "-5"
- "wide" "50"
- "tall" "1"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "0"
- "enabled" "0"
- "fillcolor" "255 255 255 255"
- "alpha" "100"
- }
-
- //--------------------------------------------------------------
- // 4:3 CROSSHAIRS (Enable all for best result)
- //--------------------------------------------------------------
- "4x3Crosshair_vertical1"
- {
- "ControlName" "ImagePanel"
- "fieldName" "VerticalLine"
- "xpos" "319"
- "ypos" "70"
- "zpos" "-5"
- "wide" "1"
- "tall" "154"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "0"
- "enabled" "0"
- "fillcolor" "255 255 255 255"
- "alpha" "50"
- }
-
- "4x3Crosshair_horizontal1"
- {
- "ControlName" "ImagePanel"
- "fieldName" "VerticalLine"
- "xpos" "10"
- "ypos" "240"
- "zpos" "-5"
- "wide" "290"
- "tall" "1"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "0"
- "enabled" "0"
- "fillcolor" "255 255 255 255"
- "alpha" "50"
- }
-
- "4x3Crosshair_horizontal2"
- {
- "ControlName" "ImagePanel"
- "fieldName" "VerticalLine"
- "xpos" "340"
- "ypos" "240"
- "zpos" "-5"
- "wide" "290"
- "tall" "1"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "0"
- "enabled" "0"
- "fillcolor" "255 255 255 255"
- "alpha" "50"
- }
-
- "4x3dark_top"
- {
- "ControlName" "ImagePanel"
- "fieldName" "VerticalLine"
- "xpos" "319"
- "ypos" "186"
- "zpos" "-5"
- "wide" "1"
- "tall" "38"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "0"
- "enabled" "0"
- "fillcolor" "255 255 255 255"
- "alpha" "100"
- }
-
- "4x3dark_bottom"
- {
- "ControlName" "ImagePanel"
- "fieldName" "VerticalLine"
- "xpos" "319"
- "ypos" "255"
- "zpos" "-5"
- "wide" "1"
- "tall" "38"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "0"
- "enabled" "0"
- "fillcolor" "255 255 255 255"
- "alpha" "150"
- }
-
- "4x3dark_left"
- {
- "ControlName" "ImagePanel"
- "fieldName" "VerticalLine"
- "xpos" "250"
- "ypos" "240"
- "zpos" "-5"
- "wide" "50"
- "tall" "1"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "0"
- "enabled" "0"
- "fillcolor" "255 255 255 255"
- "alpha" "100"
- }
-
- "4x3dark_right"
- {
- "ControlName" "ImagePanel"
- "fieldName" "VerticalLine"
- "xpos" "340"
- "ypos" "240"
- "zpos" "-5"
- "wide" "50"
- "tall" "1"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "0"
- "enabled" "0"
- "fillcolor" "255 255 255 255"
- "alpha" "100"
+ CustomCrosshair
+ {
+ "visible" "0"
+ "enabled" "0"
+ "labelText" "<"
+ "controlName" "CExLabel"
+ "fieldName" "CustomCrosshair"
+ "zpos" "2"
+ "xpos" "c-50"
+ "ypos" "c-49"
+ "wide" "100"
+ "tall" "100"
+ "font" "Size:18 | Outline:OFF"
+ "textAlignment" "center"
+ "fgcolor" "Crosshair"
}
//--------------------------------------------------------------
// TRANSPARENT VIEWMODEL
diff --git a/scripts/knucklescrosses.png b/scripts/knucklescrosses.png
deleted file mode 100644
index e3935cb..0000000
--- a/scripts/knucklescrosses.png
+++ /dev/null
Binary files differ