|
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 (nix, BuildMutatorsPrettyString) | |
| MUTATOR_HOOKFUNCTION (nix, BuildMutatorsString) | |
| MUTATOR_HOOKFUNCTION (nix, FilterItemDefinition) | |
| MUTATOR_HOOKFUNCTION (nix, ForbidRandomStartWeapons) | |
| MUTATOR_HOOKFUNCTION (nix, ForbidThrowCurrentWeapon) | |
| MUTATOR_HOOKFUNCTION (nix, OnEntityPreSpawn) | |
| MUTATOR_HOOKFUNCTION (nix, PlayerPreThink) | |
| MUTATOR_HOOKFUNCTION (nix, PlayerSpawn) | |
| MUTATOR_HOOKFUNCTION (nix, SetModname, CBC_ORDER_LAST) | |
| bool | NIX_CanChooseWeapon (int wpn) |
| void | NIX_ChooseNextWeapon () |
| void | NIX_GiveCurrentWeapon (entity this) |
| REGISTER_MUTATOR (nix, expr_evaluate(cvar_string("g_nix")) &&!MUTATOR_IS_ENABLED(mutator_instagib) &&!MUTATOR_IS_ENABLED(ok) &&!MapInfo_LoadedGametype.m_weaponarena) | |
| MUTATOR_HOOKFUNCTION | ( | nix | , |
| BuildMutatorsPrettyString | ) |
| MUTATOR_HOOKFUNCTION | ( | nix | , |
| BuildMutatorsString | ) |
| MUTATOR_HOOKFUNCTION | ( | nix | , |
| FilterItemDefinition | ) |
Definition at line 237 of file sv_nix.qc.
References autocvar_g_nix_with_healtharmor, autocvar_g_nix_with_powerups, entity(), and M_ARGV.
| MUTATOR_HOOKFUNCTION | ( | nix | , |
| ForbidRandomStartWeapons | ) |
| MUTATOR_HOOKFUNCTION | ( | nix | , |
| ForbidThrowCurrentWeapon | ) |
| MUTATOR_HOOKFUNCTION | ( | nix | , |
| OnEntityPreSpawn | ) |
| MUTATOR_HOOKFUNCTION | ( | nix | , |
| PlayerPreThink | ) |
Definition at line 261 of file sv_nix.qc.
References entity(), game_stopped, IS_DEAD, IS_PLAYER, M_ARGV, NIX_GiveCurrentWeapon(), and PlayerPreThink.
| MUTATOR_HOOKFUNCTION | ( | nix | , |
| PlayerSpawn | ) |
Definition at line 276 of file sv_nix.qc.
References entity(), IT_UNLIMITED_SUPERWEAPONS, M_ARGV, and NIX_GiveCurrentWeapon().
| MUTATOR_HOOKFUNCTION | ( | nix | , |
| SetModname | , | ||
| CBC_ORDER_LAST | ) |
Definition at line 285 of file sv_nix.qc.
References CBC_ORDER_LAST, and M_ARGV.
Definition at line 75 of file sv_nix.qc.
References entity(), g_nix_with_blaster, g_weaponarena, g_weaponarena_weapons, REGISTRY_GET, Weapons, WEP_FLAG_MUTATORBLOCKED, and WEP_FLAG_NORMAL.
Referenced by NIX_ChooseNextWeapon(), and REGISTER_MUTATOR().
| void NIX_ChooseNextWeapon | ( | ) |
Definition at line 95 of file sv_nix.qc.
References FOREACH, NIX_CanChooseWeapon(), nix_nextweapon, nix_weapon, RandomSelection_AddFloat, RandomSelection_chosen_float, RandomSelection_Init(), and Weapons.
Referenced by NIX_GiveCurrentWeapon().
Definition at line 105 of file sv_nix.qc.
References autocvar_g_balance_nix_ammo_cells, autocvar_g_balance_nix_ammo_fuel, autocvar_g_balance_nix_ammo_nails, autocvar_g_balance_nix_ammo_rockets, autocvar_g_balance_nix_ammo_shells, autocvar_g_balance_nix_ammoincr_cells, autocvar_g_balance_nix_ammoincr_fuel, autocvar_g_balance_nix_ammoincr_nails, autocvar_g_balance_nix_ammoincr_rockets, autocvar_g_balance_nix_ammoincr_shells, autocvar_g_balance_nix_incrtime, autocvar_g_balance_nix_roundtime, autocvar_g_pickup_cells_max, autocvar_g_pickup_fuel_max, autocvar_g_pickup_nails_max, autocvar_g_pickup_rockets_max, autocvar_g_pickup_shells_max, ceil(), client_hasweapon(), entity(), g_nix_with_blaster, GiveResource(), IT_UNLIMITED_AMMO, items, m_switchweapon, m_weapon, MAX_WEAPONSLOTS, NIX_ChooseNextWeapon(), nix_lastchange_id, nix_lastinfotime, nix_nextchange, nix_nextincr, nix_nextweapon, nix_weapon, REGISTRY_GET, Send_Notification(), SetResource(), STAT, time, W_SwitchWeapon(), weapon_load, weaponentities, Weapons, WEP_FLAG_RELOADABLE, and WEPSET.
Referenced by MUTATOR_HOOKFUNCTION(), and MUTATOR_HOOKFUNCTION().
| REGISTER_MUTATOR | ( | nix | , |
| expr_evaluate(cvar_string("g_nix")) &&!MUTATOR_IS_ENABLED(mutator_instagib) &&!MUTATOR_IS_ENABLED(ok) &&!MapInfo_LoadedGametype. | m_weaponarena ) |
Definition at line 34 of file sv_nix.qc.
References autocvar_g_nix_with_blaster, client_hasweapon(), FOREACH, FOREACH_CLIENT, g_nix_with_blaster, IS_DEAD, IS_PLAYER, m_switchweapon, MapInfo_LoadedGametype, MAX_WEAPONSLOTS, MUTATOR_ONADD, MUTATOR_ONREMOVE, MUTATOR_ONROLLBACK_OR_REMOVE, NIX_CanChooseWeapon(), nix_nextchange, nix_nextweapon, SetResource(), start_ammo_cells, start_ammo_fuel, start_ammo_nails, start_ammo_rockets, start_ammo_shells, start_weapons, STAT, w_getbestweapon, weaponentities, and Weapons.
| int autocvar_g_balance_nix_ammo_cells |
Definition at line 7 of file sv_nix.qc.
Referenced by NIX_GiveCurrentWeapon().
| int autocvar_g_balance_nix_ammo_fuel |
Definition at line 8 of file sv_nix.qc.
Referenced by NIX_GiveCurrentWeapon().
| int autocvar_g_balance_nix_ammo_nails |
Definition at line 9 of file sv_nix.qc.
Referenced by NIX_GiveCurrentWeapon().
| int autocvar_g_balance_nix_ammo_rockets |
Definition at line 10 of file sv_nix.qc.
Referenced by NIX_GiveCurrentWeapon().
| int autocvar_g_balance_nix_ammo_shells |
Definition at line 11 of file sv_nix.qc.
Referenced by NIX_GiveCurrentWeapon().
| int autocvar_g_balance_nix_ammoincr_cells |
Definition at line 12 of file sv_nix.qc.
Referenced by NIX_GiveCurrentWeapon().
| int autocvar_g_balance_nix_ammoincr_fuel |
Definition at line 13 of file sv_nix.qc.
Referenced by NIX_GiveCurrentWeapon().
| int autocvar_g_balance_nix_ammoincr_nails |
Definition at line 14 of file sv_nix.qc.
Referenced by NIX_GiveCurrentWeapon().
| int autocvar_g_balance_nix_ammoincr_rockets |
Definition at line 15 of file sv_nix.qc.
Referenced by NIX_GiveCurrentWeapon().
| int autocvar_g_balance_nix_ammoincr_shells |
Definition at line 16 of file sv_nix.qc.
Referenced by NIX_GiveCurrentWeapon().
| float autocvar_g_balance_nix_incrtime |
Definition at line 17 of file sv_nix.qc.
Referenced by NIX_GiveCurrentWeapon().
| float autocvar_g_balance_nix_roundtime |
Definition at line 18 of file sv_nix.qc.
Referenced by NIX_GiveCurrentWeapon().
| bool autocvar_g_nix_with_blaster |
Definition at line 20 of file sv_nix.qc.
Referenced by REGISTER_MUTATOR().
| bool autocvar_g_nix_with_healtharmor |
Definition at line 19 of file sv_nix.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| bool autocvar_g_nix_with_powerups |
Definition at line 21 of file sv_nix.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| float g_nix_with_blaster |
Definition at line 23 of file sv_nix.qc.
Referenced by NIX_CanChooseWeapon(), NIX_GiveCurrentWeapon(), and REGISTER_MUTATOR().
| float nix_lastchange_id |
Definition at line 28 of file sv_nix.qc.
Referenced by NIX_GiveCurrentWeapon().
| float nix_lastinfotime |
Definition at line 29 of file sv_nix.qc.
Referenced by NIX_GiveCurrentWeapon().
| float nix_nextchange |
Definition at line 26 of file sv_nix.qc.
Referenced by NIX_GiveCurrentWeapon(), and REGISTER_MUTATOR().
| float nix_nextincr |
Definition at line 30 of file sv_nix.qc.
Referenced by NIX_GiveCurrentWeapon().
| float nix_nextweapon |
Definition at line 27 of file sv_nix.qc.
Referenced by NIX_ChooseNextWeapon(), NIX_GiveCurrentWeapon(), and REGISTER_MUTATOR().
| int nix_weapon |
Definition at line 25 of file sv_nix.qc.
Referenced by NIX_ChooseNextWeapon(), and NIX_GiveCurrentWeapon().