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
+19 -2
View File
@@ -1,4 +1,4 @@
//========= Copyright Valve Corporation, All rights reserved. ============//
//===== Copyright © 1996-2005, Valve Corporation, All rights reserved. ======//
//
// Purpose: Dissolve entity to be attached to target entity. Serves two purposes:
//
@@ -7,7 +7,7 @@
//
// 2) An entity that can be created at runtime to ignite a target entity.
//
//=============================================================================//
//===========================================================================//
#include "cbase.h"
#include "RagdollBoogie.h"
@@ -69,11 +69,28 @@ CRagdollBoogie *CRagdollBoogie::Create( CBaseEntity *pTarget, float flMagnitude,
}
//-----------------------------------------------------------------------------
// Spawn
//-----------------------------------------------------------------------------
void CRagdollBoogie::Precache()
{
BaseClass::Precache();
PrecacheEffect( "TeslaHitboxes" );
#ifdef HL2_EPISODIC
PrecacheScriptSound( "RagdollBoogie.Zap" );
#endif
}
//-----------------------------------------------------------------------------
// Spawn
//-----------------------------------------------------------------------------
void CRagdollBoogie::Spawn()
{
Precache();
BaseClass::Spawn();
SetThink( &CRagdollBoogie::BoogieThink );