o Webs invisible unless you are present when they are first created

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@573 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
puzl 2006-08-21 17:40:11 +00:00
parent e5ea24c518
commit 754ebd5ce2

View file

@ -1700,12 +1700,10 @@ void AvHWebStrand::Setup(const Vector& inPointOne, const Vector& inPointTwo)
this->SetScrollRate( 0 ); this->SetScrollRate( 0 );
this->SetFrame(0); this->SetFrame(0);
//this->SetBrightness( 64 ); //this->SetBrightness( 64 );
this->SetBrightness( 12 ); this->SetBrightness( 16 );
this->pev->classname = MAKE_STRING(kesTeamWebStrand); this->pev->classname = MAKE_STRING(kesTeamWebStrand);
this->pev->rendermode = kRenderNormal; this->pev->rendermode = kRenderNormal;
this->pev->renderfx = kRenderFxFlickerFast;
this->pev->renderamt = 20;
} }
void AvHWebStrand::Spawn(void) void AvHWebStrand::Spawn(void)
@ -1736,13 +1734,10 @@ void AvHWebStrand::Spawn(void)
void AvHWebStrand::StrandThink() void AvHWebStrand::StrandThink()
{ {
EMIT_SOUND(ENT(this->pev), CHAN_AUTO, kWebStrandHardenSound, 1.0, ATTN_IDLE); EMIT_SOUND(ENT(this->pev), CHAN_AUTO, kWebStrandHardenSound, 1.0, ATTN_IDLE);
//this->SetBrightness( 64 ); this->SetBrightness( 32 );
this->SetColor( 255, 255, 255 ); this->SetColor( 255, 255, 255 );
this->SetFrame(1); this->SetFrame(1);
this->mSolid=true; this->mSolid=true;
this->pev->rendermode = kRenderTransAdd;
this->pev->renderfx = kRenderFxNone;
this->pev->renderamt = 30;
SetThink(NULL); SetThink(NULL);
} }
void AvHWebStrand::StrandExpire() void AvHWebStrand::StrandExpire()