From 867a257a4975b61ce84fddc935aef409b55b7d09 Mon Sep 17 00:00:00 2001 From: Antoine Fontaine Date: Mon, 12 Dec 2022 21:28:25 +0100 Subject: [PATCH] Throw grenades instead of just dropping them on the floor This also lowers the added speed a bit to avoid throwing them unreasonably far --- configs/missiles/firebomb.attr.cfg | 4 ++-- configs/missiles/grenade.attr.cfg | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/missiles/firebomb.attr.cfg b/configs/missiles/firebomb.attr.cfg index 62b9a88b..503335eb 100644 --- a/configs/missiles/firebomb.attr.cfg +++ b/configs/missiles/firebomb.attr.cfg @@ -10,8 +10,8 @@ clipmask MASK_SHOT size 3 trajectory TR_GRAVITY -speed 400 -lag 0.0 // TODO: Add a fitting lag +speed 320 +lag 0.8 // portion of the velocity of the player which is added to the projectile speed doKnockback bounceHalf diff --git a/configs/missiles/grenade.attr.cfg b/configs/missiles/grenade.attr.cfg index a942ce5f..9f94fb1f 100644 --- a/configs/missiles/grenade.attr.cfg +++ b/configs/missiles/grenade.attr.cfg @@ -10,8 +10,8 @@ clipmask MASK_SHOT size 3 trajectory TR_GRAVITY -speed 400 -lag 0.0 // TODO: Add a fitting lag +speed 320 +lag 0.8 // portion of the velocity of the player which is added to the projectile speed doKnockback bounceHalf