|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "quake3.qh"#include <common/gametypes/_mod.qh>#include <common/gametypes/gametype/ctf/sv_ctf.qh>#include <common/mapobjects/trigger/counter.qh>#include <common/mapobjects/triggers.qh>#include <common/mutators/mutator/buffs/_mod.qh>#include <common/mutators/mutator/powerups/_mod.qh>#include <common/mutators/mutator/status_effects/_mod.qh>#include <common/notifications/all.qh>#include <common/resources/sv_resources.qh>#include <common/stats.qh>#include <common/weapons/_all.qh>#include <server/client.qh>#include <server/items/items.qh>#include <server/items/spawning.qh>#include <server/world.qh>Go to the source code of this file.
Macros | |
| #define | FRAGSFILTER_REMOVER BIT(0) |
| #define | FRAGSFILTER_RESET BIT(3) |
| #define | FRAGSFILTER_RUNONCE BIT(1) |
| #define | FRAGSFILTER_SILENT BIT(2) |
| #define | PRINT_BLUETEAM BIT(1) |
| #define | PRINT_BROADCAST BIT(3) |
| #define | PRINT_PRIVATE BIT(2) |
| #define | PRINT_REDTEAM BIT(0) |
Functions | |
| bool | DoesQ3ARemoveThisEntity (entity this) |
| void | fragsfilter_use (entity this, entity actor, entity trigger) |
| void | score_use (entity this, entity actor, entity trigger) |
| spawnfunc (target_fragsFilter) | |
| spawnfunc (target_give) | |
| spawnfunc (target_init) | |
| spawnfunc (target_print) | |
| spawnfunc (target_score) | |
| spawnfunc (target_smallprint) | |
| SPAWNFUNC_Q3 (weapon_shotgun, ammo_shells, q3compat==Q3COMPAT_ARENA ? WEP_MACHINEGUN :WEP_SHOTGUN, q3compat==Q3COMPAT_ARENA ? 8 :1) SPAWNFUNC_Q3(weapon_machinegun | |
| void | target_give_init (entity this) |
| void | target_init_use (entity this, entity actor, entity trigger) |
| void | target_init_verify (entity this) |
| void | target_print_message (entity this, entity actor) |
| void | target_print_use (entity this, entity actor, entity trigger) |
Variables | |
| ammo_bullets | |
| float | delay |
| string | gametype |
| string | not_gametype |
| q3compat == Q3COMPAT_ARENA ? WEP_SHOTGUN : WEP_MACHINEGUN | |
| #define FRAGSFILTER_REMOVER BIT(0) |
Definition at line 266 of file quake3.qc.
Referenced by fragsfilter_use().
| #define FRAGSFILTER_RESET BIT(3) |
Definition at line 269 of file quake3.qc.
Referenced by fragsfilter_use().
| #define FRAGSFILTER_SILENT BIT(2) |
Definition at line 268 of file quake3.qc.
Referenced by fragsfilter_use().
| #define PRINT_BLUETEAM BIT(1) |
Definition at line 300 of file quake3.qc.
Referenced by target_print_use().
| #define PRINT_BROADCAST BIT(3) |
Definition at line 302 of file quake3.qc.
Referenced by target_print_use().
| #define PRINT_PRIVATE BIT(2) |
Definition at line 301 of file quake3.qc.
Referenced by target_print_use().
| #define PRINT_REDTEAM BIT(0) |
Definition at line 299 of file quake3.qc.
Referenced by target_print_use().
Definition at line 360 of file quake3.qc.
References classname, cvar(), cvar_string(), entity(), g_ca, g_ctf, g_cts, g_duel, g_race, gametype, GetField_fullspawndata(), maxclients, not_gametype, stof(), strstrofs, and teamplay.
Referenced by SV_OnEntityPreSpawnFunction().
Definition at line 271 of file quake3.qc.
References centerprint(), entity(), frags, FRAGSFILTER_REMOVER, FRAGSFILTER_RESET, FRAGSFILTER_SILENT, IS_PLAYER, play2(), SND, spawnflags, and SUB_UseTargets().
Referenced by spawnfunc().
| spawnfunc | ( | target_fragsFilter | ) |
Definition at line 290 of file quake3.qc.
References frags, fragsfilter_use(), g_cts, and use.
| spawnfunc | ( | target_give | ) |
Definition at line 246 of file quake3.qc.
References InitializeEntity(), INITPRIO_FINDTARGET, and target_give_init().
| spawnfunc | ( | target_init | ) |
Definition at line 204 of file quake3.qc.
References InitializeEntity(), INITPRIO_FINDTARGET, target_init_use(), target_init_verify(), and use.
| spawnfunc | ( | target_print | ) |
Definition at line 347 of file quake3.qc.
References target_print_use(), and use.
| spawnfunc | ( | target_score | ) |
| spawnfunc | ( | target_smallprint | ) |
| SPAWNFUNC_Q3 | ( | weapon_shotgun | , |
| ammo_shells | , | ||
| q3compat | = = Q3COMPAT_ARENA ? WEP_MACHINEGUN : WEP_SHOTGUN, | ||
| q3compat | = = Q3COMPAT_ARENA ? 8 : 1 ) |
References ammo_shells, q3compat, and Q3COMPAT_ARENA.
Definition at line 211 of file quake3.qc.
References entity(), g_items, IL_EACH, setthink, SUB_Remove(), and time.
Referenced by spawnfunc().
Definition at line 139 of file quake3.qc.
References ATTN_NORM, autocvar_g_balance_pause_armor_rot, autocvar_g_balance_pause_health_regen, autocvar_g_balance_pause_health_rot, buff_FirstFromFlags(), buff_RemoveAll(), CH_TRIGGER, entity(), FOREACH, IS_INDEPENDENT_PLAYER, RES_ARMOR, Send_Notification(), SetResource(), sound, spawnflags, start_ammo_cells, start_ammo_fuel, start_ammo_nails, start_ammo_rockets, start_ammo_shells, start_armorvalue, start_health, start_weapons, STAT, STATUSEFFECT_REMOVE_NORMAL, SUB_UseTargets(), time, VOL_BASE, and WEPSET.
Referenced by spawnfunc().
Definition at line 121 of file quake3.qc.
References classname, entity(), find(), NULL, target_init_verify(), targetname, and this.
Referenced by spawnfunc(), and target_init_verify().
Definition at line 304 of file quake3.qc.
References centerprint(), entity(), message, play2(), and SND.
Referenced by target_print_use().
Definition at line 310 of file quake3.qc.
References boolean, entity(), FOREACH_CLIENT, IS_PLAYER, IS_REAL_CLIENT, message, NUM_TEAM_1, NUM_TEAM_2, PRINT_BLUETEAM, PRINT_BROADCAST, PRINT_PRIVATE, PRINT_REDTEAM, q3compat, Q3COMPAT_DEFI, spawnflags, and target_print_message().
Referenced by spawnfunc().
| string not_gametype |
Definition at line 359 of file quake3.qc.
Referenced by DoesQ3ARemoveThisEntity().
| q3compat == Q3COMPAT_ARENA ? WEP_SHOTGUN : WEP_MACHINEGUN |
Definition at line 59 of file quake3.qc.
Referenced by door_init_shared(), item_healthbig_init(), item_healthmedium_init(), item_healthmega_init(), item_healthsmall_init(), Physics_UpdateStats(), PutPlayerInServer(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), SPAWNFUNC_Q3(), StartItem(), SV_OnEntityPreSpawnFunction(), target_print_use(), and trigger_hurt_touch().