|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "fireball.qh"Go to the source code of this file.
Definition at line 168 of file fireball.qc.
References CH_WEAPON_A, CSQCProjectile(), DAMAGE_YES, damageforcescale, entity(), FL_PROJECTILE, g_bot_dodge, g_projectiles, health, IL_PUSH(), lifetime, MIF_PROXY, MIF_SPLASH, MOVETYPE_FLY, MUTATOR_CALLHOOK, PROJECTILE_FIREBALL, PROJECTILE_MAKETRIGGER, set_movetype(), SetResourceExplicit(), setthink, settouch, time, vectoangles(), W_Fireball_Damage(), W_Fireball_Explode_use(), W_Fireball_Think(), W_Fireball_TouchExplode(), W_MuzzleFlash(), W_SetupProjVelocity_PRI, W_SetupShot_ProjectileSize, w_shotdir, w_shotorg, and WEP_CVAR_PRI.
Referenced by W_Fireball_Attack1_Frame4().
Definition at line 238 of file fireball.qc.
References ATTEN_NORM, CH_WEAPON_SINGLE, entity(), sound, VOL_BASE, W_Fireball_Attack1_Frame1(), W_Fireball_AttackEffect(), weapon_thinkf(), and WEP_CVAR_PRI.
Definition at line 232 of file fireball.qc.
References entity(), W_Fireball_Attack1_Frame2(), W_Fireball_AttackEffect(), weapon_thinkf(), and WEP_CVAR_PRI.
Referenced by W_Fireball_Attack1_Frame0().
Definition at line 226 of file fireball.qc.
References entity(), W_Fireball_Attack1_Frame3(), W_Fireball_AttackEffect(), weapon_thinkf(), and WEP_CVAR_PRI.
Referenced by W_Fireball_Attack1_Frame1().
Definition at line 220 of file fireball.qc.
References entity(), W_Fireball_Attack1_Frame4(), W_Fireball_AttackEffect(), weapon_thinkf(), and WEP_CVAR_PRI.
Referenced by W_Fireball_Attack1_Frame2().
Definition at line 214 of file fireball.qc.
References entity(), W_Fireball_Attack1(), w_ready(), weapon_thinkf(), and WEP_CVAR_PRI.
Referenced by W_Fireball_Attack1_Frame3().
Definition at line 283 of file fireball.qc.
References bulletcounter, CH_WEAPON_A, CSQCProjectile(), damageforcescale, entity(), FL_PROJECTILE, g_bot_dodge, g_projectiles, HITTYPE_SECONDARY, IL_PUSH(), lifetime, MIF_ARC, MIF_PROXY, MIF_SPLASH, MOVE_NORMAL, MOVETYPE_BOUNCE, MUTATOR_CALLHOOK, PROJECTILE_FIREMINE, PROJECTILE_MAKETRIGGER, set_movetype(), setthink, settouch, time, trace_endpos, v_right, v_up, vectoangles(), vector, W_Fireball_Firemine_Think(), W_Fireball_Firemine_Touch(), W_MuzzleFlash(), W_SetupProjVelocity_UP_SEC, W_SetupShot_ProjectileSize, w_shotdir, w_shotorg, and WEP_CVAR_SEC.
Definition at line 207 of file fireball.qc.
References entity(), Send_Effect(), v_right, v_up, vector, W_SetupShot_ProjectileSize, w_shotdir, and w_shotorg.
Referenced by W_Fireball_Attack1_Frame0(), W_Fireball_Attack1_Frame1(), W_Fireball_Attack1_Frame2(), and W_Fireball_Attack1_Frame3().
| void W_Fireball_Damage | ( | entity | this, |
| entity | inflictor, | ||
| entity | attacker, | ||
| float | damage, | ||
| int | deathtype, | ||
| .entity | weaponentity, | ||
| vector | hitloc, | ||
| vector | force ) |
Definition at line 152 of file fireball.qc.
References cnt, entity(), GetResource(), TakeResource(), vector, W_CheckProjectileDamage(), W_Fireball_Explode_think(), and W_PrepareExplosionByDamage().
Referenced by W_Fireball_Attack1().
Definition at line 5 of file fireball.qc.
References accuracy_add(), accuracy_isgooddamage(), cnt, Damage(), DAMAGE_AIM, DAMAGE_NO, DIFF_TEAM, dir, entity(), func_null(), GetResource(), HITTYPE_BOUNCE, HITTYPE_SPLASH, IS_INDEPENDENT_PLAYER, IS_PLAYER, modeleffect_spawn(), MOVE_NORMAL, normalize(), NULL, origin, projectiledeathtype, radius, RadiusDamage(), realowner, RES_ARMOR, Send_Effect(), sqrt(), takedamage, trace_ent, trace_fraction, vector, vlen(), weaponentity_fld, and WEP_CVAR_PRI.
Referenced by W_Fireball_Explode_think(), W_Fireball_Explode_use(), W_Fireball_Think(), and W_Fireball_TouchExplode().
Definition at line 82 of file fireball.qc.
References entity(), NULL, and W_Fireball_Explode().
Referenced by W_Fireball_Damage().
Definition at line 87 of file fireball.qc.
References entity(), and W_Fireball_Explode().
Referenced by W_Fireball_Attack1().
Definition at line 245 of file fireball.qc.
References cnt, entity(), nextthink, NULL, origin, owner, pushltime, time, vdist, W_Fireball_LaserPlay(), and WEP_CVAR_SEC.
Referenced by W_Fireball_Attack2().
Definition at line 271 of file fireball.qc.
References DAMAGE_AIM, entity(), Fire_AddDamage(), HITTYPE_BOUNCE, PROJECTILE_TOUCH, projectiledeathtype, realowner, toucher, and WEP_CVAR_SEC.
Referenced by W_Fireball_Attack2().
| void W_Fireball_LaserPlay | ( | entity | this, |
| float | dt, | ||
| float | dist, | ||
| float | damage, | ||
| float | edgedamage, | ||
| float | burntime ) |
Definition at line 98 of file fireball.qc.
References DAMAGE_AIM, entity(), Fire_AddDamage(), HITTYPE_BOUNCE, IS_INDEPENDENT_PLAYER, IS_PLAYER, origin, projectiledeathtype, random(), RandomSelection_AddEnt, RandomSelection_chosen_ent, RandomSelection_Init(), realowner, SAME_TEAM, Send_Effect(), STAT, StatusEffects_active(), vector, vlen(), WarpZone_FindRadius(), and WarpZone_UnTransformOrigin().
Referenced by W_Fireball_Firemine_Think(), and W_Fireball_Think().
Definition at line 137 of file fireball.qc.
References cnt, entity(), HITTYPE_SPLASH, nextthink, NULL, projectiledeathtype, pushltime, time, W_Fireball_Explode(), W_Fireball_LaserPlay(), and WEP_CVAR_PRI.
Referenced by W_Fireball_Attack1().
Definition at line 92 of file fireball.qc.
References entity(), PROJECTILE_TOUCH, toucher, and W_Fireball_Explode().
Referenced by W_Fireball_Attack1().