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

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