Raised This Month: $ Target: $400
 0% 

Real Weapon Weight 0.7


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose        Approver:   Emp` (115)
shine771
Senior Member
Join Date: Jun 2007
Old 06-17-2008 , 14:27   Real Weapon Weight 0.7
Reply With Quote #1

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...:
Quote:
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:
Quote:
#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.



Attached Files
File Type: sma Get Plugin or Get Source (real_weapon_weight.sma - 3951 views - 2.1 KB)
File Type: amxx real_weapon_weight.amxx (4.0 KB, 1430 views)

Last edited by shine771; 06-18-2008 at 05:21.
shine771 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:34.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode