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

Weapon Modifier v1.56 (Damage, Recoil, Speed and more...)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
Kiske
Veteran Member
Join Date: May 2009
Old 08-18-2011 , 18:58   Weapon Modifier v1.56 (Damage, Recoil, Speed and more...)
Reply With Quote #1

Weapon Modifier v1.56
By Kiske


Features:
  • Damage
  • Recoil
  • Speed
  • Model
  • Glow(W_ and P_ model)
  • Unlimited Clip and BPAmmo
  • Sound of the knife
  • Knockback Power
  • Automatic Fire Pistol
  • Zoom

This plugin allows you to modify the damage, the recoil and the speed of the weapons, but not just set it, but also add, subtract, multiply or even divide to the default value of the gun.
It also allows you to modify the model of the gun in its three aspects (V_ , P_ , W_).
You can set the glow of all the guns (only W_ and P_ model).
You can put infinite bullets or magazines to the weapon you wish to.
You can also modify the sounds of the knife.
You can modify the knockback power of the weapon.
You can set the automatic fire to any pistol
You can set and change the zoom from weapon, except that weapon that have his respective attack2's function.



It consists of individual CVARs for each gun and an extra to control all the weapons.
If you want to deactivate the wm_damage_all , wm_recoil_all , wm_speed_all , wm_wglow_all , wm_pglow_all , wm_unclip_all , wm_unbpammo_all , wm_kb_all or wm_zoom_kb you must set it in off, and not in 0.

The knockback have 3 aditionals cvars:
wm_knockback 0 (turn on/off the knockback)
wm_kb_zvel 1 (turn on/off the vertical push)
wm_kb_dist 500 (the distance that the knockback do default)


The plugin has a .cfg and .ini for you to configure the guns from there.
The X must be replaced by the desired damage , recoil , speed , unclip or unbpammo
And weaponname must be replaced by the name of the weapon.

Examples:
To add to the default value of the gun: wm_X_weaponname +1337
To subtract the default value of the gun: wm_X_weaponname -1337
To multiply the default value of the gun: wm_X_weaponname *1337
To divide the default value of the gun: wm_X_weaponname /1337
To set a value: wm_X_weaponname =1337

To set the glow of a weapon w_: wm_wglow_weaponname "255 128 33" [Red(0-255) Green(0-255) Blue(0-255)]
To set the glow of a weapon p_: wm_pglow_weaponname "255 128 33" [Red(0-255) Green(0-255) Blue(0-255)]

To set infinite bullets to a gun: wm_unclip_weaponname 1
To set infinite magazines to a gun: wm_unbpammo_weaponname 1

To set the knockback power of a weapon: wm_kb_weaponname 12.7

To set the automatic fire of a weapon: wm_autofire_weaponname 1

To set or modify the zoom of a weapon: wm_zoom_weaponname "0.3 190 60 30" <delay> <maxspeed> <zoom1> [zoom2(optional)]
Delay: delay to add when weapon will be usable after zoom : default cs seems to be 0.3
MaxSpeed: maxspeed a player can gain when the weapon is zoomed (put 0 to keep normal speed, unless you alter a sniper zoom)
Zoom1: 0-90 First zoom value. Default : aug and krieg552 : 55 , snipers 40
Zoom2: 0-90 Second zoom, put 90 for no 2nd zoom. Default: snipers : 15, Awp : 10
Weapon names:
  • p228
  • scout
  • xm1014
  • mac10
  • aug
  • elite
  • fiveseven
  • ump45
  • sg550
  • galil
  • famas
  • usp
  • glock18
  • awp
  • mp5navy
  • m249
  • m3
  • m4a1
  • tmp
  • g3sg1
  • deagle
  • sg552
  • ak47
  • knife
  • p90
  • all
Name of extra weapons for the wm_wglow_* and wm_pglow_* cvar:
  • thighpack (not work for pglow)
  • shield (not work for pglow)
  • hegrenade
  • c4
  • smokegrenade
  • flashbang
  • backpack (not work for pglow)


To change the model you just have to type the route of the model in the .ini file of the weapon.

For example:
If you want to change the model V_ and P_ of the AWP, you have to do as follows:
V_AWP = models/new_weapons/v_awp.mdl
P_AWP = models/new_weapons/p_awp.mdl

If you want to change the sound HITs of the knife, you have to do as follows:
KNIFE_HIT_1 = new_sound/knife_hit_1.wav
KNIFE_HIT_2 = new_sound/knife_hit_2.wav
KNIFE_HIT_3 = new_sound/knife_hit_3.wav
KNIFE_HIT_4 = new_sound/knife_hit_4.wav


dorin2oo7 -ConnorMcLeod - Bug fixing and optimizations, and the weapons zoom code (http://forums.alliedmods.net/showthr...ighlight=scope)
MeRcyLeZZ - For give me the way to put infinite bullets and infinite chargers and stocks, knockback code
Asd' - For the idea of P_ model glow
jc980 - For the idea of knockback and automatic fire pistol
XINLEI - For the idea of weapons zoom


Quote:
v1.56
- Fixed [HAMSANDWICH] Invalid player 16 (not in-game)
v1.55
- Added: Automatic Fire Pistol
- Added: Weapons Zoom
- Views: 529
v1.53:
- Added: Knockback
- Added a new list of cvars, now you can configure the knockback power of the weapon
- Views: 9
v1.51:
- Fixed one error with the change of the models.
- Views: 72
v1.5:
- Added a new list of cvars, now you can configure the glow of the weapons (model W_ and P_ only).
- Fixed one error with the change of the models of some weapons.
- Some optimizations.
- Views: 43
v1.4:
- Changed the name of the files and the cvars.
- Added: Now you can change the sounds of the knife.
- Added one new list of cvar, now you can put infinite bullets in the guns.
- Added one new list of cvar, now you can put infinite magazines in the guns.
- Fixed one error.
- Views: 21

v1.31:
- Fixed a little bug with the load models
v1.3:
- Added a new list of cvars, now you can configure the glow of the weapons (model W_ only)
- Added more weapons to modify the model:
- p_thighpack , w_thighpack
- v_ / p_ / w_ of hegrenade , flashbang , smokegrenade , shield , c4
- w_backpack
- Views: 24
v1.1:
- Added: Now you can change the model of the weapons
- Views: 19
v1.0:
- First release
- Views: 37

* Place the weapon_modifier.ini and weapon_modifier.cfg file in addons/amxmodx/configs folder.
* Place the plugin's .amxx file in the addons/amxmodx/plugins folder.
* Add the plugin's name to addons/amxmodx/configs/plugins.ini. Example:
weapon_modifier.amxx
Attached Files
File Type: ini weapon_modifier.ini (1.4 KB, 4772 views)
File Type: sma Get Plugin or Get Source (weapon_modifier.sma - 7756 views - 35.0 KB)
File Type: cfg weapon_modifier.cfg (5.2 KB, 3445 views)

Last edited by Kiske; 09-02-2014 at 06:11. Reason: weapon_modifier.cfg update
Kiske is offline
Send a message via Skype™ to Kiske
razieljohn619
Senior Member
Join Date: May 2011
Location: Philippines
Old 08-18-2011 , 19:10   Re: Change Weapons
Reply With Quote #2

nice
__________________

razieljohn619 is offline
Send a message via Yahoo to razieljohn619
bibu
Veteran Member
Join Date: Sep 2010
Old 08-18-2011 , 19:18   Re: Change Weapons
Reply With Quote #3

Good job.
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
modernwarfare
Senior Member
Join Date: Aug 2011
Location: sweden
Old 08-18-2011 , 19:55   Re: Change Weapons
Reply With Quote #4

nice very cool i will use if i need
__________________
Im supporting/coding XP Mod Plugin
Free Palestine
R.I.P. The 2967 American people that lost their lives 9/11 and R.I.P.
The 48,644 Afghan and 1,690,903 Iraqi people that paid the ultimate price for a crime they did not commit.



modernwarfare is offline
Send a message via MSN to modernwarfare Send a message via Skype™ to modernwarfare
Stereo
Veteran Member
Join Date: Dec 2010
Old 08-18-2011 , 20:39   Re: Change Weapons
Reply With Quote #5

GJ Man
Stereo is offline
joshknifer
Veteran Member
Join Date: Jun 2011
Location: Denver, CO
Old 08-19-2011 , 10:53   Re: Change Weapons
Reply With Quote #6

Cool.
__________________
joshknifer is offline
Send a message via Skype™ to joshknifer
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 08-19-2011 , 10:56   Re: Change Weapons
Reply With Quote #7

the title should be more descriptive
__________________
ANTICHRISTUS is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-19-2011 , 12:28   Re: Change Weapons
Reply With Quote #8

PHP Code:
    register_message(get_user_msgid("CurWeapon"), "message_CurWeapon"); 
Remove this.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Kiske
Veteran Member
Join Date: May 2009
Old 08-19-2011 , 12:49   Re: Change Weapons
Reply With Quote #9

Quote:
Originally Posted by ANTICHRISTUS View Post
the title should be more descriptive
Right!

Quote:
Originally Posted by ConnorMcLeod View Post
PHP Code:
    register_message(get_user_msgid("CurWeapon"), "message_CurWeapon"); 
Remove this.
Ok!
Kiske is offline
Send a message via Skype™ to Kiske
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 08-19-2011 , 13:44   Re: Change Weapons (Damage , Recoil and Speed)
Reply With Quote #10

Iinteresting, Good Job
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
Reply


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 07:32.


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