diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/HudAnimations_custom.txt | 9 | ||||
| -rw-r--r-- | scripts/hudlayout.res | 841 | ||||
| -rw-r--r-- | scripts/knucklescrosses.png | bin | 0 -> 34047 bytes |
3 files changed, 31 insertions, 819 deletions
diff --git a/scripts/HudAnimations_custom.txt b/scripts/HudAnimations_custom.txt index 1cb6d81..cffe960 100644 --- a/scripts/HudAnimations_custom.txt +++ b/scripts/HudAnimations_custom.txt @@ -86,17 +86,18 @@ event HudLowAmmoPulseStop Animate AmmoNoClip FgColor "Ammo In Clip" Accel 0.0 0.0 } //=========================================== + event DamagedPlayer { - StopEvent HitMarker 0.0 - RunEvent HitMarker 0.01 + StopEvent HitMarker 0.0 + RunEvent HitMarker 0.01 } event HitMarker { - // Empty + Animate KnucklesCrosses FgColor "CrosshairDamage" Linear 0.0 0.0 + Animate KnucklesCrosses FgColor "Crosshair" Linear 0.15 0.0 } - //=========================================== // Spy Disguise event HudSpyDisguiseFadeIn diff --git a/scripts/hudlayout.res b/scripts/hudlayout.res index eb744be..13507ff 100644 --- a/scripts/hudlayout.res +++ b/scripts/hudlayout.res @@ -1,822 +1,33 @@ "Resource/HudLayout.res" { - //crosshairs - - Spookmaster - { - "controlName" "CExLabel" - "fieldName" "Spookmaster" - "font" "CerbeticaBold44" - "visible" "0" - "enabled" "0" - "zpos" "2" - - "xpos" "c-100" - "ypos" "c-102" - "wide" "201" - "tall" "200" - - "labelText" "0 0" - "textAlignment" "center" - - "fgcolor" "255 0 0 0" - } - - xHairCircle - { - "controlName" "CExLabel" - "fieldName" "xHairCircle" - "font" "xHairCircle" - "visible" "0" - "enabled" "0" - "zpos" "2" - - "xpos" "c-100" - "ypos" "c-102" - "wide" "201" - "tall" "200" - - //"font" "xHairCircleOutline" - "font" "xHairCircle" - "labelText" "o" - "textAlignment" "center" - - "fgcolor" "255 255 255 100" - } - - ScatterSpread - { - "controlName" "CExLabel" - "fieldName" "ScatterSpread" - "visible" "0" - "enabled" "0" - "zpos" "2" - - "xpos" "c-99" - "ypos" "c-99" - "wide" "200" - "tall" "200" - - //"font" "CrosshairsOutline32" - "font" "Crosshairs32" - "labelText" "0" - "textAlignment" "center" - "outline" "1" - - "fgcolor" "255 255 255 255" - } - - BasicCross - { - "controlName" "CExLabel" - "fieldName" "BasicCross" - "visible" "0" - "enabled" "0" - "zpos" "2" - - "xpos" "c-102" - "ypos" "c-99" - "wide" "200" - "tall" "200" - - //"font" "CrosshairsOutline26" - "font" "Crosshairs26" - "labelText" "2" - "textAlignment" "center" - - "fgcolor" "255 255 255 255" - } - - BasicCrossSmall - { - "controlName" "CExLabel" - "fieldName" "BasicCrossSmall" - "visible" "0" - "enabled" "0" - "zpos" "2" - - "xpos" "c-101" - "ypos" "c-99" - "wide" "200" - "tall" "200" - - //"font" "CrosshairsOutline18" - "font" "Crosshairs18" - "labelText" "2" - "textAlignment" "center" - - "fgcolor" "255 255 255 255" - } - - BasicCrossLarge - { - "controlName" "CExLabel" - "fieldName" "BasicCrossLarge" - "visible" "0" - "enabled" "0" - "zpos" "2" - - "xpos" "c-102" - "ypos" "c-98" - "wide" "200" - "tall" "200" - - //"font" "CrosshairsOutline32" - "font" "Crosshairs32" - "labelText" "2" - "textAlignment" "center" - - "fgcolor" "255 255 255 255" - } - - BasicDot - { - "controlName" "CExLabel" - "fieldName" "BasicDot" - "visible" "0" - "enabled" "0" - "zpos" "2" - - "xpos" "c-103" - "ypos" "c-100" - "wide" "201" - "tall" "201" - - //"font" "CrosshairsOutline24" - "font" "Crosshairs24" - "labelText" "3" - "textAlignment" "center" - - "fgcolor" "255 255 255 255" - } - - CircleDot - { - "controlName" "CExLabel" - "fieldName" "CircleDot" - "visible" "0" - "enabled" "0" - "zpos" "2" - - "xpos" "c-100" - "ypos" "c-96" - "wide" "200" - "tall" "200" - - //"font" "CrosshairsOutline34" - "font" "Crosshairs34" - "labelText" "8" - "textAlignment" "center" - - "fgcolor" "255 255 255 255" - } - - ThinCircle - { - "controlName" "CExLabel" - "fieldName" "ThinCircle" - "visible" "0" - "enabled" "0" - "zpos" "2" - - "xpos" "c-100" - "ypos" "c-96" - "wide" "200" - "tall" "200" - - //"font" "CrosshairsOutline34" - "font" "Crosshairs34" - "labelText" "9" - "textAlignment" "center" - - "fgcolor" "255 255 255 255" - } - - WingsPlus - { - "controlName" "CExLabel" - "fieldName" "WingsPlus" - "visible" "0" - "enabled" "0" - "zpos" "2" - - "xpos" "c-100" - "ypos" "c-97" - "wide" "200" - "tall" "200" - - //"font" "CrosshairsOutline34" - "font" "Crosshairs34" - "labelText" "c" - "textAlignment" "center" - - "fgcolor" "255 255 255 255" - } - - Wings - { - "controlName" "CExLabel" - "fieldName" "Wings" - "visible" "0" - "enabled" "0" - "zpos" "2" - - "xpos" "c-100" - "ypos" "c-97" - "wide" "200" - "tall" "200" - - //"font" "CrosshairsOutline34" - "font" "Crosshairs34" - "labelText" "d" - "textAlignment" "center" + //-------------------------------------------------------------- + // KNUCKLESCROSSES + //-------------------------------------------------------------- + // Set visible and enabled to 1 to use. Change labelText to the + // corresponding crosshair in KnucklesCrosses.png. Change xpos + // and ypos values if not perfectly centered. + //-------------------------------------------------------------- + + KnucklesCrosses + { + "visible" "1" + "enabled" "1" + "labelText" "i" - "fgcolor" "255 255 255 255" - } - - WingsSmallDot - { - "controlName" "CExLabel" - "fieldName" "WingsSmallDot" - "visible" "0" - "enabled" "0" - "zpos" "2" - - "xpos" "c-100" - "ypos" "c-97" - "wide" "200" - "tall" "200" - - //"font" "CrosshairsOutline34" - "font" "Crosshairs34" - "labelText" "f" - "textAlignment" "center" - - "fgcolor" "0 0 0 0" - } - - WingsSmall - { - "controlName" "CExLabel" - "fieldName" "WingsSmall" - "visible" "0" - "enabled" "0" - "zpos" "2" - - "xpos" "c-100" - "ypos" "c-97" - "wide" "200" - "tall" "200" - - //"font" "CrosshairsOutline34" - "font" "Crosshairs34" - "labelText" "g" - "textAlignment" "center" - - "fgcolor" "255 255 255 255" - } - - OpenCross - { - "controlName" "CExLabel" - "fieldName" "OpenCross" - "visible" "0" - "enabled" "0" - "zpos" "2" - - "xpos" "c-85" - "ypos" "c-100" - "wide" "199" - "tall" "200" - - "font" "CrosshairsOutline24" - "font" "Crosshairs24" - "labelText" "i" - "textAlignment" "center" - - "fgcolor" "255 255 255 255" - } - - OpenCrossDot - { - "controlName" "CExLabel" - "fieldName" "OpenCrossDot" - "visible" "0" - "enabled" "0" - "zpos" "2" - - "xpos" "c-85" - "ypos" "c-100" - "wide" "199" - "tall" "200" - - //"font" "CrosshairsOutline24" - "font" "Crosshairs24" - "labelText" "h" - "textAlignment" "center" - - "fgcolor" "255 255 255 255" - } - - ThinCross - { - "controlName" "CExLabel" - "fieldName" "ThinCross" - "visible" "0" - "enabled" "0" - "zpos" "2" - - "xpos" "c-100" - "ypos" "c-103" - "wide" "200" - "tall" "200" - - //"font" "SymbolOutline24" - "font" "Symbol24" - "labelText" "+" - "textAlignment" "center" - - "fgcolor" "255 255 255 255" - } - - KonrWings - { - "controlName" "CExLabel" - "fieldName" "KonrWings" - "visible" "0" - "enabled" "0" - "zpos" "2" - - "xpos" "c-108" - "ypos" "c-99" - "wide" "200" - "tall" "200" - - //"font" "KonrWingsOutline24" - - "font" "KonrWings24" - "labelText" "i" - "textAlignment" "center" - - "fgcolor" "255 255 255 255" - } - - //fighter pilot crosshair, enable all of then together for best results (16x9 resolution) - - "16x9Crosshair_vertical1" - { - "ControlName" "ImagePanel" - "fieldName" "VerticalLine" - "xpos" "427" - "xpos_lodef" "279" - "xpos_hidef" "309" - "ypos" "75" - "zpos" "-5" - "wide" "1" - "tall" "154" - "tall_lodef" "206" - "tall_hidef" "212" - "autoResize" "0" - "pinCorner" "0" - "visible" "0" - "enabled" "0" - "fillcolor" "255 255 255 255" - "alpha" "50" - } - - "16x9Crosshair_horizontal1" - { - "ControlName" "ImagePanel" - "fieldName" "VerticalLine" - "xpos" "40" - "xpos_lodef" "279" - "xpos_hidef" "309" - "ypos" "240" - "zpos" "-5" - "wide" "374" - "tall" "1" - "tall_lodef" "206" - "tall_hidef" "212" - "autoResize" "0" - "pinCorner" "0" - "visible" "0" - "enabled" "0" - "fillcolor" "255 255 255 255" - "alpha" "50" - } - - "16x9Crosshair_horizontal2" - { - "ControlName" "ImagePanel" - "fieldName" "VerticalLine" - "xpos" "439" - "xpos_lodef" "279" - "xpos_hidef" "309" - "ypos" "240" - "zpos" "-5" - "wide" "374" - "tall" "1" - "tall_lodef" "206" - "tall_hidef" "212" - "autoResize" "0" - "pinCorner" "0" - "visible" "0" - "enabled" "0" - "fillcolor" "255 255 255 255" - "alpha" "50" - } - - "16x9dark_top" - { - "ControlName" "ImagePanel" - "fieldName" "VerticalLine" - "xpos" "426" - "xpos_lodef" "278" - "xpos_hidef" "308" - "ypos" "190" - "zpos" "-5" - "wide" "" - "tall" "38" - "tall_lodef" "206" - "tall_hidef" "212" - "autoResize" "0" - "pinCorner" "0" - "visible" "0" - "enabled" "0" - "fillcolor" "255 255 255 255" - "alpha" "100" - } - "16x9dark_bottom" - { - "ControlName" "ImagePanel" - "fieldName" "VerticalLine" - "xpos" "427" - "xpos_lodef" "279" - "xpos_hidef" "309" - "ypos" "252" - "zpos" "-5" - "wide" "1" - "tall" "38" - "tall_lodef" "206" - "tall_hidef" "212" - "autoResize" "0" - "pinCorner" "0" - "visible" "0" - "enabled" "0" - "fillcolor" "255 255 255 255" - "alpha" "150" - } - "16x9dark_left" - { - "ControlName" "ImagePanel" - "fieldName" "VerticalLine" - "xpos" "365" - "xpos_lodef" "279" - "xpos_hidef" "309" - "ypos" "240" - "zpos" "-5" - "wide" "50" - "tall" "1" - "tall_lodef" "206" - "tall_hidef" "212" - "autoResize" "0" - "pinCorner" "0" - "visible" "0" - "enabled" "0" - "fillcolor" "255 255 255 255" - "alpha" "100" - } - - - "16x9dark_right" - { - "ControlName" "ImagePanel" - "fieldName" "VerticalLine" - "xpos" "439" - "xpos_lodef" "279" - "xpos_hidef" "309" - "ypos" "240" - "zpos" "-5" - "wide" "50" - "tall" "1" - "tall_lodef" "206" - "tall_hidef" "212" - "autoResize" "0" - "pinCorner" "0" - "visible" "0" - "enabled" "0" - "fillcolor" "255 255 255 255" - "alpha" "100" - } - - //end fighter pilot crosshair (16x9) - - //fighter pilot crosshair, enable all of then together for best results (16x10 resolution) - - "16x10Crosshair_vertical1" - { - "ControlName" "ImagePanel" - "fieldName" "VerticalLine" - "xpos" "384" - "xpos_lodef" "279" - "xpos_hidef" "309" - "ypos" "55" - "zpos" "-5" - "wide" "1" - "tall" "170" - "tall_lodef" "206" - "tall_hidef" "212" - "autoResize" "0" - "pinCorner" "0" - "visible" "0" - "enabled" "0" - "fillcolor" "255 255 255 255" - "alpha" "50" - } - - "16x10Crosshair_horizontal1" - { - "ControlName" "ImagePanel" - "fieldName" "VerticalLine" - "xpos" "35" - "xpos_lodef" "279" - "xpos_hidef" "309" - "ypos" "240" - "zpos" "-5" - "wide" "330" - "tall" "1" - "tall_lodef" "206" - "tall_hidef" "212" - "autoResize" "0" - "pinCorner" "0" - "visible" "0" - "enabled" "0" - "fillcolor" "255 255 255 255" - "alpha" "50" - } - - "16x10Crosshair_horizontal2" - { - "ControlName" "ImagePanel" - "fieldName" "VerticalLine" - "xpos" "403" - "xpos_lodef" "279" - "xpos_hidef" "309" - "ypos" "240" - "zpos" "-5" - "wide" "330" - "tall" "1" - "tall_lodef" "206" - "tall_hidef" "212" - "autoResize" "0" - "pinCorner" "0" - "visible" "0" - "enabled" "0" - "fillcolor" "255 255 255 255" - "alpha" "50" - } - - "16x10dark_top" - { - "ControlName" "ImagePanel" - "fieldName" "VerticalLine" - "xpos" "384" - "xpos_lodef" "279" - "xpos_hidef" "309" - "ypos" "187" - "zpos" "-5" - "wide" "1" - "tall" "38" - "tall_lodef" "206" - "tall_hidef" "212" - "autoResize" "0" - "pinCorner" "0" - "visible" "0" - "enabled" "0" - "fillcolor" "255 255 255 255" - "alpha" "100" - } - - "16x10dark_bottom" - { - "ControlName" "ImagePanel" - "fieldName" "VerticalLine" - "xpos" "384" - "xpos_lodef" "279" - "xpos_hidef" "309" - "ypos" "254" - "zpos" "-5" - "wide" "1" - "tall" "38" - "tall_lodef" "206" - "tall_hidef" "212" - "autoResize" "0" - "pinCorner" "0" - "visible" "0" - "enabled" "0" - "fillcolor" "255 255 255 255" - "alpha" "150" - } - - "16x10dark_left" - { - "ControlName" "ImagePanel" - "fieldName" "VerticalLine" - "xpos" "315" - "xpos_lodef" "279" - "xpos_hidef" "309" - "ypos" "240" - "zpos" "-5" - "wide" "50" - "tall" "1" - "tall_lodef" "206" - "tall_hidef" "212" - "autoResize" "0" - "pinCorner" "0" - "visible" "0" - "enabled" "0" - "fillcolor" "255 255 255 255" - "alpha" "100" - } - - "16x10dark_right" - { - "ControlName" "ImagePanel" - "fieldName" "VerticalLine" - "xpos" "403" - "xpos_lodef" "279" - "xpos_hidef" "309" - "ypos" "240" - "zpos" "-5" - "wide" "50" - "tall" "1" - "tall_lodef" "206" - "tall_hidef" "212" - "autoResize" "0" - "pinCorner" "0" - "visible" "0" - "enabled" "0" - "fillcolor" "255 255 255 255" - "alpha" "100" - } - - //end fighter pilot crosshair (16x10) - - //fighter pilot crosshair, enable all of then together for best results (4x3 resolution) - - "4x3Crosshair_vertical1" - { - "ControlName" "ImagePanel" - "fieldName" "VerticalLine" - "xpos" "319" - "xpos_lodef" "279" - "xpos_hidef" "309" - "ypos" "70" - "zpos" "-5" - "wide" "1" - "tall" "154" - "tall_lodef" "206" - "tall_hidef" "212" - "autoResize" "0" - "pinCorner" "0" - "visible" "0" - "enabled" "0" - "fillcolor" "255 255 255 255" - "alpha" "50" - } - - "4x3Crosshair_horizontal1" - { - "ControlName" "ImagePanel" - "fieldName" "VerticalLine" - "xpos" "10" - "xpos_lodef" "279" - "xpos_hidef" "309" - "ypos" "240" - "zpos" "-5" - "wide" "290" - "tall" "1" - "tall_lodef" "206" - "tall_hidef" "212" - "autoResize" "0" - "pinCorner" "0" - "visible" "0" - "enabled" "0" - "fillcolor" "255 255 255 255" - "alpha" "50" - } - - "4x3Crosshair_horizontal2" - { - "ControlName" "ImagePanel" - "fieldName" "VerticalLine" - "xpos" "340" - "xpos_lodef" "279" - "xpos_hidef" "309" - "ypos" "240" - "zpos" "-5" - "wide" "290" - "tall" "1" - "tall_lodef" "206" - "tall_hidef" "212" - "autoResize" "0" - "pinCorner" "0" - "visible" "0" - "enabled" "0" - "fillcolor" "255 255 255 255" - "alpha" "50" - } - - "4x3dark_top" - { - "ControlName" "ImagePanel" - "fieldName" "VerticalLine" - "xpos" "319" - "xpos_lodef" "279" - "xpos_hidef" "309" - "ypos" "186" - "zpos" "-5" - "wide" "1" - "tall" "38" - "tall_lodef" "206" - "tall_hidef" "212" - "autoResize" "0" - "pinCorner" "0" - "visible" "0" - "enabled" "0" - "fillcolor" "255 255 255 255" - "alpha" "100" - } - - "4x3dark_bottom" - { - "ControlName" "ImagePanel" - "fieldName" "VerticalLine" - "xpos" "319" - "xpos_lodef" "279" - "xpos_hidef" "309" - "ypos" "255" - "zpos" "-5" - "wide" "1" - "tall" "38" - "tall_lodef" "206" - "tall_hidef" "212" - "autoResize" "0" - "pinCorner" "0" - "visible" "0" - "enabled" "0" - "fillcolor" "255 255 255 255" - "alpha" "150" - } - - "4x3dark_left" - { - "ControlName" "ImagePanel" - "fieldName" "VerticalLine" - "xpos" "250" - "xpos_lodef" "279" - "xpos_hidef" "309" - "ypos" "240" - "zpos" "-5" - "wide" "50" - "tall" "1" - "tall_lodef" "206" - "tall_hidef" "212" - "autoResize" "0" - "pinCorner" "0" - "visible" "0" - "enabled" "0" - "fillcolor" "255 255 255 255" - "alpha" "100" - } + "controlName" "CExLabel" + "fieldName" "KnucklesCrosses" + "zpos" "0" + "xpos" "c-25" + "ypos" "c-24" + "wide" "50" + "tall" "50" + "font" "size:26,outline:off" + "textAlignment" "center" + "fgcolor" "Crosshair" + } + //-------------------------------------------------------------- - "4x3dark_right" - { - "ControlName" "ImagePanel" - "fieldName" "VerticalLine" - "xpos" "340" - "xpos_lodef" "279" - "xpos_hidef" "309" - "ypos" "240" - "zpos" "-5" - "wide" "50" - "tall" "1" - "tall_lodef" "206" - "tall_hidef" "212" - "autoResize" "0" - "pinCorner" "0" - "visible" "0" - "enabled" "0" - "fillcolor" "255 255 255 255" - "alpha" "100" - } - - //end fighter pilot crosshair (4x3) - - - - HudPlayerStatus { "fieldName" "HudPlayerStatus" @@ -1948,7 +1159,7 @@ "visible" "1" "enabled" "1" "xpos" "c-320" - "ypos" "300" + "ypos" "280" "wide" "640" "tall" "100" } diff --git a/scripts/knucklescrosses.png b/scripts/knucklescrosses.png Binary files differnew file mode 100644 index 0000000..e3935cb --- /dev/null +++ b/scripts/knucklescrosses.png |
