Left 4 Dead 2

Left 4 Dead 2

907 lượt đánh giá
[VScript] Weapon Timer Enforcer
2
2
   
Giải thưởng
Yêu thích
Đã yêu thích
Bỏ thích
Game Content: Weapons, Scripts
Kích cỡ file
Đã đăng
Đã cập nhật
33.425 KB
5 Thg09, 2023 @ 9:46pm
25 Thg09, 2023 @ 12:30pm
4 ghi chú thay đổi ( xem )

Đăng ký để tải xuống
[VScript] Weapon Timer Enforcer

Mô tả
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.
Thảo luận nổi bật Xem tất cả (1)
0
25 Thg09, 2023 @ 12:26pm
ĐÁNH DẤU: HELP: Enforcements, Their Process and Customisations.
Orinuse
95 bình luận
Black Wolf 23 Thg07 @ 3:20pm 
thank you for your answer!
Orinuse  [tác giả] 23 Thg07 @ 12:33pm 
@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 21 Thg07 @ 6:30pm 
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  [tác giả] 19 Thg06 @ 2:45am 
@⋁ɪʀᴜѕ™ 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!
⋁ɪʀᴜѕ™ 16 Thg06 @ 3:59am 
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  [tác giả] 10 Thg06 @ 6:45am 
@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 8 Thg06 @ 2:10am 
"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 18 Thg04 @ 10:13am 
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 31 Thg01 @ 3:38pm 
Is it possible to include the chainsaw? I would like to speed up the equip animation
T626 31 Thg01 @ 8:56am 
@Orinuse Thank you.