Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // +----------------------------------------------------------------------------+
- // | hudlayout.res |
- // +----------------------------------------------------------------------------+
- "TopLine"
- {
- "ControlName" "ImagePanel"
- "fieldName" "TopLine"
- "xpos" "c-1"
- "ypos" "c-14"
- "zpos" "-4"
- "wide" "2"
- "tall" "10"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "fillcolor" "255 255 255 255"
- "alpha" "40"
- }
- "TopLineFade"
- {
- "ControlName" "ImagePanel"
- "fieldName" "TopLineFade"
- "xpos" "c-1"
- "ypos" "c-24"
- "zpos" "-5"
- "wide" "2"
- "tall" "20"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "fillcolor" "255 255 255 255"
- "alpha" "20"
- }
- "TopLineSide1"
- {
- "ControlName" "ImagePanel"
- "fieldName" "TopLineSide1"
- "xpos" "c-2"
- "ypos" "c-25"
- "zpos" "-4"
- "wide" "1"
- "tall" "21"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "fillcolor" "0 0 0 255"
- "alpha" "40"
- }
- "TopLineSide2"
- {
- "ControlName" "ImagePanel"
- "fieldName" "TopLineSide2"
- "xpos" "c1"
- "ypos" "c-25"
- "zpos" "-5"
- "wide" "1"
- "tall" "21"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "fillcolor" "0 0 0 255"
- "alpha" "40"
- }
- "TopLineSide3"
- {
- "ControlName" "ImagePanel"
- "fieldName" "TopLineSide3"
- "xpos" "c-1"
- "ypos" "c-25"
- "zpos" "-5"
- "wide" "2"
- "tall" "1"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "fillcolor" "0 0 0 255"
- "alpha" "40"
- }
- "BottomLine"
- {
- "ControlName" "ImagePanel"
- "fieldName" "BottomLine"
- "xpos" "c-1"
- "ypos" "c4"
- "zpos" "-4"
- "wide" "2"
- "tall" "10"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "fillcolor" "255 255 255 255"
- "alpha" "40"
- }
- "BottomLineFade"
- {
- "ControlName" "ImagePanel"
- "fieldName" "BottomLineFade"
- "xpos" "c-1"
- "ypos" "c4"
- "zpos" "-5"
- "wide" "2"
- "tall" "20"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "fillcolor" "255 255 255 255"
- "alpha" "20"
- }
- "BottomLineSide1"
- {
- "ControlName" "ImagePanel"
- "fieldName" "BottomLineSide1"
- "xpos" "c-2"
- "ypos" "c4"
- "zpos" "-5"
- "wide" "1"
- "tall" "21"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "fillcolor" "0 0 0 255"
- "alpha" "40"
- }
- "BottomLineSide2"
- {
- "ControlName" "ImagePanel"
- "fieldName" "BottomLineSide2"
- "xpos" "c1"
- "ypos" "c4"
- "zpos" "-5"
- "wide" "1"
- "tall" "21"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "fillcolor" "0 0 0 255"
- "alpha" "40"
- }
- "BottomLineSide3"
- {
- "ControlName" "ImagePanel"
- "fieldName" "BottomLineSide3"
- "xpos" "c-1"
- "ypos" "c24"
- "zpos" "-5"
- "wide" "2"
- "tall" "1"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "fillcolor" "0 0 0 255"
- "alpha" "40"
- }
- "LeftLine"
- {
- "ControlName" "ImagePanel"
- "fieldName" "LeftLine"
- "xpos" "c-14"
- "ypos" "c-1"
- "zpos" "-"
- "wide" "10"
- "tall" "2"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "fillcolor" "255 255 255 255"
- "alpha" "40"
- }
- "LeftLineFade"
- {
- "ControlName" "ImagePanel"
- "fieldName" "LeftLineFade"
- "xpos" "c-24"
- "ypos" "c-1"
- "zpos" "-5"
- "wide" "20"
- "tall" "2"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "fillcolor" "255 255 255 255"
- "alpha" "20"
- }
- "LeftLineSide1"
- {
- "ControlName" "ImagePanel"
- "fieldName" "LeftLineSide1"
- "xpos" "c-25"
- "ypos" "c-2"
- "zpos" "-5"
- "wide" "21"
- "tall" "1"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "fillcolor" "0 0 0 255"
- "alpha" "40"
- }
- "LeftLineSide2"
- {
- "ControlName" "ImagePanel"
- "fieldName" "LeftLineSide2"
- "xpos" "c-25"
- "ypos" "c1"
- "zpos" "-5"
- "wide" "21"
- "tall" "1"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "fillcolor" "0 0 0 255"
- "alpha" "40"
- }
- "LeftLineSide3"
- {
- "ControlName" "ImagePanel"
- "fieldName" "LeftLineSide3"
- "xpos" "c-25"
- "ypos" "c-1"
- "zpos" "-5"
- "wide" "1"
- "tall" "2"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "fillcolor" "0 0 0 255"
- "alpha" "40"
- }
- "RightLine"
- {
- "ControlName" "ImagePanel"
- "fieldName" "RightLine"
- "xpos" "c4"
- "ypos" "c-1"
- "zpos" "-4h"
- "wide" "10"
- "tall" "2"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "fillcolor" "255 255 255 255"
- "alpha" "40"
- }
- "RightLineFade"
- {
- "ControlName" "ImagePanel"
- "fieldName" "RightLineFade"
- "xpos" "c4"
- "ypos" "c-1"
- "zpos" "-5"
- "wide" "20"
- "tall" "2"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "fillcolor" "255 255 255 255"
- "alpha" "20"
- }
- "RightLineSide1"
- {
- "ControlName" "ImagePanel"
- "fieldName" "RightLineSide1"
- "xpos" "c4"
- "ypos" "c-2"
- "zpos" "-5"
- "wide" "21"
- "tall" "1"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "fillcolor" "0 0 0 255"
- "alpha" "40"
- }
- "RightLineSide2"
- {
- "ControlName" "ImagePanel"
- "fieldName" "RightLineSide2"
- "xpos" "c4"
- "ypos" "c1"
- "zpos" "-5"
- "wide" "21"
- "tall" "1"
- "autoResize" "0"
- "pinCorner" "0"
- "enabled" "1"
- "fillcolor" "0 0 0 255"
- "alpha" "40"
- }
- "RightLineSide3"
- {
- "ControlName" "ImagePanel"
- "fieldName" "RightLineSide3"
- "xpos" "c24"
- "ypos" "c-1"
- "zpos" "-5"
- "wide" "1"
- "tall" "2"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "fillcolor" "0 0 0 255"
- "alpha" "40"
- }
- xHair
- {
- "ControlName" "ImagePanel"
- "fieldName" "xHair"
- "xpos" "c-1"
- "ypos" "c-1"
- "zpos" "0"
- "wide" "2"
- "tall" "2"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "fillcolor" "255 255 255 255"
- "alpha" "255"
- }
- xHair1
- {
- "ControlName" "ImagePanel"
- "fieldName" "xHair1"
- "xpos" "c-2"
- "ypos" "c-2"
- "zpos" "-1"
- "wide" "2"
- "tall" "2"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "fillcolor" "0 0 0 255"
- "alpha" "40"
- }
- xHair2
- {
- "ControlName" "ImagePanel"
- "fieldName" "xHair2"
- "xpos" "c-0"
- "ypos" "c-0"
- "zpos" "-1"
- "wide" "2"
- "tall" "2"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "fillcolor" "0 0 0 255"
- "alpha" "40"
- }
- xHair3
- {
- "ControlName" "ImagePanel"
- "fieldName" "xHair3"
- "xpos" "c-0"
- "ypos" "c-2"
- "zpos" "-1"
- "wide" "2"
- "tall" "2"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "fillcolor" "0 0 0 255"
- "alpha" "40"
- }
- xHair4
- {
- "ControlName" "ImagePanel"
- "fieldName" "xHair4"
- "xpos" "c-2"
- "ypos" "c-0"
- "zpos" "-1"
- "wide" "2"
- "tall" "2"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "fillcolor" "0 0 0 255"
- "alpha" "40"
- }
- HitMarker1
- {
- "ControlName" "ImagePanel"
- "fieldName" "HitMarker1"
- "xpos" "c-6"
- "ypos" "c-6"
- "zpos" "0"
- "wide" "3"
- "tall" "3"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "fillcolor" "255 50 50 255"
- "alpha" "0"
- }
- HitMarker2
- {
- "ControlName" "ImagePanel"
- "fieldName" "HitMarker2"
- "xpos" "c4"
- "ypos" "c4"
- "zpos" "0"
- "wide" "3"
- "tall" "3"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "fillcolor" "255 50 50 255"
- "alpha" "0"
- }
- HitMarker3
- {
- "ControlName" "ImagePanel"
- "fieldName" "HitMarker3"
- "xpos" "c-6"
- "ypos" "c4"
- "zpos" "0"
- "wide" "3"
- "tall" "3"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "fillcolor" "255 50 50 255"
- "alpha" "0"
- }
- HitMarker4
- {
- "ControlName" "ImagePanel"
- "fieldName" "HitMarker4"
- "xpos" "c4"
- "ypos" "c-6"
- "zpos" "0"
- "wide" "3"
- "tall" "3"
- "autoResize" "0"
- "pinCorner" "0"
- "visible" "1"
- "enabled" "1"
- "fillcolor" "255 50 50 255"
- "alpha" "0"
- }
- // +----------------------------------------------------------------------------+
- // | hudanimations.txt |
- // +----------------------------------------------------------------------------+
- RunEvent xHairHit 0.0 // add this line to the DamagedPlayer event
- event xHairHit
- {
- Animate HitMarker1 Alpha "200" Linear 0.0 0.0
- Animate HitMarker2 Alpha "200" Linear 0.0 0.0
- Animate HitMarker3 Alpha "200" Linear 0.0 0.0
- Animate HitMarker4 Alpha "200" Linear 0.0 0.0
- Animate HitMarker1 Alpha "0" Linear 0.95 0.0
- Animate HitMarker2 Alpha "0" Linear 0.95 0.0
- Animate HitMarker3 Alpha "0" Linear 0.95 0.0
- Animate HitMarker4 Alpha "0" Linear 0.95 0.0
- RunEvent xHairHit2 0.95
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement