Left 4 Dead 2

Left 4 Dead 2

71 ratings
Grenadier Mode (Vscript)
   
Award
Favorite
Favorited
Unfavorite
Game Content: Scripts
Game Modes: Single Player, Co-op
Weapons: Throwable
File Size
Posted
Updated
93.438 KB
20 Aug, 2024 @ 9:49am
16 Apr @ 9:15am
7 Change Notes ( view )

Subscribe to download
Grenadier Mode (Vscript)

In 1 collection by kurochama
Useful "Side-Dish" Mods (Especially for Bots)
46 items
Description
This mod is a feature from "Merciless Bots" mod. I simply made this as a standalone mod, with some changes.

"Q: What does this mod do?"
"A: This mod allows you to carry more than one type of grenade"

Normally, you can only carry one grenade of one type (only pipe bomb, molotov, or bile bomb). But with this mod, you can pick all & store them in virtual inventory.

There are 3 features available in "grenadier mode cfg.txt" file:
  1. Grenadier Mode: This controls whether grenade can be dropped or not, & whether the grenade will be removed from spawn spot when picked.
  2. Grenade Limit: This controls how many grenades of each type you can carry. Max value is 10 (10 grenades of each type).
  3. Grenadier Notification: This controls whether a notification will pop up on each grenade picked or thrown.
  4. Allow Bots To Use Inventory: When enabled, bots can pick grenade from their virtual inventory when they reload their guns. This feature is only useful if you use some mods that allow bots to pick & throw grenade.

Here are some simple mechanisms of how this mod works:
  • Each time you pick a grenade, the amount of grenade is added & virtual inventory will be updated.
  • Press USE (E) + SHOVE & shove any objects (wall, ground, table, zombie, etc) to pick grenade from inventory when you don't have any in grenade slot.
  • Press USE + SHOVE while holding a grenade & shove any objects to switch between grenades you have in virtual inventory.
  • Press RELOAD + SHOVE while holding a grenade & shove any objects to store the grenade in hand into virtual inventory (in case if you want to stock same type of grenade without having to switch the grenade in hand).
  • Here's the cycle mechanism of the grenades: bile bomb > molotov > pipe bomb > bile bomb > etc.
  • Virtual inventory will be reset when finishing a finale or disconnected. When disconnected, only the disconnected survivor has the grenade counts reset to 0.

So, with this mod, you can pick all grenades you find along the way & throw them all at zombies.

NOTES:
  • A video preview will be added later.
  • This mod might cause a "beneficial bug" when used together with a mod that allows a survivor to give grenade to bots or other survivors.
Popular Discussions View All (1)
10
16 Apr @ 9:21am
PINNED: Grenadier Mode Bug Reports
kurochama
7 Comments
Aleph_Null 26 Mar @ 6:53pm 
@kurochama
like keybinding to a hotkey instead of e+shove to switch between nades or r+shove to store them into the inventory
kurochama  [author] 26 Mar @ 5:37pm 
@Aleph_Null , what kind of keybind? Do you want to skip the cycle mechanism, like picking pipe bomb instantly instead of swapping the grenade first from bile > molotov > pipe bomb?
As for the missing grenade when picking a grenade when your grenade is already maxed, probably there's nothing I can do for that, as the virtual inventory only registers the number of grenades & caps the max grenade. You can swap grenades first if you're not sure whether your grenade inventory is maxed or not, to prevent from wasting the next grenades you pick because the virtual inventory is already full.
Aleph_Null 26 Mar @ 4:33pm 
also i seem to have discover a bug where with grenade limit = 1, if i were to pick up a throwable with the same throwable in my virtual inventory not currently equipped, the one in the inventory gets deleted
Aleph_Null 26 Mar @ 4:28pm 
is there anyway to keybind the virtual inventory?
Hazel 21 Jan @ 10:38pm 
It would be great if you change the button to swap bombs, hotkey or something.
Ambatunissan 21 Aug, 2024 @ 12:26am 
Halo vibes. Nicely done. Keep it up
ArxShark 20 Aug, 2024 @ 5:15pm 
this is nice indeed