|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
Go to the source code of this file.
Functions | |
| void | W_Mortar_Attack (Weapon thiswep, entity actor,.entity weaponentity) |
| void | W_Mortar_Attack2 (Weapon thiswep, entity actor,.entity weaponentity) |
| void | W_Mortar_Grenade_Damage (entity this, entity inflictor, entity attacker, float damage, int deathtype,.entity weaponentity, vector hitloc, vector force) |
| void | W_Mortar_Grenade_Explode (entity this, entity directhitentity) |
| void | W_Mortar_Grenade_Explode2 (entity this, entity directhitentity) |
| void | W_Mortar_Grenade_Explode2_use (entity this, entity actor, entity trigger) |
| void | W_Mortar_Grenade_Explode_use (entity this, entity actor, entity trigger) |
| void | W_Mortar_Grenade_Think1 (entity this) |
| void | W_Mortar_Grenade_Touch1 (entity this, entity toucher) |
| void | W_Mortar_Grenade_Touch2 (entity this, entity toucher) |
Variables | |
| float | bot_secondary_grenademooth |
Definition at line 150 of file mortar.qc.
References ammo, bouncefactor, bouncestop, CH_WEAPON_A, CSQCProjectile(), DAMAGE_YES, damageforcescale, entity(), FL_PROJECTILE, g_bot_dodge, g_damagedbycontents, g_projectiles, health, IL_PUSH(), lifetime, Weapon::m_id, MIF_ARC, MIF_SPLASH, MOVETYPE_BOUNCE, MUTATOR_CALLHOOK, PROJECTILE_GRENADE, PROJECTILE_GRENADE_BOUNCING, PROJECTILE_MAKETRIGGER, set_movetype(), SetResourceExplicit(), setthink, settouch, time, v_forward, vectoangles(), W_DecreaseAmmo(), W_Mortar_Grenade_Damage(), W_Mortar_Grenade_Explode_use(), W_Mortar_Grenade_Think1(), W_Mortar_Grenade_Touch1(), W_MuzzleFlash(), W_SetupProjVelocity_UP_PRI, W_SetupShot_ProjectileSize, w_shotdir, w_shotorg, WEP_CVAR, and WEP_CVAR_PRI.
Definition at line 200 of file mortar.qc.
References adaptor_think2use_hittype_splash(), ammo, bouncefactor, bouncestop, CH_WEAPON_A, CSQCProjectile(), DAMAGE_YES, damageforcescale, entity(), FL_PROJECTILE, g_bot_dodge, g_damagedbycontents, g_projectiles, health, HITTYPE_SECONDARY, IL_PUSH(), lifetime, Weapon::m_id, MIF_ARC, MIF_SPLASH, MOVETYPE_BOUNCE, MUTATOR_CALLHOOK, PROJECTILE_GRENADE, PROJECTILE_GRENADE_BOUNCING, PROJECTILE_MAKETRIGGER, set_movetype(), SetResourceExplicit(), setthink, settouch, time, v_forward, vectoangles(), W_DecreaseAmmo(), W_Mortar_Grenade_Damage(), W_Mortar_Grenade_Explode2_use(), W_Mortar_Grenade_Touch2(), W_MuzzleFlash(), W_SetupProjVelocity_UP_SEC, W_SetupShot_ProjectileSize, w_shotdir, w_shotorg, WEP_CVAR, and WEP_CVAR_SEC.
| void W_Mortar_Grenade_Damage | ( | entity | this, |
| entity | inflictor, | ||
| entity | attacker, | ||
| float | damage, | ||
| int | deathtype, | ||
| .entity | weaponentity, | ||
| vector | hitloc, | ||
| vector | force ) |
Definition at line 55 of file mortar.qc.
References entity(), GetResource(), TakeResource(), vector, W_CheckProjectileDamage(), and W_PrepareExplosionByDamage().
Referenced by W_Mortar_Attack(), and W_Mortar_Attack2().
Definition at line 5 of file mortar.qc.
References DAMAGE_AIM, DAMAGE_NO, DIFF_TEAM, entity(), func_null(), IS_DEAD, IS_PLAYER, IsFlying(), move_movetype, movedir, MOVETYPE_NONE, NULL, projectiledeathtype, radius, RadiusDamage(), realowner, Send_Notification(), takedamage, velocity, weaponentity_fld, and WEP_CVAR_PRI.
Referenced by W_Mortar_Grenade_Explode_use(), and W_Mortar_Grenade_Think1().
Definition at line 30 of file mortar.qc.
References DAMAGE_AIM, DAMAGE_NO, DIFF_TEAM, entity(), func_null(), IS_DEAD, IS_PLAYER, IsFlying(), move_movetype, movedir, MOVETYPE_NONE, NULL, projectiledeathtype, radius, RadiusDamage(), realowner, Send_Notification(), takedamage, velocity, weaponentity_fld, and WEP_CVAR_SEC.
Referenced by W_Mortar_Grenade_Explode2_use().
Definition at line 50 of file mortar.qc.
References entity(), and W_Mortar_Grenade_Explode2().
Referenced by W_Mortar_Attack2().
Definition at line 25 of file mortar.qc.
References entity(), and W_Mortar_Grenade_Explode().
Referenced by W_Mortar_Attack().
Definition at line 69 of file mortar.qc.
References cnt, entity(), gl_bouncecnt, gl_detonate_later, HITTYPE_BOUNCE, nextthink, NULL, projectiledeathtype, time, W_Mortar_Grenade_Explode(), and WEP_CVAR_PRI.
Referenced by W_Mortar_Attack().
Definition at line 82 of file mortar.qc.
References ATTN_NORM, CH_SHOTS, DAMAGE_AIM, entity(), gl_bouncecnt, gravity, HITTYPE_BOUNCE, min(), movedir, MOVETYPE_NONE, nextthink, NULL, origin, PROJECTILE_TOUCH, projectiledeathtype, Send_Effect(), set_movetype(), SND_GRENADE_BOUNCE_RANDOM(), solid, SOLID_NOT, spamsound(), time, toucher, UpdateCSQCProjectile(), use, velocity, VOL_BASE, and WEP_CVAR_PRI.
Referenced by W_Mortar_Attack().
Definition at line 114 of file mortar.qc.
References ATTN_NORM, CH_SHOTS, DAMAGE_AIM, entity(), gl_bouncecnt, gravity, HITTYPE_BOUNCE, min(), movedir, MOVETYPE_NONE, nextthink, NULL, origin, PROJECTILE_TOUCH, projectiledeathtype, Send_Effect(), set_movetype(), SND_GRENADE_BOUNCE_RANDOM(), solid, SOLID_NOT, spamsound(), time, toucher, UpdateCSQCProjectile(), use, velocity, VOL_BASE, and WEP_CVAR_SEC.
Referenced by W_Mortar_Attack2().