Left 4 Dead 2

Left 4 Dead 2

Weapon Script for .357 Magnum (Magnum Pistol)
12 Comments
StreetXChan 19 Nov, 2020 @ 7:51pm 
Alrighty, man!
Nate  [author] 19 Nov, 2020 @ 8:57am 
@StreetXChan
All I'm saying is rather than duplicate the whole workshop mod, ask the mod owner to recompile with lower fps for those particular animations. If they can't/won't, I can try my hand at it or a custom weapon script. I'm just not confident the weapon script would be effective since I've read contradictory info on it. Let me know what you find out!
StreetXChan 19 Nov, 2020 @ 8:47am 
Hmmmm I never checked the comments since most of the comments weren't in English. I'll try digging something up in those comments if people or the mod owner will do something about it.
Nate  [author] 18 Nov, 2020 @ 9:56pm 
@StreetXChan
Decompiling the model reveals in the .qc file that the animations for reload and reload empty are at a different fps than the common one I've seen (38, and 32 fps, respectively- I usually see 30 fps). I don't know if trying to edit the reload duration using scripts is a better idea or just having the mod owner recompile the models with a different fps for those animations. I'm leaning towards that, though. Have other people mentioned this issue to the mod owner and if so, what did he/she say?
StreetXChan 18 Nov, 2020 @ 9:16pm 
Yes. The animation speed is too fast, but the generic reload time is too slow, so I want them to just match. I'm still thanking you for trying, man. lmao it's not every day that a person can answer your requests.
Nate  [author] 18 Nov, 2020 @ 10:23am 
@StreetXChan
Don't thank me unless it works, I'm still unsure the variable in the weapon script actually affects anything. Give me a few days to unpack the vpk, decompile the model, view the .qc and animation durations, and adjust the weapon script. Just to be clear, the reload animation is fast, you want the script to make the actual weapon speed match the animation, correct?

I'll see what I can do but no promises.
Nate  [author] 17 Nov, 2020 @ 2:09pm 
@StreetXChan
I can make a script that you can try out and see. But so far everything I've read says they may not have an effect since it's the animation speed. Of course the information I have found is older, a few updates ago.

Can you please give a specific link so I don't have to hunt through all that persons (very nice!) submissions?
StreetXChan 17 Nov, 2020 @ 7:55am 
It's not a die-hard request, my man. It's only up to you if you're interested. Thanks! :)
StreetXChan 17 Nov, 2020 @ 7:54am 
It's the .50GS Desert Eagle, M4A1/MK18 and the Rytec AMR/XM109 from Pygame.D.Cthulu. They have super sweet COD 2019 anims and they're just too fast for the standard L4D2 reload speed. It would be great if you made a script to fit the reloads of these animations.
Nate  [author] 15 Nov, 2020 @ 9:22am 
@StreetXChan
I can try, I've seen varying and conflicting info that reload times are hardcoded into weapon animations and that scripts don't affect them but I have yet to try this personally. What's your request?
StreetXChan 15 Nov, 2020 @ 8:32am 
Hey man. Is it okay for me to request a script? It's just adjusting the reload time to fit the animations on a custom weapon mod.