|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "sv_powerups.qh"Go to the source code of this file.
Functions | |
| MUTATOR_HOOKFUNCTION (powerups, BotShouldAttack) | |
| MUTATOR_HOOKFUNCTION (powerups, BuildMutatorsPrettyString) | |
| MUTATOR_HOOKFUNCTION (powerups, BuildMutatorsString) | |
| MUTATOR_HOOKFUNCTION (powerups, CustomizeWaypoint) | |
| MUTATOR_HOOKFUNCTION (powerups, Damage_Calculate) | |
| MUTATOR_HOOKFUNCTION (powerups, ItemTouched) | |
| MUTATOR_HOOKFUNCTION (powerups, LogDeath_AppendItemCodes) | |
| MUTATOR_HOOKFUNCTION (powerups, MonsterValidTarget) | |
| MUTATOR_HOOKFUNCTION (powerups, PlayerDies) | |
| MUTATOR_HOOKFUNCTION (powerups, PlayerPhysics_UpdateStats) | |
| MUTATOR_HOOKFUNCTION (powerups, PlayerUseKey) | |
| MUTATOR_HOOKFUNCTION (powerups, W_PlayStrengthSound) | |
| MUTATOR_HOOKFUNCTION (powerups, WeaponRateFactor) | |
| void | powerups_DropItem (entity this, StatusEffect effect, bool freezeTimer) |
| void | powerups_DropItem_Think (entity this) |
| MUTATOR_HOOKFUNCTION | ( | powerups | , |
| BotShouldAttack | ) |
Definition at line 204 of file sv_powerups.qc.
References entity(), M_ARGV, and StatusEffects_active().
| MUTATOR_HOOKFUNCTION | ( | powerups | , |
| BuildMutatorsPrettyString | ) |
Definition at line 196 of file sv_powerups.qc.
References autocvar_g_powerups, M_ARGV, and strcat().
| MUTATOR_HOOKFUNCTION | ( | powerups | , |
| BuildMutatorsString | ) |
Definition at line 212 of file sv_powerups.qc.
References autocvar_g_powerups, M_ARGV, and strcat().
| MUTATOR_HOOKFUNCTION | ( | powerups | , |
| CustomizeWaypoint | ) |
Definition at line 61 of file sv_powerups.qc.
References DIFF_TEAM, entity(), IS_CLIENT, M_ARGV, StatusEffects_active(), and WaypointSprite_getviewentity().
| MUTATOR_HOOKFUNCTION | ( | powerups | , |
| Damage_Calculate | ) |
Definition at line 30 of file sv_powerups.qc.
References autocvar_g_balance_powerup_invincible_takedamage, autocvar_g_balance_powerup_invincible_takeforce, autocvar_g_balance_powerup_strength_damage, autocvar_g_balance_powerup_strength_force, autocvar_g_balance_powerup_strength_selfdamage, autocvar_g_balance_powerup_strength_selfforce, entity(), M_ARGV, StatusEffects_active(), and vector.
| MUTATOR_HOOKFUNCTION | ( | powerups | , |
| ItemTouched | ) |
Definition at line 142 of file sv_powerups.qc.
References entity(), M_ARGV, and WaypointSprite_Kill().
| MUTATOR_HOOKFUNCTION | ( | powerups | , |
| LogDeath_AppendItemCodes | ) |
Definition at line 17 of file sv_powerups.qc.
References entity(), M_ARGV, StatusEffects_active(), and strcat().
| MUTATOR_HOOKFUNCTION | ( | powerups | , |
| MonsterValidTarget | ) |
Definition at line 74 of file sv_powerups.qc.
References entity(), M_ARGV, and StatusEffects_active().
| MUTATOR_HOOKFUNCTION | ( | powerups | , |
| PlayerDies | ) |
Definition at line 149 of file sv_powerups.qc.
References autocvar_g_powerups_drop_ondeath, entity(), FOREACH, frag_target, and M_ARGV.
| MUTATOR_HOOKFUNCTION | ( | powerups | , |
| PlayerPhysics_UpdateStats | ) |
Definition at line 179 of file sv_powerups.qc.
References autocvar_g_balance_powerup_speed_highspeed, entity(), M_ARGV, STAT, and StatusEffects_active().
| MUTATOR_HOOKFUNCTION | ( | powerups | , |
| PlayerUseKey | ) |
Definition at line 163 of file sv_powerups.qc.
References autocvar_g_powerups_drop, entity(), FOREACH, game_stopped, M_ARGV, MUTATOR_RETURNVALUE, and PlayerUseKey().
| 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, StatusEffects_active(), time, VOL_BASE, and W_PlayStrengthSound().
| MUTATOR_HOOKFUNCTION | ( | powerups | , |
| WeaponRateFactor | ) |
Definition at line 188 of file sv_powerups.qc.
References autocvar_g_balance_powerup_speed_attack_time_multiplier, entity(), M_ARGV, and StatusEffects_active().
| void powerups_DropItem | ( | entity | this, |
| StatusEffect | effect, | ||
| bool | freezeTimer ) |
Definition at line 93 of file sv_powerups.qc.
References autocvar_g_balance_powerup_invincible_time, autocvar_g_balance_powerup_invisibility_time, autocvar_g_balance_powerup_speed_time, autocvar_g_balance_powerup_strength_time, autocvar_g_items_dropped_lifetime, entity(), Item_Initialise(), ITEM_SET_EXPIRING, NULL, origin, RES_ARMOR, SetResourceExplicit(), spawn, StatusEffects_gettime(), time, v_forward, velocity, W_CalculateProjectileVelocity(), waypointsprite_attached, WaypointSprite_Spawn(), WaypointSprite_UpdateHealth(), and WaypointSprite_UpdateMaxHealth().
Definition at line 80 of file sv_powerups.qc.
References entity(), floor(), GetResource(), RES_ARMOR, time, wait, waypointsprite_attached, WaypointSprite_Kill(), and WaypointSprite_UpdateHealth().
Referenced by Item_Think().