I am not the author of this plugin, I simply update code with new declaration and some new functions.
Original Autor :
FeuerSturm
Original post :
https://forums.alliedmods.net/showthread.php?t=78872
Original Source File :
DOD:S PLUGINS
Description :
This plugin will add a little fun to your server, just enableit and all players will be respawned with Knife/Spade and/or Colt/P38 (depending on your settings).
SmokeGrenades and/or FragGrenades can be added as well!
Amount of clips for the pistols can be set by cvar!
Players can gain health boosts by killing with a melee weapon or by making headshots with the pistol (configurable!).
Players can be made glow in their team's color (Green for Allies / Red for Axis)
Setting :
Folder :
HTML Code:
dod/cfg/dod_closecombat_source/dod_closecombat_source.cfg
PHP Code:
// This file was auto-generated by SourceMod (v1.11.0.6502)
// ConVars for plugin "dod_closecombat_source.smx"
// <1/0> = enable/disable displaying a hint message about the CloseCombat setup for spawning players
// -
// Default: "1"
dod_closecombat_announce "1"
// <0/#> = set number of frag grenades to give to each player - 0 to disable fraggrenades!
// -
// Default: "3"
dod_closecombat_fraggrenades "3"
// <1/0> = enable/disable making players glow in their team's color
// -
// Default: "1"
dod_closecombat_glowplayers "1"
// <#/0> = set amount of health points to add for pistol headshots - 0=disable
// -
// Default: "10"
dod_closecombat_headshotbonushp "10"
// <#/0> = set amount of health points to add for melee kills - 0=disable
// -
// Default: "25"
dod_closecombat_meleebonushp "25"
// <#> = set amount of clips to hand out for the pistol
// -
// Default: "50"
dod_closecombat_pistolclips "50"
// <0/#> = set number of smoke grenades to give to each player - 0 to disable smokegrenades!
// -
// Default: "2"
dod_closecombat_smokegrenades "2"
// <1/0> = enable/disable using sounds for headshots, melee kills and announcement
// -
// Default: "1"
dod_closecombat_sounds "1"
// <1/2/3/0> = set CloseCombat Weapons - 1=Melee only - 2=Pistols only - 3=Melee & Pistols - 0=disabled!
// -
// Default: "0"
dod_closecombat_source "0"
Start mode :
You start mode by changing cvar value :
<1/2/3/0> = set CloseCombat Weapons - 1=Melee only - 2=Pistols only - 3=Melee & Pistols - 0=disabled!
HTML Code:
dod_closecombat_source
Important :
This plugin may conflict with others affecting weapons: Gungame, Pistol (adds a pistol), ammo, Bazooka Mode, etc...
Facilities :
- Download files.
- Upload files to server :
PHP Code:
dod\addons\sourcemod\plugins\dod_closecombat_source.smx
dod\addons\sourcemod\scripting\dod_closecombat_source.sp
dod\addons\sourcemod\translations\dod_closecombat_source.txt
- Change map, like this cfg files were created by plugin.
- Setting files.
- Change map.
Changelog :
Plugin 1.0 :
13 October 2008 - Version 1.0
Plugin 1.1 :
16 November 2008
. smoke grenades and/or frag grenades can be added to players closecombat equipment as well! (see new cvars "dod_closecombat_fraggrenades" and "dod_closecombat_smokegrenades")
. added Multi-Language support!
. fixed players still glowing after disabling the plugin
. fixed "Client X is not in game" errors
Plugin 1.2 :
Plugin udated by Micmacx
Have fun... ;-)