Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
sabianroberts committed Oct 1, 2023
1 parent dba3cc5 commit 586ccd1
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions binary/dlls/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -892,6 +892,10 @@ void ClientPrecache( void )
PRECACHE_SOUND("items/suitchargeok1.wav");
PRECACHE_SOUND("items/suitcharge1.wav");

// BlueNightHawk : Suit Energy Regeneration
PRECACHE_SOUND("buttons/blip1.wav");
PRECACHE_SOUND("buttons/bell1.wav");

if (giPrecacheGrunt)
UTIL_PrecacheOther("monster_human_grunt");
//++ BulliT
Expand Down
8 changes: 4 additions & 4 deletions binary/dlls/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4666,8 +4666,8 @@ void CBasePlayer :: UpdateClientData( void )
{
m_flNextSuitRegenTime = 0.0f;
m_fRegenOn = false;
STOP_SOUND(ENT(pev), CHAN_STATIC, "items/suitcharge1.wav");
EMIT_SOUND(ENT(pev), CHAN_ITEM, "items/suitchargeno1.wav", 0.85, ATTN_NORM);
STOP_SOUND(ENT(pev), CHAN_STATIC, "buttons/blip1.wav");
EMIT_SOUND(ENT(pev), CHAN_ITEM, "buttons/bell1.wav", 0.85, ATTN_NORM);
}
else if (!m_fRegenOn) // when shield starts recharging
{
Expand All @@ -4676,9 +4676,9 @@ void CBasePlayer :: UpdateClientData( void )
}
else // as it's recharging
{
STOP_SOUND(ENT(pev), CHAN_STATIC, "items/suitcharge1.wav");
STOP_SOUND(ENT(pev), CHAN_STATIC, "buttons/blip1.wav");
// too loud
EMIT_SOUND(ENT(pev), CHAN_STATIC, "items/suitcharge1.wav", 0.25, ATTN_NORM);
EMIT_SOUND(ENT(pev), CHAN_STATIC, "buttons/blip1.wav", 0.25, ATTN_NORM);
}

m_flNextSuitRegenTime = gpGlobals->time + sv_aura_regeneration_wait.value;
Expand Down
Binary file modified maps/Mall.rmf
Binary file not shown.
Binary file added textures/romawad/wallmatteblack.jpg
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 textures/romawad/wallmatteblack.psd
Binary file not shown.
Binary file added textures/romawad/zexbanner.jpg
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 textures/romawad/zexbanner.psd
Binary file not shown.
Binary file added textures/romawad/zexstoreshelf.jpg
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 textures/romawad/zexstoreshelf.psd
Binary file not shown.

0 comments on commit 586ccd1

Please sign in to comment.