From: bones_was_here Date: Sat, 24 Dec 2022 11:42:20 +0000 (+1000) Subject: Make bullet cases more bouncy than shell cases X-Git-Tag: xonotic-v0.8.6~235^2~6 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=dc5a8ddfc5a4a9371de7bbee815cc192898939be;p=xonotic%2Fxonotic-data.pk3dir.git Make bullet cases more bouncy than shell cases --- diff --git a/qcsrc/common/effects/qc/casings.qc b/qcsrc/common/effects/qc/casings.qc index 0e851da7f..95e90a149 100644 --- a/qcsrc/common/effects/qc/casings.qc +++ b/qcsrc/common/effects/qc/casings.qc @@ -167,7 +167,6 @@ NET_HANDLE(casings, bool isNew) casing.velocity += 2 * prandomvec(); casing.avelocity = '0 250 0' + 100 * prandomvec(); set_movetype(casing, MOVETYPE_BOUNCE); - casing.bouncefactor = 0.25; settouch(casing, Casing_Touch); casing.move_time = time; casing.event_damage = Casing_Damage; @@ -177,10 +176,12 @@ NET_HANDLE(casings, bool isNew) { case 1: setmodel(casing, MDL_CASING_SHELL); + casing.bouncefactor = 0.25; casing.cnt = time + autocvar_cl_casings_shell_time; break; default: setmodel(casing, MDL_CASING_BULLET); + casing.bouncefactor = 0.5; casing.cnt = time + autocvar_cl_casings_bronze_time; break; }