AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   [REQ] weapon knockback (https://forums.alliedmods.net/showthread.php?t=77475)

letgoofmyeggs 09-13-2008 23:54

[REQ] weapon knockback
 
can someone make a knockback plugin for all weapons. currently there are these two knockback plugins:

Various Weapons Knockback v0.1
Pump Knockback (v3x & Chronic)

but i have a request on the cvars and how its made. can you make the cvars like the ones in these plugins

Damage Control
Fire Rate Control

AntiBots 09-14-2008 16:19

Re: [REQ] weapon knockback
 
I posible to do a knockback for victims when is atakmen

letgoofmyeggs 09-15-2008 00:15

Re: [REQ] weapon knockback
 
lol.. uhhhh? i dont understand

MattFresh 09-16-2008 12:15

Re: [REQ] weapon knockback
 
I think what he means is to have knockback after attacking a person with a certain weapon.

---

You want to add damage to the person receiving the knockback?

-Matt

letgoofmyeggs 09-16-2008 13:09

Re: [REQ] weapon knockback
 
ok il give a beter description. with the pumpknock back plugin and the various weapon knockback plugin, once you shoot an enemy or teammate (with ff on) they get pushed back not the attacker.

MattFresh 09-16-2008 15:32

Re: [REQ] weapon knockback
 
Ok, do you want the knockback to add more damage, or what?

Or are you just wanting the CVAR's names to be changed so you can easily change it? Or what?

hleV 09-16-2008 16:02

Re: [REQ] weapon knockback
 
He wants a weapon knockback like in Biohazard or Zombie Plague. Just an additional CVars to change each weapon's push force.

letgoofmyeggs 09-16-2008 16:03

Re: [REQ] weapon knockback
 
u shuld check out these plugins:

Various Weapons Knockback v0.1
Pump Knockback (v3x & Chronic)

i want it exactly like this cept for everyweapon.
and i want the cvars like these plugins:

Damage Control
Fire Rate Control

so the cvars would look like this

Cvars:

amx_kb_mode 0/1/2
Disable/Mode1/Mode2

//Cvars for Mode1
amx_kb_all (amount)<--------knockback force amount

//Cvars for Mode2
amx_kb_p228 (amount)<--------knockback force amount
amx_kb_scout (amount)<--------knockback force amount
amx_kb_grenade (amount)<--------knockback force amount
amx_kb_xm1014 (amount)<--------knockback force amount
amx_kb_mac10 (amount)<--------knockback force amount
amx_kb_aug (amount)<--------knockback force amount
amx_kb_elite (amount)<--------knockback force amount
amx_kb_fiveseven (amount)<--------knockback force amount
amx_kb_ump45 (amount)<--------knockback force amount
amx_kb_sg550 (amount)<--------knockback force amount
amx_kb_galil (amount)<--------knockback force amount
amx_kb_famas (amount)<--------knockback force amount
amx_kb_usp (amount)<--------knockback force amount
amx_kb_glock18 (amount)<--------knockback force amount
amx_kb_awp (amount)<--------knockback force amount
amx_kb_mp5navy (amount)<--------knockback force amount
amx_kb_m249 (amount)<--------knockback force amount
amx_kb_m3 (amount)<--------knockback force amount
amx_kb_m4a1 (amount)<--------knockback force amount
amx_kb_tmp (amount)<--------knockback force amount
amx_kb_g3sg1 (amount)<--------knockback force amount
amx_kb_deagle (amount)<--------knockback force amount
amx_kb_sg552 (amount)<--------knockback force amount
amx_kb_ak47 (amount)<--------knockback force amount
amx_kb_knife (amount)<--------knockback force amount
amx_kb_p90 (amount)<--------knockback force amount

if you dont understand the cvars refer to the 3rd n 4th plugin i posted.

im not sure but i think it would b easy. i dono nething about scripting but i would think u could jus use the other knockback plugins and modify the weapon id to al the weapons posted above. again im not sure but that seems logical.

EDIT: this doesnt give teh weapons any extra damage. it just pushes the player that gets shot back according to the specified cvar. currently the 2 plugins made only has the knockback for pump and along with a few other guns. what i want, is it to be for all weapons

MattFresh 09-16-2008 16:31

Re: [REQ] weapon knockback
 
All you need to do is edit the cvars a little bit, it shouldn't take but 10-20 mins to edit the cvars, if that.

letgoofmyeggs 09-16-2008 16:57

Re: [REQ] weapon knockback
 
wel i have no experience with scripting. so wen u have time would u b able to do this


All times are GMT -4. The time now is 01:48.

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