AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   I know Kung Fu. v1.2 (https://forums.alliedmods.net/showthread.php?t=23936)

Hawk552 02-05-2006 10:59

I know Kung Fu. v1.2
 
1 Attachment(s)
I know Kung Fu. v1.2

Description
Ever wish you could punch that guy up in CS, or actually be in one of those flash movies where the characters fought each other with something other than knives / guns? Well, here it is. This plugin emulates Kung Fu for CS, and possibly any mod later.

Background Info
Kung Fu is a replacement for the knife. When you draw your knife, you should see no models.

Moves:
Punch
The most basic move, the punch is a quick attack that deals low damage and requires little energy. (Press Mouse1)

Kick
The second most basic move, the kick is a quick attack that deals medium damage and requires medium energy. (Press Mouse2) - Will knock gun out of opponent's hands.

Dragon Kick
A more complicated move, the Dragon Kick deals high damage and uses a high amount of energy. It is the most commonly used move. (Press Mouse2 while crouching/ducking) - Will knock gun out of opponent's hands.

Jumpkick
A relatively easy move, the jump kick is more to repel enemies close to you than fight with. (Press Jump while near an enemy) - Will knock gun out of opponent's hands.

Flurry of Blows
The Flurry of Blows is a slower and more consistent move. It allows you to punch 20 (depending on the cvar) times sequentially without pressing any buttons. (Press Mouse1 and Mouse2 at the same time)

Commands/Installation/Usage
There are no models with this plugin. Simply install it like any other. There are many cvars to set however.

Commands:
say /kungfuhelp - shows kung fu help.

Cvars:
  • amx_fu_fist - Whether or not this is allowed. (Default 1)
  • amx_fu_fist_range - How close you have to be to use this. (Default 70.0)
  • amx_fu_fist_knockback - How much you are knocked back when hit by thist. (Default 5)
  • amx_fu_fist_damage - How much damage this deals. (Default 15)
  • amx_fu_fist_power - How much this move drains your Kung Fu Meter (Default 5)
  • amx_fu_kick - Whether or not this is allowed. (Default 1)
  • amx_fu_kick_range - How close you have to be to use this. (Default 100.0)
  • amx_fu_kick_knockback - How much you are knocked back when hit by this. (Default 10)
  • amx_fu_kick_damage - How much damage this deals. (Default 30)
  • amx_fu_kick_power - How much this move drains your Kung Fu Meter (Default 10)
  • amx_fu_jumpkick - Whether or not this is allowed. (Default 1)
  • amx_fu_jumpkick_knockback - How much you are knocked back when hit by this. (Default 10)
  • amx_fu_jumpkick_damage - How much damage this deals. (Default 20)
  • amx_fu_dragonkick - Whether or not this is allowed. (Default 1)
  • amx_fu_dragonkick_knockback - How much you are knocked back when hit by this. (Default 20)
  • amx_fu_dragonkick_damage - How much damage this deals. (Default 50)
  • amx_fu_dragonkick_power - How much this move drains your Kung Fu Meter (Default 50)
  • amx_fu_flurry - Whether or not this is allowed. (Default 1)
  • amx_fu_meter_regen - How many points the fu meter regenerates every second. (Default 20)

Credits
XxAvalanchexX (BANNED) - Help with setting model to blank.

Modules
  • Fun
  • Engine
  • Cstrike

Changelog
  • Feb 5, 2006 - v1.0 - Initial release
  • Feb 5, 2006 - v1.1 - Fixed friendly fire

Notes
I am open to ideas for new moves, and will be improving upon this gradually.

Sneakpeek 02-05-2006 11:08

Awesome. :D
Post some screenshots.

Hawk552 02-05-2006 11:09

Kinda hard, considering there's no real models, but alright.

angel killer 02-05-2006 14:42

so cool

Soulseker 02-06-2006 18:37

yeah
 
n1 dude 5/5

bmann_420 02-07-2006 13:18

Looks like youp ut some thought and time into this one Hawk :D Very cool

pendragon 02-07-2006 17:37

Damnit man.. I love you.. BUT I can't do jack with this cause its CS dependant! Multimod!! MULTIMOD :(

Arucard 02-07-2006 17:54

When switching to a nade from the knife, it does not show the nade. The nade is invisible just as the knife is.

But when switching from a pistol or a main weapon to a nade, it can be seen.

Other than that, I had extreme fun killing people and bots alike with this plugin :) gj

Hawk552 02-07-2006 17:59

Quote:

Originally Posted by pendragon
Damnit man.. I love you.. BUT I can't do jack with this cause its CS dependant! Multimod!! MULTIMOD :(

Can you please tell me what mod you want it to support? (I assume DOD, but you never know) The problem right now is that it replaces a weapon (the knife in CS), so it's kinda hard to tell which weapon to replace in other mods.

Quote:

Originally Posted by Arucard
When switching to a nade from the knife, it does not show the nade. The nade is invisible just as the knife is.

But when switching from a pistol or a main weapon to a nade, it can be seen.

Other than that, I had extreme fun killing people and bots alike with this plugin :) gj

This will be fixed for the next version, thanks.

pendragon 02-07-2006 20:53

Quote:

Originally Posted by Hawk552
Quote:

Originally Posted by pendragon
Damnit man.. I love you.. BUT I can't do jack with this cause its CS dependant! Multimod!! MULTIMOD :(

Can you please tell me what mod you want it to support? (I assume DOD, but you never know) The problem right now is that it replaces a weapon (the knife in CS), so it's kinda hard to tell which weapon to replace in other mods.

Yes sir. DoD.
you have 4 for dod... DODW_SPADE, DODW_BRITKNIFE, DODW_AMERKNIFE, & DODW_GERKNIFE. I'm assuming you'd also have to strip them of all their weapons...if that's not already a part of your current code, SidLuke's Oneweapon plugin does that.


All times are GMT -4. The time now is 08:36.

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