ReGameDLL_CS icon indicating copy to clipboard operation
ReGameDLL_CS copied to clipboard

New Cvar: `mp_drop_grenade_enable`

Open JulioBarker opened this issue 3 years ago • 9 comments

Allow players to drop grenades from their inventory

JulioBarker avatar Oct 12 '22 18:10 JulioBarker

I might recommend to put a CVar via flags (or, via short names at the suite like for the CVar "mp_t_default_grenades") in order to control the manual drop "per grenade", then put the CVar code inside each function "*::CanDrop". Like I did for a module here, so, more customizable.

StevenKal avatar Oct 14 '22 16:10 StevenKal

regame is slowly turning into a circus

Vaqtincha avatar Oct 15 '22 18:10 Vaqtincha

@JulioBarker need changes

wopox1337 avatar Nov 24 '22 21:11 wopox1337

then players will start spamming with grenades. and you will add another million cvars to control it.

IMHO it's better to do this with 3rd party plugins.

Vaqtincha avatar Nov 25 '22 05:11 Vaqtincha

What else will happen if I have 2 flash? Will drop everything. Although it should be one at a time, but this requires an additional code.

Vaqtincha avatar Nov 28 '22 05:11 Vaqtincha

IMO, this should be a 3rd party plugin. Idea is good, but:

  1. Dropping grenade per grenade would spam world with entities (considering you can extend grenade carry limit), leading to (2)
  2. If you have ammo > 1, then you'll drop a single grenade weaponbox containing +2 ammo on it, which is aesthetically uncomfortable, leading to (3)
  3. Use a different model (ammo box maybe? something like models/w_argrenade.mdl) for grenade weaponboxes but only when ammo > 1, but that will turn this to an extra feature, and an extra model precaching, leading to go outside the limits of the purpose of this project.

dystopm avatar Jul 13 '23 03:07 dystopm

Бесполезно. Зачем вообще бросать гранату на землю? Чтобы засорять карту флудом?

Vaqtincha avatar Aug 09 '24 19:08 Vaqtincha

Бесполезно. Зачем вообще бросать гранату на землю? Чтобы засорять карту флудом?

And why talk in Russian when you can do efforts to talk in English! Still same shits with you!

StevenKal avatar Aug 09 '24 20:08 StevenKal