Left 4 Dead 2

Left 4 Dead 2

974 évaluations
[VScript] Weapon Timer Enforcer
2
2
   
Récompenser
Ajouter aux favoris
Favoris
Retirer des favoris
Game Content: Weapons, Scripts
Taille du fichier
Publié le
Mis à jour le
33.425 KB
5 sept. 2023 à 21h46
25 sept. 2023 à 12h30
4 notes de changement ( voir )

S'abonner pour télécharger
[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.

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.
Discussions populaires Tout voir (1)
0
25 sept. 2023 à 12h26
ÉPINGLÉ : HELP: Enforcements, Their Process and Customisations.
Orinuse
100 commentaires
♥ Rayne ♥ 15 sept. à 22h41 
This is bugged in local multiplayer. Makes everyone besides the host play the helping hand animation when firing the single pistol, even with the stock no mods pistol.
Orinuse  [créateur] 3 sept. à 6h28 
Sorry to disappoint.. that is sadly not possible without hacking! :(
Kaleidø (Evil and fucked up) 31 aout à 17h34 
pill mods ALSO will cause delays, you think you could add a fix to this for this mod too?
Orinuse  [créateur] 26 aout à 7h17 
Hmm, if you have Sourcemod then would this Sourcemod plugin [forums.alliedmods.net] count? Though, I'm not sure what sort of mod could cause this.. so I'm sorry if it doesn't end up helping!
RageGamer 25 aout à 8h10 
Orinuse, I don't know if you could possibly make this, but could you make a weapon ammo enforcer, because one of my mods is increasing my shotgun ammo, but I don't know what it is. I have no "Better Shotgun" mods installed, so could you please make a weapon ammo enforcer if you could? Thank you!
Black Wolf 23 juil. à 15h20 
thank you for your answer!
Orinuse  [créateur] 23 juil. à 12h33 
@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 juil. à 18h30 
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  [créateur] 19 juin à 2h45 
@⋁ɪʀᴜѕ™ 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 juin à 3h59 
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?