Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
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.
 
 
 
 
 
 

36 lines
829 B

#ifndef _DEFINED_ASW_DRONE_ANTLION_H
#define _DEFINED_ASW_DRONE_ANTLION_H
#ifdef _WIN32
#pragma once
#endif
#include "npc_antlion.h"
// a test ASW drone, based on the antlion
class CASW_Drone_Antlion : public CNPC_Antlion
{
public:
DECLARE_CLASS( CASW_Drone_Antlion, CNPC_Antlion );
//DECLARE_SERVERCLASS();
//DECLARE_PREDICTABLE();
DECLARE_DATADESC();
CASW_Drone_Antlion( void );
void Spawn();
void Precache();
virtual int MeleeAttack2Conditions( float flDot, float flDist );
bool FInViewCone( const Vector &vecSpot );
bool ShouldGib( const CTakeDamageInfo &info );
virtual float GetIdealSpeed() const;
virtual float MaxYawSpeed( void );
virtual float GetSequenceGroundSpeed( int iSequence );
virtual void NPCThink();
virtual bool ShouldPlayerAvoid( void );
};
#endif // _DEFINED_ASW_DRONE_ANTLION_H