Left 4 Dead 2

Left 4 Dead 2

916 betyg
Current Item Drop on Immobilization
4
2
2
2
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Game Content: Scripts
Filstorlek
Lades upp
Uppdaterades
39.862 KB
18 mar @ 11:30
4 okt @ 9:06
22 ändringsnotiser ( visa )

Abonnera för att ladda ner
Current Item Drop on Immobilization

I 1 samling av tomaz
My L4D2 VScript Collection
25 artiklar
Beskrivning
My first "proper" VScript mod to refresh my coding skills and to familiarize myself with VScript. This makes it so that you drop the current item in your hand whenever you get grabbed by a SI or whenever you get immobilized in general. As a result, it adds a small new twist to your gameplay and kinda acts as a difficulty modifier.

FEATURES:
  • Any item in your hand can get dropped, including melees, throwables and health items, but not pistols (by default).
  • When grabbed by a Smoker, you'll still have a brief time window where you can save yourself and not have your item dropped, before getting pulled completely.
  • Anyone that is knocked by a Charger (not carried) can have their item dropped.
  • Slipping and grabbing on a ledge will cause your item to drop. Watch your step!
  • Getting punched by a Tank will result in having your item dropped.
  • Getting incapacitated will cause your item to drop.
  • Config file to tweak to your liking. Check out the pinned discussion to see what parameters you can change.

NOTE:
  • Although the pistols can technically be dropped, they really shouldn't be, so they've been blacklisted by default.
  • The dropped item instructor hints might not work as expected in some cases but it should work just fine in normal use cases.
  • In theory, bots will refrain from stealing your dropped weapons, but keep in mind that they'll still steal items such as throwables, pills, etc.

Like with pretty much every other VScript, this will only work in singleplayer or a locally hosted server.

This mod is probably janky so expect some bugs.
I still kinda suck at VScript so don't expect any more mods like this, at least not any time soon.

CREDITS:

I fully support & encourage edits of my mods. If you decide to upload your edit to the workshop or anywhere else, you are free to do so without needing to ask first, however please make sure that you credit me appropriately for the original work as well as any other authors that have contributed to the mod and provide a link to the mod that your edit is based on.

Populära diskussioner Visa alla (2)
2
1
27 okt @ 23:56
KLISTRAD: CONFIG
tomaz
1
30 apr @ 7:26
adsd
__19365OKUPA$
145 kommentarer
Agitatio 2 nov @ 3:40 
I see dropping on rock hits was already suggested before. Still planning to add that some day?
Agitatio 28 okt @ 0:05 
Config has that option. I don't know how you edited it and still asking for something that is in the config.
Doc903 20 okt @ 7:45 
Would you mind posting a second version that makes you drop... everything? I edited the cfg and losing the primary, secondary, pills, and healthkit is fun and chaotic. Could just call it hardmode.
daniel, the fool 12 okt @ 22:32 
Oh, Ellis lathered his hands in oil again. Dag nabbit...
rafix432maman 6 okt @ 5:31 
IS TOP ISTI L4D3
tomaz  [skapare] 5 okt @ 3:55 
not any that I know of
Gumbs 4 okt @ 22:52 
DOes it currently have notable errors? this is interesting
tomaz  [skapare] 4 okt @ 8:52 
oooohh that does seem a bit more practical, thanks!!
Interneted 3 okt @ 17:37 
Instead of check the projectile, you can use the m_bRedraw netprop on the item to fix the dupe, it will be set to 1 when thrown. ;)
Kyto 24 sep @ 13:57 
thanks! Really appreciate the mod you made here