|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "vaporizer.qh"#include <common/mutators/mutator/instagib/instagib.qh>#include <common/mutators/mutator/instagib/items.qh>#include <common/items/item/ammo.qh>#include "blaster.qh"Go to the source code of this file.
Functions | |
| void | Draw_VaporizerBeam_trace_callback (vector start, vector hit, vector end) |
| NET_HANDLE (TE_CSQC_VAPORBEAMPARTICLE, bool isNew) | |
| void | SendCSQCVaporizerBeamParticle (entity player, int hit) |
| void | VaporizerBeam_Draw (entity this) |
| void | W_RocketMinsta_Attack (entity actor,.entity weaponentity, int mode) |
| void | W_RocketMinsta_Explosion (entity actor,.entity weaponentity, vector loc) |
| void | W_RocketMinsta_Laser_Damage (entity this, entity directhitentity) |
| void | W_RocketMinsta_Laser_Explode (entity this, entity directhitentity) |
| void | W_RocketMinsta_Laser_Explode_use (entity this, entity actor, entity trigger) |
| void | W_RocketMinsta_Laser_Touch (entity this, entity toucher) |
| void | W_Vaporizer_Attack (Weapon thiswep, entity actor,.entity weaponentity) |
Definition at line 31 of file vaporizer.qc.
References Draw_CylindricLine(), Draw_VaporizerBeam_trace_callback_a, Draw_VaporizerBeam_trace_callback_rgb, Draw_VaporizerBeam_trace_callback_rnd, Draw_VaporizerBeam_trace_callback_tex, DRAWFLAG_NORMAL, min(), vector, view_origin, vlen(), WarpZone_trace_transform, and WarpZone_TransformOrigin().
Referenced by VaporizerBeam_Draw().
| NET_HANDLE | ( | TE_CSQC_VAPORBEAMPARTICLE | , |
| bool | isNew ) |
Definition at line 70 of file vaporizer.qc.
References autocvar_cl_vaporizerbeam_lifetime, autocvar_cl_vaporizerbeam_particle, autocvar_cl_vaporizerbeam_teamcolor, bound(), cnt, colormapPaletteColor, drawmask, entcs_GetClientColors(), func_null(), g_drawables, IL_PUSH(), MASK_NORMAL, nextthink, NULL, owner, particleeffectnum, particles_colormax, particles_colormin, PARTICLES_USECOLOR, playerslots, ReadByte(), ReadVector, setthink, SUB_Remove(), sv_entnum, time, VaporizerBeam_Draw(), vector, vorg1, and WarpZone_TrailParticles_WithMultiplier().
Definition at line 8 of file vaporizer.qc.
References entity(), etof, MSG_BROADCAST, trace_endpos, vector, w_shotorg, WarpZone_trace_transform, WarpZone_UnTransformOrigin(), WriteByte(), and WriteHeader.
Referenced by W_Vaporizer_Attack().
Definition at line 40 of file vaporizer.qc.
References autocvar_cl_vaporizerbeam_colorboost, autocvar_cl_vaporizerbeam_teamcolor, bound(), cnt, colormapPaletteColor, Draw_VaporizerBeam_trace_callback(), Draw_VaporizerBeam_trace_callback_a, Draw_VaporizerBeam_trace_callback_rgb, Draw_VaporizerBeam_trace_callback_rnd, Draw_VaporizerBeam_trace_callback_tex, entcs_GetClientColors(), entity(), MOVE_NOTHING, nextthink, NULL, particles_alphamax, particles_alphamin, particles_fade, string_null, sv_entnum, time, vector, vorg1, and WarpZone_TraceBox_ThroughZone().
Referenced by NET_HANDLE().
Definition at line 222 of file vaporizer.qc.
References adaptor_think2use_hittype_splash(), autocvar_g_rm_laser_count, autocvar_g_rm_laser_damage, autocvar_g_rm_laser_lifetime, autocvar_g_rm_laser_speed, autocvar_g_rm_laser_spread, autocvar_g_rm_laser_spread_random, CH_WEAPON_A, CSQCProjectile(), cvar(), entity(), FL_PROJECTILE, g_bot_dodge, g_projectiles, IL_PUSH(), makevectors, max(), MIF_SPLASH, MOVETYPE_BOUNCEMISSILE, MUTATOR_CALLHOOK, PROJECTILE_MAKETRIGGER, PROJECTILE_ROCKETMINSTA_LASER, random(), set_movetype(), setthink, settouch, time, v_right, vectoangles(), W_CalculateProjectileVelocity(), W_MuzzleFlash(), W_RocketMinsta_Laser_Explode_use(), W_RocketMinsta_Laser_Touch(), W_SetupShot_ProjectileSize, w_shotdir, and w_shotorg.
Definition at line 108 of file vaporizer.qc.
References accuracy_add(), accuracy_canbegooddamage(), autocvar_g_rm_damage, autocvar_g_rm_edgedamage, autocvar_g_rm_force, autocvar_g_rm_radius, entity(), HITTYPE_SPLASH, NULL, RadiusDamage(), spawn, and vector.
Referenced by W_Vaporizer_Attack().
Definition at line 176 of file vaporizer.qc.
References autocvar_g_rm_laser_damage, autocvar_g_rm_laser_force, autocvar_g_rm_laser_radius, entity(), max(), NULL, projectiledeathtype, RadiusDamage(), realowner, rm_laser_count, and weaponentity_fld.
Referenced by W_RocketMinsta_Laser_Explode(), and W_RocketMinsta_Laser_Touch().
Definition at line 194 of file vaporizer.qc.
References DAMAGE_AIM, DAMAGE_NO, DIFF_TEAM, entity(), func_null(), IS_DEAD, IS_PLAYER, IsFlying(), realowner, Send_Notification(), takedamage, and W_RocketMinsta_Laser_Damage().
Referenced by W_RocketMinsta_Laser_Explode_use().
Definition at line 207 of file vaporizer.qc.
References entity(), and W_RocketMinsta_Laser_Explode().
Referenced by W_RocketMinsta_Attack().
Definition at line 212 of file vaporizer.qc.
References entity(), PROJECTILE_TOUCH, toucher, and W_RocketMinsta_Laser_Damage().
Referenced by W_RocketMinsta_Attack().
Definition at line 131 of file vaporizer.qc.
References ammo, ATTEN_NORM, autocvar_g_instagib, autocvar_g_rm, CH_WEAPON_A, entity(), FireRailgunBullet(), impressive_hits, IsFlying(), Weapon::m_id, max_shot_distance, normalize(), Q3SURFACEFLAG_NOIMPACT, Q3SURFACEFLAG_SKY, Send_Notification(), SendCSQCVaporizerBeamParticle(), sound, trace_dphitq3surfaceflags, trace_endpos, vector, VOL_BASE, W_DecreaseAmmo(), W_MuzzleFlash(), W_RocketMinsta_Explosion(), W_SetupShot, w_shotdir, w_shotorg, WarpZone_trace_transform, WarpZone_UnTransformOrigin(), WEP_CVAR_PRI, and yoda.
| float autocvar_cl_vaporizerbeam_colorboost = 0.7 |
Definition at line 24 of file vaporizer.qc.
Referenced by VaporizerBeam_Draw().
| float autocvar_cl_vaporizerbeam_lifetime = 0.8 |
Definition at line 23 of file vaporizer.qc.
Referenced by NET_HANDLE().
Definition at line 22 of file vaporizer.qc.
Referenced by NET_HANDLE().
Definition at line 21 of file vaporizer.qc.
Referenced by NET_HANDLE(), and VaporizerBeam_Draw().
| float Draw_VaporizerBeam_trace_callback_a |
Definition at line 29 of file vaporizer.qc.
Referenced by Draw_VaporizerBeam_trace_callback(), and VaporizerBeam_Draw().
| vector Draw_VaporizerBeam_trace_callback_rgb |
Definition at line 28 of file vaporizer.qc.
Referenced by Draw_VaporizerBeam_trace_callback(), and VaporizerBeam_Draw().
| float Draw_VaporizerBeam_trace_callback_rnd |
Definition at line 27 of file vaporizer.qc.
Referenced by Draw_VaporizerBeam_trace_callback(), and VaporizerBeam_Draw().
| string Draw_VaporizerBeam_trace_callback_tex |
Definition at line 26 of file vaporizer.qc.
Referenced by Draw_VaporizerBeam_trace_callback(), and VaporizerBeam_Draw().
| vector vorg1 |
Definition at line 39 of file vaporizer.qc.
Referenced by NET_HANDLE(), and VaporizerBeam_Draw().
| vector vorg2 |
Definition at line 39 of file vaporizer.qc.