- reenable all those aura sounds, since we have them now

- change mass cure range to 1000 (from 600), since I like it better that way :)
This commit is contained in:
Adam Olsen 2001-07-30 20:44:34 +00:00
parent 8a48b88387
commit 8429a59e80
4 changed files with 12 additions and 12 deletions

View file

@ -378,7 +378,7 @@ void(entity targ, entity inflictor, entity attacker, float damage, float T_flags
{
if (self.invincible_sound < time)
{
// sound (targ, CHAN_ITEM, "auras/aura1.wav", 1, ATTN_NORM);
sound (targ, CHAN_ITEM, "auras/aura1.wav", 1, ATTN_NORM);
self.invincible_sound = time + 1.5;
}
return;

View file

@ -83,7 +83,7 @@ void(float aur) AddAura =
if (!(targ.job & JOB_CRUSADER))
{
// sound (targ, CHAN_ITEM, "auras/aura3.wav", 1, ATTN_NORM);
sound (targ, CHAN_ITEM, "auras/aura3.wav", 1, ATTN_NORM);
local string strung;
local float oldaur;
@ -145,7 +145,7 @@ void() CrusaderAddInvisibility =
if (!(targ.job & JOB_CRUSADER))
{
// sound (targ, CHAN_ITEM, "auras/aura3.wav", 1, ATTN_NORM);
sound (targ, CHAN_ITEM, "auras/aura3.wav", 1, ATTN_NORM);
sprint(self, PRINT_HIGH, "You provide ", targ.netname, " with powers of invisibility! They will be invisible for the next 10 seconds!\n");
sprint(targ, PRINT_HIGH, self.netname, " grants you an Aura of Invisibility! You will be fully invisibile for the next 10 seconds!\n");
@ -187,7 +187,7 @@ void() CrusaderMassHeal =
if (Teammate(te.team_no, self.team_no))
if (te.health < te.max_health)
{
// sound (te, CHAN_ITEM, "auras/aura3.wav", 1, ATTN_NORM);
sound (te, CHAN_ITEM, "auras/aura3.wav", 1, ATTN_NORM);
te.health = te.max_health;
if (self != te)
@ -226,7 +226,7 @@ void() CrusaderMassCure =
return;
}
te = findradius(self.origin, 600);
te = findradius(self.origin, 1000);
while (te)
{
if (te.classname == "player")
@ -289,7 +289,7 @@ void() CrusaderDispel =
self = te;
self = oself;
// sound (te, CHAN_ITEM, "auras/aura3.wav", 1, ATTN_NORM);
sound (te, CHAN_ITEM, "auras/aura3.wav", 1, ATTN_NORM);
deathmsg = DMSG_DISPEL;
TF_T_Damage(te, self, self, 25, 0, TF_TD_OTHER);

View file

@ -4944,7 +4944,7 @@ void() SuperDamageSound =
if (self.super_sound < time)
{
self.super_sound = time + 1;
// sound (self, CHAN_BODY, "auras/aura2.wav", 1, ATTN_NORM);
sound (self, CHAN_BODY, "auras/aura2.wav", 1, ATTN_NORM);
}
}
else if (self.aura == AURA_HASTE)
@ -4952,7 +4952,7 @@ void() SuperDamageSound =
if (self.super_sound < time)
{
self.super_sound = time + 1;
// sound (self, CHAN_BODY, "auras/aura4.wav", 1, ATTN_NORM);
sound (self, CHAN_BODY, "auras/aura4.wav", 1, ATTN_NORM);
}
}
return;

View file

@ -483,10 +483,10 @@ void() worldspawn =
precache_sound2("effects/bodyhit2.wav");
//- OfN - Aura sounds
// precache_sound2("auras/aura1.wav");
// precache_sound2("auras/aura2.wav");
// precache_sound2("auras/aura3.wav");
// precache_sound2("auras/aura4.wav");
precache_sound2("auras/aura1.wav");
precache_sound2("auras/aura2.wav");
precache_sound2("auras/aura3.wav");
precache_sound2("auras/aura4.wav");
//precache_sound2("weapons/pinpull.wav");
//precache_sound2("weapons/throw.wav");