o Reverted debug error as it wasn't fixed after all =(

o Updated the web sounds
o Updated the tooltip for the web

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@440 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
tankefugl 2006-05-01 14:52:14 +00:00
parent 698eada0e5
commit 3662dedb2e
6 changed files with 5 additions and 3 deletions

Binary file not shown.

View file

@ -21,7 +21,7 @@ unsigned char HashPlayerID(char const playerID[16])
unsigned char curHash = 0;
for(int i=0; i < 16; i++)
curHash += ((unsigned char)playerID[i] & 0xFF);
curHash += (unsigned char)(playerID[i] & 0xFF);
return curHash;
}

View file

@ -72,6 +72,7 @@ const int kWebStrandLifetime = 50;
#define kWebStrandBreakSound "misc/web_break.wav"
#define kWebStrandHardenSound "misc/web_harden.wav"
#define kWebStrandFormSound "misc/web_form.wav"
#define kWebStrandHitSound "misc/web_hit.wav"
#define kAlienResourceTowerModel "models/ba_resource.mdl"

View file

@ -3286,7 +3286,8 @@ void EV_MetabolizeSuccess(struct event_args_s* inArgs)
void WebHit(struct tempent_s* ent, struct pmtrace_s* ptr)
{
gEngfuncs.pEventAPI->EV_PlaySound(ent->entity.index, ptr->endpos, CHAN_AUTO, kWebSpinSound1, 1, ATTN_NORM, 0, 94 + gEngfuncs.pfnRandomLong( 0, 0xf ));
gEngfuncs.pEventAPI->EV_PlaySound(ent->entity.index, ptr->endpos, CHAN_AUTO, kWebStrandHitSound, 1, ATTN_NORM, 0, 94 + gEngfuncs.pfnRandomLong( 0, 0xf ));
//gEngfuncs.pEventAPI->EV_PlaySound(ent->entity.index, ptr->endpos, CHAN_AUTO, kWebSpinSound1, 1, ATTN_NORM, 0, 94 + gEngfuncs.pfnRandomLong( 0, 0xf ));
if(ptr && ent)
{
ent->die = gEngfuncs.GetClientTime();

View file

@ -3170,7 +3170,7 @@ Swipe - Deadly close-combat attack. Get close to your enemies and attack. Good
Weapon8Help
{
Webs - Shoot globules near each other and a web will be created between them. Wabes take 3 seconds to harden and become active. Webs slow enemies and prevent them from using their weapons for a time. Webs can be destroyed with the welder or by grenade fire
Webs - Shoot globules near each other and a web will be created between them. Wabes take 1.5 seconds to harden and become active. Webs slow enemies and prevent them from using their weapons for a time. Webs can be destroyed with the welder or by grenade fire
}
Weapon9Help