This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[DoD:S] CloseCombat Source (Melee and/or Pistols + Nades Only!)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
micmacx
Member
Join Date: May 2021
Plugin ID:
8626
Plugin Version:
1.2
Plugin Category:
Fun Stuff
Plugin Game:
Day of Defeat: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin 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!
    Old 01-28-2024 , 21:10   [DoD:S] CloseCombat Source (Melee and/or Pistols + Nades Only!)
    Reply With Quote #1

    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 :
    1. Download files.
    2. 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 
    3. Change map, like this cfg files were created by plugin.
    4. Setting files.
    5. 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... ;-)
    Attached Files
    File Type: sp Get Plugin or Get Source (dod_closecombat_source.sp - 56 views - 12.2 KB)
    File Type: txt dod_closecombat_source.txt (944 Bytes, 18 views)
    __________________

    Last edited by micmacx; 01-29-2024 at 05:59.
    micmacx is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 06:26.


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