home *** CD-ROM | disk | FTP | other *** search
- // *******************************************************************************
- // SIN HUD Layout - Top Design - Low Res Version
- //
- // NOTE: Not enough room on screen for good right 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 yt -11 fill 0 0 0 0.66 screenwidth 11 // Dividing Line
-
- // -------------------------------------------------------------------------------
- // Armor title & current count
- fc 0 0.3 0.8 1 xr -47 yt -9 string ARMOR // Title - ARMOR
- fc 1 1 1 1 xr -41 yt -93 pickarmor down // Display area when you pick up item
-
- // -------------------------------------------------------------------------------
- // Health title & current count
- fc 0 0.3 0.8 1 xr -144 yt -9 string HEALTH: // Title - HEALTH
- fc 1 1 1 1 xr -90 yt -9 smnum hnum // Health Amount
- xr -106 yt -43 pickhealth down // Display area when you pick up health
-
- // Health and Armor status bars
- // Must be before image ovelay is displayed
- xr -49 yt -60 hbar 3 48 // Health status bar line
- xr -6 yt -60 rbar 3 48 // 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 yt -60 picn low_res/hud_body_01 // Body Image - Overall Damage indicator
- xr -28 yt -68 smnum 28 // Time display of the shield powerup on Chest
- xr -46 yt -21 smnum 20 // Head Armor Amount
- xr -46 yt -32 smnum 21 // Chest Armor Amount
- xr -46 yt -49 smnum 22 // Leg Armor Amount
- xr -45 yt -59 arbar 20 18 46 // Leg overlay area
- ifpowerup 2 // Adrenaline Display
- xr -50 yt -60 picn low_res/hud_body_01 // Body Image - Overall Damage indicator
- xr -28 yt -68 smnum 28 // Time display of the shield powerup on Chest
- xr -46 yt -21 smnum 20 // Head Armor Amount
- xr -46 yt -32 smnum 21 // Chest Armor Amount
- xr -46 yt -49 smnum 22 // Leg Armor Amount
- xr -45 yt -59 arbar 20 18 46 // Leg overlay area
- ifpowerup 3 // Cloak Display
- xr -50 yt -60 picn low_res/hud_body_01 // Body Image - Overall Damage indicator
- xr -28 yt -68 smnum 28 // Time display of the shield powerup on Chest
- xr -46 yt -21 smnum 20 // Head Armor Amount
- xr -46 yt -32 smnum 21 // Chest Armor Amount
- xr -46 yt -49 smnum 22 // Leg Armor Amount
- xr -45 yt -59 arbar 20 18 46 // Leg overlay area
- ifpowerup 4 // Mutagen Display
- xr -50 yt -60 picn low_res/hud_body_01 // Body Image - Overall Damage indicator
- xr -28 yt -68 smnum 28 // Time display of the shield powerup on Chest
- xr -46 yt -21 smnum 20 // Head Armor Amount
- xr -46 yt -32 smnum 21 // Chest Armor Amount
- xr -46 yt -49 smnum 22 // Leg Armor Amount
- xr -45 yt -59 arbar 20 18 46 // Leg overlay area
- else // Normal Display
- xr -50 yt -59 picn low_res/hud_body_01 // Body Image - Overall Damage indicator
- xr -46 yt -21 smnum 20 // Head Armor Amount
- xr -46 yt -32 smnum 21 // Chest Armor Amount
- xr -46 yt -49 smnum 22 // Leg Armor Amount
- xr -45 yt -20 arbar 20 28.5 7 // Head overlay area
- xr -45 yt -32 arbar 21 28.5 12 // Chest overlay area
- xr -45 yt -59 arbar 22 28.5 27 // Leg overlay area
- endif
-
- // -------------------------------------------------------------------------------
- // Ammo Title & current count
- fc 0 0.3 0.8 1 xl 80 yt -9 string AMMO: // Title - AMMO
- fc 1 1 1 1 xl 118 yt -9 smnum 2 // Ammo Amount
-
- // Current weapon
- xl 79 yt -44 pic 25 // Shows display of current weapon
- xl 80 yt -42 clipammo // Clip Ammo
- xl 79 yt -78 pickweap down // Display area when you pick up item
-
- // -------------------------------------------------------------------------------
- // Items title & current inv item
- fc 0 0.3 0.8 1 xl 0 yt -9 string ITEMS: // Title - ITEMS
- fc 1 1 1 1 xl 46 yt -9 smnum 4 // Item Amount
- xl 18 yt -44 fill 0 0 0 0.66 32 32 // Background fill for area
- xl 18 yt -78 pickitem down // Display area when you pick up item
-
- // Current inv item
- if 3
- xl 18 yt -44 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
- xr -88 yb 11 fill 0 0 0 0.66 88 10 // Background fill for DM Score
- fc 0 0.3 0.8 1
- xr -86 yb 12 string FRAGS: // Title - DM SCORE
- fc 1 1 1 1
- xr -30 yb 12 smnum 10 // Current score during DM play - Top
- endif
-
- // -------------------------------------------------------------------------------
- //###
-
- ifcp // do this if there are checkpoints
- xr -175 yt -25 string "Fastest:"
- xr -110 yt -25 fastestlap
- xr -175 yt -35 string " Last:"
- xr -110 yt -35 lapnum 12
- xr -175 yt -45 string "Current:"
- xr -110 yt -45 lapnum 13
- xr -175 yt -55 string " # CP's:"
- xr -110 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 yb 24 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 yb 32 drawmessage 28
-
- // -------------------------------------------------------------------------------
- // See if we should draw the exit sign
- //
- if 31
- xr -80 yb 16 anim 8 exitsign_
- endif
-
- // -------------------------------------------------------------------------------
-