Xonotic
|
Go to the source code of this file.
Functions | |
MUTATOR_HOOKFUNCTION (ok, RandomItems_GetRandomItemClassName) | |
MUTATOR_HOOKFUNCTION (ok, Damage_Calculate, CBC_ORDER_LAST) | |
MUTATOR_HOOKFUNCTION (ok, PlayerDies) | |
MUTATOR_HOOKFUNCTION (ok, MonsterDropItem) | |
MUTATOR_HOOKFUNCTION (ok, ForbidThrowCurrentWeapon) | |
MUTATOR_HOOKFUNCTION (ok, PlayerPreThink) | |
MUTATOR_HOOKFUNCTION (ok, ForbidRandomStartWeapons) | |
MUTATOR_HOOKFUNCTION (ok, PlayerWeaponSelect) | |
MUTATOR_HOOKFUNCTION (ok, Item_RespawnCountdown) | |
MUTATOR_HOOKFUNCTION (ok, Item_ScheduleRespawn) | |
MUTATOR_HOOKFUNCTION (ok, FilterItem) | |
MUTATOR_HOOKFUNCTION (ok, SetStartItems, CBC_ORDER_LAST) | |
MUTATOR_HOOKFUNCTION (ok, SetWeaponArena) | |
MUTATOR_HOOKFUNCTION (ok, BuildMutatorsString) | |
MUTATOR_HOOKFUNCTION (ok, BuildMutatorsPrettyString) | |
MUTATOR_HOOKFUNCTION (ok, SetModname) | |
void | ok_DropItem (entity this, entity targ) |
bool | ok_HandleItemWaypoints (entity e) |
string | RandomItems_GetRandomOverkillItemClassName (string prefix) |
Returns a random classname of the overkill item. More... | |
Variables | |
bool | autocvar_g_overkill_itemwaypoints = true |
bool | autocvar_g_overkill_powerups_replace |
Weapon | ok_lastwep [MAX_WEAPONSLOTS] |
MUTATOR_HOOKFUNCTION | ( | ok | , |
RandomItems_GetRandomItemClassName | |||
) |
Definition at line 53 of file sv_overkill.qc.
References M_ARGV, and RandomItems_GetRandomOverkillItemClassName().
MUTATOR_HOOKFUNCTION | ( | ok | , |
Damage_Calculate | , | ||
CBC_ORDER_LAST | |||
) |
Definition at line 60 of file sv_overkill.qc.
References DEATH_ISWEAPON, entity(), IS_DEAD, IS_PLAYER, IS_TURRET, IS_VEHICLE, M_ARGV, and vector().
MUTATOR_HOOKFUNCTION | ( | ok | , |
PlayerDies | |||
) |
Definition at line 88 of file sv_overkill.qc.
References entity(), IS_PLAYER, M_ARGV, MAX_WEAPONSLOTS, ok_DropItem(), and weaponentities.
MUTATOR_HOOKFUNCTION | ( | ok | , |
MonsterDropItem | |||
) |
Definition at line 105 of file sv_overkill.qc.
References entity(), M_ARGV, NULL, and ok_DropItem().
MUTATOR_HOOKFUNCTION | ( | ok | , |
ForbidThrowCurrentWeapon | |||
) |
Definition at line 118 of file sv_overkill.qc.
MUTATOR_HOOKFUNCTION | ( | ok | , |
PlayerPreThink | |||
) |
Definition at line 123 of file sv_overkill.qc.
References entity(), IS_DEAD, IS_PLAYER, M_ARGV, MAX_WEAPONSLOTS, PHYS_INPUT_BUTTON_ATCK2, round_handler_IsActive, round_handler_IsRoundStarted, weapon, weaponentities, and weaponLocked().
MUTATOR_HOOKFUNCTION | ( | ok | , |
ForbidRandomStartWeapons | |||
) |
Definition at line 153 of file sv_overkill.qc.
MUTATOR_HOOKFUNCTION | ( | ok | , |
PlayerWeaponSelect | |||
) |
Definition at line 158 of file sv_overkill.qc.
References entity(), M_ARGV, MAX_WEAPONSLOTS, and weaponentities.
MUTATOR_HOOKFUNCTION | ( | ok | , |
Item_RespawnCountdown | |||
) |
Definition at line 196 of file sv_overkill.qc.
References entity(), M_ARGV, and ok_HandleItemWaypoints().
MUTATOR_HOOKFUNCTION | ( | ok | , |
Item_ScheduleRespawn | |||
) |
Definition at line 202 of file sv_overkill.qc.
References entity(), M_ARGV, and ok_HandleItemWaypoints().
MUTATOR_HOOKFUNCTION | ( | ok | , |
FilterItem | |||
) |
Definition at line 208 of file sv_overkill.qc.
References autocvar_g_overkill_filter_armorbig, autocvar_g_overkill_filter_armormedium, autocvar_g_overkill_filter_armormega, autocvar_g_overkill_filter_healthmega, autocvar_g_overkill_powerups_replace, autocvar_g_powerups, entity(), Item_Initialize(), Item_ShouldKeepPosition(), M_ARGV, and setorigin().
MUTATOR_HOOKFUNCTION | ( | ok | , |
SetStartItems | , | ||
CBC_ORDER_LAST | |||
) |
Definition at line 258 of file sv_overkill.qc.
References start_items, start_weapons, warmup_start_weapons, and WEPSET.
MUTATOR_HOOKFUNCTION | ( | ok | , |
SetWeaponArena | |||
) |
MUTATOR_HOOKFUNCTION | ( | ok | , |
BuildMutatorsString | |||
) |
Definition at line 276 of file sv_overkill.qc.
References M_ARGV, and strcat().
MUTATOR_HOOKFUNCTION | ( | ok | , |
BuildMutatorsPrettyString | |||
) |
Definition at line 281 of file sv_overkill.qc.
References M_ARGV, and strcat().
MUTATOR_HOOKFUNCTION | ( | ok | , |
SetModname | |||
) |
Definition at line 80 of file sv_overkill.qc.
References entity(), Item_InitializeLoot(), normalize(), origin, and spawn().
Referenced by MUTATOR_HOOKFUNCTION().
Definition at line 180 of file sv_overkill.qc.
References autocvar_g_overkill_itemwaypoints.
Referenced by MUTATOR_HOOKFUNCTION().
Returns a random classname of the overkill item.
[in] | prefix | Prefix of the cvars that hold probabilities. |
Definition at line 16 of file sv_overkill.qc.
References cvar(), CVAR_TYPEFLAG_EXISTS, g_overkill_items, IL_EACH, ITEM_FLAG_MUTATORBLOCKED, Item_IsDefinitionAllowed(), LOG_WARNF, RandomSelection_AddString, RandomSelection_chosen_string, and RandomSelection_Init().
Referenced by MUTATOR_HOOKFUNCTION().
Definition at line 9 of file sv_overkill.qc.
Referenced by ok_HandleItemWaypoints().
bool autocvar_g_overkill_powerups_replace |
Definition at line 7 of file sv_overkill.qc.
Referenced by MUTATOR_HOOKFUNCTION().
Weapon ok_lastwep[MAX_WEAPONSLOTS] |
Definition at line 11 of file sv_overkill.qc.