Portable Half-Life SDK. GoldSource and Xash3D. Crossplatform.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
735 B

//=========================================================
// Opposing Forces Monster Shocktrooper\Shockrifle blast
//
// Made by Demiurge
//
//=========================================================
//=========================================================
// Shock Defines
#define SHOCK_AIR_VELOCITY 20000
class CShock : public CBaseMonster
{
void Spawn( void );
void Precache( void );
int Classify ( void );
void EXPORT ShockTouch( CBaseEntity *pOther );
void EXPORT ExplodeThink( void );
void EXPORT BlastOn( void );
void EXPORT BlastOff( void );
void UpdateOnRemove();
CBeam *m_pBeam;
CBeam *m_pNoise;
CSprite *m_pSprite;
int m_iTrail;
Vector m_vecForward;
public:
static CShock *ShockCreate( void );
};