Left 4 Dead 2

Left 4 Dead 2

431 ratings
[V-Script] Draw Animation on Upgrade Pickup
   
Award
Favorite
Favorited
Unfavorite
Game Content: Scripts
File Size
Posted
Updated
5.859 KB
7 Jan @ 7:13pm
6 Oct @ 6:09am
3 Change Notes ( view )

Subscribe to download
[V-Script] Draw Animation on Upgrade Pickup

Description
Plays your weapon's draw animation when picking up weapon upgrades.

Uses bits of code from E3 Style Upgrade Pickup Logic and Dual Pistol Pick-up Animation, so go check them out!

Settings can be changed in ems/upgrade_pickup_anim/Settings.cfg

This mod conflicts with Personal Ammo Packs, so either turn off the option that plays the animation when using ammo upgrades, or don't use both mods at the same time

Local/dedicated server only.
23 Comments
NachosChipeados  [author] 8 Oct @ 4:14pm 
So, just turn off "Play_OnAmmoUpgrades"
NachosChipeados  [author] 8 Oct @ 4:10pm 
@kouga that's because that mod triggers the OnGameEvent_receive_upgrade function when you reload, which in turn also triggers this mod to play the draw animation.

I don't think theres anything i can do about it other than list it as a conflicting mod in the description ¯\_(ツ)_/¯
kouga 8 Oct @ 2:40am 
hey i think the recent update's "Play_OnAmmoUpgrades" is kinda messing with Geebanger0's Personal Ammo Packs. that mod gives you upgrades when you reload. when that happens. you just become unable to shoot for like a good 1.5 seconds. not really sure why that is the case if you used code from E3 upgrade logic (because ive used your mod and theirs in the past without encountering this bug) but yeah.
AstroCatNip 16 Jul @ 4:42pm 
There is actually a simulare mod for fire/explosive rounds that makes you reload the new mag, still pretty cool though and synergyes perfectly with this mod.

https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3245285838
NachosChipeados  [author] 22 May @ 8:51pm 
I actually have that in my local version of the mod, but i never released it 'cause figuring out how to get settings working is annoying and i just gave up lol
B4LL-1NN 22 May @ 8:22pm 
Maybe drawing animations when picking up explosive or incendiary ammo would be nice too.

I know there's one with reload anims played, but that's slower than drawing out weapons.
Hikari Tachibana 29 Apr @ 6:49pm 
Raymoo arms
NachosChipeados  [author] 14 Apr @ 4:59am 
The mod is compatible with both of them. And yeah, none of these mods can cause the issue you described. You can even check the scripts yourself if you want to

It just sounds like you have a different, broken mod
Doomgamer9000 13 Apr @ 4:12pm 
Because I remember every time my character gets hit or incapped by tank my playermodel gets stuck unable to pick up any weapon in saferooms?
Doomgamer9000 13 Apr @ 4:10pm 
Is this compatible with E3 style upgrade pick up logic & dual pistol pick up animation?.