mirror of
https://github.com/unknownworlds/NS.git
synced 2024-11-30 00:10:59 +00:00
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:
parent
e5ea24c518
commit
754ebd5ce2
1 changed files with 2 additions and 7 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue