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

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