Xonotic
|
#include "sv_globalforces.qh"
Go to the source code of this file.
Functions | |
AUTOCVAR (g_globalforces, float, false, "Global forces: knockback affects everyone") | |
AUTOCVAR (g_globalforces_noself, bool, true, "Global forces: ignore self damage") | |
AUTOCVAR (g_globalforces_self, float, 1, "Global forces: knockback self scale") | |
AUTOCVAR (g_globalforces_range, float, 1000, "Global forces: max range of effect") | |
MUTATOR_HOOKFUNCTION (mutator_globalforces, BuildMutatorsString) | |
MUTATOR_HOOKFUNCTION (mutator_globalforces, BuildMutatorsPrettyString) | |
MUTATOR_HOOKFUNCTION (mutator_globalforces, PlayerDamage_SplitHealthArmor) | |
REGISTER_MUTATOR (mutator_globalforces, autocvar_g_globalforces) | |
MUTATOR_HOOKFUNCTION | ( | mutator_globalforces | , |
BuildMutatorsString | |||
) |
Definition at line 9 of file sv_globalforces.qc.
References M_ARGV, and strcat().
MUTATOR_HOOKFUNCTION | ( | mutator_globalforces | , |
BuildMutatorsPrettyString | |||
) |
Definition at line 13 of file sv_globalforces.qc.
References M_ARGV, and strcat().
MUTATOR_HOOKFUNCTION | ( | mutator_globalforces | , |
PlayerDamage_SplitHealthArmor | |||
) |
Definition at line 17 of file sv_globalforces.qc.
References autocvar_g_balance_damagepush_speedfactor, damage_explosion_calcpush(), entity(), FOREACH_CLIENT, IS_PLAYER, M_ARGV, vdist, and vector().
REGISTER_MUTATOR | ( | mutator_globalforces | , |
autocvar_g_globalforces | |||
) |