Knife Fight

Knife Fight v1.3.8

No permission to download
Supported Games
CS: Source (v34), CS: Source (Steam/Orange Box), CS: GO
This plugins starts knife fight in a 1v1 situation, if both player agrees to fight. It asks both players in a menu if they want to knife fight each other to death. The plugin supports music during the knife fight.

This plugin strips all the weapons during the knife fight and give the weapons back after the fight is over. In case of bomb plant, knife fight will not trigger.

326

Requirements :
  • Sourcemod v1.8 or Higher
Installation :
  • Download Knife_Fight.zip from this post.
  • Extract the contents of zip file and put it into cstrike folder of your server.
  • Configure music and other settings in cstrike/cfg/sourcemod/knifefight.cfg.
  • If you are running server with FAST-DL, upload the sound files to web server too after compressing them with bzip2. Only .mp3 and .wav music files are supported and they must have Sample Rate of 44100 Hz. Otherwise music will not play.
  • Restart the server or change the map.
Chat Commands :
Code:
!kfmenu         -          Opens up the knife fight menu.
CVARs :
// Enable alltalk while knife fight. 0 = Disabled
// -
// Default: "1"
sm_knifefight_alltalk "1"

// Beacon radius.
// -
// Default: "800"
sm_knifefight_beaconradius "800"

// The sound to play when beacon ring shows.
// -
// Default: "buttons/blip1.wav"
sm_knifefight_beaconsound "buttons/blip1.wav"

// Enable player blocking (disable sm_noblock) if sm_noblock is enabled while knife fight. 0 = Disabled
// -
// Default: "0"
sm_knifefight_block "0"

// Allow bot to knife fight with bot. 0 = Disabled
// -
// Default: "0"
sm_knifefight_botfight "1"

// Number of seconds to count down before a knife fight.
// -
// Default: "3"
sm_knifefight_countdowntimer "3"

// Enable debug. 0 = Disabled
// -
// Default: "0"
sm_knifefight_debug "0"

// The sound to play when player declines to knife.
// -
// Default: "chicken.wav"
sm_knifefight_declinesound "vertigo/knifefight/chicken.wav"

// Enable this plugin. 0 = Disabled
// -
// Default: "1"
sm_knifefight_enabled "1"

// Songs to play during the fight, comma delimited. (example: song1.mp3,song2.mp3,song3.mp3) (max: 6)
// -
// Default: ""
sm_knifefight_fightsongs "vertigo/knifefight/knife.mp3"

// Number of seconds to allow for knifing. Players get slayed after this time limit expires.
// -
// Default: "30"
sm_knifefight_fighttimer "30"

// Force knife fight at end of round instead of prompting with menus. 0 = Disabled
// -
// Default: "0"
sm_knifefight_forcefight "0"

// Use locator beam between players if they are far apart. 0 = Disabled
// -
// Default: "1"
sm_knifefight_locatorbeam "1"

// Dissolve loser body using special effects. 0 = Disabled
// -
// Default: "1"
sm_knifefight_losereffects "1"

// Minimum number of players before knife fights will trigger.
// -
// Default: "4"
sm_knifefight_minplayers "2"

// Enable random kill after knife fight time end. 0 = Disabled
// -
// Default: "0"
sm_knifefight_randomkill "0"

// Remove player connected when fight is started. (0 - Slay, 1 - Move to spec)
// -
// Default: "0"
sm_knifefight_removenewplayer "1"

// Give players full health before knife fight. 0 = Disabled
// -
// Default: "1"
sm_knifefight_restorehealth "1"

// Show winner. (0 - Top left, 1 - Chat)
// -
// Default: "0"
sm_knifefight_showwinner "0"

// Default sound setting for new users.
// -
// Default: "1"
sm_knifefight_soundprefdefault "1"

// Stop music when fight is over. Useful when used with gungame. 0 = Disabled
// -
// Default: "0"
sm_knifefight_stopmusic "1"

// Use smart teleport system prior to knife fight. 0 = Disabled
// -
// Default: "1"
sm_knifefight_useteleport "1"

// Enable special effects on the winner. 0 = Disabled
// -
// Default: "1"
sm_knifefight_winnereffects "1"

// Total health to give the winner. 0 = Disabled
// -
// Default: "0"
sm_knifefight_winnerhealth "0"

// Total extra money given to the winner. 0 = Disabled
// -
// Default: "0"
sm_knifefight_winnermoney "0"

// Total speed given to the winner. 0 = Disabled (1.0 is normal speed, 2.0 is twice normal)
// -
// Default: "0"
sm_knifefight_winnerspeed "0"

Credits :
  • XARiUS
  • Otstrel.Ru Team
  • Altex
  • Like
Reactions: Venom
Author
Vertigo
Downloads
42
Views
786
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Vertigo

Share this resource

Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock