home *** CD-ROM | disk | FTP | other *** search
- // *******************************************************************************
- // SIN HUD Layout - Bottom Design - Low Res Version
- //
- // NOTE: Not enough room on screen for good left side HUD (Too cluttered).
- //
- // *******************************************************************************
- //
-
- //###
- // put this here so that it wouldn't draw over other stuff
-
- // night vision color overlay
- if 15
- // fc 1 1 1 0.25
- // cbt nightvision
-
- // screen blend
- xl 0 yb 0 fill 0.1 1 0.1 0.075 screenwidth screenheight
-
- // dark view frame
- // xl 0 yt -60 fill 0 0 0 0.3 screenwidth 60
- // xl 0 yb 0 fill 0 0 0 0.3 screenwidth 60
-
- // top lines
- xv -80 yv 45 fill 0.1 0.75 0.1 0.2 160 2
- xv -75 yv 48 fill 0.1 0.75 0.1 0.12 150 1
-
- // bottom lines
- xv -80 yv -47 fill 0.1 0.75 0.1 0.2 160 2
- xv -75 yv -49 fill 0.1 0.75 0.1 0.12 150 1
-
- // right bracket
- xv -110 yv -55 fill 0.1 0.75 0.1 0.2 2 110
- xv -108 yv 53 fill 0.1 0.75 0.1 0.2 25 2
- xv -108 yv -55 fill 0.1 0.75 0.1 0.2 25 2
- xv -112 yv -50 fill 0.1 0.75 0.1 0.12 1 100
-
- // left bracket
- xv 109 yv -55 fill 0.1 0.75 0.1 0.2 2 110
- xv 84 yv 53 fill 0.1 0.75 0.1 0.2 25 2
- xv 84 yv -55 fill 0.1 0.75 0.1 0.2 25 2
- xv 112 yv -50 fill 0.1 0.75 0.1 0.12 1 100
-
- fc 0.2 1 0.2 0.25
- jcx yb 50 string "Therm-Optics Engaged"
- // range to target number
- xv 10 yv -10 rangenum
- fc 1 1 1 1
-
- endif
- //###
-
- // -------------------------------------------------------------------------------
- // Fill Line
- xl 0 yb 0 fill 0 0 0 0.66 screenwidth 11 // Dividing Line
-
- // -------------------------------------------------------------------------------
- // Ammo Title & current count
- //
- fc 0 0.3 0.8 1 xl 80 yb 2 string AMMO: // Title - AMMO
- fc 1 1 1 1 xl 118 yb 2 smnum 2 // Ammo Amount
-
- // -------------------------------------------------------------------------------
- // Current weapon
- //
- xl 79 yb 12 pic 25 // Shows display of current weapon
- xl 80 yb 14 clipammo // Clip Ammo
- xl 79 yb 46 pickweap up // Display area when you pick up item
-
- // -------------------------------------------------------------------------------
- // Health title & current count
- //
- fc 0 0.3 0.8 1 xr -144 yb 2 string HEALTH: // Title - HEALTH
- fc 1 1 1 1 xr -90 yb 2 smnum hnum // Health Amount
- xr -118 yb 12 pickhealth up // Display area when you pick up health
-
- // -------------------------------------------------------------------------------
- // Health and Armor status bars
- // Must be before image overlay is displayed
- //
- xr -49 yb 13 hbar 3 46 // Health status bar line
- xr -6 yb 13 rbar 3 46 // Armor status bar line
-
- // -------------------------------------------------------------------------------
- // Body Picture and damage indicators
- //
- // Powerup1 = Reactive Shields or Invulnerability
- // Powerup2 = Adrenaline
- // Powerup3 = Photon Optic Displacement Device or Invisibility
- // Powerup4 = Mutagen Transformation
- //
- ifpowerup 1 // Shields Display
- xr -50 yb 12 picn low_res/hud_body_01 // Body Image - Overall Damage indicator
- xr -28 yb 60 smnum 28 // Time display of the shield powerup on Chest
- xr -46 yb 51 smnum 20 // Head Armor Amount
- xr -46 yb 40 smnum 21 // Chest Armor Amount
- xr -46 yb 23 smnum 22 // Leg Armor Amount
- xr -45 yb 13 arbar 20 18 46 // All numbers overlay area
- ifpowerup 2 // Adrenaline Display
- xr -50 yb 12 picn low_res/hud_body_01 // Body Image - Overall Damage indicator
- xr -28 yb 60 smnum 28 // Time display of the shield powerup on Chest
- xr -46 yb 51 smnum 20 // Head Armor Amount
- xr -46 yb 40 smnum 21 // Chest Armor Amount
- xr -46 yb 23 smnum 22 // Leg Armor Amount
- xr -45 yb 13 arbar 20 18 46 // All numbers overlay area
- ifpowerup 3 // Cloak Display
- xr -50 yb 12 picn low_res/hud_body_01 // Body Image - Overall Damage indicator
- xr -28 yb 60 smnum 28 // Time display of the shield powerup on Chest
- xr -46 yb 51 smnum 20 // Head Armor Amount
- xr -46 yb 40 smnum 21 // Chest Armor Amount
- xr -46 yb 23 smnum 22 // Leg Armor Amount
- xr -45 yb 13 arbar 20 18 46 // All numbers overlay area
- ifpowerup 4 // Mutagen Display
- xr -50 yb 12 picn low_res/hud_body_01 // Body Image - Overall Damage indicator
- xr -28 yb 60 smnum 28 // Time display of the shield powerup on Chest
- xr -46 yb 51 smnum 20 // Head Armor Amount
- xr -46 yb 40 smnum 21 // Chest Armor Amount
- xr -46 yb 23 smnum 22 // Leg Armor Amount
- xr -45 yb 13 arbar 20 18 46 // All numbers overlay area
- else // Normal Display
- xr -50 yb 12 picn low_res/hud_body_01 // Body Image - Overall Damage indicator
- xr -46 yb 51 smnum 20 // Head Armor Amount
- xr -46 yb 40 smnum 21 // Chest Armor Amount
- xr -46 yb 23 smnum 22 // Leg Armor Amount
- xr -45 yb 52 arbar 20 28.5 7 // Head overlay area
- xr -45 yb 40 arbar 21 28.5 12 // Chest overlay area
- xr -45 yb 13 arbar 22 28.5 27 // Leg overlay area
- endif
-
- // -------------------------------------------------------------------------------
- // Armor title & current count
- //
- fc 0 0.3 0.8 1 xr -47 yb 2 string ARMOR // Title - ARMOR
- fc 1 1 1 1 xr -84 yb 12 pickarmor up // Display area when you pick up item
-
- // -------------------------------------------------------------------------------
- // Items title & current inv item
- //
- fc 0 0.3 0.8 1 xl 0 yb 2 string ITEMS: // Title - ITEMS
- fc 1 1 1 1 xl 46 yb 2 smnum 4 // Item Amount
- xl 18 yb 12 fill 0 0 0 0.66 32 32 // Background fill for area
- xl 18 yb 46 pickitem up // Display area when you pick up item
-
- // -------------------------------------------------------------------------------
- // Current inv item
- //
- if 3
- xl 18 yb 12 pic 3 // Shows display of current INV item
- endif
-
- // -------------------------------------------------------------------------------
- // Floating inventory
- //
- xv -32 yv -60 drawinv // Display for items on bodies that you can pick up
-
- // -------------------------------------------------------------------------------
- // Deathmatch count display
- //
- ifdm
- fc 1 1 1 1
- xr -88 yt -11 fill 0 0 0 0.66 88 11 // Background fill for DM Score
- xr -30 yt -9 smnum 10 // Current score during DM play - Top
- fc 0 0.3 0.8 1
- xr -86 yt -9 string FRAGS: // Title - DM SCORE
- endif
-
- // -------------------------------------------------------------------------------
- //###
-
- ifcp // do this if there are checkpoints
- xr -125 yt -25 string "Fastest:"
- xr -60 yt -25 fastestlap
- xr -125 yt -35 string " Last:"
- xr -60 yt -35 lapnum 12
- xr -125 yt -45 string "Current:"
- xr -60 yt -45 lapnum 13
- xr -125 yt -55 string " # CP's:"
- xr -60 yt -55 smnum 14
- endif
-
- //###
-
- // -------------------------------------------------------------------------------
- // Draw game messages - One's issued from the game to the player.
- // These lines are displayed at the top left portion of the screen.
- //
- fc 1 1 1 1
- xl 0 yt -16 drawnotify 4
-
- // Draw player messages - One's typed in from messagemode to other players.
- // This one is displayed in the open area in the middle of the HUD layout.
- //
- xl 0 yt -8 drawmessage 32
-
- // -------------------------------------------------------------------------------
- // See if we should draw the exit sign
- //
- if 31
- xr -80 yt -80 anim 8 exitsign_
- endif
-
- // -------------------------------------------------------------------------------
-