Adjusts player movespeed based on how many SWEPs are equipped
A Garry's Mod addon that adjusts players movement speed based on the amount of weapons they have equiped. This was done to discourage carrying large amount of weapons at one time.
This addons also adds commands that allow players to remove and drop their weapons.
All weapons have a weight of 1
by default, you can change this default weight by adding your weapon to the weaponWeights table
in lua/autorun/server/sv_pvp_movespeed.lua
A players weight is the weight of all their weapons added together. This number is passed to the function movementMultiplier
in
lua/autorun/server/sv_pvp_movespeed.lua
to calculate a movement speed multiplier
/dropall
deletes all weapons from the players inventory and resets their movespeed/drop
drop the held weapon on the ground where it can be picked up again or it will despawn after 10 seconds
Clone the addon into your gmod servers addon directory