Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
entrap.qh File Reference
Include dependency graph for entrap.qh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  EntrapNade

Functions

void nade_entrap_boom (entity this)

Variables

bool autocvar_g_nades_entrap
float autocvar_g_nades_entrap_radius = 500
float autocvar_g_nades_entrap_speed = 0.5
float autocvar_g_nades_entrap_strength = 0.01
float autocvar_g_nades_entrap_time = 10
float nade_entrap_time
const int PROJECTILE_NADE_ENTRAP = 84
const int PROJECTILE_NADE_ENTRAP_BURN = 85

Function Documentation

◆ nade_entrap_boom()

void nade_entrap_boom ( entity this)

Definition at line 33 of file entrap.qc.

34{
37}
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
void nade_entrap_touch(entity this, entity toucher)
Definition entrap.qc:6
float autocvar_g_nades_entrap_time
Definition entrap.qh:10
float autocvar_g_nades_entrap_radius
Definition entrap.qh:9
#define settouch(e, f)
Definition self.qh:73
entity nades_spawn_orb(entity this, float orb_lifetime, float orb_rad)
Spawns an orb for some nade types.
Definition sv_nades.qc:79

References autocvar_g_nades_entrap_radius, autocvar_g_nades_entrap_time, entity(), nade_entrap_touch(), nades_spawn_orb(), and settouch.

Referenced by nade_boom().

Variable Documentation

◆ autocvar_g_nades_entrap

bool autocvar_g_nades_entrap

Definition at line 6 of file entrap.qh.

Referenced by nades_CheckTypes().

◆ autocvar_g_nades_entrap_radius

float autocvar_g_nades_entrap_radius = 500

Definition at line 9 of file entrap.qh.

Referenced by nade_entrap_boom().

◆ autocvar_g_nades_entrap_speed

float autocvar_g_nades_entrap_speed = 0.5

Definition at line 8 of file entrap.qh.

Referenced by MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), and MUTATOR_HOOKFUNCTION().

◆ autocvar_g_nades_entrap_strength

float autocvar_g_nades_entrap_strength = 0.01

Definition at line 7 of file entrap.qh.

Referenced by MUTATOR_HOOKFUNCTION(), and nade_entrap_touch().

◆ autocvar_g_nades_entrap_time

float autocvar_g_nades_entrap_time = 10

Definition at line 10 of file entrap.qh.

Referenced by nade_entrap_boom().

◆ nade_entrap_time

float nade_entrap_time

Definition at line 12 of file entrap.qh.

◆ PROJECTILE_NADE_ENTRAP

const int PROJECTILE_NADE_ENTRAP = 84

Definition at line 18 of file entrap.qh.

◆ PROJECTILE_NADE_ENTRAP_BURN

const int PROJECTILE_NADE_ENTRAP_BURN = 85

Definition at line 19 of file entrap.qh.

Referenced by NADE_PROJECTILE().