|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "raptor_weapons.qh"Go to the source code of this file.
Functions | |
| void | raptor_bomb_burst (entity this) |
| void | raptor_bomb_touch (entity this, entity toucher) |
| void | raptor_bombdrop (entity this) |
| void | raptor_bomblet_boom (entity this) |
| void | raptor_bomblet_touch (entity this, entity toucher) |
| void | raptor_flare_damage (entity this, entity inflictor, entity attacker, float damage, int deathtype,.entity weaponentity, vector hitloc, vector force) |
| void | raptor_flare_think (entity this) |
| void | raptor_flare_touch (entity this, entity toucher) |
| void | RaptorCBShellfragDraw (entity this) |
| void | RaptorCBShellfragToss (vector _org, vector _vel, vector _ang) |
| SOUND (RaptorCannon_FIRE, W_Sound("lasergun_fire")) | |
Definition at line 108 of file raptor_weapons.qc.
References autocvar_g_vehicle_raptor_bomblet_alt, autocvar_g_vehicle_raptor_bomblet_radius, autocvar_g_vehicle_raptor_bomblet_spread, autocvar_g_vehicle_raptor_bomblets, cnt, CSQCProjectile(), Damage_DamageInfo(), entity(), MOVE_NORMAL, MOVETYPE_TOSS, nextthink, normalize(), origin, owner, PROJECTILE_MAKETRIGGER, PROJECTILE_RAPTORBOMBLET, randomvec(), raptor_bomblet_boom(), raptor_bomblet_touch(), realowner, set_movetype(), setthink, settouch, time, trace_fraction, UpdateCSQCProjectile(), vdist, velocity, and vlen().
Referenced by raptor_bomb_touch(), and raptor_bombdrop().
Definition at line 147 of file raptor_weapons.qc.
References entity(), raptor_bomb_burst(), and toucher.
Referenced by raptor_bombdrop().
Definition at line 152 of file raptor_weapons.qc.
References autocvar_g_vehicle_raptor_bomblet_alt, autocvar_g_vehicle_raptor_bomblet_time, CSQCProjectile(), entity(), gettagindex, gettaginfo, MOVETYPE_BOUNCE, org, owner, PROJECTILE_MAKETRIGGER, PROJECTILE_RAPTORBOMB, raptor_bomb_burst(), raptor_bomb_touch(), set_movetype(), setthink, settouch, SOLID_BBOX, time, vector, and velocity.
Definition at line 89 of file raptor_weapons.qc.
References autocvar_g_vehicle_raptor_bomblet_damage, autocvar_g_vehicle_raptor_bomblet_edgedamage, autocvar_g_vehicle_raptor_bomblet_force, autocvar_g_vehicle_raptor_bomblet_radius, DMG_NOWEP, entity(), NULL, RadiusDamage(), and realowner.
Referenced by raptor_bomb_burst(), and raptor_bomblet_touch().
Definition at line 98 of file raptor_weapons.qc.
References autocvar_g_vehicle_raptor_bomblet_explode_delay, entity(), nextthink, owner, PROJECTILE_TOUCH, random(), raptor_bomblet_boom(), setthink, time, and toucher.
Referenced by raptor_bomb_burst().
| void raptor_flare_damage | ( | entity | this, |
| entity | inflictor, | ||
| entity | attacker, | ||
| float | damage, | ||
| int | deathtype, | ||
| .entity | weaponentity, | ||
| vector | hitloc, | ||
| vector | force ) |
Definition at line 193 of file raptor_weapons.qc.
References entity(), GetResource(), TakeResource(), and vector.
Definition at line 200 of file raptor_weapons.qc.
References entity(), g_projectiles, IL_EACH, nextthink, time, and tur_impacttime.
Definition at line 188 of file raptor_weapons.qc.
Definition at line 218 of file raptor_weapons.qc.
References alpha, ALPHA_MIN_VISIBLE, autocvar_cl_gibs_sloppy, autocvar_cl_gibs_ticrate, avelocity, bound(), cnt, entity(), Movetype_Physics_MatchTicrate(), nextthink, randomvec(), renderflags, and time.
Referenced by RaptorCBShellfragToss().
Definition at line 234 of file raptor_weapons.qc.
References entity(), g_drawables, IL_PUSH(), MASK_NORMAL, MOVETYPE_BOUNCE, prandomvec(), RaptorCBShellfragDraw(), set_movetype(), setmodel, SOLID_CORPSE, time, vector, and vlen().
Referenced by NET_HANDLE().
| SOUND | ( | RaptorCannon_FIRE | , |
| W_Sound("lasergun_fire") | ) |
References autocvar_g_vehicle_raptor_cannon_cost, autocvar_g_vehicle_raptor_cannon_refire, CH_WEAPON_B, dir, entity(), gettagindex, org, time, v_forward, vector, w_shotdir, and w_shotorg.