Raised This Month: $12 Target: $400
 3% 

Weapons MaxSpeed


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay        Approver:   Arkshine (91)
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-02-2010 , 07:49   Weapons MaxSpeed
Reply With Quote #1

Weapons MaxSpeed




.: Description :.


This plugin lets you alter weapons maxspeed, also when zoomed or when player has a shield.
Plugin was requested by sooN.



.: Commands :.

  • amx_weapon_maxspeed <weapon shortname> <maxspeed> [zoom maxspeed] [shield maxspeed]
    • weapon shortname : See list below
    • maxspeed : Default MaxSpeed, set 0 to disable the plugin on a specific weapon
    • zoom maxspeed : MaxSpeed when weapon is zoomed
    • shield maxspeed : MaxSpeed when player uses shield


Weapons short names are :
  • p228
  • scout
  • hegrenade
  • xm1014
  • c4
  • mac10
  • aug
  • smokegrenade
  • elite
  • fiveseven
  • ump45
  • sg550
  • galil
  • famas
  • usp
  • glock18
  • awp
  • mp5navy
  • m249
  • m3
  • m4a1
  • tmp
  • g3sg1
  • flashbang
  • deagle
  • sg552
  • ak47
  • knife
  • p90


Default Maxspeeds are :

Code:
|---------------------------------------------------------------------|
| Weapon Name         | No Zoom Speed |   Zoom Speed  |  Shield Speed |
|---------------------|---------------|---------------|---------------|
| weapon_p228         |        250.0  |               |        180.0  |
| weapon_scout        |        260.0  |        220.0  |               |
| weapon_hegrenade    |        250.0  |               |        180.0  |
| weapon_xm1014       |        240.0  |               |               |
| weapon_c4           |        250.0  |               |               |
| weapon_mac10        |        250.0  |               |               |
| weapon_aug          |        240.0  |               |               |
| weapon_smokegrenade |        250.0  |               |        180.0  |
| weapon_elite        |        250.0  |               |               |
| weapon_fiveseven    |        250.0  |               |        180.0  |
| weapon_ump45        |        250.0  |               |               |
| weapon_sg550        |        210.0  |        150.0  |               |
| weapon_galil        |        240.0  |               |               |
| weapon_famas        |        240.0  |               |               |
| weapon_usp          |        250.0  |               |        180.0  |
| weapon_glock18      |        250.0  |               |        180.0  |
| weapon_awp          |        210.0  |        150.0  |               |
| weapon_mp5navy      |        250.0  |               |               |
| weapon_m249         |        220.0  |               |               |
| weapon_m3           |        230.0  |               |               |
| weapon_m4a1         |        230.0  |               |               |
| weapon_tmp          |        250.0  |               |               |
| weapon_g3sg1        |        210.0  |        150.0  |               |
| weapon_flashbang    |        250.0  |               |        180.0  |
| weapon_deagle       |        250.0  |               |        180.0  |
| weapon_sg552        |        235.0  |        200.0  |               |
| weapon_ak47         |        221.0  |               |               |
| weapon_knife        |        250.0  |               |        180.0  |
| weapon_p90          |        245.0  |               |               |
|---------------------------------------------------------------------|


.: Modules :.


FakeMeta
HamSandwich



.: Notes :.


If you don't set the maxspeed for zoomed of shield, when the weapon is zoomed or player uses shield, default maxspeed value will be used.
Set it if you don't want that the plugin default value is used.

Examples :

amx_weapon_maxspeed usp 270
->
default maxspeed : 270
shield maxspeed : 270


amx_weapon_maxspeed usp 270 0 210
->
default maxspeed : 270
shield maxspeed : 210



amx_weapon_maxspeed usp 0
->
default maxspeed : 250
shield maxspeed : 180



Make sure that server cvars sv_maxspeed and sv_maxvelocity are set in consequence to the plugin settings.
Also, you have to alter client cvars cl_forwardspeed, cl_backspeed and cl_sidespeed if you want to have more than 400 as maxspeed.




Attached Files
File Type: sma Get Plugin or Get Source (weapons_maxspeed.sma - 7995 views - 4.4 KB)
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 10-02-2010 at 10:18.
ConnorMcLeod is offline
 


Thread Tools
Display Modes

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 15:51.


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