Plugin Info:
|
Modification: Counter-Strike
Category: Fun Stuff
Approver: Zenith77 (33)
|
Senior Member
Join Date: Jan 2008
Location: Germany, BW
|
02-06-2008
, 10:57
Knife Blink
|
#1
|
Knife Blink v1.1
by pharse
Description:
Allows players to move rapidly towards other players over a certain distance with their knife equipped while holding down the attack button.
Some may know this feature from the plasma sword of the first person shooter 'Halo'.
I called it "blink" following a skill in the RTS-Game Warcraft 3, where one can move "in a blink of a moment".
Usage:
Just aim at another player near you with your knife equipped and press and hold the attack button (specified by the server admin) to blink to that player.
Features:
- ingame help motd
- godmode during blink
- glow effect during blink (customizable glow color)
- notification message when blink performed and when it is ready again
- custom blink damage
CVars:amx_kb_enable <0/1> default: 1 -- dis-/enables the plugin
amx_kb_distance <integer> default: 350 -- distance over which players can blink
amx_kb_speed <float> default: 1000.0 -- speed with which players blink
amx_kb_attackmode <0/1/2> default: 0 -- determins which attack button invokes blink. 1=primary attack, 2=secondary attack, 0=both
amx_kb_delay <float> default: 1.0 -- time until a player can blink again (in sec). NOTE: too short delay may cause problems
amx_kb_teamblink <0/1> default: 1 -- determines if a player can blink to teammates
amx_kb_invincible <0/1> default: 1 -- dis-/enables godmode during blink
amx_kb_glow <0/1> default: 1 -- dis-/enables glow effect during blink
amx_kb_glowcolor <RRR GGG BBB> default: 255 0 0 -- glow color in RGB format
amx_kb_notification <0/1> default: 0 -- dis-/enables small notifications when blinked and blink is ready again. With higher delay you may set it to 1
amx_kb_damage <-1/0/...> default: 0 -- damage dealt. -1=instant kill, 0=normal slash damage, above=custom damage
Requirements:
- GHW_Chronic's chr_engine.inc
- VEN's fakemeta_util.inc
- Hamsandwich module + incs
- Tested and compiled with AMX Mod X v1.8.0
Installation:
- Download chr_engine.inc and put it in the following folder: addons\amxmodx\scripting\include
- Download knife_blink.sma and put it in the following folder: addons\amxmodx\scripting
- Open knife_blink.sma with compile.exe (should be in the same folder). Alternatively drag knife_blink.sma on compile.exe
- Copy knife_blink.amxx from addons\amxmodx\scripting\compiled and paste it into addons\amxmodx\plugins
- Go to the following folder: addons\amxmodx\configs ; and open plugins.ini
- Scroll down to the end of the file and add there the following line: knife_blink.amxx ; save and close plugins.ini
- You can add your custom CVars in amxx.cfg located in addons\amxmodx\configs
- Restart your server or change the map.
Credits:
- GHW_Chronic for the chr_engine.inc
- VEN for the fakemeta_util.inc
Changelog:Version 1.0Version 1.1- added custom blink damage
__________________
Last edited by pharse; 02-17-2008 at 07:40.
Reason: + installation notes, chr_engine.inc
|
|
|
|