Register sound shaders for gasp/water pmove sounds
This commit is contained in:
parent
977b336a9b
commit
88ca098c51
3 changed files with 18 additions and 2 deletions
|
@ -60,6 +60,8 @@ void item_ammo::Respawn(void)
|
|||
|
||||
void item_ammo::item_ammo(void)
|
||||
{
|
||||
Sound_Precache("ammo.pickup");
|
||||
Sound_Precache("ammo.respawn");
|
||||
precache_model(model);
|
||||
m_oldModel = model;
|
||||
SetModel(m_oldModel);
|
||||
|
|
|
@ -27,8 +27,6 @@ Game_InitRules(void)
|
|||
void
|
||||
Game_Worldspawn(void)
|
||||
{
|
||||
Sound_Precache("ammo.pickup");
|
||||
Sound_Precache("ammo.respawn");
|
||||
Sound_Precache("player.die");
|
||||
Sound_Precache("player.fall");
|
||||
Sound_Precache("player.lightfall");
|
||||
|
|
|
@ -10,3 +10,19 @@ player.die
|
|||
{
|
||||
sample fvox/flatline.wav
|
||||
}
|
||||
player.gasplight
|
||||
{
|
||||
sample misc/null.wav
|
||||
}
|
||||
player.gaspheavy
|
||||
{
|
||||
sample misc/null.wav
|
||||
}
|
||||
player.waterexit
|
||||
{
|
||||
sample misc/null.wav
|
||||
}
|
||||
player.waterenter
|
||||
{
|
||||
sample misc/null.wav
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue