|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "okrpc.qh"#include <common/items/item/ammo.qh>#include <common/mutators/mutator/overkill/overkill.qh>Go to the source code of this file.
Functions | |
| void | W_OverkillRocketPropelledChainsaw_Attack (Weapon thiswep, entity actor,.entity weaponentity) |
| void | W_OverkillRocketPropelledChainsaw_Damage (entity this, entity inflictor, entity attacker, float damage, int deathtype,.entity weaponentity, vector hitloc, vector force) |
| void | W_OverkillRocketPropelledChainsaw_Explode (entity this, entity directhitentity) |
| void | W_OverkillRocketPropelledChainsaw_Explode_think (entity this) |
| void | W_OverkillRocketPropelledChainsaw_Think (entity this) |
| void | W_OverkillRocketPropelledChainsaw_Touch (entity this, entity toucher) |
Variables | |
| float | m_chainsaw_damage |
| void W_OverkillRocketPropelledChainsaw_Attack | ( | Weapon | thiswep, |
| entity | actor, | ||
| .entity | weaponentity ) |
Definition at line 87 of file okrpc.qc.
References ammo, CH_WEAPON_A, CSQCProjectile(), DAMAGE_YES, damageforcescale, entity(), FL_PROJECTILE, g_bot_dodge, g_damagedbycontents, g_projectiles, health, IL_PUSH(), lifetime, Weapon::m_id, MOVETYPE_FLY, MUTATOR_CALLHOOK, PROJECTILE_MAKETRIGGER, PROJECTILE_RPC, set_movetype(), SetResourceExplicit(), setthink, settouch, spawn, speed, time, v_forward, W_DecreaseAmmo(), W_MuzzleFlash(), W_OverkillRocketPropelledChainsaw_Damage(), W_OverkillRocketPropelledChainsaw_Think(), W_OverkillRocketPropelledChainsaw_Touch(), W_SetupProjVelocity_Basic, W_SetupShot_ProjectileSize, w_shotdir, w_shotorg, and WEP_CVAR_PRI.
| void W_OverkillRocketPropelledChainsaw_Damage | ( | entity | this, |
| entity | inflictor, | ||
| entity | attacker, | ||
| float | damage, | ||
| int | deathtype, | ||
| .entity | weaponentity, | ||
| vector | hitloc, | ||
| vector | force ) |
Definition at line 37 of file okrpc.qc.
References entity(), GetResource(), TakeResource(), vector, W_CheckProjectileDamage(), W_OverkillRocketPropelledChainsaw_Explode_think(), and W_PrepareExplosionByDamage().
Referenced by W_OverkillRocketPropelledChainsaw_Attack().
Definition at line 7 of file okrpc.qc.
References accuracy_add(), DAMAGE_NO, DEATH_WEAPONOF, entity(), func_null(), m_chainsaw_damage, NULL, projectiledeathtype, radius, RadiusDamage(), realowner, takedamage, weaponentity_fld, WEP_CVAR, and WEP_CVAR_PRI.
Referenced by W_OverkillRocketPropelledChainsaw_Explode_think(), and W_OverkillRocketPropelledChainsaw_Touch().
Definition at line 23 of file okrpc.qc.
References entity(), NULL, and W_OverkillRocketPropelledChainsaw_Explode().
Referenced by W_OverkillRocketPropelledChainsaw_Damage().
Definition at line 51 of file okrpc.qc.
References accuracy_add(), accuracy_isgooddamage(), cnt, Damage(), DEATH_WEAPONOF, entity(), IS_PLAYER, m_chainsaw_damage, maxs, mins, MOVE_NORMAL, nextthink, normalize(), origin, projectiledeathtype, realowner, sys_frametime, time, trace_ent, UpdateCSQCProjectile(), vector, velocity, vlen(), weaponentity_fld, and WEP_CVAR_PRI.
Referenced by W_OverkillRocketPropelledChainsaw_Attack().
Definition at line 28 of file okrpc.qc.
References entity(), toucher, W_OverkillRocketPropelledChainsaw_Explode(), and WarpZone_Projectile_Touch().
Referenced by W_OverkillRocketPropelledChainsaw_Attack().
| float m_chainsaw_damage |
Definition at line 5 of file okrpc.qc.
Referenced by W_OverkillRocketPropelledChainsaw_Explode(), and W_OverkillRocketPropelledChainsaw_Think().