More stuff before public release.
Adjust the aspect of new 0.83 hud icons. Impaler plays unique sound when ending altfire instead of select sound. Adapt some things for the old sounds add-on. Minor HUD adjustments (weapon slot related). Left a couple notes of what I might do next.
This commit is contained in:
parent
4ba5db9d7f
commit
bac9b6674d
25 changed files with 38 additions and 6 deletions
|
|
@ -860,6 +860,7 @@ Class AmmoUsedInSlot
|
|||
Class UnrealMainHandler : EventHandler
|
||||
{
|
||||
Array<AmmoUsedInSlot> AmmoSlots;
|
||||
transient int slotflash[10]; // used by the 0.83 hud
|
||||
|
||||
override void WorldThingDamaged( WorldEvent e )
|
||||
{
|
||||
|
|
@ -1189,6 +1190,8 @@ Class UnrealMainHandler : EventHandler
|
|||
let t = players[e.player].mo.FindInventory("UTranslator");
|
||||
if ( t ) t.Use(false);
|
||||
}
|
||||
else if ( e.Name ~== "Bar083SlotFlash" )
|
||||
slotflash[e.Args[0]] = gametic+20;
|
||||
}
|
||||
private static bool CmpWeapon( Class<Weapon> a, Class <Weapon> b )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue