Left 4 Dead 2

Left 4 Dead 2

1,349 个评价
[VScript] Weapon Timer Enforcer
2
2
   
奖励
收藏
已收藏
取消收藏
Game Content: Weapons, Scripts
文件大小
发表于
更新日期
33.425 KB
2023 年 9 月 5 日 下午 9:46
2023 年 9 月 25 日 下午 12:30
4 项改动说明 ( 查看 )

订阅以下载
[VScript] Weapon Timer Enforcer

描述
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.
热门讨论 查看全部(1)
0
2023 年 9 月 25 日 下午 12:26
置顶: HELP: Enforcements, Their Process and Customisations.
Orinuse
134 条留言
AlphaJonk 9 月 26 日 下午 9:29 
Im a bit dumb when reading codes cuz numbers makes eyesight starts to blur. I want to customized the reload speed. How do i do it?
GXRaiden 9 月 19 日 上午 4:47 
Gotcha gotcha, thanks
Orinuse  [作者] 9 月 19 日 上午 4:38 
It is a term that the animation-modders use, where "sequence" is short for "animation sequence".

[0] = sequence0
[1] = seq1
[2] = seq2_taunt

By nature, some sequences will come first, some later. When a model is being modded, it must follow the original sequence-order that Valve has used or they will break in official servers (desync, in other words).
GXRaiden 9 月 18 日 上午 9:45 
Hello, what do you mean by "sequence order is mismatched".. like does this script need to be before or after the weapon mods?
saxophone inhaler 8 月 20 日 上午 10:42 
i shouldnt have contributed to this. avoid :steamfacepalm:
Orinuse  [作者] 8 月 16 日 上午 5:37 
that's a step too far king gg :steamfacepalm:
mav  [作者] 8 月 12 日 下午 4:28 
:steamthumbsdown:
Major Sherman 8 月 12 日 下午 3:32 
i went to sandyhook elementary school and got killed by adam lanza. avoid:steamfacepalm:
TwPunch 8 月 7 日 上午 7:56 
i got deported. avoid :steamfacepalm:
Male_05 8 月 2 日 上午 10:28 
When I started gooning, my balls exploded. Avoid. :steamfacepalm: