Left 4 Dead 2

Left 4 Dead 2

1,318 ratings
[VScript] Weapon Timer Enforcer
2
2
   
Award
Favorite
Favorited
Unfavorite
Game Content: Weapons, Scripts
File Size
Posted
Updated
33.425 KB
Sep 5, 2023 @ 9:46pm
Sep 25, 2023 @ 12:30pm
4 Change Notes ( view )

Subscribe to download
[VScript] Weapon Timer Enforcer

Description
Your weapon mods might be changing the duration of your draw and reload!

Deploys and reloads don't have a set duration, they take their server-sided animation's duration. So on local servers where the hoster uses animation mods.. well in short, it's bad news to players accustomed to the default durations. To that bad news earlier, I propose a solution: Subscribe to my script, because it will enforce the vanilla animation timers' durations on reloads and deploys. Layers? Who told you about that?

So how does it work? To start, there's a file named 'ems/orin/wte_data_default.txt', and inside it is data of the durations and animation sequence IDs for the relevant vanilla timers. That file is read when the script first runs, then cached. The default file can't and shouldn't be edited, instead create a copy of the default file as 'left4dead2/ems/orin/wte_data.txt' then edit your new file. Don't leave out the documentation inside.

I hope my script services you well, have a good one.

Warning!
This script relies on sequence order. In local servers, if your weapon mods act strange after installing my script (having strangely-timed deploys or reloads), then the sequence order is mismatched and you must customise your own 'left4dead2/ems/orin/wte_data.txt' file.

Launch the game with the "-dev" option to enable debug information on weapon sequences. You must also start a session using the "map" console command.

Credits
> mav - Commissioner of this valuable modding asset.
> hckrmnasia - Technical advisor.
Popular Discussions View All (1)
0
Sep 25, 2023 @ 12:26pm
PINNED: HELP: Enforcements, Their Process and Customisations.
Orinuse
130 Comments
dutch Aug 20 @ 10:42am 
i shouldnt have contributed to this. avoid :steamfacepalm:
Orinuse  [author] Aug 16 @ 5:37am 
that's a step too far king gg :steamfacepalm:
mav  [author] Aug 12 @ 4:28pm 
:steamthumbsdown:
Major Sherman Aug 12 @ 3:32pm 
i went to sandyhook elementary school and got killed by adam lanza. avoid:steamfacepalm:
TwPunch Aug 7 @ 7:56am 
i got deported. avoid :steamfacepalm:
Angry Pisser Aug 2 @ 10:28am 
When I started gooning, my balls exploded. Avoid. :steamfacepalm:
iPixl Jul 28 @ 9:51am 
my house burn. avoid :steamfacepalm:
sundance shot ps2 2001 Jul 28 @ 7:25am 
repeats a certain instance of time eternally. avoid :steamfacepalm:
soggy cereal Jul 19 @ 2:57pm 
ate my dog. avoid :steamfacepalm:
dutch Jul 18 @ 7:40am 
kils my famly. avoid :steamfacepalm: