|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
Go to the source code of this file.
Functions | |
| MUTATOR_HOOKFUNCTION (tmayhem, Damage_Calculate) | |
| MUTATOR_HOOKFUNCTION (tmayhem, FilterItem) | |
| MUTATOR_HOOKFUNCTION (tmayhem, ForbidThrowCurrentWeapon) | |
| MUTATOR_HOOKFUNCTION (tmayhem, GiveFragsForKill, CBC_ORDER_FIRST) | |
| MUTATOR_HOOKFUNCTION (tmayhem, PlayerDamage_SplitHealthArmor) | |
| MUTATOR_HOOKFUNCTION (tmayhem, PlayerRegen) | |
| MUTATOR_HOOKFUNCTION (tmayhem, reset_map_players) | |
| MUTATOR_HOOKFUNCTION (tmayhem, SetStartItems) | |
| MUTATOR_HOOKFUNCTION (tmayhem, SetWeaponArena) | |
| MUTATOR_HOOKFUNCTION (tmayhem, TeamBalance_CheckAllowedTeams, CBC_ORDER_EXCLUSIVE) | |
| void | tmayhem_DelayedInit (entity this) |
| void | tmayhem_Initialize () |
| void | tmayhem_SpawnTeam (string teamname, int teamcolor) |
| MUTATOR_HOOKFUNCTION | ( | tmayhem | , |
| Damage_Calculate | ) |
Definition at line 160 of file sv_tmayhem.qc.
References autocvar_g_tmayhem_selfdamage, entity(), frag_damage, frag_target, IS_DEAD, IS_PLAYER, and M_ARGV.
| MUTATOR_HOOKFUNCTION | ( | tmayhem | , |
| FilterItem | ) |
Definition at line 127 of file sv_tmayhem.qc.
References autocvar_g_pickup_items, autocvar_g_powerups, autocvar_g_tmayhem_pickup_items, autocvar_g_tmayhem_pickup_items_remove_weapons_and_ammo, autocvar_g_tmayhem_powerups, entity(), and M_ARGV.
| MUTATOR_HOOKFUNCTION | ( | tmayhem | , |
| ForbidThrowCurrentWeapon | ) |
Definition at line 116 of file sv_tmayhem.qc.
| MUTATOR_HOOKFUNCTION | ( | tmayhem | , |
| GiveFragsForKill | , | ||
| CBC_ORDER_FIRST | ) |
Definition at line 239 of file sv_tmayhem.qc.
References CBC_ORDER_FIRST, entity(), IS_PLAYER, M_ARGV, and MayhemCalculatePlayerScore().
| MUTATOR_HOOKFUNCTION | ( | tmayhem | , |
| PlayerDamage_SplitHealthArmor | ) |
Definition at line 179 of file sv_tmayhem.qc.
References autocvar_g_spawnshield_blockdamage, autocvar_g_tmayhem_scoring_damage_weight, autocvar_g_tmayhem_scoring_disable_selfdamage2score, bound(), entity(), frag_damage, frag_target, GetResource(), IS_PLAYER, M_ARGV, max(), MayhemCalculatePlayerScore(), NULL, RES_ARMOR, SAME_TEAM, and StatusEffects_active().
| MUTATOR_HOOKFUNCTION | ( | tmayhem | , |
| PlayerRegen | ) |
Definition at line 107 of file sv_tmayhem.qc.
References autocvar_g_tmayhem_regenerate, autocvar_g_tmayhem_rot, and M_ARGV.
| MUTATOR_HOOKFUNCTION | ( | tmayhem | , |
| reset_map_players | ) |
Definition at line 249 of file sv_tmayhem.qc.
References FOREACH_CLIENT.
| MUTATOR_HOOKFUNCTION | ( | tmayhem | , |
| SetStartItems | ) |
Definition at line 92 of file sv_tmayhem.qc.
References autocvar_g_tmayhem_start_ammo_cells, autocvar_g_tmayhem_start_ammo_fuel, autocvar_g_tmayhem_start_ammo_nails, autocvar_g_tmayhem_start_ammo_rockets, autocvar_g_tmayhem_start_ammo_shells, autocvar_g_tmayhem_start_armor, autocvar_g_tmayhem_start_health, autocvar_g_tmayhem_unlimited_ammo, cvar(), IT_UNLIMITED_AMMO, IT_UNLIMITED_SUPERWEAPONS, start_ammo_cells, start_ammo_fuel, start_ammo_nails, start_ammo_rockets, start_ammo_shells, start_armorvalue, start_health, start_items, warmup_start_ammo_cells, warmup_start_ammo_fuel, warmup_start_ammo_nails, warmup_start_ammo_rockets, warmup_start_ammo_shells, warmup_start_armorvalue, and warmup_start_health.
| MUTATOR_HOOKFUNCTION | ( | tmayhem | , |
| SetWeaponArena | ) |
Definition at line 121 of file sv_tmayhem.qc.
References autocvar_g_tmayhem_weaponarena, and M_ARGV.
| MUTATOR_HOOKFUNCTION | ( | tmayhem | , |
| TeamBalance_CheckAllowedTeams | , | ||
| CBC_ORDER_EXCLUSIVE | ) |
Definition at line 75 of file sv_tmayhem.qc.
References CBC_ORDER_EXCLUSIVE, M_ARGV, and TeamBalance_CheckAllowedTeams().
Definition at line 41 of file sv_tmayhem.qc.
References autocvar_g_tmayhem_teams, autocvar_g_tmayhem_teams_override, BIT, BITS, bound(), classname, entity(), find(), LOG_TRACE, NULL, NUM_TEAM_1, NUM_TEAM_2, NUM_TEAM_3, NUM_TEAM_4, teams, and tmayhem_SpawnTeam().
Referenced by tmayhem_Initialize().
| void tmayhem_Initialize | ( | ) |
Definition at line 63 of file sv_tmayhem.qc.
References autocvar_g_tmayhem_point_leadlimit, autocvar_g_tmayhem_point_limit, autocvar_g_tmayhem_team_spawns, GameRules_limit_lead(), GameRules_limit_score(), GameRules_spawning_teams, GameRules_teams(), InitializeEntity(), INITPRIO_GAMETYPE, NULL, and tmayhem_DelayedInit().
Referenced by REGISTER_MUTATOR().
Definition at line 31 of file sv_tmayhem.qc.
References cnt, entity(), netname, new_pure, spawnfunc_checked, and team.
Referenced by tmayhem_DelayedInit().
| bool autocvar_g_tmayhem_pickup_items |
Definition at line 16 of file sv_tmayhem.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| bool autocvar_g_tmayhem_pickup_items_remove_weapons_and_ammo |
Definition at line 17 of file sv_tmayhem.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_tmayhem_point_leadlimit |
Definition at line 5 of file sv_tmayhem.qc.
Referenced by tmayhem_Initialize().
| float autocvar_g_tmayhem_point_limit |
Definition at line 4 of file sv_tmayhem.qc.
Referenced by tmayhem_Initialize().
| bool autocvar_g_tmayhem_powerups |
Definition at line 14 of file sv_tmayhem.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| bool autocvar_g_tmayhem_regenerate |
Definition at line 11 of file sv_tmayhem.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| bool autocvar_g_tmayhem_rot |
Definition at line 12 of file sv_tmayhem.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| bool autocvar_g_tmayhem_selfdamage |
Definition at line 15 of file sv_tmayhem.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_tmayhem_start_ammo_cells = 180 |
Definition at line 25 of file sv_tmayhem.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_tmayhem_start_ammo_fuel = 0 |
Definition at line 26 of file sv_tmayhem.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_tmayhem_start_ammo_nails = 320 |
Definition at line 23 of file sv_tmayhem.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_tmayhem_start_ammo_rockets = 160 |
Definition at line 24 of file sv_tmayhem.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_tmayhem_start_ammo_shells = 60 |
Definition at line 22 of file sv_tmayhem.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_tmayhem_start_armor = 200 |
Definition at line 21 of file sv_tmayhem.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_tmayhem_start_health = 200 |
Definition at line 20 of file sv_tmayhem.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| bool autocvar_g_tmayhem_team_spawns |
Definition at line 9 of file sv_tmayhem.qc.
Referenced by tmayhem_Initialize().
| int autocvar_g_tmayhem_teams |
Definition at line 7 of file sv_tmayhem.qc.
Referenced by tmayhem_DelayedInit().
| int autocvar_g_tmayhem_teams_override |
Definition at line 8 of file sv_tmayhem.qc.
Referenced by tmayhem_DelayedInit().
| bool autocvar_g_tmayhem_unlimited_ammo |
Definition at line 18 of file sv_tmayhem.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| string autocvar_g_tmayhem_weaponarena |
Definition at line 13 of file sv_tmayhem.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| float total_damage_dealt |
Definition at line 28 of file sv_tmayhem.qc.