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

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


Post New Thread Reply   
 
Thread Tools Display Modes
forthewin
Junior Member
Join Date: Dec 2009
Old 01-05-2012 , 08:59   Re: Weapon Modifier v1.53 (Damage, Recoil, Speed and more...)
Reply With Quote #61

Still can knockback teammates. ;/
forthewin is offline
EXteRmiNaToR
Senior Member
Join Date: Dec 2009
Old 01-05-2012 , 13:38   Re: Weapon Modifier v1.53 (Damage, Recoil, Speed and more...)
Reply With Quote #62

Nice!What about adding weapons zoom support?
EXteRmiNaToR is offline
Kiske
Veteran Member
Join Date: May 2009
Old 01-06-2012 , 01:27   Re: Weapon Modifier v1.53 (Damage, Recoil, Speed and more...)
Reply With Quote #63

Quote:
Originally Posted by forthewin View Post
Still can knockback teammates. ;/
Tested, fixed and updated!
Thanks.

Quote:
Originally Posted by EXteRmiNaToR View Post
Nice!What about adding weapons zoom support?
I'm working on that.
Thanks.
Kiske is offline
Send a message via Skype™ to Kiske
jc980
Veteran Member
Join Date: Jan 2010
Location: God is with us...
Old 01-06-2012 , 04:55   Re: Weapon Modifier v1.53 (Damage, Recoil, Speed and more...)
Reply With Quote #64

pistol automatic function.

you can do this with any pistol, just change wpn.
PHP Code:
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>
 
// Weapons Offsets
const EXTRAOFFSET_WEAPONS 4
const OFFSET_CLIPAMMO 51
 
new bool:user_shoot[33]
 
public 
plugin_init()
{
 
register_plugin("Glock18 full-auto""1.0""a7811311622")
 
register_forward(FM_CmdStart"fw_CmdStart")
 
RegisterHam(Ham_Weapon_PrimaryAttack"weapon_glock18""fw_PriAttack")
}
 
public 
fw_CmdStart(iduc_handleseed)
{
 if((
get_uc(uc_handleUC_Buttons) & IN_ATTACK) && user_shoot[id])
 {
  
set_uc(uc_handleUC_Buttonsget_uc(uc_handleUC_Buttons) & ~IN_ATTACK)
  
user_shoot[id] = false
 
}
}
 
public 
fw_PriAttack(weapon)
{
 if(!
pev_valid(weapon)) return HAM_IGNORED;
 
 static 
idid pev(weaponpev_owner)
 
 if(
fm_get_weapon_ammo(weapon) > 0user_shoot[id] = true
 
 
return HAM_IGNORED;
}
 
stock fm_get_weapon_ammo(weaponID)
{
 return 
get_pdata_int(weaponIDOFFSET_CLIPAMMOEXTRAOFFSET_WEAPONS)

And Custom clip and bpammo idea.

default = 30/90 , custom = 50/250

something like that.
__________________

Last edited by jc980; 01-06-2012 at 04:56.
jc980 is offline
Kiske
Veteran Member
Join Date: May 2009
Old 01-07-2012 , 01:28   Re: Weapon Modifier v1.53 (Damage, Recoil, Speed and more...)
Reply With Quote #65

Quote:
Originally Posted by jc980 View Post
pistol automatic function.

you can do this with any pistol, just change wpn.
PHP Code:
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>
 
// Weapons Offsets
const EXTRAOFFSET_WEAPONS 4
const OFFSET_CLIPAMMO 51
 
new bool:user_shoot[33]
 
public 
plugin_init()
{
 
register_plugin("Glock18 full-auto""1.0""a7811311622")
 
register_forward(FM_CmdStart"fw_CmdStart")
 
RegisterHam(Ham_Weapon_PrimaryAttack"weapon_glock18""fw_PriAttack")
}
 
public 
fw_CmdStart(iduc_handleseed)
{
 if((
get_uc(uc_handleUC_Buttons) & IN_ATTACK) && user_shoot[id])
 {
  
set_uc(uc_handleUC_Buttonsget_uc(uc_handleUC_Buttons) & ~IN_ATTACK)
  
user_shoot[id] = false
 
}
}
 
public 
fw_PriAttack(weapon)
{
 if(!
pev_valid(weapon)) return HAM_IGNORED;
 
 static 
idid pev(weaponpev_owner)
 
 if(
fm_get_weapon_ammo(weapon) > 0user_shoot[id] = true
 
 
return HAM_IGNORED;
}
 
stock fm_get_weapon_ammo(weaponID)
{
 return 
get_pdata_int(weaponIDOFFSET_CLIPAMMOEXTRAOFFSET_WEAPONS)

And Custom clip and bpammo idea.

default = 30/90 , custom = 50/250

something like that.
Oooh, thanks for the good idea.
Kiske is offline
Send a message via Skype™ to Kiske
jc980
Veteran Member
Join Date: Jan 2010
Location: God is with us...
Old 01-07-2012 , 01:48   Re: Weapon Modifier v1.53 (Damage, Recoil, Speed and more...)
Reply With Quote #66

Quote:
Originally Posted by Kiske View Post
Oooh, thanks for the good idea.
this is a good plugin!

i wanted to make something like this one but you were first, Im just giving off some of the features that I would added to it.
__________________
jc980 is offline
Kiske
Veteran Member
Join Date: May 2009
Old 01-07-2012 , 04:09   Re: Weapon Modifier v1.53 (Damage, Recoil, Speed and more...)
Reply With Quote #67

Quote:
Originally Posted by jc980 View Post
this is a good plugin!

i wanted to make something like this one but you were first, Im just giving off some of the features that I would added to it.
Thank you very much
I will add everything what could in these days.

Thanks again and sory for my bad english.
Kiske is offline
Send a message via Skype™ to Kiske
Kiske
Veteran Member
Join Date: May 2009
Old 01-07-2012 , 08:52   Re: Weapon Modifier v1.53 (Damage, Recoil, Speed and more...)
Reply With Quote #68

Updated plugin and post!
See changelog for more information.
Kiske is offline
Send a message via Skype™ to Kiske
eforie
BANNED
Join Date: Dec 2008
Location: Romania
Old 01-07-2012 , 15:06   Re: Weapon Modifier v1.55 (Damage, Recoil, Speed and more...)
Reply With Quote #69

works great for me
eforie is offline
Send a message via Yahoo to eforie Send a message via Skype™ to eforie
jc980
Veteran Member
Join Date: Jan 2010
Location: God is with us...
Old 01-08-2012 , 03:01   Re: Weapon Modifier v1.55 (Damage, Recoil, Speed and more...)
Reply With Quote #70

@ kiske

what i was telling you earlier.

custom clip = http://forums.alliedmods.net/showthr...ghlight=bpammo
custom bpammo = http://forums.alliedmods.net/showthr...ghlight=bpammo
__________________
jc980 is offline
Reply



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 13:27.


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