Garry's Mod

Garry's Mod

Black Ops C4 (Sandbox) (2025 Update)
This topic has been locked
Quick fix "Slow equip" animation
In short, this SWEP didn't have a individual deploy speed(Not sure, I just read various .lua to assume, I have no experience with those APIs) and affected by the global value, which is "sv_defaultdeployspeed", currently in my modlist I found out the "HL2 MMOD Weapon Replacements Redux" got a function that inserts the command line changed this value from 4 to 1.

So that's why feel so f* up when put out the C4.

It could be harder to deal with MMOD mod, since the dev took such a lazy way on implement and for me I am just new here! So why not deal with this instead, it's much easier.

After I searched & tested for both a while, this method below works fine for me.

====================TL;DR===================

Find "../shared.lua" under this mod's filepath, and add follow lines:

function SWEP:Initialize() self:SetDeploySpeed(4.0) end

Besides, find the function Deploy, insert "self:SetDeploySpeed(4.0)" again.

The second step might not be needed, I didn't do further test.
Last edited by Oversights2006_; 20 Nov, 2024 @ 7:43pm
< >
Showing 1-2 of 2 comments
Hoff  [developer] 17 Dec, 2024 @ 2:31pm 
Issue is now fixed, sorry for the delay!!
Oversights2006_ 20 Dec, 2024 @ 9:12am 
Originally posted by Hoff:
Issue is now fixed, sorry for the delay!!
Sure! Thanks!
< >
Showing 1-2 of 2 comments
Per page: 1530 50