Standalone grenades mod

Projects that alter game functions but do not include new maps belong here.
Forum rules
The Projects forums are only for projects. If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.
Post Reply
Kzer-Za
Posts: 521
Joined: Sat Aug 19, 2017 11:52 pm
Graphics Processor: nVidia (Modern GZDoom)

Standalone grenades mod

Post by Kzer-Za »

Here's a small mod that adds hand grenades. It can be used with vanilla Doom or with other weapon mods. As far as I can tell, it should be compatible with any weapon mod, but I may be wrong. It definitely is compatible with Beautiful Doom (in fact, I made it specifically to use in conjunction with BD).

The grenades are accessible as a separate weapon (slot 8) and there is a quick throw key (by default, G). If you select them as a currently equipped weapon, then primary attack lets you increase the force (distance) of the throw as you hold it. Alt fire lets you remove the pin. The grenades explode three seconds after pulling the pin (primary attack pulls the pin immediately before the throw) or upon collision with a bleeding enemy.

Quick throw is available both when you have some other weapon selected, and with grenades selected as well. It throws a grenade with the force approx medium between the max and min force of the primary attack.

Grenades submerge in liquids (lava, blood, water, slime) even when you play without mods that add definitions of liquid terrains, but it is desirable to have a mod that adds such definitions (e.g. Beautiful Doom) if you want to have splashes and splash sounds when grenades hit liquids. I decided that adding splashes and sounds into this mod is beyond the scope and could conflict with terrain-defining mods. After submerging, grenades still travel a short distance (shorter than on a solid floor) and explode when the timer runs out, same as on solid floors.

You start with 3 grenades, and get 2 grenades from each backpack. Max amount without a backpack is 10, with a backpack it's 20. These grenades are not dropped by any creature, but you find 1 grenade in the center of each secret sector, so it's an additional incentive to hunt for secrets :)

The explosion damage is equal to that of a vanilla rocket, but the radius of the explosion is somewhat wider.

This mod is also compatible with graphics-enhancing mods: the grenades would stay the same, of course; but the FX of the explosion would use the effects of whatever is replacing the vanilla rocket, so if you have a rocket with some fancy explosion effects, the grenades are gonna use those :) I'm a little proud of that trick :)

Screenshots:
Spoiler:
Credits:
Spoiler:
Potential improvements:
Spoiler:
Attachments
KZ_Standalone_Grenades.zip
(87.38 KiB) Downloaded 845 times
User avatar
Spaceman333
Posts: 648
Joined: Thu Oct 13, 2016 8:40 pm

Re: Standalone grenades mod

Post by Spaceman333 »

They feel a bit too rare and low powered overall.

UAC Survival Pack exists as another grenade addon mod. It adds grenades, pipebombs, flares and satchel charges, along with full customization on how many each of them spawn in in a level. Despite originally for brutal doom, it also includes a standalone version that is compatible with any mod, including vanilla.

https://www.moddb.com/mods/brutal-doom/ ... l-doom-v19
Kzer-Za
Posts: 521
Joined: Sat Aug 19, 2017 11:52 pm
Graphics Processor: nVidia (Modern GZDoom)

Re: Standalone grenades mod

Post by Kzer-Za »

Thanks for the link, I didn't know about these mods.

However, my mod wouldn't be affected by them even if I knew. It's a matter of personal preference — for me these explosives feel overpowered. I also intentionally made the amount of grenades rather sparse, because if you get too much ammo compared to what is provided by the map designer, it makes the game easier than intended. My goal was for grenades to give you an additional tactical option without shifting the feeling of difficulty too much.

Also the UAC Survival Pack spawns its explosives randomly. You can adjust how often they are spawned, but it's still a random process, and I hate randomness and get rid of it wherever I can. Among my personal gameplay tweaks there is even one that unrandomizes all damage done both by you and by all monsters. So, my mod also spawns grenades predictably, and where you found a grenade on one playthrough, you will 100% get it on another playthrough. Like I said, it's a matter of personal preference, many people like playing with mods that randomize their gameplay, but I, of course, would not make a mod that I would not like to use myself :)

Another difference is that I carefully adjusted all bouncing parameters of my grenades, while bouncing behavior in UAC Survival Pack, IMHO, lacks polish. Grenades there bounce okay (though mine still bounce better), but satchels are not so okay. When they hit the ceiling, they immediately fall down, regardless of the speed at the moment of collision, while off the walls they bounce as if they were basketballs :) The first time I saw it, I even had the impression that the speed of the satchel after the bounce was higher than before the collision :)

Besides, all explosives from the UAC Survival Pack behave on liquids as on solid floors. Well, it's also a matter of personal preference: if someone doesn't pay attention to such details, it's their business; but for me, when a grenade not only bounces on water/slime/blood like on a floor, but even makes the same bouncing sound, like it's hitting something solid — for me it's a jarring experience.

Nevertheles, thanks for the link, especially considering that the archive also contains another mod, Misc_Doors_Slow_and_Stay_Open_Standalone. Though the mod itself I probably won't use, but from it I learned about XLAT lump and what can be done with it, and that definitely will come in handy in the future :)
TolgaKerem07
Posts: 22
Joined: Thu Apr 04, 2024 12:54 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Location: E5M1 (Türkiye)

Re: Standalone grenades mod

Post by TolgaKerem07 »

If anyone is interested, I modified the mod a bit with my sketchy coding knowledge. Because it's my favorite grenade mode so far and I adjusted it to suit myself.

Changes:
  1. Various Gun Bonsai adjustments.
  2. Increased the quick launch speed, minimum and maximum launch speed.
  3. Reduced the time to reach maximum launch speed.
  4. There is a small amount of delay after throwing grenade with Quick Throw, so gun bonsai points and perks work properly
  5. Increased bounciness, because grenade lifespan is now much reduced

Drive Link

Abandoned. Too much problem to handle
Last edited by TolgaKerem07 on Sat Apr 20, 2024 7:49 am, edited 2 times in total.
cosmos10040
Posts: 202
Joined: Mon Dec 20, 2021 6:16 am
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: Standalone grenades mod

Post by cosmos10040 »

Seems access to googledrive is needed
Post Reply

Return to “Gameplay Mods”