upload "kind" alien swarm

This commit is contained in:
nillerusr
2023-10-03 17:23:56 +03:00
parent b7bd94c52e
commit 7d3c0d8b5a
4229 changed files with 462900 additions and 495155 deletions
+3 -8
View File
@@ -1,4 +1,4 @@
//========= Copyright Valve Corporation, All rights reserved. ============//
//===== Copyright © 1996-2005, Valve Corporation, All rights reserved. ======//
//
// Purpose: A gib is a chunk of a body, or a piece of wood/metal/rocks/etc.
//
@@ -342,7 +342,7 @@ void CGib::WaitTillLand ( void )
if ( GetAbsVelocity() == vec3_origin )
{
SetRenderColorA( 255 );
SetRenderAlpha( 255 );
m_nRenderMode = kRenderTransTexture;
if ( GetMoveType() != MOVETYPE_VPHYSICS )
{
@@ -587,7 +587,7 @@ void CGib::Spawn( const char *szGibModel )
// sometimes an entity inherits the edict from a former piece of glass,
// and will spawn using the same render FX or m_nRenderMode! bad!
SetRenderColorA( 255 );
SetRenderAlpha( 255 );
m_nRenderMode = kRenderNormal;
m_nRenderFX = kRenderFxNone;
@@ -599,11 +599,6 @@ void CGib::Spawn( const char *szGibModel )
SetModel( szGibModel );
#ifdef HL1_DLL
SetElasticity( 1.0 );
UTIL_SetSize( this, vec3_origin, vec3_origin );
#endif//HL1_DLL
SetNextThink( gpGlobals->curtime + 4 );
m_lifeTime = 25;
SetTouch ( &CGib::BounceGibTouch );