Go to the source code of this file.
◆ SOUND()
| SOUND |
( |
FlacAttack_FIRE | , |
|
|
W_Sound("hagar_fire") | ) |
◆ turret_flac_projectile_think_explode()
| void turret_flac_projectile_think_explode |
( |
entity | this | ) |
|
Definition at line 37 of file flac_weapon.qc.
38{
42
43#ifdef TURRET_DEBUG
44 float d =
RadiusDamage (
this, this.
owner, this.
owner.shot_dmg,
this.owner.shot_dmg,
this.owner.shot_radius,
this,
NULL,
this.owner.shot_force,
this.projectiledeathtype,
DMG_NOWEP,
NULL);
45 this.
owner.tur_debug_dmg_t_h = this.
owner.tur_debug_dmg_t_h + d;
46 this.
owner.tur_debug_dmg_t_f = this.
owner.tur_debug_dmg_t_f + this.
owner.shot_dmg;
47#else
48 RadiusDamage (
this, this.
realowner, this.
owner.shot_dmg,
this.owner.shot_dmg,
this.owner.shot_radius,
this,
NULL,
this.owner.shot_force,
this.projectiledeathtype,
DMG_NOWEP,
NULL);
49#endif
50 delete(this);
51}
float RadiusDamage(entity inflictor, entity attacker, float coredamage, float edgedamage, float rad, entity cantbe, entity mustbe, float forceintensity, int deathtype,.entity weaponentity, entity directhitentity)
#define vdist(v, cmp, f)
Vector distance comparison, avoids sqrt()
References DMG_NOWEP, enemy, entity(), NULL, origin, owner, RadiusDamage(), randomvec(), realowner, and vdist.