WEAPON_EGON: Add shake effect to the impacted region, where the beam hits
to be more close to OG Half-Life
This commit is contained in:
parent
b786643e43
commit
e536f11c74
|
@ -196,6 +196,7 @@ void w_egon_primary(void)
|
||||||
vector endpos = src + v_forward * 1024;
|
vector endpos = src + v_forward * 1024;
|
||||||
traceline(src, endpos, FALSE, pl);
|
traceline(src, endpos, FALSE, pl);
|
||||||
Damage_Radius(trace_endpos, pl, 14, 64, TRUE, DMG_ELECTRO);
|
Damage_Radius(trace_endpos, pl, 14, 64, TRUE, DMG_ELECTRO);
|
||||||
|
Client_ShakeOnce(trace_endpos, 128, 0.2, 1.0, 1.0f);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
pl.ammo_uranium--;
|
pl.ammo_uranium--;
|
||||||
|
|
Loading…
Reference in New Issue