This repository has been archived by the owner on Apr 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sbarinfo.txt
61 lines (58 loc) · 1.54 KB
/
sbarinfo.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
//===========================================================================
//
// SBARINFO
//
//===========================================================================
CompleteBorder true;
height 32;
Resolution 640,480;
/*statusbar fullscreen // Standard Doom Status bar
{
alpha 0.5
drawimage "STBARMIN", 0, 168;
drawnumber 3, CONFONT, WHITE, ammo1, 220, 190;
drawnumber 3, CONFONT, WHITE, health, 0, 190;
drawnumber 3, CONFONT, WHITE, armor, 0, 171;
drawstring CONFONT, LIGHTBLUE, "SHLD", 75, 160;
drawstring CONFONT, DARKGREEN, "LIFE", 0, 180;
}
*/
statusbar fullscreen, forcescaled, fullscreenoffsets
{
InInventory not CutsceneMode
{
//drawimage "visext", 0+center, 0+center, center;
//drawimage "visint", 0+center, 0+center, center;
//Life Display
drawimage "STLIFEBG", 0, -32; //Background
drawimage "STLIFED1", 0,-32;
drawnumber 3, FONT1, RED, health, -1,-1;
IfHealth 101 %
{
drawnumber 3, FONT1, CYAN, health, -0,-32;
}
else
IfHealth 76 %
{
drawimage "STLIFEA1", 0,-32;
drawnumber 3, FONT1, GREEN, health, -0,-32;
}
else
IfHealth 51 %
{
drawimage "STLIFEB1", 0,-32;
drawnumber 3, FONT1, YELLOW, health, -0,-32;
}
else
IfHealth 26 %
{
drawimage "STLIFEC1", 0,-32;
drawnumber 3, FONT1, ORANGE, health, 2,-32;
}
//Shield Display
drawimage "STARMRBG", 0,-64; //Background
drawbar "STARMRFA", "STARMRFT", armor(100), horizontal, interpolate(4), -64,-64;
drawbar "STARM2FA", "STARM2FT", armor(200), horizontal, interpolate(4), 0,-64;
drawnumber 3, FONT1, GREEN, armor, -64,64;
}
}