home *** CD-ROM | disk | FTP | other *** search
/ Tripas 5 / TRIPAS 005.iso / Wos.EXE / 2015 / huds / hud04.hdl < prev   
Encoding:
Text File  |  1999-02-24  |  7.7 KB  |  191 lines

  1. // *******************************************************************************
  2. // SIN HUD Layout - Top Design - Low Res Version
  3. //
  4. // NOTE: Not enough room on screen for good right side HUD (Too cluttered).
  5. // *******************************************************************************
  6. //
  7.  
  8. //###
  9. // put this here so that it wouldn't draw over other stuff
  10.  
  11. // night vision color overlay
  12. if 15
  13. //  fc 1 1 1 0.25
  14. //  cbt nightvision
  15.  
  16. // screen blend
  17.   xl 0 yb 0 fill 0.1 1 0.1 0.075  screenwidth screenheight
  18.  
  19. // dark view frame
  20. //  xl 0 yt -60 fill 0 0 0 0.3  screenwidth 60
  21. //  xl 0 yb 0 fill 0 0 0 0.3  screenwidth 60
  22.  
  23. // top lines
  24.   xv -80 yv 45 fill 0.1 0.75 0.1  0.2  160 2
  25.   xv -75 yv 48 fill 0.1 0.75 0.1  0.12  150 1
  26.  
  27. // bottom lines
  28.   xv -80 yv -47 fill 0.1 0.75 0.1  0.2  160 2
  29.   xv -75 yv -49 fill 0.1 0.75 0.1  0.12  150 1
  30.  
  31. // right bracket
  32.   xv -110 yv -55 fill 0.1 0.75 0.1  0.2  2 110
  33.   xv -108 yv 53 fill 0.1 0.75 0.1  0.2  25 2
  34.   xv -108 yv -55 fill 0.1 0.75 0.1  0.2  25 2
  35.   xv -112 yv -50 fill 0.1 0.75 0.1  0.12  1 100
  36.  
  37. // left bracket
  38.   xv 109 yv -55 fill 0.1 0.75 0.1  0.2  2 110
  39.   xv 84 yv 53 fill 0.1 0.75 0.1  0.2  25 2
  40.   xv 84 yv -55 fill 0.1 0.75 0.1  0.2  25 2
  41.   xv 112 yv -50 fill 0.1 0.75 0.1  0.12  1 100
  42.  
  43.   fc 0.2 1 0.2 0.25
  44.   jcx yb 50 string "Therm-Optics Engaged"
  45.   // range to target number
  46.   xv 10 yv -10 rangenum
  47.   fc 1 1 1 1
  48.  
  49. endif
  50. //###
  51.  
  52. // -------------------------------------------------------------------------------
  53. // Fill Line
  54. xl 0 yt -11 fill 0 0 0 0.66 screenwidth 11        // Dividing Line
  55.  
  56. // -------------------------------------------------------------------------------
  57. // Armor title & current count
  58. fc 0 0.3 0.8 1 xr -47 yt -9 string ARMOR          // Title - ARMOR
  59. fc 1 1 1 1   xr -41 yt -93 pickarmor down         // Display area when you pick up item
  60.  
  61. // -------------------------------------------------------------------------------
  62. // Health title & current count
  63. fc 0 0.3 0.8 1  xr -144 yt -9 string HEALTH:      // Title - HEALTH
  64. fc 1 1 1 1      xr -90 yt -9 smnum hnum           // Health Amount
  65. xr -106 yt -43 pickhealth down                    // Display area when you pick up health
  66.  
  67. // Health and Armor status bars
  68. // Must be before image ovelay is displayed
  69. xr -49 yt -60 hbar 3 48                           // Health status bar line
  70. xr -6  yt -60 rbar 3 48                           // Armor status bar line
  71.  
  72. // Body Picture and damage indicators
  73. //
  74. // Powerup1 = Reactive Shields or Invulnerability
  75. // Powerup2 = Adrenaline
  76. // Powerup3 = Photon Optic Displacement Device or Invisibility
  77. // Powerup4 = Mutagen Transformation
  78. //
  79. ifpowerup 1             // Shields Display 
  80.   xr -50 yt -60 picn low_res/hud_body_01     // Body Image - Overall Damage indicator
  81.   xr -28 yt -68 smnum 28                     // Time display of the shield powerup on Chest
  82.   xr -46 yt -21 smnum 20                     // Head Armor Amount 
  83.   xr -46 yt -32 smnum 21                     // Chest Armor Amount
  84.   xr -46 yt -49 smnum 22                     // Leg Armor Amount
  85.   xr -45 yt -59 arbar 20 18 46               // Leg overlay area
  86. ifpowerup 2             // Adrenaline Display 
  87.   xr -50 yt -60 picn low_res/hud_body_01     // Body Image - Overall Damage indicator
  88.   xr -28 yt -68 smnum 28                     // Time display of the shield powerup on Chest
  89.   xr -46 yt -21 smnum 20                     // Head Armor Amount 
  90.   xr -46 yt -32 smnum 21                     // Chest Armor Amount
  91.   xr -46 yt -49 smnum 22                     // Leg Armor Amount
  92.   xr -45 yt -59 arbar 20 18 46               // Leg overlay area
  93. ifpowerup 3             // Cloak Display 
  94.   xr -50 yt -60 picn low_res/hud_body_01     // Body Image - Overall Damage indicator
  95.   xr -28 yt -68 smnum 28                     // Time display of the shield powerup on Chest
  96.   xr -46 yt -21 smnum 20                     // Head Armor Amount 
  97.   xr -46 yt -32 smnum 21                     // Chest Armor Amount
  98.   xr -46 yt -49 smnum 22                     // Leg Armor Amount
  99.   xr -45 yt -59 arbar 20 18 46               // Leg overlay area
  100. ifpowerup 4             // Mutagen Display 
  101.   xr -50 yt -60 picn low_res/hud_body_01     // Body Image - Overall Damage indicator
  102.   xr -28 yt -68 smnum 28                     // Time display of the shield powerup on Chest
  103.   xr -46 yt -21 smnum 20                     // Head Armor Amount 
  104.   xr -46 yt -32 smnum 21                     // Chest Armor Amount
  105.   xr -46 yt -49 smnum 22                     // Leg Armor Amount
  106.   xr -45 yt -59 arbar 20 18 46               // Leg overlay area
  107. else                    // Normal Display 
  108.   xr -50 yt -59 picn low_res/hud_body_01     // Body Image - Overall Damage indicator
  109.   xr -46 yt -21 smnum 20                     // Head Armor Amount 
  110.   xr -46 yt -32 smnum 21                     // Chest Armor Amount
  111.   xr -46 yt -49 smnum 22                     // Leg Armor Amount
  112.   xr -45 yt -20 arbar 20 28.5 7              // Head overlay area
  113.   xr -45 yt -32 arbar 21 28.5 12             // Chest overlay area
  114.   xr -45 yt -59 arbar 22 28.5 27             // Leg overlay area
  115. endif
  116.  
  117. // -------------------------------------------------------------------------------
  118. // Ammo Title & current count
  119. fc 0 0.3 0.8 1  xl 80 yt -9 string AMMO:     // Title - AMMO
  120. fc 1 1 1 1      xl 118 yt -9 smnum 2         // Ammo Amount
  121.  
  122. // Current weapon
  123. xl 79 yt -44 pic 25                      // Shows display of current weapon
  124. xl 80 yt -42 clipammo                    // Clip Ammo
  125. xl 79 yt -78 pickweap down               // Display area when you pick up item
  126.  
  127. // -------------------------------------------------------------------------------
  128. // Items title & current inv item
  129. fc 0 0.3 0.8 1 xl 0 yt -9 string ITEMS:      // Title - ITEMS
  130. fc 1 1 1 1     xl 46 yt -9 smnum 4           // Item Amount
  131. xl 18 yt -44 fill 0 0 0 0.66 32 32           // Background fill for area 
  132. xl 18 yt -78 pickitem down                   // Display area when you pick up item
  133.  
  134. // Current inv item
  135. if 3
  136.   xl 18 yt -44 pic 3                      // Shows display of current INV item
  137. endif
  138.  
  139. // -------------------------------------------------------------------------------
  140. // Floating inventory
  141. //
  142. xv -32 yv -60 drawinv                     // Display for items on bodies that you can pick up
  143.  
  144. // -------------------------------------------------------------------------------
  145. // Deathmatch count display
  146. //
  147. ifdm
  148.   xr -88 yb 11 fill 0 0 0 0.66 88 10      // Background fill for DM Score 
  149.   fc 0 0.3 0.8 1
  150.   xr -86 yb 12 string FRAGS:              // Title - DM SCORE
  151.   fc 1 1 1 1
  152.   xr -30 yb 12 smnum 10                   // Current score during DM play - Top
  153. endif
  154.  
  155. // -------------------------------------------------------------------------------
  156. //###
  157.  
  158. ifcp // do this if there are checkpoints
  159.   xr -175    yt -25    string "Fastest:"
  160.   xr -110    yt -25     fastestlap
  161.   xr -175    yt -35     string "   Last:"
  162.   xr -110    yt -35     lapnum 12
  163.   xr -175    yt -45    string "Current:"
  164.   xr -110    yt -45    lapnum 13
  165.   xr -175    yt -55    string " # CP's:"
  166.   xr -110    yt -55    smnum 14
  167. endif
  168.  
  169. //###
  170.  
  171. // -------------------------------------------------------------------------------
  172. // Draw game messages - One's issued from the game to the player.
  173. // These lines are displayed at the top left portion of the screen.
  174. //
  175. fc 1 1 1 1
  176. xl 0 yb 24 drawnotify 4
  177.  
  178. // Draw player messages - One's typed in from messagemode to other players.
  179. // This one is displayed in the open area in the middle of the HUD layout.
  180. //
  181. xl 0 yb 32 drawmessage 28 
  182.  
  183. // -------------------------------------------------------------------------------
  184. // See if we should draw the exit sign
  185. //
  186. if 31
  187.   xr -80 yb 16 anim 8 exitsign_
  188. endif
  189.  
  190. // -------------------------------------------------------------------------------
  191.