Xonotic
|
#include "sv_powerups.qh"
Go to the source code of this file.
Functions | |
MUTATOR_HOOKFUNCTION (powerups, W_PlayStrengthSound) | |
MUTATOR_HOOKFUNCTION (powerups, LogDeath_AppendItemCodes) | |
MUTATOR_HOOKFUNCTION (powerups, Damage_Calculate) | |
MUTATOR_HOOKFUNCTION (powerups, CustomizeWaypoint) | |
MUTATOR_HOOKFUNCTION (powerups, MonsterValidTarget) | |
MUTATOR_HOOKFUNCTION (powerups, ItemTouched) | |
MUTATOR_HOOKFUNCTION (powerups, PlayerDies) | |
MUTATOR_HOOKFUNCTION (powerups, PlayerPhysics_UpdateStats) | |
MUTATOR_HOOKFUNCTION (powerups, WeaponRateFactor) | |
MUTATOR_HOOKFUNCTION (powerups, BuildMutatorsPrettyString) | |
MUTATOR_HOOKFUNCTION (powerups, BotShouldAttack) | |
MUTATOR_HOOKFUNCTION (powerups, BuildMutatorsString) | |
void | powerups_DropItem (entity this, StatusEffects effect) |
void | powerups_DropItem_Think (entity this) |
MUTATOR_HOOKFUNCTION | ( | powerups | , |
W_PlayStrengthSound | |||
) |
Definition at line 3 of file sv_powerups.qc.
References ATTEN_NORM, autocvar_sv_strengthsound_antispam_refire_threshold, autocvar_sv_strengthsound_antispam_time, CH_TRIGGER, entity(), M_ARGV, sound, time, and VOL_BASE.
MUTATOR_HOOKFUNCTION | ( | powerups | , |
LogDeath_AppendItemCodes | |||
) |
Definition at line 17 of file sv_powerups.qc.
References entity(), M_ARGV, and strcat().
MUTATOR_HOOKFUNCTION | ( | powerups | , |
Damage_Calculate | |||
) |
Definition at line 30 of file sv_powerups.qc.
References entity(), M_ARGV, and vector().
MUTATOR_HOOKFUNCTION | ( | powerups | , |
CustomizeWaypoint | |||
) |
MUTATOR_HOOKFUNCTION | ( | powerups | , |
MonsterValidTarget | |||
) |
Definition at line 74 of file sv_powerups.qc.
References entity(), and M_ARGV.
MUTATOR_HOOKFUNCTION | ( | powerups | , |
ItemTouched | |||
) |
Definition at line 144 of file sv_powerups.qc.
References entity(), and M_ARGV.
MUTATOR_HOOKFUNCTION | ( | powerups | , |
PlayerDies | |||
) |
Definition at line 151 of file sv_powerups.qc.
References autocvar_g_powerups_drop_ondeath, entity(), FOREACH, and M_ARGV.
MUTATOR_HOOKFUNCTION | ( | powerups | , |
PlayerPhysics_UpdateStats | |||
) |
Definition at line 165 of file sv_powerups.qc.
References entity(), and M_ARGV.
MUTATOR_HOOKFUNCTION | ( | powerups | , |
WeaponRateFactor | |||
) |
Definition at line 174 of file sv_powerups.qc.
References entity(), and M_ARGV.
MUTATOR_HOOKFUNCTION | ( | powerups | , |
BuildMutatorsPrettyString | |||
) |
Definition at line 182 of file sv_powerups.qc.
References autocvar_g_powerups, M_ARGV, and strcat().
MUTATOR_HOOKFUNCTION | ( | powerups | , |
BotShouldAttack | |||
) |
Definition at line 190 of file sv_powerups.qc.
References entity(), and M_ARGV.
MUTATOR_HOOKFUNCTION | ( | powerups | , |
BuildMutatorsString | |||
) |
Definition at line 198 of file sv_powerups.qc.
References autocvar_g_powerups, M_ARGV, and strcat().
void powerups_DropItem | ( | entity | this, |
StatusEffects | effect | ||
) |
Definition at line 97 of file sv_powerups.qc.
References autocvar_g_items_dropped_lifetime, autocvar_g_powerups_drop_ondeath, entity(), Item_DefinitionFromInternalName(), Item_InitializeLoot(), Item_SetExpiring(), NULL, powerups_DropItem_Think(), randomvec(), RES_HEALTH, SetResourceExplicit(), setthink, spawn(), and time.
Definition at line 80 of file sv_powerups.qc.
References autocvar_g_powerups_drop_ondeath, GetResource(), nextthink, RES_HEALTH, TakeResource(), and time.
Referenced by powerups_DropItem().