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 1
/
Copy pathSBARINFO.txt
70 lines (66 loc) · 1.58 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
62
63
64
65
66
67
68
69
70
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
{
//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;
}
}
statusbar normal // Standard Doom Status bar
{
InInventory not CutsceneMode
{
alpha 1.0
drawimage "STBARBIG", 0, 0;
}
}
/*
statusbar normal, fullscreenoffsets
{
drawbar "BARF1", "BARB1", health (100), horizontal, 101, -76; // Bar
drawbar "BARF2", "BARB2", health (200), horizontal, 1, -76; // Bar (over 100)
}
*/