|
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_Shotgun_Attack (Weapon thiswep, entity actor,.entity weaponentity, float isprimary, float ammocount, float damage, float falloff_halflife, float falloff_mindist, float falloff_maxdist, float bullets, float spread, float spread_pattern, float spread_pattern_scale, float spread_pattern_bias, float solidpenetration, float force, float falloff_forcehalflife, entity bullet_trail_effect) |
| void | W_Shotgun_Attack2 (Weapon thiswep, entity actor,.entity weaponentity, int fire) |
| void | W_Shotgun_Attack3_Frame1 (Weapon thiswep, entity actor,.entity weaponentity, int fire) |
| void | W_Shotgun_Attack3_Frame2 (Weapon thiswep, entity actor,.entity weaponentity, int fire) |
| void | W_Shotgun_Melee_Think (entity this) |
Variables | |
| float | prevric |
| float | shotgun_primarytime |
| entity | swing_alreadyhit |
| float | swing_prev |
| void W_Shotgun_Attack | ( | Weapon | thiswep, |
| entity | actor, | ||
| .entity | weaponentity, | ||
| float | isprimary, | ||
| float | ammocount, | ||
| float | damage, | ||
| float | falloff_halflife, | ||
| float | falloff_mindist, | ||
| float | falloff_maxdist, | ||
| float | bullets, | ||
| float | spread, | ||
| float | spread_pattern, | ||
| float | spread_pattern_scale, | ||
| float | spread_pattern_bias, | ||
| float | solidpenetration, | ||
| float | force, | ||
| float | falloff_forcehalflife, | ||
| entity | bullet_trail_effect ) |
Definition at line 8 of file shotgun.qc.
References antilag_getlag(), antilag_restore_all(), antilag_takeback_all(), autocvar_g_casings, autocvar_g_weaponspreadfactor, bound(), CH_WEAPON_A, CH_WEAPON_SINGLE, entity(), fireBullet_falloff(), Weapon::m_id, makevectors, random(), SpawnCasing(), v_forward, v_right, v_up, vectoangles(), vector, W_CalculateSpreadPattern(), W_DecreaseAmmo(), W_MuzzleFlash(), W_SetupShot, w_shotdir, and w_shotorg.
Referenced by W_Shotgun_Attack3_Frame1(), and W_Shotgun_Attack3_Frame2().
Definition at line 177 of file shotgun.qc.
References ATTEN_NORM, CH_WEAPON_A, entity(), HITTYPE_SECONDARY, new_pure, setthink, sound, time, VOL_BASE, w_ready(), W_SetupShot_Range, W_Shotgun_Melee_Think(), W_WeaponRateFactor(), weapon_thinkf(), and WEP_CVAR_SEC.
Definition at line 219 of file shotgun.qc.
References ammo, entity(), IT_UNLIMITED_AMMO, w_getbestweapon, w_ready(), W_Shotgun_Attack(), W_Shotgun_Attack3_Frame2(), W_SwitchWeapon_Force(), weapon_thinkf(), WEP_CVAR_PRI, WEP_CVAR_SEC, and Weapon::wr_checkammo2().
Definition at line 191 of file shotgun.qc.
References ammo, ATTN_NORM, CH_WEAPON_SINGLE, entity(), IT_UNLIMITED_AMMO, sound, VOL_BASE, w_getbestweapon, w_ready(), W_Shotgun_Attack(), W_SwitchWeapon_Force(), weapon_thinkf(), WEP_CVAR_PRI, WEP_CVAR_SEC, and Weapon::wr_checkammo2().
Referenced by W_Shotgun_Attack3_Frame1().
Definition at line 73 of file shotgun.qc.
References accuracy_add(), accuracy_isgooddamage(), ANTILAG_LATENCY, bound(), cnt, Damage(), DAMAGE_NO, entity(), HITTYPE_SECONDARY, IS_CLIENT, IS_DEAD, IS_MONSTER, IS_PLAYER, makevectors, min(), nextthink, NULL, realowner, Send_Effect(), swing_alreadyhit, swing_prev, time, trace_endpos, trace_ent, trace_fraction, v_forward, v_right, v_up, vector, W_PlayStrengthSound(), W_WeaponRateFactor(), WarpZone_traceline_antilag(), and WEP_CVAR_SEC.
Referenced by W_Shotgun_Attack2().
| float prevric |
Definition at line 381 of file shotgun.qc.
| float shotgun_primarytime |
Definition at line 247 of file shotgun.qc.
| entity swing_alreadyhit |
Definition at line 72 of file shotgun.qc.
Referenced by W_Shotgun_Melee_Think().
| float swing_prev |
Definition at line 71 of file shotgun.qc.
Referenced by W_Shotgun_Melee_Think().