forked from pa1nki113r/Project_Brutality
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SBARINFO.txt
330 lines (301 loc) · 9.06 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
base Doom;
height 32;
monospacefonts true, "0";
statusbar fullscreen, fullscreenoffsets // Modified ZDoom HUD for Project Brutality
{
//health
InInventory PowerStrength
{
drawimage "PSTRA0", 20, -2, centerbottom;
}
else
{
drawimage "MEDIA0", 20, -2, centerbottom;
}
drawnumber 2147483647, HUDFONT_DOOM, untranslated, health, drawshadow, 82, -20;
//armor
drawimage armoricon, 20, -24, centerbottom;
drawnumber 2147483647, HUDFONT_DOOM, untranslated, armor, drawshadow, whennotzero, 82, -39;
//ammo
drawimage ammoicon1, -14, -4, centerbottom;
drawnumber 2147483647, HUDFONT_DOOM, untranslated, ammo1, drawshadow, -25, -20;
usesammo
{
//secondary ammo and inventory
usessecondaryammo
{
drawimage ammoicon2, -14, -22, centerbottom;
drawnumber 2147483647, HUDFONT_DOOM, untranslated, ammo2, drawshadow, -25, -38;
//special shit for AR grenade launcher
IsSelected "Rifle"
{
InInventory "DMRUpgraded" , 1
{
InInventory "UnderBarrelGrenadeLoaded", 1
{
drawimage "RFLGRN1", -17, -38;
}
else
{
drawimage "RFLGRN0", -17, -38;
}
}
}
//special shit for freezer rifle
IsSelected "FreezerRifle"
{
drawimage "DEGTA0", -14, -39, centerbottom;
drawnumber 2147483647, HUDFONT_DOOM, untranslated, ammo PrimaryPistolAmmo, drawshadow, -25, -56;
inventorybarnotvisible
{
drawselectedinventory centerbottom, drawshadow, alwaysshowcounter, HUDFONT_DOOM, -14, -57, -25, -74, untranslated;
}
}
//special shit for meatshields
Weaponammo "MeatshieldGunAmmo"
{
drawimage "XDT5B0", -14, -39, centerbottom;
drawnumber 2147483647, HUDFONT_DOOM, untranslated, ammo MeatAmmo, drawshadow, -25, -56;
inventorybarnotvisible
{
drawselectedinventory centerbottom, drawshadow, alwaysshowcounter, HUDFONT_DOOM, -14, -57, -25, -74, untranslated;
}
}
//normal shit
IsSelected not "FreezerRifle"
Weaponammo not "MeatshieldGunAmmo"
{
inventorybarnotvisible
{
drawselectedinventory centerbottom, drawshadow, alwaysshowcounter, HUDFONT_DOOM, -14, -39, -25, -56, untranslated;
}
}
}
else //no secondary ammo
{
inventorybarnotvisible
{
drawselectedinventory centerbottom, drawshadow, alwaysshowcounter, HUDFONT_DOOM, -14, -21, -25, -38, untranslated;
}
}
}
else // no ammo but inventory
{
inventorybarnotvisible
{
drawselectedinventory centerbottom, drawshadow, alwaysshowcounter, HUDFONT_DOOM, -14, -3, -25, -20, untranslated;
}
}
//mines and grenades
PlayerType "Traditional"
{
//nothing to be drawn
}
else
{
PlayerType "Purist"
{
drawimage "PGRND0", -100, -6;
drawnumber 4, SMALLFONT, red, Ammo HandGrenadeAmmo, alignment(center), -99, -15, 0;
}
else
{
drawimage "PGRND0", -126, -6;
drawimage "LMINA0", -109, -8;
drawnumber 4, SMALLFONT, red, Ammo HandGrenadeAmmo, alignment(center), -126, -19, 0;
drawnumber 4, SMALLFONT, red, Ammo MineAmmo, alignment(center), -109, -8, 0;
}
}
//frags
gamemode deathmatch, teamgame
{
drawnumber 8, SMALLFONT, darkred, frags, -15, 10;
drawstring SMALLFONT, darkred, "Frags", -15, 2;
}
else
{
// let's hope no mod ever uses 100 keys...
drawkeybar 100, vertical, reverserows, auto, -10, 2, 0, 3, auto;
}
}
statusbar normal // Modified Doom Status bar
{
drawimage "STBAR", 0, 168;
drawimage "STTPRCNT", 90, 171;
drawimage "STTPRCNT", 221, 171;
drawnumber 3, HUDFONT_DOOM, untranslated, health, 90, 171;
drawnumber 3, HUDFONT_DOOM, untranslated, armor, 221, 171;
//special shit for AR grenade launcher
IsSelected "Rifle"
{
InInventory "DMRUpgraded" , 1
{
InInventory "UnderBarrelGrenadeLoaded", 1
{
drawimage "GENGRN", 42, 169;
}
else
{
drawimage "GENRED", 42, 169;
}
}
}
//special shit for LMG
IsSelected "LMG"
{
InInventory "LMGAmmoBelt", 1
{
drawnumber 3, HUDFONT_DOOM, untranslated, ammo1, 44, 171;
}
else
{
drawnumber 3, HUDFONT_DOOM, untranslated, ammo2, 44, 171;
}
}
//special shit for Freezer Rifle
IsSelected "FreezerRifle"
{
InInventory "FreezerPistolToken"
{
drawnumber 3, HUDFONT_DOOM, untranslated, ammo PrimaryPistolAmmo, 44, 171;
}
else
{
drawnumber 3, HUDFONT_DOOM, untranslated, ammo2, 44, 171;
}
}
//special shit for Unmaker
IsSelected "Unmaker"
{
InInventory "UnmakerFireSelected"
{
drawnumber 3, HUDFONT_DOOM, untranslated, ammo1, 44, 171;
}
else
{
drawnumber 3, HUDFONT_DOOM, untranslated, ammo2, 44, 171;
}
}
//special shit for meatshields
Weaponammo "MeatshieldGunAmmo"
{
InInventory "MeatShieldPistolEquipped", 1
{
drawnumber 3, HUDFONT_DOOM, untranslated, ammo2, 44, 171;
}
else
{
drawnumber 3, HUDFONT_DOOM, untranslated, ammo1, 44, 171;
}
}
//normal weapons
IsSelected not "LMG"
IsSelected not "FreezerRifle", "Unmaker"
Weaponammo not "MeatshieldGunAmmo"
{
usessecondaryammo
{
drawnumber 3, HUDFONT_DOOM, untranslated, ammo2, 44, 171;
}
else
{
drawnumber 3, HUDFONT_DOOM, untranslated, ammo1, 44, 171;
}
}
//keys
drawswitchableimage keyslot 2 && 5, "nullimage", "STKEYS0", "STKEYS3", "STKEYS6", 239, 171;
drawswitchableimage keyslot 3 && 6, "nullimage", "STKEYS1", "STKEYS4", "STKEYS7", 239, 181;
drawswitchableimage keyslot 1 && 4, "nullimage", "STKEYS2", "STKEYS5", "STKEYS8", 239, 191;
//total ammo
PlayerType "BrutalDoomer"
{
drawimage "STPBAMMO", 249, 168;
DrawNumber 3, INDEXFONT_DOOM, untranslated, Ammo PistolBullets, 283, 170;
DrawNumber 3, INDEXFONT_DOOM, untranslated, Ammo NewShell, 283, 176;
DrawNumber 3, INDEXFONT_DOOM, untranslated, Ammo HighExplosiveGrenadeRounds, 283, 182;
DrawNumber 3, INDEXFONT_DOOM, untranslated, Ammo Cell, 283, 188;
DrawNumber 3, INDEXFONT_DOOM, untranslated, Ammo Gas, 283, 194;
DrawNumber 3, INDEXFONT_DOOM, untranslated, Ammo NewClip, 318, 170;
DrawNumber 3, INDEXFONT_DOOM, untranslated, Ammo RocketAmmo, 318, 176;
DrawNumber 3, INDEXFONT_DOOM, untranslated, Ammo SpecialGrenadeRounds, 318, 182;
DrawNumber 3, INDEXFONT_DOOM, untranslated, Ammo Demonpower, 318, 188;
DrawNumber 3, INDEXFONT_DOOM, untranslated, Ammo MiniHellRocketAmmo, 318, 194;
}
PlayerType "Purist"
{
drawimage "STBDAMMO", 249, 168;
DrawNumber 3, INDEXFONT_DOOM, untranslated, Ammo NewClip, 283, 171;
DrawNumber 3, INDEXFONT_DOOM, untranslated, Ammo NewShell, 283, 178;
DrawNumber 3, INDEXFONT_DOOM, untranslated, Ammo RocketAmmo, 283, 185;
DrawNumber 3, INDEXFONT_DOOM, untranslated, Ammo Cell, 283, 192;
DrawNumber 3, INDEXFONT_DOOM, untranslated, Ammo PistolBullets, 318, 171;
DrawNumber 3, INDEXFONT_DOOM, untranslated, Ammo Gas, 318, 178;
DrawNumber 3, INDEXFONT_DOOM, untranslated, Ammo MiniHellRocketAmmo, 318, 185;
DrawNumber 3, INDEXFONT_DOOM, untranslated, Ammo BuzzsawAmmo, 318, 192;
}
PlayerType "Traditional"
{
drawimage "STTRAMMO", 249, 168;
drawnumber 3, INDEXFONT_DOOM, untranslated, ammo NewClip, 288, 173;
drawnumber 3, INDEXFONT_DOOM, untranslated, ammo NewShell, 288, 179;
drawnumber 3, INDEXFONT_DOOM, untranslated, ammo RocketAmmo, 288, 185;
drawnumber 3, INDEXFONT_DOOM, untranslated, ammo Cell, 288, 191;
drawnumber 3, INDEXFONT_DOOM, untranslated, ammocapacity NewClip, 314, 173;
drawnumber 3, INDEXFONT_DOOM, untranslated, ammocapacity NewShell, 314, 179;
drawnumber 3, INDEXFONT_DOOM, untranslated, ammocapacity RocketAmmo, 314, 185;
drawnumber 3, INDEXFONT_DOOM, untranslated, ammocapacity Cell, 314, 191;
}
//grenades and mines
PlayerType "Traditional"
{
//nothing to be drawn
}
else
{
PlayerType "Purist"
{
drawimage "PGRND0", -15, 186, center;
drawnumber 4, SMALLFONT, red, Ammo HandGrenadeAmmo, alignment(center), -15, 183, 0;
}
else
{
drawimage "PGRND0", -15, 183, center;
drawnumber 4, SMALLFONT, red, Ammo HandGrenadeAmmo, alignment(center), -15, 183, 0;
drawimage "XPFPA0", 336, 183, center, 35, 35;
drawnumber 4, SMALLFONT, red, Ammo MineAmmo, alignment(center), 335, 183, 0;
}
}
//frags
gamemode deathmatch, teamgame
{
drawnumber 2, HUDFONT_DOOM, untranslated, frags, 138, 171;
}
//arms
gamemode cooperative, singleplayer
{
drawimage "STARMS", 104, 168;
drawswitchableimage weaponslot 2, "STGNU22", "STYSNU22", 111, 172;
drawswitchableimage weaponslot 3, "STGNU23", "STYSNU23", 123, 172;
drawswitchableimage weaponslot 4, "STGNU24", "STYSNU24", 135, 172;
drawswitchableimage weaponslot 5, "STGNU25", "STYSNU25", 111, 182;
drawswitchableimage weaponslot 6, "STGNU26", "STYSNU26", 123, 182;
drawswitchableimage weaponslot 7, "STGNU27", "STYSNU27", 135, 182;
}
gamemode cooperative, deathmatch, teamgame
{
drawimage translatable "STFBANY", 143, 169;
}
drawselectedinventory alternateonempty, INDEXFONT, 143, 168
{
drawmugshot "STF", 5, 143, 168;
}
}
//totally not stolen from complex doom
statusbar inventoryfullscreen, fullscreenoffsets // Inventory stuff for Fullscreen statusbar
{
DrawInventoryBar Doom, Translucent, 6, INDEXFONT_DOOM, -96 + Center, 0, -68 + Center, 2, White;
}
statusbar inventory, fullscreenoffsets // Inventory stuff for Normal statusbar
{
DrawInventoryBar Doom, Translucent, 6, INDEXFONT_DOOM, -96 + Center, 0, -68 + Center, 2, White;
}