Nuclide
Software Development Kit for id Tech
trigger_hurt.qc File Reference

Classes

class  trigger_hurt
 Server-Entity: Damages/Hurts Characters. More...
 

Macros

#define HURTTYPE_GENERIC   0
 
#define HURTTYPE_CRUSH   1
 
#define HURTTYPE_BULLET   2
 
#define HURTTYPE_SLASH   4
 
#define HURTTYPE_BURN   8
 
#define HURTTYPE_FREEZE   16
 
#define HURTTYPE_FALL   32
 
#define HURTTYPE_BLAST   64
 
#define HURTTYPE_CLUB   128
 
#define HURTTYPE_SHOCK   256
 
#define HURTTYPE_SONIC   512
 
#define HURTTYPE_ENERGYBEAM   1024
 
#define HURTTYPE_DROWN   16384
 
#define HURTTYPE_PARALYSE   32768
 
#define HURTTYPE_NERVEGAS   65536
 
#define HURTTYPE_POISON   131072
 
#define HURTTYPE_RADIATION   262144
 
#define HURTTYPE_DROWNRECOVER   524288
 
#define HURTTYPE_CHEMICAL   1048576
 
#define HURTTYPE_SLOWBURN   2097152
 
#define HURTTYPE_SLOWFREEZE   4194304
 
#define SF_HURT_ONCE   1
 
#define SF_HURT_OFF   2
 
#define SF_HURT_NOPLAYERS   8
 
#define SF_HURT_FIREONPLAYER   16
 
#define SF_HURT_TOUCHPLAYER   32
 

Variables

float hurt_next
 

Macro Definition Documentation

◆ HURTTYPE_BLAST

#define HURTTYPE_BLAST   64

◆ HURTTYPE_BULLET

#define HURTTYPE_BULLET   2

◆ HURTTYPE_BURN

#define HURTTYPE_BURN   8

◆ HURTTYPE_CHEMICAL

#define HURTTYPE_CHEMICAL   1048576

◆ HURTTYPE_CLUB

#define HURTTYPE_CLUB   128

◆ HURTTYPE_CRUSH

#define HURTTYPE_CRUSH   1

◆ HURTTYPE_DROWN

#define HURTTYPE_DROWN   16384

◆ HURTTYPE_DROWNRECOVER

#define HURTTYPE_DROWNRECOVER   524288

◆ HURTTYPE_ENERGYBEAM

#define HURTTYPE_ENERGYBEAM   1024

◆ HURTTYPE_FALL

#define HURTTYPE_FALL   32

◆ HURTTYPE_FREEZE

#define HURTTYPE_FREEZE   16

◆ HURTTYPE_GENERIC

#define HURTTYPE_GENERIC   0

◆ HURTTYPE_NERVEGAS

#define HURTTYPE_NERVEGAS   65536

◆ HURTTYPE_PARALYSE

#define HURTTYPE_PARALYSE   32768

◆ HURTTYPE_POISON

#define HURTTYPE_POISON   131072

◆ HURTTYPE_RADIATION

#define HURTTYPE_RADIATION   262144

◆ HURTTYPE_SHOCK

#define HURTTYPE_SHOCK   256

◆ HURTTYPE_SLASH

#define HURTTYPE_SLASH   4

◆ HURTTYPE_SLOWBURN

#define HURTTYPE_SLOWBURN   2097152

◆ HURTTYPE_SLOWFREEZE

#define HURTTYPE_SLOWFREEZE   4194304

◆ HURTTYPE_SONIC

#define HURTTYPE_SONIC   512

◆ SF_HURT_FIREONPLAYER

#define SF_HURT_FIREONPLAYER   16

◆ SF_HURT_NOPLAYERS

#define SF_HURT_NOPLAYERS   8

◆ SF_HURT_OFF

#define SF_HURT_OFF   2

◆ SF_HURT_ONCE

#define SF_HURT_ONCE   1

◆ SF_HURT_TOUCHPLAYER

#define SF_HURT_TOUCHPLAYER   32

Variable Documentation

◆ hurt_next

float hurt_next