|
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_Hagar_Attack (Weapon thiswep, entity actor,.entity weaponentity) |
| void | W_Hagar_Attack2 (Weapon thiswep, entity actor,.entity weaponentity) |
| void | W_Hagar_Attack2_Load (Weapon thiswep, entity actor,.entity weaponentity) |
| void | W_Hagar_Attack2_Load_Release (Weapon thiswep, entity actor,.entity weaponentity) |
| void | W_Hagar_Attack_Auto (Weapon thiswep, entity actor,.entity weaponentity, int fire) |
| void | W_Hagar_Damage (entity this, entity inflictor, entity attacker, float damage, int deathtype,.entity weaponentity, vector hitloc, vector force) |
| void | W_Hagar_Explode (entity this, entity directhitentity) |
| void | W_Hagar_Explode2 (entity this, entity directhitentity) |
| void | W_Hagar_Explode2_use (entity this, entity actor, entity trigger) |
| void | W_Hagar_Explode_use (entity this, entity actor, entity trigger) |
| void | W_Hagar_Touch (entity this, entity toucher) |
| void | W_Hagar_Touch2 (entity this, entity toucher) |
Variables | |
| float | hagar_loadbeep |
| float | hagar_loadblock |
| float | hagar_loadstep |
| float | hagar_warning |
Definition at line 78 of file hagar.qc.
References adaptor_think2use_hittype_splash(), 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, MIF_SPLASH, MOVETYPE_FLY, MUTATOR_CALLHOOK, PROJECTILE_HAGAR, PROJECTILE_MAKETRIGGER, set_movetype(), SetResourceExplicit(), setthink, settouch, time, vectoangles(), W_DecreaseAmmo(), W_Hagar_Damage(), W_Hagar_Explode_use(), W_Hagar_Touch(), W_MuzzleFlash(), W_SetupProjVelocity_PRI, W_SetupShot, w_shotdir, w_shotorg, and WEP_CVAR_PRI.
Referenced by W_Hagar_Attack_Auto().
Definition at line 124 of file hagar.qc.
References adaptor_think2use_hittype_splash(), ammo, CH_WEAPON_A, CSQCProjectile(), DAMAGE_YES, damageforcescale, entity(), FL_PROJECTILE, g_bot_dodge, g_damagedbycontents, g_projectiles, health, HITTYPE_SECONDARY, IL_PUSH(), Weapon::m_id, MIF_SPLASH, MOVETYPE_BOUNCEMISSILE, MUTATOR_CALLHOOK, PROJECTILE_HAGAR_BOUNCING, PROJECTILE_MAKETRIGGER, random(), set_movetype(), SetResourceExplicit(), setthink, settouch, time, vectoangles(), W_DecreaseAmmo(), W_Hagar_Damage(), W_Hagar_Explode2_use(), W_Hagar_Touch2(), W_MuzzleFlash(), W_SetupProjVelocity_SEC, W_SetupShot, w_shotdir, w_shotorg, and WEP_CVAR_SEC.
Definition at line 246 of file hagar.qc.
References ammo, Weapon::ammo_type, ATTN_NORM, CH_WEAPON_A, CH_WEAPON_B, entity(), game_starttime, GetResource(), hagar_load, hagar_loadbeep, hagar_loadblock, hagar_loadstep, hagar_warning, IT_UNLIMITED_AMMO, Weapon::m_id, PHYS_INPUT_BUTTON_ATCK, PHYS_INPUT_BUTTON_ATCK2, sound, state, time, TIMEOUT_ACTIVE, timeout_status, VOL_BASE, W_DecreaseAmmo(), W_Hagar_Attack2_Load_Release(), W_SwitchToOtherWeapon(), W_WeaponRateFactor(), weapon_load, weaponUseForbidden(), WEP_CVAR_SEC, Weapon::wr_checkammo1(), Weapon::wr_checkammo2(), WS_INUSE, and WS_READY.
Definition at line 172 of file hagar.qc.
References adaptor_think2use_hittype_splash(), autocvar_g_weaponspreadfactor, CH_WEAPON_A, CSQCProjectile(), DAMAGE_YES, damageforcescale, entity(), FL_PROJECTILE, g_bot_dodge, g_damagedbycontents, g_projectiles, hagar_load, hagar_loadstep, health, HITTYPE_SECONDARY, IL_PUSH(), Weapon::m_id, MIF_SPLASH, MOVETYPE_FLY, MUTATOR_CALLHOOK, NULL, PROJECTILE_HAGAR, PROJECTILE_MAKETRIGGER, random(), set_movetype(), SetResourceExplicit(), setthink, settouch, speed, time, v_forward, v_right, v_up, vectoangles(), vector, W_CalculateSpreadPattern(), W_Hagar_Damage(), W_Hagar_Explode2_use(), W_Hagar_Touch(), W_MuzzleFlash(), w_ready(), W_SetupProjVelocity_Explicit(), W_SetupShot, w_shotdir, w_shotorg, W_WeaponRateFactor(), weapon_prepareattack_do(), weapon_thinkf(), and WEP_CVAR_SEC.
Referenced by W_Hagar_Attack2_Load().
Definition at line 355 of file hagar.qc.
References ATTACK_FINISHED, entity(), IT_UNLIMITED_AMMO, time, w_getbestweapon, W_Hagar_Attack(), W_Hagar_Attack_Auto(), w_ready(), W_SwitchWeapon_Force(), W_WeaponRateFactor(), weapon_prepareattack_check(), weapon_thinkf(), WEP_CVAR_PRI, wframe, and Weapon::wr_checkammo1().
Referenced by W_Hagar_Attack_Auto().
| void W_Hagar_Damage | ( | entity | this, |
| entity | inflictor, | ||
| entity | attacker, | ||
| float | damage, | ||
| int | deathtype, | ||
| .entity | weaponentity, | ||
| vector | hitloc, | ||
| vector | force ) |
Definition at line 33 of file hagar.qc.
References angles, entity(), GetResource(), getthink, HITTYPE_SECONDARY, NULL, owner, projectiledeathtype, TakeResource(), vectoangles(), vector, velocity, W_CheckProjectileDamage(), W_PrepareExplosionByDamage(), and WEP_CVAR_SEC.
Referenced by W_Hagar_Attack(), W_Hagar_Attack2(), and W_Hagar_Attack2_Load_Release().
Definition at line 7 of file hagar.qc.
References entity(), func_null(), NULL, projectiledeathtype, radius, RadiusDamage(), realowner, weaponentity_fld, and WEP_CVAR_PRI.
Referenced by W_Hagar_Explode_use().
Definition at line 20 of file hagar.qc.
References entity(), func_null(), NULL, projectiledeathtype, radius, RadiusDamage(), realowner, weaponentity_fld, and WEP_CVAR_SEC.
Referenced by W_Hagar_Explode2_use().
Definition at line 28 of file hagar.qc.
References entity(), and W_Hagar_Explode2().
Referenced by W_Hagar_Attack2(), and W_Hagar_Attack2_Load_Release().
Definition at line 15 of file hagar.qc.
References entity(), and W_Hagar_Explode().
Referenced by W_Hagar_Attack().
Definition at line 57 of file hagar.qc.
References entity(), NULL, PROJECTILE_TOUCH, toucher, and use.
Referenced by W_Hagar_Attack(), and W_Hagar_Attack2_Load_Release().
Definition at line 63 of file hagar.qc.
References angles, cnt, DAMAGE_AIM, entity(), HITTYPE_BOUNCE, NULL, origin, owner, PROJECTILE_TOUCH, projectiledeathtype, Send_Effect(), toucher, use, vectoangles(), and velocity.
Referenced by W_Hagar_Attack2().
| float hagar_loadbeep |
Definition at line 171 of file hagar.qc.
Referenced by W_Hagar_Attack2_Load().
| float hagar_loadblock |
Definition at line 171 of file hagar.qc.
Referenced by W_Hagar_Attack2_Load().
| float hagar_loadstep |
Definition at line 171 of file hagar.qc.
Referenced by W_Hagar_Attack2_Load(), and W_Hagar_Attack2_Load_Release().
| float hagar_warning |
Definition at line 171 of file hagar.qc.
Referenced by W_Hagar_Attack2_Load().