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

Go to the source code of this file.

Classes

class  HealNade

Functions

void nade_heal_boom (entity this)

Variables

bool autocvar_g_nades_heal = true
float autocvar_g_nades_heal_foe
float autocvar_g_nades_heal_friend
float autocvar_g_nades_heal_rate
float autocvar_g_nades_heal_time
const int PROJECTILE_NADE_HEAL = 80
const int PROJECTILE_NADE_HEAL_BURN = 81

Function Documentation

◆ nade_heal_boom()

void nade_heal_boom ( entity this)

Definition at line 34 of file heal.qc.

35{
37
39 orb.colormod = '1 0 0';
40}
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
entity owner
Definition main.qh:87
vector origin
void nade_heal_touch(entity this, entity toucher)
Definition heal.qc:4
float autocvar_g_nades_heal_time
Definition heal.qh:7
#define settouch(e, f)
Definition self.qh:73
entity nades_spawn_orb(entity own, entity realown, vector org, float orb_ltime, float orb_rad)
Definition sv_nades.qc:75
float autocvar_g_nades_nade_radius
Definition sv_nades.qh:21
entity realowner

References autocvar_g_nades_heal_time, autocvar_g_nades_nade_radius, entity(), nade_heal_touch(), nades_spawn_orb(), origin, owner, realowner, and settouch.

Referenced by nade_boom().

Variable Documentation

◆ autocvar_g_nades_heal

bool autocvar_g_nades_heal = true

Definition at line 6 of file heal.qh.

Referenced by nades_CheckTypes().

◆ autocvar_g_nades_heal_foe

float autocvar_g_nades_heal_foe

Definition at line 10 of file heal.qh.

Referenced by nade_heal_touch().

◆ autocvar_g_nades_heal_friend

float autocvar_g_nades_heal_friend

Definition at line 9 of file heal.qh.

Referenced by nade_heal_touch().

◆ autocvar_g_nades_heal_rate

float autocvar_g_nades_heal_rate

Definition at line 8 of file heal.qh.

Referenced by nade_heal_touch().

◆ autocvar_g_nades_heal_time

float autocvar_g_nades_heal_time

Definition at line 7 of file heal.qh.

Referenced by nade_heal_boom().

◆ PROJECTILE_NADE_HEAL

const int PROJECTILE_NADE_HEAL = 80

Definition at line 15 of file heal.qh.

Referenced by REGISTER_NADE().

◆ PROJECTILE_NADE_HEAL_BURN

const int PROJECTILE_NADE_HEAL_BURN = 81

Definition at line 16 of file heal.qh.

Referenced by REGISTER_NADE().