Left 4 Dead 2

Left 4 Dead 2

907 个评价
[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.

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
95 条留言
Black Wolf 7 月 23 日 下午 3:20 
thank you for your answer!
Orinuse  [作者] 7 月 23 日 下午 12:33 
@Black Wolf Oops, sorry! Let me respond to both:
1) Even if the script could, melees are structured differently so complete support is probably not guaranteed currently. It may be possible to support.. but no guarantees! :S
2) The Chainsaw deploy, right? Sadly It needs the actual hacking that Sourcemod is famous for, sorry!
Black Wolf 7 月 21 日 下午 6:30 
Hey, i love this mod
Is it possible to change the animations of melee? I have been trying but it doesn't seem to work.
And sorry to ask again, what about the Chainsaw? You replied to everyone but me ;-;
Orinuse  [作者] 6 月 19 日 上午 2:45 
@⋁ɪʀᴜѕ™ Oh dear, but sorry, I do not know for sure. Once you mod beyond the scope of my script's tools, anything is possible and you'd have to brace yourself for anything!
⋁ɪʀᴜѕ™ 6 月 16 日 上午 3:59 
When i try to do it on dedicated server, customized wte_data.txt and all weapons scripts located left4dead2/scripts/ (weapon_autoshotgun, weapon_smg ect.) too. After that reload animation being faster but some animation statter after reload. Whats problem?
Orinuse  [作者] 6 月 10 日 上午 6:45 
@Dusk Holloway Sorry! The file is located inside the VPK file.

@tonGreNto This script takes full control and forces the weapons to act according to it, a customised version of the script's textfile of data would be required! Sorry for the trouble!
Dusk Holloway 6 月 8 日 上午 2:10 
"To start, there's a file named 'ems/orin/wte_data_default.txt'," Nothing in that folder for me, restart, turn off every mod leaving this the only thing, nothing.
tonGreNto 4 月 18 日 上午 10:13 
if i modify a weapon mod, _layer anim is longer than non_layer anim, and non_layer anim has the same frames and fps as the original anim, so that I can interrupt the _layer anim because non_layer anim has finished playing (non_layer anim is a timer, _layer anim is the real anim you can see in the game). But if I using this mod, the _layer anim couldn't interrupt anymore, the game forces animation play completely, I dont know why
Black Wolf 1 月 31 日 下午 3:38 
Is it possible to include the chainsaw? I would like to speed up the equip animation
T626 1 月 31 日 上午 8:56 
@Orinuse Thank you.