Skip to content

Commit

Permalink
Rearrange and rework the System Shock-esque hud, along with doing the…
Browse files Browse the repository at this point in the history
… code work so Kyle won't have to.

(psst he's totally not staring in horror at Terraria code)
  • Loading branch information
RyanCordell committed Mar 28, 2014
1 parent cd5685f commit eaf013b
Show file tree
Hide file tree
Showing 18 changed files with 46 additions and 16 deletions.
14 changes: 14 additions & 0 deletions DoomRPG/FONTDEFS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
SSFONT
{
0 NO0
1 NO1
2 NO2
3 NO3
4 NO4
5 NO5
6 NO6
7 NO7
8 NO8
9 NO9
- NO-
}
48 changes: 32 additions & 16 deletions DoomRPG/SBARINFO.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,49 @@ monospacefonts true, "0";
lowerhealthcap false;

// SS2 HUD (WIP)
// [RC] With a rewrite by me!
statusbar normal, fullscreenoffsets
{
// Bottom Left
drawimage "HUDPan1", 0, -36;
// [Bottom left]
// [RC] Main hud display, most critical info
drawimage "HUDMAIN", 0, -49;

// [RC] Bars for the most important info.
// Health
drawnumber 3, SMALLFONT, red, health, alignment(center), Interpolate(4096), 84, -27;
drawbar "HUDHBar", "HUDNBar", health, horizontal, interpolate(4096), 2, -28;
ininventory "Shield"{
drawbar "HUDSBar", "HUDNBar", ShieldCapacity, horizontal, interpolate(4096), 38, -41;
drawnumber 4, SMALLFONT, cyan, globalarray(50), alignment(right), Interpolate(4096), 142, -40;
}
else{
drawbar "HUDHBar", "HUDNBar", health, horizontal, interpolate(4096), 38, -41;
drawnumber 4, SMALLFONT, red, health, alignment(right), Interpolate(4096), 142, -40;
}

// EP
drawnumber 3, SMALLFONT, cyan, globalarray(2), alignment(center), Interpolate(4096), 84, -16;
drawbar "HUDEBar", "HUDNBar", EP, horizontal, interpolate(4096), 2, -17;
drawbar "HUDEBar", "HUDNBar", EP, horizontal, interpolate(4096), 38, -30;
drawnumber 3, SMALLFONT, blue, globalarray(2), alignment(right), Interpolate(4096), 142, -29;

// Armor
drawimage armoricon, 119, -10, centerbottom;
drawnumber 4, SMALLFONT, green, armor, whennotzero, alignment(right), Interpolate(4096), 134, -16;
drawimage armoricon, 19, -24, centerbottom;
drawnumber 4, SMALLFONT, green, armor, whennotzero, alignment(right), Interpolate(4096), 31, -28;

// Bottom Right
drawimage "HUDPan2", -74, -36;
// [Bottom right]
// Ammo
drawimage "HUDAMMO", -37, -65;
drawimage ammoicon1, -18, -31, centerbottom;
drawnumber 4, SMALLFONT, white, ammo1, alignment(center), Interpolate(4096), -18, -25;
drawnumber 4, SMALLFONT, white, ammo1capacity, alignment(center), Interpolate(4096), -18, -12;

// [RC] Currently selected inventory
drawimage "HUDINV", -80, -31;

// Current Inventory Item
drawselectedinventory center, itemflash, SMALLFONT, -56, -18, -40, -15, white;
drawselectedinventory center, itemflash, SMALLFONT, -58, -13, -42, -12, white;

// Ammo
drawimage ammoicon1, -20, -13, centerbottom;
drawnumber 4, SMALLFONT, white, ammo1, alignment(center), Interpolate(4096), -20, -15;
// drawnumber 7, SMALLFONT, white, ammo1capacity, Interpolate(4096), 156, -30;
// [RC] Return of the Jed- er, Credits!
ininventory Credits{
drawnumber 10, SSFONT, gold, globalarray(18), alignment(right), Interpolate(409600000), 134, -10;
}
}

// Normal HUD
Expand Down
Binary file added DoomRPG/graphics/hud/HUDAMMO.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DoomRPG/graphics/hud/HUDEBar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DoomRPG/graphics/hud/HUDINV.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DoomRPG/graphics/hud/HUDMAIN.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DoomRPG/graphics/hud/HUDSBar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DoomRPG/graphics/hud/NO-.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DoomRPG/graphics/hud/NO0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DoomRPG/graphics/hud/NO1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DoomRPG/graphics/hud/NO2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DoomRPG/graphics/hud/NO3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DoomRPG/graphics/hud/NO4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DoomRPG/graphics/hud/NO5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DoomRPG/graphics/hud/NO6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DoomRPG/graphics/hud/NO7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DoomRPG/graphics/hud/NO8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DoomRPG/graphics/hud/NO9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit eaf013b

Please sign in to comment.