Real Weapon Weight 0.7

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

Real Weapon Weight 0.7

Post by greenie »

Real Weapon Weight
0.7


Description: This plugin is supposed to make CS More realistic. As you all know every weapon has its own maxspeed. Like Knife: 250, m4a1: 230. So when you run with knife you run with 250 speed. This plugin calculates the weight of all weapons and then sets the users maxspeed depending on weapon in your hands. I know that someone didn't understand what i wrote above so...:
Let's say i have - knife, usp, m4a1
We have base speed - 280(speed without ANY weapons(including knife))

Knife weights 10 weight points
Usp weights 11 weight points
M4A1 weights 19 weight points
10+11+19 = 40points

To get the speed we'll run with weapons whose maxspeed is 250 we should do like this:

BASEPOINTS - PlayerPoints
280 - 40 = 240(this is the speed with weapons which max speed is 250)

So if we have those 3 weapons and Knife(maxspeed 250) is in our hands we'll run with 240 speed.
If we'll have usp(maxspeed 250) in our hands we'll run with 240 maxspeed.
If we'll have m4a1(maxspeed 230) in our hands we'll run with 220 maxspeed.(Maxspeed = MaxPlayerSpeed-MaxWeaponSpeed).
If it's still hard to understand... just test the plugin in-game. You'll get the idea, fast.

Cvars:
amx_rww <1/0> <On/Off>
amx_rww_basespeed <###> <The speed you'll run without any weapons>

Includes:
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>
Changes:
v0.7
*Initial Release

Download the compiled version, because web compiler doesn't support Hamsandwich module.

You must have AMXX 1.8.0 or higher to use this plugin. If you have >1.8.0 then just download hamsandwich module.

get plugin
get source
Post Reply

Return to “General Purpose”