69 returns(this.
m_name, icon_path_from_HUDskin(this.m_icon));
155#define ammo_flags currentammo
#define BIT(n)
Only ever assign into the first 24 bits in QC (so max is BIT(23)).
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
virtual void tr_attack()
(SERVER) called when turret attacks
string m_name
human readable name
vector m_maxs
turret hitbox size
virtual void tr_death()
(SERVER) called when turret dies
ATTRIB(Turret, m_icon, string)
icon
virtual void tr_setup()
(BOTH) setup turret data
virtual void tr_precache()
(BOTH) precaches models/sounds used by this turret
virtual void tr_config()
(SERVER) dump turret cvars to config in data directory (see: sv_cmd dumpturrets)
vector m_mins
turret hitbox size
virtual void tr_think()
(SERVER) logic to run every frame
ATTRIB(Turret, m_weapon, Weapon)
fields which are explicitly/manually set are marked with "M", fields set automatically are marked wit...
virtual void wr_think()
(SERVER) logic to run every frame
#define METHOD(cname, name, prototype)
const int TFL_TARGETSELECT_ANGLELIMITS
const int TUR_FLAG_SUPPORT
const int TFL_FIRECHECK_DISTANCES
const int TFL_DMG_HEADSHAKE
const int TUR_FLAG_RECIEVETARGETS
const int TNSF_FULL_UPDATE
const int TFL_TARGETSELECT_TEAMCHECK
const int TUR_FLAG_HITSCAN
const int TFL_FIRECHECK_AMMO_OWN
const int TUR_FLAG_MISSILE
int target_validate_flags
const int TUR_FLAG_ISTURRET
const int TFL_SHOOT_VOLLYALWAYS
const int TFL_FIRECHECK_DEAD
const int TFL_TARGETSELECT_TRIGGERTARGET
const int TFL_DMG_TARGETLOSS
const int TFL_TARGETSELECT_PLAYERS
const int TSF_NO_AMMO_REGEN
const int TUR_FLAG_PLAYER
const int TFL_FIRECHECK_AIMDIST
const int TFL_TARGETSELECT_RANGELIMITS
const int TUR_FLAG_FASTPROJ
const int TFL_DMG_RETALIATE_TEAM
const int TFL_SHOOT_CLEARTARGET
const int TFL_AMMO_ROCKETS
const int TFL_AIM_ZPREDICT
const int TSF_NO_PATHBREAK
const int TFL_FIRECHECK_AMMO_OTHER
const int TFL_TRACK_ROTATE
const int TUR_FLAG_SNIPER
const int TFL_DMG_AIMSHAKE
const int TFL_TARGETSELECT_NO
const int TFL_AMMO_BULLETS
const int TFL_FIRECHECK_REFIRE
const int TFL_TARGETSELECT_NOBUILTIN
const int TFL_TARGETSELECT_VEHICLES
const int TFL_AIM_SHOTTIMECOMPENSATE
const int TFL_AMMO_ENERGY
const int TFL_FIRECHECK_LOS
const int TFL_DMG_RETALIATE
const int TSF_TERRAINBASE
const int TFL_TARGETSELECT_LOS
const int TFL_FIRECHECK_NO
const int TFL_SHOOT_VOLLY
const int TFL_AMMO_RECHARGE
const int TFL_DMG_DEATH_NORESPAWN
const int TFL_FIRECHECK_TEAMCHECK
const int TUR_FLAG_GUIDED
const int TFL_TARGETSELECT_FOV
const int TFL_TRACK_PITCH
const int TFL_AMMO_RECIEVE
const int TUR_FLAG_SPLASH
const int TFL_TARGETSELECT_MISSILES
const int TUR_FLAG_SLOWPROJ
const int TFL_TARGETSELECT_NOTURRETS
const int TFL_FIRECHECK_REALDIST
const int TFL_TARGETSELECT_OWNTEAM
const int TUR_FLAG_MEDPROJ
const int TFL_SHOOT_CUSTOM
const int TFL_TARGETSELECT_MISSILESONLY
const int TUR_FLAG_MULTIGUN
const int TFL_FIRECHECK_AFF
const int TFL_FIRECHECK_ANGLEDIST
const int TUR_FLAG_AMMOSOURCE
const int TFL_SHOOT_HITALLVALID
entity weaponentities[MAX_WEAPONSLOTS]