home *** CD-ROM | disk | FTP | other *** search
/ GameStar Special 2004 September / GSSH0904CD2.iso / Doom3 / Mods / 32Player / 32player.exe / playerfix / pak000.pk4 / mphud.gui < prev   
Text File  |  2004-08-04  |  56KB  |  2,061 lines

  1. windowDef Desktop {
  2.     rect    0 ,0 ,640 ,480 
  3.     backcolor    0 ,0 ,0 ,0 
  4.     visible    1
  5.     nocursor    1
  6.     float weapon    0
  7.     float itemup    0
  8.     definevec4    "$redflicker"    0.8, 0.15, 0, pdinouthold[ time * 0.002 ] / 1.5
  9.     definevec4    "$flicker"    0.2, 0.45, 0.4, pdflick2 [ time * .0025 ] / 3
  10.     definevec4    "$yellowflicker"    1, 0.65, 0.1, pdinouthold[ time * 0.0005 ] / 2.5
  11.     definevec4    "$ammobg1"    0.09, 0.26, 0.26, subtleflick [ time * .0025 ] / 4
  12.     definevec4    "$ammobg2"    0.5, 0.32, 0, subtleflick [ time * .0025 ] / 4
  13.     definevec4    "$ammobg3"    0.4, 0.05, 0, subtleflick [ time * .0025 ] / 4
  14.  
  15.  
  16. //
  17. //Object Item Popup
  18. //
  19.  
  20.     onNamedEvent itemPickup {
  21.         resetTime "AnimObject" "0" ; 
  22.     }
  23.     
  24.     onEvent {
  25.  
  26. //
  27. //Weapon Icon Set
  28. //
  29.  
  30.         if ("gui::weapon0" >= 1) { 
  31.             set "WeapIcon0::background" "gui/hud/fists" ; 
  32.         }
  33.         if ("gui::weapon1" >= 1) { 
  34.             set "WeapIcon1::background" "gui/hud/pistol" ; 
  35.         }
  36.         if ("gui::weapon2" >= 1) { 
  37.             set "WeapIcon2::background" "gui/hud/shotgun" ; 
  38.         }
  39.         if ("gui::weapon3" >= 1) { 
  40.             set "WeapIcon3::background" "gui/hud/machinegun" ; 
  41.         }
  42.         if ("gui::weapon4" >= 1) { 
  43.             set "WeapIcon4::background" "gui/hud/chaingun" ; 
  44.         }
  45.         if ("gui::weapon5" >= 1) { 
  46.             set "WeapIcon5::background" "gui/hud/grenade" ; 
  47.         }        
  48.         if ("gui::weapon6" >= 1) { 
  49.             set "WeapIcon6::background" "gui/hud/plasmagun" ; 
  50.         }
  51.         if ("gui::weapon7" >= 1) { 
  52.             set "WeapIcon7::background" "gui/hud/rocketlauncher" ; 
  53.         }
  54.         if ("gui::weapon8" >= 1) { 
  55.             set "WeapIcon8::background" "gui/hud/bfg" ; 
  56.         }
  57.         if ("gui::weapon10" >= 1) { 
  58.             set "WeapIcon10::background" "gui/hud/chainsaw" ; 
  59.         }        
  60.         if ("gui::weapon11" >= 1) { 
  61.             set "WeapIcon11::background" "gui/hud/flashlight" ; 
  62.         }    
  63. //
  64.         if ("gui::weapon0" == 0) { 
  65.             set "WeapIcon0::background" "gui/hud/fistsr" ; 
  66.         }
  67.         if ("gui::weapon1" == 0) { 
  68.             set "WeapIcon1::background" "gui/hud/pistolr" ; 
  69.         }
  70.         if ("gui::weapon2" == 0) { 
  71.             set "WeapIcon2::background" "gui/hud/shotgunr" ; 
  72.         }
  73.         if ("gui::weapon3" == 0) { 
  74.             set "WeapIcon3::background" "gui/hud/machinegunr" ; 
  75.         }
  76.         if ("gui::weapon4" == 0) { 
  77.             set "WeapIcon4::background" "gui/hud/chaingunr" ; 
  78.         }
  79.         if ("gui::weapon5" == 0) { 
  80.             set "WeapIcon5::background" "gui/hud/grenader" ; 
  81.         }        
  82.         if ("gui::weapon6" == 0) { 
  83.             set "WeapIcon6::background" "gui/hud/plasmagunr" ; 
  84.         }
  85.         if ("gui::weapon7" == 0) { 
  86.             set "WeapIcon7::background" "gui/hud/rocketlauncherr" ; 
  87.         }
  88.         if ("gui::weapon8" == 0) { 
  89.             set "WeapIcon8::background" "gui/hud/bfgr" ; 
  90.         }
  91.         if ("gui::weapon10" == 0) { 
  92.             set "WeapIcon10::background" "gui/hud/chainsawr" ; 
  93.         }        
  94.         if ("gui::weapon11" == 0) { 
  95.             set "WeapIcon11::background" "gui/hud/flashlightr" ; 
  96.         }
  97.     }
  98. //
  99. //Weapon Icon Flash
  100. //
  101.     onNamedEvent weaponChange {
  102.         if ("gui::weapon0" == 2) { 
  103.             if ("weapon" != 0) { 
  104.                 set    "weapon" "0" ; 
  105.                 resetTime "WeapText" "0" ; 
  106.                 resetTime "WeapIcon0" "0" ; 
  107.                 set    "AmmoParent::visible" "0" ;
  108.             } 
  109.         }
  110.         if ("gui::weapon1" == 2) { 
  111.             if ("weapon" != 1) { 
  112.                 set    "weapon" "1" ; 
  113.                 resetTime "WeapText" "0" ; 
  114.                 resetTime "WeapIcon1" "0" ; 
  115.                 set    "AmmoParent::visible" "1" ;
  116.             } 
  117.         }
  118.         if ("gui::weapon2" == 2) { 
  119.             if ("weapon" != 2) { 
  120.                 set    "weapon" "2" ; 
  121.                 resetTime "WeapText" "0" ; 
  122.                 resetTime "WeapIcon2" "0" ; 
  123.                 set    "AmmoParent::visible" "1" ;
  124.             } 
  125.         }
  126.         if ("gui::weapon3" == 2) { 
  127.             if ("weapon" != 3) {
  128.                 set    "weapon" "3" ; 
  129.                 resetTime "WeapText" "0" ; 
  130.                 resetTime "WeapIcon3" "0" ; 
  131.                 set    "AmmoParent::visible" "1" ;
  132.             } 
  133.         }
  134.         if ("gui::weapon4" == 2) { 
  135.             if ("weapon" != 4) {
  136.                 set    "weapon" "4" ; 
  137.                 resetTime "WeapText" "0" ; 
  138.                 resetTime "WeapIcon4" "0" ; 
  139.                 set    "AmmoParent::visible" "1" ;
  140.             } 
  141.         }
  142.         if ("gui::weapon5" == 2) { 
  143.             if ("weapon" != 5) {
  144.                 set    "weapon" "5" ; 
  145.                 resetTime "WeapText" "0" ; 
  146.                 resetTime "WeapIcon5" "0" ; 
  147.                 set    "AmmoParent::visible" "1" ;
  148.             } 
  149.         }        
  150.         if ("gui::weapon6" == 2) { 
  151.             if ("weapon" != 6) {
  152.                 set    "weapon" "6" ;
  153.                 resetTime "WeapText" "0" ;  
  154.                 resetTime "WeapIcon6" "0" ; 
  155.                 set    "AmmoParent::visible" "1" ;
  156.             } 
  157.         }
  158.  
  159.         if ("gui::weapon7" == 2) { 
  160.             if ("weapon" != 7) {
  161.                 set    "weapon" "7" ; 
  162.                 resetTime "WeapText" "0" ;  
  163.                 resetTime "WeapIcon7" "0" ; 
  164.                 set    "AmmoParent::visible" "1" ;
  165.             } 
  166.         }
  167.         if ("gui::weapon8" == 2) { 
  168.             if ("weapon" != 8) {
  169.                 set    "weapon" "8" ; 
  170.                 resetTime "WeapText" "0" ; 
  171.                 resetTime "WeapIcon8" "0" ; 
  172.                 set    "AmmoParent::visible" "1" ;
  173.             } 
  174.         }
  175.         if ("gui::weapon10" == 2) { 
  176.             if ("weapon" != 10) {
  177.                 set    "weapon" "10" ; 
  178.                 resetTime "WeapText" "0" ; 
  179.                 resetTime "WeapIcon10" "0" ; 
  180.                 set    "AmmoParent::visible" "0" ;
  181.             } 
  182.         }        
  183.         if ("gui::weapon11" == 2) { 
  184.             if ("weapon" != 11) {
  185.                 set    "weapon" "11" ; 
  186.                 resetTime "WeapText" "0" ;  
  187.                 resetTime "WeapIcon11" "0" ; 
  188.                 set    "AmmoParent::visible" "0" ;
  189.             } 
  190.         }
  191.     }
  192. //
  193. //Hud Changes
  194. //
  195.  
  196. //ammo
  197.     onNamedEvent updateAmmo {
  198.         if ("gui::player_clip_low" == 1) {
  199.             set "ammovalue2::forecolor" "1 0.4 0 0.8" ;
  200.             set    "BorderR::visible" "0" ;
  201.             set    "BorderR_1::visible" "1" ;
  202.             set    "BorderR_2::visible" "0" ;
  203.             set     "Bgr::matcolor" "$ammobg2" ;
  204.         } else {
  205.             set "ammovalue2::forecolor" "0.3 0.5 0.5 1" ;
  206.             set    "BorderR::visible" "1" ;
  207.             set    "BorderR_1::visible" "0" ;
  208.             set    "BorderR_2::visible" "0" ;
  209.             set     "Bgr::matcolor" "$ammobg1" ;
  210.         }
  211.  
  212.         if ("gui::player_clip_empty" == 1) {
  213.             set "ammovalue2::forecolor" "1 0 0 0.8" ;
  214.             set    "BorderR::visible" "0" ;
  215.             set    "BorderR_1::visible" "0" ;
  216.             set    "BorderR_2::visible" "1" ;
  217.             set     "Bgr::matcolor" "$ammobg3" ;
  218.         }
  219.  
  220.         if ("gui::player_ammo_empty" == 1) {
  221.             set "ammovalue2::forecolor" "1 0 0 0.8" ;
  222.             set    "BorderR::visible" "0" ;
  223.             set    "BorderR_1::visible" "1" ;
  224.             set     "Bgr::matcolor" "$ammobg3" ;
  225.         }
  226.     }
  227. //health/armor
  228.  
  229.     onNamedEvent updateArmorHealthAir {
  230.         if ("gui::player_armor"  > 0) { 
  231.             set    "Warn1::visible" "0" ;
  232.             set     "Lines1::matcolor" "0.3 0.8 0.7 0.2" ; 
  233.             set    "MPArmor::forecolor" "0.3 0.4 0.4 1" ;
  234.             set     "Lines1::visible" "1" ;
  235.             set     "Lines1_1::visible" "0" ;
  236.         }
  237.  
  238.         if ("gui::player_armor"  <= 0) { 
  239.             set    "Warn1::visible" "1" ; 
  240.             set     "Lines1::matcolor" "$yellowflicker" ;
  241.             set     "Lines1::visible" "0" ;
  242.             set     "Lines1_1::visible" "1" ;
  243.             set    "MPArmor::forecolor" "0.6 0.5 0.2 1" ;
  244.         }
  245.  
  246.         if ("gui::player_health"  > 35) { 
  247.             set    "Warn2::visible" "0" ; 
  248.             set    "Hr::background" "gui/hud/hr" ;
  249.             set    "HealthImage::matcolor" "0.4 0.6 0.6 0.2" ;
  250.             set    "HealthImage::visible" "1" ;
  251.             set    "HealthImage_1::visible" "0" ;
  252.             set    "BorderL::visible" "1" ;
  253.             set    "BorderL2::visible" "0" ;
  254.             set    "MPHealth::forecolor" "0.5 0.7 0.7 1" ;
  255.             set     "Lines2::matcolor" "0.3 0.8 0.7 0.2" ;
  256.             set    "Lines2::visible" "1" ;
  257.             set    "Lines2_1::visible" "0" ;
  258.  
  259.             set    "MPHealth2::visible" "1" ;
  260.             set    "Lines2_2::visible" "1" ;
  261.         }
  262.  
  263.         if ("gui::player_health"  <= 35) { 
  264.             set    "MPHealth::forecolor" "1 0.1 0 1" ;
  265.             set    "Warn2::visible" "1" ; 
  266.             set    "Hr::background" "gui/hud/hr2" ;
  267.             set    "HealthImage::matcolor" "$redflicker" ;
  268.             set    "HealthImage::visible" "0" ;
  269.             set    "HealthImage_1::visible" "1" ;
  270.             set    "BorderL::visible" "0" ;
  271.             set    "BorderL2::visible" "1"  ;
  272.         //    set     "Lines2::matcolor" "$redflicker" ;
  273.             set    "Lines2::visible" "0" ;
  274.             set    "Lines2_1::visible" "1" ;
  275.  
  276.             set    "MPHealth2::visible" "0" ;
  277.             set    "Lines2_2::visible" "0" ;
  278.  
  279.         } 
  280.         if ("gui::player_health"  <= 0) { 
  281.             set    "Warn2::visible" "1" ; 
  282.             set    "Hr::background" "gui/hud/hr3" ;
  283.         } 
  284.     }
  285.     
  286. //
  287. //HUD
  288. //
  289.  
  290.     windowDef VoteWin {
  291.         rect 10, 235, 640, 30
  292.         text    "gui::vote"
  293.         forecolor 1, 1, 1, 0.8
  294.         textscale 0.33
  295.         font "fonts/an"
  296.         shadow 1
  297.         textalign    0
  298.     }
  299.  
  300.     windowDef ScanLineL {
  301.         rect        0, 426, 256, 64 
  302.         background    "guis/assets/hud/mp/lborder1a"
  303.         matcolor    0, 0, 0, 0.3
  304.         visible    1
  305.     }
  306.  
  307.     windowDef BorderL {
  308.         rect        0, 426, 256, 64
  309.         matcolor    0.2, 0.45, 0.4, pdflick2 [ time * .0025 ] / 2
  310.         background    "guis/assets/hud/mp/lborder1a"
  311.     }
  312.     
  313.     windowDef BorderL2 {
  314.         rect        0, 426, 256, 64
  315.         matcolor    1,0,0, pdinouthold [ time * .0025 ]
  316.         background    "guis/assets/hud/mp/lborder1a"
  317.         visible        0
  318.     }    
  319.  
  320.     windowDef BgL {
  321.         rect        0, 426, 256, 64
  322.         matcolor    0.09, 0.26, 0.26, subtleflick [ time * .0025 ] / 4
  323.         background    "guis/assets/hud/mp/lbg1"
  324.     }
  325.  
  326. ///////////////
  327. /*
  328.     windowDef Lines1 {
  329.         rect        0, 416, 256, 64
  330.         matcolor    0.3, 0.8, 0.7, 0.2
  331.         background    "guis/assets/hud/mp/llines"
  332.     }
  333. */
  334.     windowDef Lines1 {
  335.         rect        0, 426, 256, 64
  336.         matcolor    0.3, 0.8, 0.7, 0.2
  337.         background    "guis/assets/hud/mp/llines11"
  338.     }
  339.  
  340.     windowDef Lines1_1 {
  341.         rect        0, 426, 256, 64
  342.         matcolor    1, 0.65, 0.1, pdinouthold[ time * 0.0005 ] / 2.5
  343.         background    "guis/assets/hud/mp/llines11"
  344.         visible        0    
  345.     }
  346.  
  347.     windowDef Lines2 {
  348.         rect        0, 426, 256, 64
  349.         matcolor    0.3, 0.8, 0.7, 0.2
  350.         background    "guis/assets/hud/mp/llines21"
  351.     }
  352.  
  353.     windowDef Lines2_2 {
  354.         rect        0, 426, 256, 64
  355.         matcolor    0.8, 0.15, 0, (70 - "gui::player_health") / 100
  356.         background    "guis/assets/hud/mp/llines21"
  357.         visible        1
  358.     }
  359.  
  360.     windowDef Lines2_1 {
  361.         rect        0, 426, 256, 64
  362.         matcolor    0.8, 0.15, 0, pdinouthold[ time * 0.002 ] / 1.2
  363.         background    "guis/assets/hud/mp/llines21"
  364.         visible        0
  365.     }
  366.  
  367. ///////////////////
  368. //
  369.  
  370.     windowDef MTime1 {
  371.         rect        540, -44, 128, 64 
  372.     
  373.         windowDef ScanLineMFR1 {
  374.             rect        0, 0, 128, 64 
  375.             background    "guis/assets/hud/mp/rborder"
  376.             matcolor    0, 0, 0, 0.3
  377.             visible    1
  378.         }
  379.     
  380.         windowDef BorderMFR1 {
  381.             rect        0, 0, 128, 64
  382.             matcolor    0.2, 0.45, 0.4, pdflick2 [ time * .0025 ] / 3
  383.             background    "guis/assets/hud/mp/rborder"
  384.         }
  385.     
  386.         windowDef BgMFR1 {
  387.             rect        0, 0, 128, 64
  388.             matcolor    0.09, 0.26, 0.26, subtleflick [ time * .0025 ] / 4
  389.             background    "guis/assets/hud/mp/rbg"
  390.         }
  391.     }
  392.  
  393.     windowDef TimerWin {
  394.         rect 570, 0, 100, 30
  395.         text    "gui::timer"
  396.         shadow    1
  397.         forecolor 0.5, 0.6, 0.6, 0.8
  398.         visible 1
  399.         textscale    0.25
  400.         textaligny    -4
  401.  
  402.     }
  403.  
  404. /////////////////////////////////////////////////////////////////////////
  405. //
  406.  
  407.     windowDef SBorderTLB {
  408.         rect        574, 18, -8, 8
  409.         matcolor    0, 0, 0, 0.3
  410.         background    "guis/assets/hud/mp/score_corner"
  411.     }
  412.     windowDef SBorderTMB {
  413.         rect        582, 18, 58, 8
  414.         matcolor    0, 0, 0, 0.3
  415.         background    "guis/assets/hud/mp/score_horiz"
  416.     }
  417.     windowDef SBorderLB {
  418.         rect        574, 26, -8, 58
  419.         matcolor    0, 0, 0, 0.3
  420.         background    "guis/assets/hud/mp/score_vert"
  421.     }
  422.     windowDef SBorderBLB {
  423.         rect        574, 555, -8, -8
  424.         matcolor    0, 0, 0, 0.3
  425.         background    "guis/assets/hud/mp/score_corner"
  426.     }
  427.     windowDef SBorderBMB {
  428.         rect        582, 555, 58, -8
  429.         matcolor    0, 0, 0, 0.3
  430.         background    "guis/assets/hud/mp/score_horiz"
  431.     }
  432.  
  433.     windowDef SBorderTL {
  434.         rect        574, 555, -8, 8
  435.         matcolor    0.2, 0.45, 0.4, pdflick2 [ time * .0025 ] / 2.5
  436.         background    "guis/assets/hud/mp/score_corner"
  437.     }
  438.     windowDef SBorderTM {
  439.         rect        582, 18, 58, 8
  440.         matcolor    0.2, 0.45, 0.4, pdflick2 [ time * .0025 ] / 2.5
  441.         background    "guis/assets/hud/mp/score_horiz"
  442.     }
  443.     windowDef SBorderL {
  444.         rect        574, 26, -8, 58
  445.         matcolor    0.2, 0.45, 0.4, pdflick2 [ time * .0025 ] / 2.5
  446.         background    "guis/assets/hud/mp/score_vert"
  447.     }
  448.     windowDef SBorderBL {
  449.         rect        574, 555, -8, -8
  450.         matcolor    0.2, 0.45, 0.4, pdflick2 [ time * .0025 ] / 2.5
  451.         background    "guis/assets/hud/mp/score_corner"
  452.     }
  453.     windowDef SBorderBM {
  454.         rect        582, 555, 58, -8
  455.         matcolor    0.2, 0.45, 0.4, pdflick2 [ time * .0025 ] / 2.5
  456.         background    "guis/assets/hud/mp/score_horiz"
  457.     }
  458.  
  459. //
  460. //PLAYER COLORS
  461. //
  462.     windowDef ScoreColor1 {
  463.         rect        581, 24, 14, 14
  464.         backcolor    "gui::rank1_color1", "gui::rank1_color2", "gui::rank1_color3", 0.4
  465.         visible        ("gui::rank1" != 0 )
  466.     }
  467.     
  468.     windowDef ScoreColor2 {
  469.         rect        581, 40, 14, 14
  470.         backcolor    "gui::rank2_color1", "gui::rank2_color2", "gui::rank2_color3", 0.4
  471.         visible        ("gui::rank2" != 0)
  472.     }
  473.  
  474.     windowDef ScoreColor3 {
  475.         rect        581, 56, 14, 14
  476.         backcolor    "gui::rank3_color1", "gui::rank3_color2", "gui::rank3_color3", 0.4
  477.         visible        ("gui::rank3" != 0)
  478.     }
  479.  
  480.     windowDef ScoreColor4 {
  481.         rect        581, 72, 14, 14
  482.         backcolor    "gui::rank4_color1", "gui::rank4_color2", "gui::rank4_color3", 0.4
  483.         visible        ("gui::rank4" != 0)
  484.     }    
  485.         windowDef ScoreColor5 {
  486.         rect        581, 88, 14, 14
  487.         backcolor    "gui::rank5_color1", "gui::rank5_color2", "gui::rank5_color3", 0.4
  488.         visible        ("gui::rank5" != 0)
  489.     }
  490.         windowDef ScoreColor6 {
  491.         rect        581, 104, 14, 14
  492.         backcolor    "gui::rank6_color1", "gui::rank6_color2", "gui::rank6_color3", 0.4
  493.         visible        ("gui::rank6" != 0)
  494.     }
  495.         windowDef ScoreColor7 {
  496.         rect        581, 120, 14, 14
  497.         backcolor    "gui::rank7_color1", "gui::rank7_color2", "gui::rank7_color3", 0.4
  498.         visible        ("gui::rank7" != 0)
  499.     }
  500.         windowDef ScoreColor8 {
  501.         rect        581, 136, 14, 14
  502.         backcolor    "gui::rank8_color1", "gui::rank8_color2", "gui::rank8_color3", 0.4
  503.         visible        ("gui::rank8" != 0)
  504.     }
  505.         windowDef ScoreColor9 {
  506.         rect        581, 152, 14, 14
  507.         backcolor    "gui::rank9_color1", "gui::rank9_color2", "gui::rank9_color3", 0.4
  508.         visible        ("gui::rank9" != 0)
  509.     }
  510.         windowDef ScoreColor10 {
  511.         rect        581, 168, 14, 14
  512.         backcolor    "gui::rank10_color1", "gui::rank10_color2", "gui::rank10_color3", 0.4
  513.         visible        ("gui::rank10" != 0)
  514.     }
  515.         windowDef ScoreColor11 {
  516.         rect        581, 184, 14, 14
  517.         backcolor    "gui::rank11_color1", "gui::rank11_color2", "gui::rank11_color3", 0.4
  518.         visible        ("gui::rank11" != 0)
  519.     }
  520.         windowDef ScoreColor12 {
  521.         rect        581, 200, 14, 14
  522.         backcolor    "gui::rank12_color1", "gui::rank12_color2", "gui::rank12_color3", 0.4
  523.         visible        ("gui::rank12" != 0)
  524.     }
  525.         windowDef ScoreColor13 {
  526.         rect        581, 216, 14, 14
  527.         backcolor    "gui::rank13_color1", "gui::rank13_color2", "gui::rank13_color3", 0.4
  528.         visible        ("gui::rank13" != 0)
  529.     }
  530.         windowDef ScoreColor14 {
  531.         rect        581, 232, 14, 14
  532.         backcolor    "gui::rank14_color1", "gui::rank14_color2", "gui::rank14_color3", 0.4
  533.         visible        ("gui::rank14" != 0)
  534.     }
  535.         windowDef ScoreColor15 {
  536.         rect        581, 248, 14, 14
  537.         backcolor    "gui::rank15_color1", "gui::rank15_color2", "gui::rank15_color3", 0.4
  538.         visible        ("gui::rank15" != 0)
  539.     }
  540.         windowDef ScoreColor16 {
  541.         rect        581, 264, 14, 14
  542.         backcolor    "gui::rank16_color1", "gui::rank16_color2", "gui::rank16_color3", 0.4
  543.         visible        ("gui::rank16" != 0)
  544.     }
  545.         windowDef ScoreColor17 {
  546.         rect        581, 280, 14, 14
  547.         backcolor    "gui::rank17_color1", "gui::rank17_color2", "gui::rank17_color3", 0.4
  548.         visible        ("gui::rank17" != 0)
  549.     }
  550.         windowDef ScoreColor18 {
  551.         rect        581, 296, 14, 14
  552.         backcolor    "gui::rank18_color1", "gui::rank18_color2", "gui::rank18_color3", 0.4
  553.         visible        ("gui::rank18" != 0)
  554.     }
  555.         windowDef ScoreColor19 {
  556.         rect        581, 312, 14, 14
  557.         backcolor    "gui::rank19_color1", "gui::rank19_color2", "gui::rank19_color3", 0.4
  558.         visible        ("gui::rank19" != 0)
  559.     }
  560.         windowDef ScoreColor20 {
  561.         rect        581, 328, 14, 14
  562.         backcolor    "gui::rank20_color1", "gui::rank20_color2", "gui::rank20_color3", 0.4
  563.         visible        ("gui::rank20" != 0)
  564.     }
  565.         windowDef ScoreColor21 {
  566.         rect        581, 344, 14, 14
  567.         backcolor    "gui::rank21_color1", "gui::rank21_color2", "gui::rank21_color3", 0.4
  568.         visible        ("gui::rank21" != 0)
  569.     }
  570.         windowDef ScoreColor22 {
  571.         rect        581, 360, 14, 14
  572.         backcolor    "gui::rank22_color1", "gui::rank22_color2", "gui::rank22_color3", 0.4
  573.         visible        ("gui::rank22" != 0)
  574.     }
  575.         windowDef ScoreColor23 {
  576.         rect        581, 376, 14, 14
  577.         backcolor    "gui::rank23_color1", "gui::rank23_color2", "gui::rank23_color3", 0.4
  578.         visible        ("gui::rank23" != 0)
  579.     }
  580.         windowDef ScoreColor24 {
  581.         rect        581, 392, 14, 14
  582.         backcolor    "gui::rank24_color1", "gui::rank24_color2", "gui::rank24_color3", 0.4
  583.         visible        ("gui::rank24" != 0)
  584.     }
  585.         windowDef ScoreColor25 {
  586.         rect        581, 408, 14, 14
  587.         backcolor    "gui::rank25_color1", "gui::rank25_color2", "gui::rank25_color3", 0.4
  588.         visible        ("gui::rank25" != 0)
  589.     }
  590.         windowDef ScoreColor26 {
  591.         rect        581, 424, 14, 14
  592.         backcolor    "gui::rank26_color1", "gui::rank26_color2", "gui::rank26_color3", 0.4
  593.         visible        ("gui::rank26" != 0)
  594.     }
  595.         windowDef ScoreColor27 {
  596.         rect        581, 440, 14, 14
  597.         backcolor    "gui::rank27_color1", "gui::rank27_color2", "gui::rank27_color3", 0.4
  598.         visible        ("gui::rank27" != 0)
  599.     }
  600.         windowDef ScoreColor28 {
  601.         rect        581, 456, 14, 14
  602.         backcolor    "gui::rank28_color1", "gui::rank28_color2", "gui::rank28_color3", 0.4
  603.         visible        ("gui::rank28" != 0)
  604.     }
  605.         windowDef ScoreColor29 {
  606.         rect        581, 472, 14, 14
  607.         backcolor    "gui::rank29_color1", "gui::rank29_color2", "gui::rank29_color3", 0.4
  608.         visible        ("gui::rank29" != 0)
  609.     }
  610.         windowDef ScoreColor30 {
  611.         rect        581, 504, 14, 14
  612.         backcolor    "gui::rank30_color1", "gui::rank30_color2", "gui::rank30_color3", 0.4
  613.         visible        ("gui::rank30" != 0)
  614.     }
  615.         windowDef ScoreColor31 {
  616.         rect        581, 520, 14, 14
  617.         backcolor    "gui::rank31_color1", "gui::rank31_color2", "gui::rank31_color3", 0.4
  618.         visible        ("gui::rank31" != 0)
  619.     }
  620.         windowDef ScoreColor32 {
  621.         rect        581, 536, 14, 14
  622.         backcolor    "gui::rank32_color1", "gui::rank32_color2", "gui::rank32_color3", 0.4
  623.         visible        ("gui::rank32" != 0)
  624.     }
  625.  
  626.  
  627. //    
  628.     windowDef ScoreBorder1 {
  629.         rect        581, 24, 58, 14
  630.         backcolor    0, 0, 0, 0.25
  631.         bordercolor    0.1, 0.22, 0.2, 1
  632.         bordersize    1
  633.     }
  634.     windowDef ScoreBorder1a {
  635.         rect        581, 24, 14, 14
  636.         bordercolor    0.1, 0.22, 0.2, 1
  637.         bordersize    1
  638.     }
  639.     windowDef ScoreBorder2 {
  640.         rect        581, 40, 58, 14
  641.         backcolor    0, 0, 0, 0.25
  642.         bordercolor    0.1, 0.22, 0.2, 1
  643.         bordersize    1
  644.     }
  645.     windowDef ScoreBorder2a {
  646.         rect        581, 40, 14, 14
  647.         bordercolor    0.1, 0.22, 0.2, 1
  648.         bordersize    1
  649.     }
  650.     windowDef ScoreBorder3 {
  651.         rect        581, 56, 58, 14
  652.         backcolor    0, 0, 0, 0.25
  653.         bordercolor    0.1, 0.22, 0.2, 1
  654.         bordersize    1
  655.     }
  656.     windowDef ScoreBorder3a {
  657.         rect        581, 56, 14, 14
  658.         bordercolor    0.1, 0.22, 0.2, 1
  659.         bordersize    1
  660.     }
  661.     windowDef ScoreBorder4a {
  662.         rect        581, 72, 14, 14
  663.         bordercolor    0.1, 0.22, 0.2, 1
  664.         bordersize    1
  665.     }
  666.     
  667.     windowDef ScoreBorder4 {
  668.         rect        581, 72, 58, 14
  669.         backcolor    0, 0, 0, 0.25
  670.         bordercolor    0.1, 0.22, 0.2, 1
  671.         bordersize    1
  672.         }
  673.     windowDef ScoreBorder5 {
  674.         rect        581, 88, 58, 14
  675.         backcolor    0, 0, 0, 0.25
  676.         bordercolor    0.1, 0.22, 0.2, 1
  677.         bordersize    1
  678.     }
  679.     
  680.         windowDef ScoreBorder6 {
  681.         rect        581, 104, 58, 14
  682.         backcolor    0, 0, 0, 0.25     
  683.         bordercolor    0.1, 0.22, 0.2, 1
  684.             bordersize    1
  685.         }
  686.         windowDef ScoreBorder5a {
  687.         rect        581, 88, 14, 14
  688.         bordercolor    0.1, 0.22, 0.2, 1
  689.         bordersize    1
  690.     }
  691.     
  692.  
  693.  
  694.         windowDef ScoreBorder6a {
  695.         rect        581, 104, 14, 14
  696.                 bordercolor    0.1, 0.22, 0.2, 1
  697.           bordersize    1
  698. }
  699.         windowDef ScoreBorder7 {
  700.         rect        581, 120, 58, 14
  701.         backcolor    0, 0, 0, 0.25     
  702.         bordercolor    0.1, 0.22, 0.2, 1
  703.     bordersize    1
  704. }
  705.         windowDef ScoreBorder8 {
  706.         rect        581, 136, 58, 14
  707.         backcolor    0, 0, 0, 0.25     
  708.         bordercolor    0.1, 0.22, 0.2, 1
  709.     bordersize    1
  710. }
  711.         windowDef ScoreBorder9 {
  712.         rect        581, 152, 58, 14
  713.         backcolor    0, 0, 0, 0.25    
  714.         bordercolor    0.1, 0.22, 0.2, 1
  715.     bordersize    1
  716. }
  717.         windowDef ScoreBorder10 {
  718.         rect        581, 168, 58, 14
  719.         backcolor    0, 0, 0, 0.25     
  720.         bordercolor    0.1, 0.22, 0.2, 1
  721.     bordersize    1
  722. }
  723.         windowDef ScoreBorder11 {
  724.         rect        581, 184, 58, 14
  725.         backcolor    0, 0, 0, 0.25    
  726.         bordercolor    0.1, 0.22, 0.2, 1
  727.     bordersize    1
  728. }
  729.         windowDef ScoreBorder12 {
  730.         rect        581, 200, 58, 14
  731.         backcolor    0, 0, 0, 0.25   
  732.         bordercolor    0.1, 0.22, 0.2, 1
  733.     bordersize    1
  734. }
  735.         windowDef ScoreBorder13 {
  736.         rect        581, 216, 58, 14
  737.         backcolor    0, 0, 0, 0.25     
  738.         bordercolor    0.1, 0.22, 0.2, 1
  739.     bordersize    1
  740. }
  741.         windowDef ScoreBorder14 {
  742.         rect        581, 232, 58, 14
  743.         backcolor    0, 0, 0, 0.25  
  744.         bordercolor    0.1, 0.22, 0.2, 1
  745.     bordersize    1
  746. }
  747.         windowDef ScoreBorder15 {
  748.         rect        581, 248, 58, 14
  749.         backcolor    0, 0, 0, 0.25     
  750.         bordercolor    0.1, 0.22, 0.2, 1
  751.     bordersize    1
  752. }
  753.         windowDef ScoreBorder16 {
  754.         rect        581, 264, 58, 14
  755.         backcolor    0, 0, 0, 0.25    
  756.         bordercolor    0.1, 0.22, 0.2, 1
  757.     bordersize    1
  758. }
  759.         windowDef ScoreBorder17 {
  760.         rect        581, 280, 58, 14
  761.         backcolor    0, 0, 0, 0.25   
  762.         bordercolor    0.1, 0.22, 0.2, 1
  763.     bordersize    1
  764. }
  765.         windowDef ScoreBorder18 {
  766.         rect        581, 296, 58, 14
  767.         backcolor    0, 0, 0, 0.25    
  768.         bordercolor    0.1, 0.22, 0.2, 1
  769.     bordersize    1
  770. }
  771.         windowDef ScoreBorder19 {
  772.         rect        581, 312, 58, 14
  773.         backcolor    0, 0, 0, 0.25 
  774.         bordercolor    0.1, 0.22, 0.2, 1
  775.     bordersize    1
  776. }
  777.         windowDef ScoreBorder20 {
  778.         rect        581, 328, 58, 14
  779.         backcolor    0, 0, 0, 0.25     
  780.         bordercolor    0.1, 0.22, 0.2, 1
  781.     bordersize    1
  782. }
  783.         windowDef ScoreBorder21 {
  784.         rect        581, 344, 58, 14
  785.         backcolor    0, 0, 0, 0.25 
  786.         bordercolor    0.1, 0.22, 0.2, 1
  787.     bordersize    1
  788. }
  789.         windowDef ScoreBorder22 {
  790.         rect        581, 360, 58, 14
  791.         backcolor    0, 0, 0, 0.25     
  792.         bordercolor    0.1, 0.22, 0.2, 1
  793.     bordersize    1
  794. }
  795.         windowDef ScoreBorder23 {
  796.         rect        581, 376, 58, 14
  797.         backcolor    0, 0, 0, 0.25  
  798.         bordercolor    0.1, 0.22, 0.2, 1
  799.     bordersize    1
  800. }
  801.         windowDef ScoreBorder24 {
  802.         rect        581, 392, 58, 14
  803.         backcolor    0, 0, 0, 0.25   
  804.         bordercolor    0.1, 0.22, 0.2, 1
  805.     bordersize    1
  806. }
  807.         windowDef ScoreBorder25 {
  808.         rect        581, 408, 58, 14
  809.         backcolor    0, 0, 0, 0.25    
  810.         bordercolor    0.1, 0.22, 0.2, 1
  811.     bordersize    1
  812. }
  813.         windowDef ScoreBorder26 {
  814.         rect        581, 424, 58, 14
  815.         backcolor    0, 0, 0, 0.25     
  816.         bordercolor    0.1, 0.22, 0.2, 1
  817.     bordersize    1
  818. }
  819.         windowDef ScoreBorder27 {
  820.         rect        581, 440, 58, 14
  821.         backcolor    0, 0, 0, 0.25    
  822.         bordercolor    0.1, 0.22, 0.2, 1
  823.     bordersize    1
  824. }
  825.         windowDef ScoreBorder28 {
  826.         rect        581, 456, 58, 14
  827.         backcolor    0, 0, 0, 0.25
  828.         bordercolor    0.1, 0.22, 0.2, 1
  829.     bordersize    1
  830. }
  831.         windowDef ScoreBorder29 {
  832.         rect        581, 472, 58, 14
  833.         backcolor    0, 0, 0, 0.25    
  834.         bordercolor    0.1, 0.22, 0.2, 1
  835.     bordersize    1
  836. }
  837.         windowDef ScoreBorder30 {
  838.         rect        581, 504, 58, 14
  839.         backcolor    0, 0, 0, 0.25 
  840.         bordercolor    0.1, 0.22, 0.2, 1
  841.     bordersize    1
  842. }
  843.         windowDef ScoreBorder31 {
  844.         rect        581, 520, 58, 14
  845.         backcolor    0, 0, 0, 0.25     
  846.         bordercolor    0.1, 0.22, 0.2, 1
  847.     bordersize    1
  848. }
  849.         windowDef ScoreBorder32 {
  850.         rect        581, 536, 58, 14
  851.         backcolor    0, 0, 0, 0.25  
  852.         bordercolor    0.1, 0.22, 0.2, 1
  853.     bordersize    1
  854. }
  855.  
  856.         windowDef ScoreBorder7a {
  857.         rect        581, 120, 14, 14
  858.              
  859.         bordercolor    0.1, 0.22, 0.2, 1
  860.     bordersize    1
  861. }
  862.         windowDef ScoreBorder8a {
  863.         rect        581, 136, 14, 14
  864.              
  865.         bordercolor    0.1, 0.22, 0.2, 1
  866.     bordersize    1
  867. }
  868.         windowDef ScoreBorder9a {
  869.         rect        581, 152, 14, 14
  870.             
  871.         bordercolor    0.1, 0.22, 0.2, 1
  872.     bordersize    1
  873. }
  874.         windowDef ScoreBorder10a {
  875.         rect        581, 168, 14, 14
  876.              
  877.         bordercolor    0.1, 0.22, 0.2, 1
  878.     bordersize    1
  879. }
  880.         windowDef ScoreBorder11a {
  881.         rect        581, 184, 14, 14
  882.             
  883.         bordercolor    0.1, 0.22, 0.2, 1
  884.     bordersize    1
  885. }
  886.         windowDef ScoreBorder12a {
  887.         rect        581, 200, 14, 14
  888.            
  889.         bordercolor    0.1, 0.22, 0.2, 1
  890.     bordersize    1
  891. }
  892.         windowDef ScoreBorder13a {
  893.         rect        581, 216, 14, 14
  894.              
  895.         bordercolor    0.1, 0.22, 0.2, 1
  896.     bordersize    1
  897. }
  898.         windowDef ScoreBorder14a {
  899.         rect        581, 232, 14, 14
  900.           
  901.         bordercolor    0.1, 0.22, 0.2, 1
  902.     bordersize    1
  903. }
  904.         windowDef ScoreBorder15a {
  905.         rect        581, 248, 14, 14
  906.              
  907.         bordercolor    0.1, 0.22, 0.2, 1
  908.     bordersize    1
  909. }
  910.         windowDef ScoreBorder16a {
  911.         rect        581, 264, 14, 14
  912.             
  913.         bordercolor    0.1, 0.22, 0.2, 1
  914.     bordersize    1
  915. }
  916.         windowDef ScoreBorder17a {
  917.         rect        581, 280, 14, 14
  918.            
  919.         bordercolor    0.1, 0.22, 0.2, 1
  920.     bordersize    1
  921. }
  922.         windowDef ScoreBorder18a {
  923.         rect        581, 296, 14, 14
  924.             
  925.         bordercolor    0.1, 0.22, 0.2, 1
  926.     bordersize    1
  927. }
  928.         windowDef ScoreBorder19a {
  929.         rect        581, 312, 14, 14
  930.          
  931.         bordercolor    0.1, 0.22, 0.2, 1
  932.     bordersize    1
  933. }
  934.         windowDef ScoreBorder20a {
  935.         rect        581, 328, 14, 14
  936.              
  937.         bordercolor    0.1, 0.22, 0.2, 1
  938.     bordersize    1
  939. }
  940.         windowDef ScoreBorder21a {
  941.         rect        581, 344, 14, 14
  942.          
  943.         bordercolor    0.1, 0.22, 0.2, 1
  944.     bordersize    1
  945. }
  946.         windowDef ScoreBorder22a {
  947.         rect        581, 360, 14, 14
  948.              
  949.         bordercolor    0.1, 0.22, 0.2, 1
  950.     bordersize    1
  951. }
  952.         windowDef ScoreBorder23a {
  953.         rect        581, 376, 14, 14
  954.           
  955.         bordercolor    0.1, 0.22, 0.2, 1
  956.     bordersize    1
  957. }
  958.         windowDef ScoreBorder24a {
  959.         rect        581, 392, 14, 14
  960.            
  961.         bordercolor    0.1, 0.22, 0.2, 1
  962.     bordersize    1
  963. }
  964.         windowDef ScoreBorder25a {
  965.         rect        581, 408, 14, 14
  966.             
  967.         bordercolor    0.1, 0.22, 0.2, 1
  968.     bordersize    1
  969. }
  970.         windowDef ScoreBorder26a {
  971.         rect        581, 424, 14, 14
  972.              
  973.         bordercolor    0.1, 0.22, 0.2, 1
  974.     bordersize    1
  975. }
  976.         windowDef ScoreBorder27a {
  977.         rect        581, 440, 14, 14
  978.             
  979.         bordercolor    0.1, 0.22, 0.2, 1
  980.     bordersize    1
  981. }
  982.         windowDef ScoreBorder28a {
  983.         rect        581, 456, 14, 14
  984.         
  985.         bordercolor    0.1, 0.22, 0.2, 1
  986.     bordersize    1
  987. }
  988.         windowDef ScoreBorder29a {
  989.         rect        581, 472, 14, 14
  990.             
  991.         bordercolor    0.1, 0.22, 0.2, 1
  992.     bordersize    1
  993. }
  994.         windowDef ScoreBorder30a {
  995.         rect        581, 504, 14, 14
  996.          
  997.         bordercolor    0.1, 0.22, 0.2, 1
  998.     bordersize    1
  999. }
  1000.         windowDef ScoreBorder31a {
  1001.         rect        581, 520, 14, 14
  1002.              
  1003.         bordercolor    0.1, 0.22, 0.2, 1
  1004.     bordersize    1
  1005. }
  1006.         windowDef ScoreBorder32a {
  1007.         rect        581, 536, 14, 14
  1008.           
  1009.         bordercolor    0.1, 0.22, 0.2, 1
  1010.     bordersize    1
  1011. }
  1012.     
  1013. windowDef ScoreBorderSelf {
  1014.         rect        581, ( 24 + ( "gui::rank_self" - 1 ) * 16 ), 58, 14
  1015.         bordercolor    0.35, 0.45, 0.42, 1
  1016.         bordersize    1
  1017.         visible        ("gui::rank_self" != 0)    
  1018.  
  1019.   }     
  1020.        
  1021.  
  1022. //
  1023. ///////////////////
  1024. //SCORE BOXES
  1025. ///////////////////
  1026. //
  1027.  
  1028.     windowDef scoreBox1 {
  1029.         rect        601, 24, 38, 14
  1030.         text    "gui::player1_score"
  1031.         shadow    1
  1032.         forecolor    0.5, 0.7, 0.7, 1
  1033.         visible    1
  1034.         textscale    0.25
  1035.         textaligny    -4
  1036.     }
  1037.  
  1038.     
  1039.     windowDef scoreBox2 {
  1040.         rect        601, 40, 38, 14
  1041.         text    "gui::player2_score"
  1042.         shadow    1
  1043.         forecolor    0.5, 0.7, 0.7, 1
  1044.         visible    1
  1045.         textscale    0.25
  1046.         textaligny    -4
  1047.     }
  1048.  
  1049.     windowDef scoreBox3 {
  1050.         rect        601, 56, 38, 14
  1051.         text    "gui::player3_score"
  1052.         shadow    1
  1053.         forecolor    0.5, 0.7, 0.7, 1
  1054.         visible    1
  1055.         textscale    0.25
  1056.         textaligny    -4
  1057.     }
  1058.  
  1059.     windowDef scoreBox4 {
  1060.         rect        601, 72, 38, 14    
  1061.         text    "gui::player4_score"
  1062.         shadow    1
  1063.         forecolor    0.5, 0.7, 0.7, 1
  1064.         visible    1
  1065.         textscale    0.25
  1066.         textaligny    -4
  1067.     }
  1068.     windowDef scoreBox5 {
  1069.         rect        601, 88, 38, 14    
  1070.         text    "gui::player5_score"
  1071.         shadow    1
  1072.         forecolor    0.5, 0.7, 0.7, 1
  1073.         visible    1
  1074.         textscale    0.25
  1075.         textaligny    -4
  1076.     }
  1077.         windowDef scoreBox6 {
  1078.         rect        601, 104, 14, 14
  1079.         text    "gui::player6_score"
  1080.         shadow    1
  1081.         forecolor    0.5, 0.7, 0.7, 1
  1082.         visible    1
  1083.         textscale    0.25
  1084.         textaligny    -4                    
  1085.     }
  1086.         windowDef scoreBox7 {
  1087.         rect        601, 120, 14, 14
  1088.         text    "gui::player7_score"
  1089.         shadow    1
  1090.         forecolor    0.5, 0.7, 0.7, 1
  1091.         visible    1
  1092.         textscale    0.25
  1093.         textaligny    -4                   
  1094.     }
  1095.         windowDef scoreBox8 {
  1096.         rect        601, 136, 14, 14
  1097.         text    "gui::player8_score"
  1098.         shadow    1
  1099.         forecolor    0.5, 0.7, 0.7, 1
  1100.         visible    1
  1101.         textscale    0.25
  1102.         textaligny    -4                   
  1103.     }
  1104.         windowDef scoreBox9 {
  1105.         rect        601, 152, 14, 14
  1106.         text    "gui::player9_score"
  1107.         shadow    1
  1108.         forecolor    0.5, 0.7, 0.7, 1
  1109.         visible    1
  1110.         textscale    0.25
  1111.         textaligny    -4                  
  1112.     }
  1113.         windowDef scoreBox10 {
  1114.         rect        601, 168, 14, 14
  1115.         text    "gui::player10_score"
  1116.         shadow    1
  1117.         forecolor    0.5, 0.7, 0.7, 1
  1118.         visible    1
  1119.         textscale    0.25
  1120.         textaligny    -4             
  1121.     }
  1122.         windowDef scoreBox11 {
  1123.         rect        601, 184, 14, 14
  1124.         text    "gui::player11_score"
  1125.         shadow    1
  1126.         forecolor    0.5, 0.7, 0.7, 1
  1127.         visible    1
  1128.         textscale    0.25
  1129.         textaligny    -4             
  1130.     }
  1131.         windowDef scoreBox12 {
  1132.         rect        601, 200, 14, 14
  1133.         text    "gui::player12_score"
  1134.         shadow    1
  1135.         forecolor    0.5, 0.7, 0.7, 1
  1136.         visible    1
  1137.         textscale    0.25
  1138.         textaligny    -4              
  1139.     }
  1140.         windowDef scoreBox13 {
  1141.         rect        601, 216, 14, 14
  1142.         text    "gui::player13_score"
  1143.         shadow    1
  1144.         forecolor    0.5, 0.7, 0.7, 1
  1145.         visible    1
  1146.         textscale    0.25
  1147.         textaligny    -4               
  1148.     }
  1149.         windowDef scoreBox14 {
  1150.         rect        601, 232, 14, 14
  1151.         text    "gui::player14_score"
  1152.         shadow    1
  1153.         forecolor    0.5, 0.7, 0.7, 1
  1154.         visible    1
  1155.         textscale    0.25
  1156.         textaligny    -4                  
  1157.     }
  1158.         windowDef scoreBox15 {
  1159.         rect        601, 248, 14, 14
  1160.         text    "gui::player15_score"
  1161.         shadow    1
  1162.         forecolor    0.5, 0.7, 0.7, 1
  1163.         visible    1
  1164.         textscale    0.25
  1165.         textaligny    -4                 
  1166.     }
  1167.         windowDef scoreBox16 {
  1168.         rect        601, 264, 14, 14
  1169.         text    "gui::player16_score"
  1170.         shadow    1
  1171.         forecolor    0.5, 0.7, 0.7, 1
  1172.         visible    1
  1173.         textscale    0.25
  1174.         textaligny    -4                   
  1175.     }
  1176.         windowDef scoreBox17 {
  1177.         rect        601, 280, 14, 14
  1178.         text    "gui::player17_score"
  1179.         shadow    1
  1180.         forecolor    0.5, 0.7, 0.7, 1
  1181.         visible    1
  1182.         textscale    0.25
  1183.         textaligny    -4               
  1184.     }
  1185.         windowDef scoreBox18 {
  1186.         rect        601, 296, 14, 14
  1187.         text    "gui::player18_score"
  1188.         shadow    1
  1189.         forecolor    0.5, 0.7, 0.7, 1
  1190.         visible    1
  1191.         textscale    0.25
  1192.         textaligny    -4                  
  1193.     }
  1194.         windowDef scoreBox19 {
  1195.         rect        601, 312, 14, 14
  1196.         text    "gui::player19_score"
  1197.         shadow    1
  1198.         forecolor    0.5, 0.7, 0.7, 1
  1199.         visible    1
  1200.         textscale    0.25
  1201.         textaligny    -4                   
  1202.     }
  1203.         windowDef scoreBox20 {
  1204.         rect        601, 328, 14, 14
  1205.         text    "gui::player20_score"
  1206.         shadow    1
  1207.         forecolor    0.5, 0.7, 0.7, 1
  1208.         visible    1
  1209.         textscale    0.25
  1210.         textaligny    -4                  
  1211.     }
  1212.         windowDef scoreBox21 {
  1213.         rect        601, 344, 14, 14
  1214.         text    "gui::player21_score"
  1215.         shadow    1
  1216.         forecolor    0.5, 0.7, 0.7, 1
  1217.         visible    1
  1218.         textscale    0.25
  1219.         textaligny    -4                
  1220.     }
  1221.         windowDef scoreBox22 {
  1222.         rect        601, 360, 14, 14
  1223.         text    "gui::player22_score"
  1224.         shadow    1
  1225.         forecolor    0.5, 0.7, 0.7, 1
  1226.         visible    1
  1227.         textscale    0.25
  1228.         textaligny    -4                  
  1229.     }
  1230.         windowDef scoreBox23 {
  1231.         rect        601, 376, 14, 14
  1232.         text    "gui::player23_score"
  1233.         shadow    1
  1234.         forecolor    0.5, 0.7, 0.7, 1
  1235.         visible    1
  1236.         textscale    0.25
  1237.         textaligny    -4                    
  1238.     }
  1239.         windowDef scoreBox24 {
  1240.         rect        601, 392, 14, 14
  1241.         text    "gui::player24_score"
  1242.         shadow    1
  1243.         forecolor    0.5, 0.7, 0.7, 1
  1244.         visible    1
  1245.         textscale    0.25
  1246.         textaligny    -4                  
  1247.     }
  1248.         windowDef scoreBox25 {
  1249.         rect        601, 408, 14, 14
  1250.         text    "gui::player25_score"
  1251.         shadow    1
  1252.         forecolor    0.5, 0.7, 0.7, 1
  1253.         visible    1
  1254.         textscale    0.25
  1255.         textaligny    -4                    
  1256.     }
  1257.         windowDef scoreBox26 {
  1258.         rect        601, 424, 14, 14
  1259.         text    "gui::player26_score"
  1260.         shadow    1
  1261.         forecolor    0.5, 0.7, 0.7, 1
  1262.         visible    1
  1263.         textscale    0.25
  1264.         textaligny    -4                  
  1265.     }
  1266.         windowDef scoreBox27 {
  1267.         rect        601, 440, 14, 14
  1268.         text    "gui::player27_score"
  1269.         shadow    1
  1270.         forecolor    0.5, 0.7, 0.7, 1
  1271.         visible    1
  1272.         textscale    0.25
  1273.         textaligny    -4                    
  1274.     }
  1275.         windowDef scoreBox28 {
  1276.         rect        601, 456, 14, 14
  1277.         text    "gui::player28_score"
  1278.         shadow    1
  1279.         forecolor    0.5, 0.7, 0.7, 1
  1280.         visible    1
  1281.         textscale    0.25
  1282.         textaligny    -4                   
  1283.     }
  1284.         windowDef scoreBox29 {
  1285.         rect        601, 472, 14, 14
  1286.         text    "gui::player29_score"
  1287.         shadow    1
  1288.         forecolor    0.5, 0.7, 0.7, 1
  1289.         visible    1
  1290.         textscale    0.25
  1291.         textaligny    -4                  
  1292.     }
  1293.         windowDef scoreBox30 {
  1294.         rect        601, 504, 14, 14
  1295.         text    "gui::player30_score"
  1296.         shadow    1
  1297.         forecolor    0.5, 0.7, 0.7, 1
  1298.         visible    1
  1299.         textscale    0.25
  1300.         textaligny    -4               
  1301.     }
  1302.         windowDef scoreBox31 {
  1303.         rect        601, 520, 14, 14
  1304.         text    "gui::player31_score"
  1305.         shadow    1
  1306.         forecolor    0.5, 0.7, 0.7, 1
  1307.         visible    1
  1308.         textscale    0.25
  1309.         textaligny    -4                 
  1310.     }
  1311.         windowDef scoreBox32 {
  1312.         rect        601, 536, 14, 14
  1313.         text    "gui::player32_score"
  1314.         shadow    1
  1315.         forecolor    0.5, 0.7, 0.7, 1
  1316.         visible    1
  1317.         textscale    0.25
  1318.         textaligny    -4                 
  1319.     }
  1320.  
  1321.  
  1322.     windowDef MPFrags {
  1323.         rect        500, -1, 32, 32
  1324.         shadow        1
  1325.         text        "gui::player_frags"
  1326.         forecolor    0.4, 0.6, 0.6, 1
  1327.         textscale    0.25
  1328.         textalign    1
  1329.         visible        0
  1330.     }
  1331.     
  1332. //
  1333. ///////////////////
  1334.  
  1335. windowDef AmmoParent {
  1336.     rect        0, 0, 640, 480 
  1337.  
  1338.     windowDef ScanLineR {
  1339.         rect        512, 416, 128, 64 
  1340.         background    "gui/hud/mp/scanline3"
  1341.         matcolor    1, 1, 1, 0.15
  1342.         visible    1
  1343.     }
  1344.  
  1345.     windowDef BorderR {
  1346.         rect        512, 416, 128, 64
  1347.         matcolor    0.2, 0.45, 0.4, pdflick2 [ time * .0025 ] / 2
  1348.         background    "guis/assets/hud/mp/rborder"
  1349.     }
  1350.  
  1351.     windowDef BorderR_1 {
  1352.         rect        512, 416, 128, 64
  1353.         matcolor    0.6, 0.3, 0, pdinouthold[ time * 0.001 ] / 1.2
  1354.         background    "guis/assets/hud/mp/rborder"
  1355.         visible        0
  1356.     }
  1357.  
  1358.     windowDef BorderR_2 {
  1359.         rect        512, 416, 128, 64
  1360.         matcolor    1, 0.15, 0, pdinouthold[ time * 0.002 ]
  1361.         background    "guis/assets/hud/mp/rborder"
  1362.         visible        0
  1363.     }
  1364.  
  1365.     windowDef BgR {
  1366.         rect        512, 416, 128, 64
  1367.         matcolor    0.09, 0.26, 0.26, subtleflick [ time * .0025 ] / 4
  1368.         background    "guis/assets/hud/mp/rbg"
  1369.     }
  1370.  
  1371.  
  1372.     windowDef ammovalue2 {
  1373.         text    "gui::player_allammo"
  1374.         shadow    1
  1375.         rect    538 ,449 ,80 ,20 
  1376.         forecolor    0.6, 0.8, 0.8, 1
  1377.         visible    1
  1378.         textscale    0.32
  1379.         textalign    1
  1380.         font        "fonts/micro"
  1381.         shear 0, 0.33
  1382.     }
  1383. }
  1384.  
  1385.  
  1386.     windowDef MPHealth {
  1387.         rect        90, 446, 39, 32
  1388.         shadow        1
  1389.  
  1390.         text        "gui::player_health"//200"//
  1391.         forecolor    1, 1, 1, 1
  1392.         textscale    0.38
  1393.         textalign    1
  1394.         font        "fonts/micro"
  1395.         shear 0, -0.33
  1396.     }
  1397.  
  1398.     windowDef MPArmor {
  1399.         rect        28, 451, 34, 32
  1400.         shadow        1
  1401.         text        "gui::player_armor"
  1402.         forecolor    0.4, 0.6, 0.6, 1
  1403.         textscale    0.25
  1404.         textalign    1
  1405.         font        "fonts/micro"
  1406.         shear 0, -0.3
  1407.  
  1408.     }
  1409.  
  1410.  
  1411.  
  1412.  
  1413. ////////////////////////////
  1414. //WEAPON ICONS
  1415. ////////////////////////////
  1416.  
  1417.     windowDef WeapIcon0 {
  1418.         visible        1
  1419.         rect        0,0,0,0
  1420.         background    "gui/hud/fistsr"
  1421.         matcolor    1, 1, 1 ,1
  1422.         notime        1
  1423.  
  1424.         onTime 0 {
  1425.             set "WeapText::text"    "#str_02475" ;
  1426.  
  1427.             set "WeapIcon0::rect" "288 390 64 64" ;
  1428.             set "WeapIcon1::rect" "362 416 32 32" ;
  1429.             set "WeapIcon2::rect" "404 416 64 32" ;
  1430.             set "WeapIcon3::rect" "478 416 64 32" ;
  1431.             set "WeapIcon4::rect" "552 416 64 32" ;
  1432.             set "WeapIcon5::rect" "626 416 32 32" ;
  1433.             set "WeapIcon6::rect" "-82 416 64 32" ;
  1434.             set "WeapIcon7::rect" "-8 416 64 32" ;
  1435.             set "WeapIcon8::rect" "66 416 64 32" ;
  1436.             set "WeapIcon10::rect" "140 416 64 32" ;
  1437.             set "WeapIcon11::rect" "214 416 64 32" ;
  1438.         }
  1439.     }
  1440.  
  1441.     windowDef WeapIcon1 {
  1442.         visible        1
  1443.         rect        0,0,0,0
  1444.         background    "gui/hud/pistolr"
  1445.         matcolor    1, 1, 1, 1
  1446.         notime        1
  1447.  
  1448.         onTime 0 {
  1449.             set "WeapText::text"    "#str_01819" ;
  1450.  
  1451.             set "WeapIcon0::rect" "246 416 32 32" ;
  1452.             set "WeapIcon1::rect" "288 390 64 64" ;
  1453.             set "WeapIcon2::rect" "362 416 64 32" ;
  1454.             set "WeapIcon3::rect" "436 416 64 32" ;
  1455.             set "WeapIcon4::rect" "510 416 64 32" ;
  1456.             set "WeapIcon5::rect" "584 416 32 32" ;
  1457.             set "WeapIcon6::rect" "626 416 64 32" ;
  1458.             set "WeapIcon7::rect" "-50 416 64 32" ;
  1459.             set "WeapIcon8::rect" "24 416 64 32" ;
  1460.             set "WeapIcon10::rect" "98 416 64 32" ;
  1461.             set "WeapIcon11::rect" "172 416 64 32" ;
  1462.         }
  1463.     }
  1464.  
  1465.     windowDef WeapIcon2 {
  1466.         visible        1
  1467.         rect        0,0,0,0
  1468.         background    "gui/hud/shotgunr"
  1469.         matcolor    1, 1, 1, 1
  1470.         notime        1
  1471.  
  1472.         onTime 0 {
  1473.             set "WeapText::text"    "#str_01820" ;
  1474.  
  1475.             set "WeapIcon0::rect" "172 416 32 32" ;
  1476.             set "WeapIcon1::rect" "214 416 32 32" ;
  1477.             set "WeapIcon2::rect" "256 390 128 64" ;
  1478.             set "WeapIcon3::rect" "394 416 64 32" ;
  1479.             set "WeapIcon4::rect" "468 416 64 32" ;
  1480.             set "WeapIcon5::rect" "542 416 32 32" ;
  1481.             set "WeapIcon6::rect" "584 416 64 32" ;
  1482.             set "WeapIcon7::rect" "658 416 64 32" ;
  1483.             set "WeapIcon8::rect" "-50 416 64 32" ;
  1484.             set "WeapIcon10::rect" "24 416 64 32" ;
  1485.             set "WeapIcon11::rect" "98 416 64 32" ;
  1486.         }
  1487.     }
  1488.  
  1489.     windowDef WeapIcon3 {
  1490.         visible        1
  1491.         rect        0,0,0,0
  1492.         background    "gui/hud/machinegunr"
  1493.         matcolor    1, 1, 1, 1
  1494.         notime        1
  1495.  
  1496.         onTime 0 {
  1497.             set "WeapText::text"    "#str_02476" ;
  1498.  
  1499.             set "WeapIcon0::rect" "66 416 32 32" ;
  1500.             set "WeapIcon1::rect" "108 416 32 32" ;
  1501.             set "WeapIcon2::rect" "182 416 64 32" ;
  1502.             set "WeapIcon3::rect" "256 390 128 64" ;
  1503.             set "WeapIcon4::rect" "394 416 64 32" ;
  1504.             set "WeapIcon5::rect" "468 416 32 32" ;
  1505.             set "WeapIcon6::rect" "510 416 64 32" ;
  1506.             set "WeapIcon7::rect" "584 416 64 32" ;
  1507.             set "WeapIcon8::rect" "658 416 64 32" ;
  1508.             set "WeapIcon10::rect" "-82 416 64 32" ;
  1509.             set "WeapIcon11::rect" "-8 416 64 32" ;
  1510.         }
  1511.     }
  1512.     
  1513.     windowDef WeapIcon4 {
  1514.         visible        1
  1515.         rect        0,0,0,0
  1516.         background    "gui/hud/chaingunr"
  1517.         matcolor    1, 1, 1, 1
  1518.         notime        1
  1519.  
  1520.         onTime 0 {
  1521.             set "WeapText::text"    "#str_02477" ;
  1522.  
  1523.             set "WeapIcon0::rect" "24 416 32 32" ;
  1524.             set "WeapIcon1::rect" "66 416 32 32" ;
  1525.             set "WeapIcon2::rect" "108 416 64 32" ;
  1526.             set "WeapIcon3::rect" "182 416 64 32" ;
  1527.             set "WeapIcon4::rect" "256 390 128 64" ;
  1528.             set "WeapIcon5::rect" "394 416 32 32" ;
  1529.             set "WeapIcon6::rect" "436 416 64 32" ;
  1530.             set "WeapIcon7::rect" "510 416 64 32" ;
  1531.             set "WeapIcon8::rect" "584 416 64 32" ;
  1532.             set "WeapIcon10::rect" "658 416 64 32" ;
  1533.             set "WeapIcon11::rect" "-50 416 64 32" ;
  1534.         }
  1535.     }
  1536.  
  1537.     windowDef WeapIcon5 {
  1538.         visible        1
  1539.         rect        0,0,0,0
  1540.         background    "gui/hud/grenader"
  1541.         matcolor    1, 1, 1, 1
  1542.         notime        1
  1543.  
  1544.         onTime 0 {
  1545.             set "WeapText::text"    "#str_02478" ;
  1546.  
  1547.             set "WeapIcon0::rect" "-18 416 32 32" ;
  1548.             set "WeapIcon1::rect" "24 416 32 32" ;
  1549.             set "WeapIcon2::rect" "66 416 64 32" ;
  1550.             set "WeapIcon3::rect" "140 416 64 32" ;
  1551.             set "WeapIcon4::rect" "214 416 64 32" ;
  1552.             set "WeapIcon5::rect" "288 390 64 64" ;
  1553.             set "WeapIcon6::rect" "362 416 64 32" ;
  1554.             set "WeapIcon7::rect" "436 416 64 32" ;
  1555.             set "WeapIcon8::rect" "510 416 64 32" ;
  1556.             set "WeapIcon10::rect" "584 416 64 32" ;
  1557.             set "WeapIcon11::rect" "658 416 64 32" ;
  1558.         }
  1559.     }
  1560.     
  1561.     windowDef WeapIcon6 {
  1562.         visible        1
  1563.         rect        0,0,0,0
  1564.         background    "gui/hud/plasmagunr"
  1565.         matcolor    1, 1, 1, 1
  1566.         notime        1
  1567.  
  1568.         onTime 0 {
  1569.             set "WeapText::text"    "#str_02479" ;
  1570.  
  1571.             set "WeapIcon0::rect" "690 416 32 32" ;
  1572.             set "WeapIcon1::rect" "-50 416 32 32" ;
  1573.             set "WeapIcon2::rect" "-8 416 64 32" ;
  1574.             set "WeapIcon3::rect" "66 416 64 32" ;
  1575.             set "WeapIcon4::rect" "140 416 64 32" ;
  1576.             set "WeapIcon5::rect" "214 416 32 32" ;
  1577.             set "WeapIcon6::rect" "256 390 128 64" ;
  1578.             set "WeapIcon7::rect" "394 416 64 32" ;
  1579.             set "WeapIcon8::rect" "468 416 64 32" ;
  1580.             set "WeapIcon10::rect" "542 416 64 32" ;
  1581.             set "WeapIcon11::rect" "616 416 64 32" ;
  1582.         }
  1583.     }
  1584.  
  1585.     windowDef WeapIcon7 {
  1586.         visible        1
  1587.         rect        0,0,0,0
  1588.         background    "gui/hud/rocketlauncherr"
  1589.         matcolor    1, 1, 1, 1
  1590.         notime        1
  1591.  
  1592.         onTime 0 {
  1593.             set "WeapText::text"    "#str_02480" ;
  1594.  
  1595.  
  1596.             set "WeapIcon0::rect" "616 416 32 32" ;
  1597.             set "WeapIcon1::rect" "658 416 32 32" ;
  1598.             set "WeapIcon2::rect" "-82 416 64 32" ;
  1599.             set "WeapIcon3::rect" "-8 416 64 32" ;
  1600.             set "WeapIcon4::rect" "66 416 64 32" ;
  1601.             set "WeapIcon5::rect" "140 416 32 32" ;
  1602.             set "WeapIcon6::rect" "182 416 64 32" ;
  1603.             set "WeapIcon7::rect" "256 390 128 64" ;
  1604.             set "WeapIcon8::rect" "394 416 64 32" ;
  1605.             set "WeapIcon10::rect" "468 416 64 32" ;
  1606.             set "WeapIcon11::rect" "542 416 64 32" ;
  1607.         }
  1608.     }
  1609.  
  1610.     windowDef WeapIcon8 {
  1611.         visible        1
  1612.         rect        0,0,0,0
  1613.         background    "gui/hud/bfgr"
  1614.         matcolor    1, 1, 1, 1
  1615.         notime        1
  1616.  
  1617.         onTime 0 {
  1618.             set "WeapText::text"    "#str_02022" ;
  1619.  
  1620.             set "WeapIcon0::rect" "542 416 32 32" ;
  1621.             set "WeapIcon1::rect" "584 416 32 32" ;
  1622.             set "WeapIcon2::rect" "626 416 64 32" ;
  1623.             set "WeapIcon3::rect" "-82 416 64 32" ;
  1624.             set "WeapIcon4::rect" "-8 416 64 32" ;
  1625.             set "WeapIcon5::rect" "66 416 32 32" ;
  1626.             set "WeapIcon6::rect" "108 416 64 32" ;
  1627.             set "WeapIcon7::rect" "182 416 64 32" ;
  1628.             set "WeapIcon8::rect" "256 390 128 64" ;
  1629.             set "WeapIcon10::rect" "394 416 64 32" ;
  1630.             set "WeapIcon11::rect" "468 416 64 32" ;
  1631.         }
  1632.     }
  1633.     
  1634.     windowDef WeapIcon10 {
  1635.         visible        1
  1636.         rect        0,0,0,0
  1637.         background    "gui/hud/chainsawr"
  1638.         matcolor    1, 1, 1, 1
  1639.         notime        1
  1640.  
  1641.         onTime 0 {
  1642.             set "WeapText::text"    "#str_02481" ;
  1643.  
  1644.             set "WeapIcon0::rect" "468 416 32 32" ;
  1645.             set "WeapIcon1::rect" "510 416 32 32" ;
  1646.             set "WeapIcon2::rect" "552 416 64 32" ;
  1647.             set "WeapIcon3::rect" "626 416 64 32" ;
  1648.             set "WeapIcon4::rect" "-82 416 64 32" ;
  1649.             set "WeapIcon5::rect" "-8 416 32 32" ;
  1650.             set "WeapIcon6::rect" "34 416 64 32" ;
  1651.             set "WeapIcon7::rect" "108 416 64 32" ;
  1652.             set "WeapIcon8::rect" "182 416 64 32" ;
  1653.             set "WeapIcon10::rect" "256 390 128 64" ;
  1654.             set "WeapIcon11::rect" "394 416 64 32" ;
  1655.         }
  1656.     }
  1657.     
  1658.     windowDef WeapIcon11 {
  1659.         visible        1
  1660.         rect        0,0,0,0
  1661.         background    "gui/hud/flashlightr"
  1662.         matcolor    1, 1, 1, 1
  1663.         notime        1
  1664.  
  1665.         onTime 0 {
  1666.             set "WeapText::text"    "#str_02482" ;
  1667.             
  1668.             set "WeapIcon0::rect" "394 416 32 32" ;
  1669.             set "WeapIcon1::rect" "434 416 32 32" ;
  1670.             set "WeapIcon2::rect" "478 416 64 32" ;
  1671.             set "WeapIcon3::rect" "550 416 64 32" ;
  1672.             set "WeapIcon4::rect" "622 416 64 32" ;
  1673.             set "WeapIcon5::rect" "-82 416 32 32" ;
  1674.             set "WeapIcon6::rect" "-40 416 64 32" ;
  1675.             set "WeapIcon7::rect" "34 416 64 32" ;
  1676.             set "WeapIcon8::rect" "108 416 64 32" ;
  1677.             set "WeapIcon10::rect" "182 416 64 32" ;
  1678.             set "WeapIcon11::rect" "256 390 128 64" ;
  1679.         }
  1680.     }
  1681.  
  1682.     windowDef WeapText {
  1683.         text    ""
  1684.         font    "fonts/bank"
  1685.     //    shadow    1
  1686.         rect    55 ,375 ,540 ,20 
  1687.         forecolor    0.6, 0.8, 0.75, 0
  1688.         visible    1
  1689.         textscale    0.25
  1690.         textalign    1
  1691.  
  1692.         onTime 0 {
  1693.             transition "WeapText::forecolor" "0.6 0.8 0.75 1" "0.6 0.8 0.75 0" "1500" "0.6" "0" ;
  1694.             
  1695.             if ("desktop::weapon" == 0) { 
  1696.                 transition "WeapIcon0::matcolor" "1 1 1 1" "1 1 1 0" "1500" ;
  1697.                 transition "WeapIcon1::matcolor" "1 1 1 0.8" "1 1 1 0" "1500" ;
  1698.                 transition "WeapIcon2::matcolor" "1 1 1 0.6" "1 1 1 0" "1500" ;
  1699.                 transition "WeapIcon3::matcolor" "1 1 1 0.4" "1 1 1 0" "1500" ;
  1700.                 transition "WeapIcon4::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1701.                 transition "WeapIcon5::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1702.                 transition "WeapIcon6::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1703.                 transition "WeapIcon7::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1704.                 transition "WeapIcon8::matcolor" "1 1 1 0.4" "1 1 1 0" "1500" ;
  1705.                 transition "WeapIcon10::matcolor" "1 1 1 0.6" "1 1 1 0" "1500" ;
  1706.                 transition "WeapIcon11::matcolor" "1 1 1 0.8" "1 1 1 0" "1500" ;
  1707.             }
  1708.             if ("desktop::weapon" == 1) { 
  1709.                 transition "WeapIcon0::matcolor" "1 1 1 0.8" "1 1 1 0" "1500" ;
  1710.                 transition "WeapIcon1::matcolor" "1 1 1 1" "1 1 1 0" "1500" ;
  1711.                 transition "WeapIcon2::matcolor" "1 1 1 0.8" "1 1 1 0" "1500" ;
  1712.                 transition "WeapIcon3::matcolor" "1 1 1 0.6" "1 1 1 0" "1500" ;
  1713.                 transition "WeapIcon4::matcolor" "1 1 1 0.4" "1 1 1 0" "1500" ;
  1714.                 transition "WeapIcon5::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1715.                 transition "WeapIcon6::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1716.                 transition "WeapIcon7::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1717.                 transition "WeapIcon8::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1718.                 transition "WeapIcon10::matcolor" "1 1 1 0.4" "1 1 1 0" "1500" ;
  1719.                 transition "WeapIcon11::matcolor" "1 1 1 0.6" "1 1 1 0" "1500" ;
  1720.             }    
  1721.             if ("desktop::weapon" == 2) { 
  1722.                 transition "WeapIcon0::matcolor" "1 1 1 0.6" "1 1 1 0" "1500" ;
  1723.                 transition "WeapIcon1::matcolor" "1 1 1 0.8" "1 1 1 0" "1500" ;
  1724.                 transition "WeapIcon2::matcolor" "1 1 1 1" "1 1 1 0" "1500" ;
  1725.                 transition "WeapIcon3::matcolor" "1 1 1 0.8" "1 1 1 0" "1500" ;
  1726.                 transition "WeapIcon4::matcolor" "1 1 1 0.6" "1 1 1 0" "1500" ;
  1727.                 transition "WeapIcon5::matcolor" "1 1 1 0.4" "1 1 1 0" "1500" ;
  1728.                 transition "WeapIcon6::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1729.                 transition "WeapIcon7::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1730.                 transition "WeapIcon8::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1731.                 transition "WeapIcon10::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1732.                 transition "WeapIcon11::matcolor" "1 1 1 0.4" "1 1 1 0" "1500" ;
  1733.             }            
  1734.             if ("desktop::weapon" == 3) { 
  1735.                 transition "WeapIcon0::matcolor" "1 1 1 0.4" "1 1 1 0" "1500" ;
  1736.                 transition "WeapIcon1::matcolor" "1 1 1 0.6" "1 1 1 0" "1500" ;
  1737.                 transition "WeapIcon2::matcolor" "1 1 1 0.8" "1 1 1 0" "1500" ;
  1738.                 transition "WeapIcon3::matcolor" "1 1 1 1" "1 1 1 0" "1500" ;
  1739.                 transition "WeapIcon4::matcolor" "1 1 1 0.8" "1 1 1 0" "1500" ;
  1740.                 transition "WeapIcon5::matcolor" "1 1 1 0.6" "1 1 1 0" "1500" ;
  1741.                 transition "WeapIcon6::matcolor" "1 1 1 0.4" "1 1 1 0" "1500" ;
  1742.                 transition "WeapIcon7::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1743.                 transition "WeapIcon8::matcolor" "1 1 1 02" "1 1 1 0" "1500" ;
  1744.                 transition "WeapIcon10::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1745.                 transition "WeapIcon11::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1746.             }            
  1747.             if ("desktop::weapon" == 4) { 
  1748.                 transition "WeapIcon0::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1749.                 transition "WeapIcon1::matcolor" "1 1 1 0.4" "1 1 1 0" "1500" ;
  1750.                 transition "WeapIcon2::matcolor" "1 1 1 0.6" "1 1 1 0" "1500" ;
  1751.                 transition "WeapIcon3::matcolor" "1 1 1 0.8" "1 1 1 0" "1500" ;
  1752.                 transition "WeapIcon4::matcolor" "1 1 1 1" "1 1 1 0" "1500" ;
  1753.                 transition "WeapIcon5::matcolor" "1 1 1 0.8" "1 1 1 0" "1500" ;
  1754.                 transition "WeapIcon6::matcolor" "1 1 1 0.6" "1 1 1 0" "1500" ;
  1755.                 transition "WeapIcon7::matcolor" "1 1 1 0.4" "1 1 1 0" "1500" ;
  1756.                 transition "WeapIcon8::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1757.                 transition "WeapIcon10::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1758.                 transition "WeapIcon11::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1759.             }            
  1760.             if ("desktop::weapon" == 5) { 
  1761.                 transition "WeapIcon0::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1762.                 transition "WeapIcon1::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1763.                 transition "WeapIcon2::matcolor" "1 1 1 0.4" "1 1 1 0" "1500" ;
  1764.                 transition "WeapIcon3::matcolor" "1 1 1 0.6" "1 1 1 0" "1500" ;
  1765.                 transition "WeapIcon4::matcolor" "1 1 1 0.8" "1 1 1 0" "1500" ;
  1766.                 transition "WeapIcon5::matcolor" "1 1 1 1" "1 1 1 0" "1500" ;
  1767.                 transition "WeapIcon6::matcolor" "1 1 1 0.8" "1 1 1 0" "1500" ;
  1768.                 transition "WeapIcon7::matcolor" "1 1 1 0.6" "1 1 1 0" "1500" ;
  1769.                 transition "WeapIcon8::matcolor" "1 1 1 0.4" "1 1 1 0" "1500" ;
  1770.                 transition "WeapIcon10::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1771.                 transition "WeapIcon11::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1772.             }            
  1773.             if ("desktop::weapon" == 6) { 
  1774.                 transition "WeapIcon0::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1775.                 transition "WeapIcon1::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1776.                 transition "WeapIcon2::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1777.                 transition "WeapIcon3::matcolor" "1 1 1 0.4" "1 1 1 0" "1500" ;
  1778.                 transition "WeapIcon4::matcolor" "1 1 1 0.6" "1 1 1 0" "1500" ;
  1779.                 transition "WeapIcon5::matcolor" "1 1 1 0.8" "1 1 1 0" "1500" ;
  1780.                 transition "WeapIcon6::matcolor" "1 1 1 1" "1 1 1 0" "1500" ;
  1781.                 transition "WeapIcon7::matcolor" "1 1 1 0.8" "1 1 1 0" "1500" ;
  1782.                 transition "WeapIcon8::matcolor" "1 1 1 0.6" "1 1 1 0" "1500" ;
  1783.                 transition "WeapIcon10::matcolor" "1 1 1 0.4" "1 1 1 0" "1500" ;
  1784.                 transition "WeapIcon11::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1785.             }            
  1786.             if ("desktop::weapon" == 7) { 
  1787.                 transition "WeapIcon0::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1788.                 transition "WeapIcon1::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1789.                 transition "WeapIcon2::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1790.                 transition "WeapIcon3::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1791.                 transition "WeapIcon4::matcolor" "1 1 1 0.4" "1 1 1 0" "1500" ;
  1792.                 transition "WeapIcon5::matcolor" "1 1 1 0.6" "1 1 1 0" "1500" ;
  1793.                 transition "WeapIcon6::matcolor" "1 1 1 0.8" "1 1 1 0" "1500" ;
  1794.                 transition "WeapIcon7::matcolor" "1 1 1 1" "1 1 1 0" "1500" ;
  1795.                 transition "WeapIcon8::matcolor" "1 1 1 0.8" "1 1 1 0" "1500" ;
  1796.                 transition "WeapIcon10::matcolor" "1 1 1 0.6" "1 1 1 0" "1500" ;
  1797.                 transition "WeapIcon11::matcolor" "1 1 1 0.4" "1 1 1 0" "1500" ;
  1798.             }            
  1799.             if ("desktop::weapon" == 8) { 
  1800.                 transition "WeapIcon0::matcolor" "1 1 1 0.4" "1 1 1 0" "1500" ;
  1801.                 transition "WeapIcon1::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1802.                 transition "WeapIcon2::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1803.                 transition "WeapIcon3::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1804.                 transition "WeapIcon4::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1805.                 transition "WeapIcon5::matcolor" "1 1 1 0.4" "1 1 1 0" "1500" ;
  1806.                 transition "WeapIcon6::matcolor" "1 1 1 0.6" "1 1 1 0" "1500" ;
  1807.                 transition "WeapIcon7::matcolor" "1 1 1 0.8" "1 1 1 0" "1500" ;
  1808.                 transition "WeapIcon8::matcolor" "1 1 1 1" "1 1 1 0" "1500" ;
  1809.                 transition "WeapIcon10::matcolor" "1 1 1 0.8" "1 1 1 0" "1500" ;
  1810.                 transition "WeapIcon11::matcolor" "1 1 1 0.6" "1 1 1 0" "1500" ;
  1811.             }            
  1812.             if ("desktop::weapon" == 10) { 
  1813.                 transition "WeapIcon0::matcolor" "1 1 1 0.6" "1 1 1 0" "1500" ;
  1814.                 transition "WeapIcon1::matcolor" "1 1 1 0.4" "1 1 1 0" "1500" ;
  1815.                 transition "WeapIcon2::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1816.                 transition "WeapIcon3::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1817.                 transition "WeapIcon4::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1818.                 transition "WeapIcon5::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1819.                 transition "WeapIcon6::matcolor" "1 1 1 0.4" "1 1 1 0" "1500" ;
  1820.                 transition "WeapIcon7::matcolor" "1 1 1 0.6" "1 1 1 0" "1500" ;
  1821.                 transition "WeapIcon8::matcolor" "1 1 1 0.8" "1 1 1 0" "1500" ;
  1822.                 transition "WeapIcon10::matcolor" "1 1 1 1" "1 1 1 0" "1500" ;
  1823.                 transition "WeapIcon11::matcolor" "1 1 1 0.8" "1 1 1 0" "1500" ;
  1824.             }            
  1825.             if ("desktop::weapon" == 11) { 
  1826.                 transition "WeapIcon0::matcolor" "1 1 1 0.8" "1 1 1 0" "1500" ;
  1827.                 transition "WeapIcon1::matcolor" "1 1 1 0.6" "1 1 1 0" "1500" ;
  1828.                 transition "WeapIcon2::matcolor" "1 1 1 0.4" "1 1 1 0" "1500" ;
  1829.                 transition "WeapIcon3::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1830.                 transition "WeapIcon4::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1831.                 transition "WeapIcon5::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1832.                 transition "WeapIcon6::matcolor" "1 1 1 0.2" "1 1 1 0" "1500" ;
  1833.                 transition "WeapIcon7::matcolor" "1 1 1 0.4" "1 1 1 0" "1500" ;
  1834.                 transition "WeapIcon8::matcolor" "1 1 1 0.6" "1 1 1 0" "1500" ;
  1835.                 transition "WeapIcon10::matcolor" "1 1 1 0.8" "1 1 1 0" "1500" ;
  1836.                 transition "WeapIcon11::matcolor" "1 1 1 1" "1 1 1 0" "1500" ;
  1837.             }            
  1838.             
  1839.         }
  1840.     }
  1841.  
  1842.     windowDef BorderItem1 {
  1843.         rect        384, 416, 256, 64
  1844.         matcolor    0.2, 0.45, 0.4, 0
  1845.         background    "guis/assets/hud/pershud/rborder1"
  1846.     }
  1847.  
  1848.     windowDef BgItem1 {
  1849.         rect        384, 416, 256, 64
  1850.         matcolor    0.09, 0.26, 0.26, 0
  1851.         background    "guis/assets/hud/pershud/rbg1"
  1852.     }
  1853.  
  1854.     windowDef BorderItem2 {
  1855.         rect        510, 386, 128, 64
  1856.         matcolor    0.2, 0.45, 0.4, 0
  1857.         background    "guis/assets/hud/pershud/rborder2"
  1858.     }
  1859.  
  1860.     windowDef BgItem2 {
  1861.         rect        510, 386, 128, 64
  1862.         matcolor    0.09, 0.26, 0.26, 0
  1863.         background    "guis/assets/hud/pershud/rbg2"
  1864.     }
  1865.  
  1866.  
  1867.     windowDef LinesItem1 {
  1868.         rect        384, 416, 256, 64
  1869.         matcolor    0.6, 0.8, 1, 0
  1870.         background    "guis/assets/hud/pershud/rlines1"
  1871.     }
  1872.  
  1873.     windowDef ObjectItem {
  1874.         rect        535 ,384 ,64, 64 
  1875.         background    "gui::itemicon"
  1876.     //    background    "guis/assets/hud/items/redkey"
  1877.         variablebackground 1
  1878.         matcolor    1, 0.9, 1, 0
  1879.         visible        1
  1880.     }
  1881.  
  1882.     windowDef Object {
  1883.         text        "gui::itemtext"
  1884.         rect        12 ,429 ,200 ,15 
  1885.         forecolor    0.4, 0.6, 0.6, 0
  1886.         font        "fonts/bank"
  1887.         textscale    0.25
  1888.         visible        1
  1889.     }
  1890.  
  1891.     windowDef Warmup {  
  1892.         text        "gui::warmuptext"  
  1893.         rect         0, 360, 640, 30
  1894.         textalign    1
  1895.         forecolor    0.8, 0.1, 0.1, 1
  1896.         textscale     0.35 
  1897.         visible        "gui::warmup"
  1898.         font        "fonts/bank"
  1899.         shadow        1
  1900.     }
  1901.     
  1902. //////////////////////////////////////////
  1903. //ANIMATION
  1904. //////////////////////////////////////////
  1905.  
  1906.     windowDef animObject {
  1907.         rect    0 ,0 ,0 ,0 
  1908.         notime    1
  1909.  
  1910.         onTime 0 {
  1911.             transition    "Object::forecolor" "1 1 1 1" "1 0.8 0.2 1" "200" ;
  1912.         }
  1913.         onTime 2000 {
  1914.             transition    "object::forecolor" "1 0.8 0.2 1" "0.4 0.6 0.6 0" "1000" ;
  1915.         }
  1916.     }
  1917.  
  1918. //////////////////////////////////////////
  1919. //IDENTIFY PLAYERS
  1920. //////////////////////////////////////////
  1921.     
  1922.     float fadeon 0
  1923.  
  1924.     // aim_text was set, flash up the name
  1925.     onNamedEvent aim_flash {
  1926.         // make sure no parasite onTime b0rks us
  1927.         set "desktop::fadeon" "0" ;
  1928.         set "AimingAt::visible" "1" ;
  1929.         set "AimingRect1::visible" "0" ;
  1930.         set "AimingRect2::visible" "0" ;
  1931.         set "AimingRect3::visible" "0" ;
  1932.         set "AimingRect4::visible" "0" ;
  1933.         set "AimingAt::forecolor" "1 1 1 1" ;
  1934.         if ( "gui::aim_color" == 1 ) {
  1935.             set "AimingRect1::visible" "1" ;
  1936.             set "AimingRect1::backcolor" "1.0 0.0 0.0 0.25" ;
  1937.         } else if ( "gui::aim_color" == 2 ) {
  1938.             set "AimingRect2::visible" "1" ;            
  1939.             set "AimingRect2::backcolor" "0.0 0.8 0.1 0.25" ;
  1940.         } else if ( "gui::aim_color" == 3 ) {
  1941.             set "AimingRect3::visible" "1" ;            
  1942.             set "AimingRect3::backcolor" "0.2 0.5 0.8 0.25" ;
  1943.         } else if ( "gui::aim_color" == 4 ) {
  1944.             set "AimingRect4::visible" "1" ;            
  1945.             set "AimingRect4::backcolor" "1.0 0.8 0.1 0.25" ;
  1946.         }
  1947.     }
  1948.     
  1949.     // start a fade
  1950.     onNamedEvent aim_fade {
  1951.         set "desktop::fadeon" "1" ;
  1952.         resetTime "AimingAt" "0" ;        
  1953.         if ( "gui::aim_color" == 1 ) {
  1954.             resetTime "AimingRect1" "0" ;
  1955.         } else if ( "gui::aim_color" == 2 ) {
  1956.             resetTime "AimingRect2" "0" ;
  1957.         } else if ( "gui::aim_color" == 3 ) {
  1958.             resetTime "AimingRect3" "0" ;
  1959.         } else if ( "gui::aim_color" == 4 ) {
  1960.             resetTime "AimingRect4" "0" ;
  1961.         }
  1962.     }
  1963.     
  1964.     onNamedEvent aim_clear {
  1965.         set "AimingAt::visible" "0" ;
  1966.         set "AimingRect1::visible" "0" ;
  1967.         set "AimingRect2::visible" "0" ;
  1968.         set "AimingRect3::visible" "0" ;
  1969.         set "AimingRect4::visible" "0" ;        
  1970.     }
  1971.     
  1972.     windowDef AimingRect1 {
  1973.         rect        200, 450, 238, 20
  1974.         time        0
  1975.         visible        0
  1976.         backcolor    1.0, 0.0, 0.0, 0.25
  1977.         onTime 1500 {
  1978.             if ( "desktop::fadeon" == 1 ) {
  1979.                 transition "AimingRect1::backcolor" "1.0 0.0 0.0 0.25" "1.0 0.0 0.0 0" "500" ;
  1980.             }
  1981.         }
  1982.         onTime 2000 {
  1983.             if ( "desktop::fadeon" == 1 ) {
  1984.                 set "AimingRect1::visible" "0" ;    
  1985.             }
  1986.         }
  1987.     }
  1988.     
  1989.     windowDef AimingRect2 {
  1990.         rect        200, 450, 238, 20
  1991.         time        0
  1992.         visible        0
  1993.         backcolor    0.0, 0.8, 0.1, 0.25
  1994.         onTime 1500 {
  1995.             if ( "desktop::fadeon" == 1 ) {
  1996.                 transition "AimingRect2::backcolor" "0.0 0.8 0.1 0.25" "0.0 0.8 0.1 0" "500" ;
  1997.             }
  1998.         }
  1999.         onTime 2000 {
  2000.             if ( "desktop::fadeon" == 1 ) {
  2001.                 set "AimingRect2::visible" "0" ;    
  2002.             }
  2003.         }
  2004.     }
  2005.     
  2006.     windowDef AimingRect3 {
  2007.         rect        200, 450, 238, 20
  2008.         time        0
  2009.         visible        0
  2010.         backcolor    0.2, 0.5, 0.8, 0.25
  2011.         onTime 1500 {
  2012.             if ( "desktop::fadeon" == 1 ) {
  2013.                 transition "AimingRect3::backcolor" "0.2 0.5 0.8 0.25" "0.2 0.5 0.8 0" "500" ;
  2014.             }
  2015.         }
  2016.         onTime 2000 {
  2017.             if ( "desktop::fadeon" == 1 ) {
  2018.                 set "AimingRect3::visible" "0" ;    
  2019.             }
  2020.         }
  2021.     }
  2022.     
  2023.     windowDef AimingRect4 {
  2024.         rect        200, 450, 238, 20
  2025.         time        0
  2026.         visible        0
  2027.         backcolor    1.0, 0.8, 0.1, 0.25
  2028.         onTime 1500 {
  2029.             if ( "desktop::fadeon" == 1 ) {
  2030.                 transition "AimingRect4::backcolor" "1.0 0.8 0.1 0.25" "1.0 0.8 0.1 0" "500" ;
  2031.             }
  2032.         }
  2033.         onTime 2000 {
  2034.             if ( "desktop::fadeon" == 1 ) {
  2035.                 set "AimingRect4::visible" "0" ;    
  2036.             }
  2037.         }
  2038.     }
  2039.  
  2040.     windowDef AimingAt {
  2041.         rect        200, 450, 238, 20
  2042.         text        "gui::aim_text"
  2043.         textalign    1
  2044.         textscale    0.25
  2045.         font        "fonts/an"
  2046.         shadow        1
  2047.         visible        0
  2048.         notime        1
  2049.  
  2050.         onTime 1500 {
  2051.             if ( "desktop::fadeon" == 1 ) {
  2052.                 transition "AimingAt::forecolor" "1 1 1 1" "1 0.8 0.2 0" "500" ;
  2053.             }
  2054.         }
  2055.         onTime 2000 {
  2056.             if ( "desktop::fadeon" == 1 ) {
  2057.                 set "AimingAt::visible" "0" ;    
  2058.             }
  2059.         }
  2060.     }
  2061. }