|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "onslaught.qh"#include <common/mutators/base.qh>#include <common/gametypes/gametype/assault/assault.qh>#include <common/gametypes/gametype/domination/domination.qh>Go to the source code of this file.
Functions | |
| MUTATOR_HOOKFUNCTION (cl_ons, CustomizeEventchase) | |
| MUTATOR_HOOKFUNCTION (cl_ons, WantEventchase) | |
| NET_HANDLE (ENT_ONSCAMERA, bool isnew) | |
| REGISTER_MUTATOR (cl_ons, true) | |
Variables | |
| float | autocvar_cl_eventchase_generator_distance = 400 |
| vector | autocvar_cl_eventchase_generator_viewoffset = '0 0 80' |
| entity | generator_camera |
| vector | generator_origin |
| float | ons_roundlost |
| MUTATOR_HOOKFUNCTION | ( | cl_ons | , |
| CustomizeEventchase | ) |
Definition at line 56 of file onslaught.qc.
References autocvar_cl_eventchase_generator_distance, autocvar_cl_eventchase_generator_viewoffset, generator_camera, M_ARGV, ons_roundlost, and vector.
| MUTATOR_HOOKFUNCTION | ( | cl_ons | , |
| WantEventchase | ) |
Definition at line 33 of file onslaught.qc.
References entity(), g_onsgenerators, generator_origin, GetResource(), IL_EACH, NULL, ons_roundlost, STAT, and WantEventchase().
| NET_HANDLE | ( | ENT_ONSCAMERA | , |
| bool | isnew ) |
Definition at line 12 of file onslaught.qc.
References angles, drawmask, generator_camera, MASK_NORMAL, origin, ReadAngleVector, ReadVector, and setmodel.
| REGISTER_MUTATOR | ( | cl_ons | , |
| true | ) |
| float autocvar_cl_eventchase_generator_distance = 400 |
Definition at line 32 of file onslaught.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| vector autocvar_cl_eventchase_generator_viewoffset = '0 0 80' |
Definition at line 31 of file onslaught.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| entity generator_camera |
Definition at line 11 of file onslaught.qc.
Referenced by MUTATOR_HOOKFUNCTION(), and NET_HANDLE().
| vector generator_origin |
Definition at line 30 of file onslaught.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| float ons_roundlost |
Definition at line 29 of file onslaught.qc.
Referenced by MUTATOR_HOOKFUNCTION(), and MUTATOR_HOOKFUNCTION().