Raised This Month: $51 Target: $400
 12% 

DoD Restock Source v1.1 (refresh your ammo!) [16th November 2008]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
FeuerSturm
AlliedModders Donor
Join Date: Apr 2004
Plugin ID:
581
Plugin Version:
1.1
Plugin Category:
Gameplay
Plugin Game:
Day of Defeat: Source
Plugin Dependencies:
    Servers with this Plugin:
    18 
    Plugin Description:
    Restock your ammo by saying !restock - lots of ammo and plugin settings, highly configurable!
    Unapprover:
    Reason for Unapproving:
    download broken / unsupported
    Old 10-12-2008 , 16:23   DoD Restock Source v1.1 (refresh your ammo!) [16th November 2008]
    Reply With Quote #1

    Day of Defeat Restock Source


    DESCRIPTION:

    With this plugin running on your server you can give players
    the ability to restock the Ammo for the weapon currently
    in their hands by simply saying "!restock" in chat.


    USAGE:

    Commands:

    say !restock = restock your Ammo!


    Plugin CVARs:
    PHP Code:
    // <1/0> = enable/disable disallowing to restock if player has more than half of the set restock ammo
    // -
    // Default: "1"
    dod_restock_ammocheck "1"
     
    // <1/2/0> = set announcement  -  1=only on first spawn  -  2=every spawn until it is used  -  0=no announcements
    // -
    // Default: "1"
    dod_restock_announce "1"
     
    // <#/0> = number of seconds after restocking can be used again  -  0=no limit
    // -
    // Default: "30"
    dod_restock_delaybetweenuse "30"
     
    // <#/0> = number of restocks per life a player can use  -  0=no limit
    // -
    // Default: "3"
    dod_restock_maxcountperlife "3"
     
    // <1/0> = enable/disable players being able to restock
    // -
    // Default: "1"
    dod_restock_source "1" 
    Ammo CVARs:
    Code:
    // <#> set amount of Ammo to restock for weapon_30cal
    // -
    // Default: "300"
    dod_restock_weapon_30cal "300"
     
    // <#> set amount of Ammo to restock for weapon_bar
    // -
    // Default: "240"
    dod_restock_weapon_bar "240"
     
    // <#> set amount of Ammo to restock for weapon_bazooka
    // -
    // Default: "4"
    dod_restock_weapon_bazooka "4"
     
    // <#> set amount of Ammo to restock for weapon_c96
    // -
    // Default: "40"
    dod_restock_weapon_c96 "40"
     
    // <#> set amount of Ammo to restock for weapon_colt
    // -
    // Default: "14"
    dod_restock_weapon_colt "14"
     
    // <#> set amount of Ammo to restock for weapon_frag_ger
    // -
    // Default: "2"
    dod_restock_weapon_frag_ger "2"
     
    // <#> set amount of Ammo to restock for weapon_frag_us
    // -
    // Default: "2"
    dod_restock_weapon_frag_us "2"
     
    // <#> set amount of Ammo to restock for weapon_garand
    // -
    // Default: "80"
    dod_restock_weapon_garand "80"
     
    // <#> set amount of Ammo to restock for weapon_k98
    // -
    // Default: "60"
    dod_restock_weapon_k98 "60"
     
    // <#> set amount of Ammo to restock for weapon_k98s
    // -
    // Default: "60"
    dod_restock_weapon_k98s "60"
     
    // <#> set amount of Ammo to restock for weapon_m1carbine
    // -
    // Default: "30"
    dod_restock_weapon_m1carbine "30"
     
    // <#> set amount of Ammo to restock for weapon_mg42
    // -
    // Default: "250"
    dod_restock_weapon_mg42 "250"
     
    // <#> set amount of Ammo to restock for weapon_mp40
    // -
    // Default: "180"
    dod_restock_weapon_mp40 "180"
     
    // <#> set amount of Ammo to restock for weapon_mp44
    // -
    // Default: "180"
    dod_restock_weapon_mp44 "180"
     
    // <#> set amount of Ammo to restock for weapon_p38
    // -
    // Default: "16"
    dod_restock_weapon_p38 "16"
     
    // <#> set amount of Ammo to restock for weapon_pschreck
    // -
    // Default: "4"
    dod_restock_weapon_pschreck "4"
     
    // <#> set amount of Ammo to restock for weapon_riflegren_ger
    // -
    // Default: "2"
    dod_restock_weapon_riflegren_ger "2"
     
    // <#> set amount of Ammo to restock for weapon_riflegren_us
    // -
    // Default: "2"
    dod_restock_weapon_riflegren_us "2"
     
    // <#> set amount of Ammo to restock for weapon_smoke_ger
    // -
    // Default: "0"
    dod_restock_weapon_smoke_ger "0"
     
    // <#> set amount of Ammo to restock for weapon_smoke_us
    // -
    // Default: "0"
    dod_restock_weapon_smoke_us "0"
     
    // <#> set amount of Ammo to restock for weapon_spring
    // -
    // Default: "50"
    dod_restock_weapon_spring "50"
     
    // <#> set amount of Ammo to restock for weapon_thompson
    // -
    // Default: "180"
    dod_restock_weapon_thompson "180"


    CHANGELOG:
    • 13 October 2008 - Version 1.0
      * Initial Release
    • 16 November 2008 - Version 1.1 NEW!
      - New Features:
      * added Multi-Language support!
      - Optimizations:
      * removed cvar for spade and knife
    SERVERS RUNNING THIS PLUGIN:
    http://www.game-monitor.com/search.p...&type=variable


    PLEASE NOTE:

    You do NOT need to add any of the above CVars to neither your
    server.cfg nor to your sourcemod.cfg! The plugins create their
    own config files on first startup in the folder
    "/orangebox/dod/cfg/dod_restock_source/"
    on your gameserver! Just edit those files to your needs and you're done!

    +++++++++++++++++++++++++++++++++++++++++++++ ++++++


    DOWNLOAD!
    (according to the rules, NO registration is required and the download can be reached within a few clicks! Source and pre-compiled Plugins included!)

    For extended Support please be sure to join our
    Community and post your feature requests and bug reports there!

    Credits to "cladiron" for the original idea (EventScripts)
    Credits to "retsam" for the request and suggestions (SourceMod)

    Last edited by FeuerSturm; 04-24-2009 at 15:41. Reason: new Version 1.1
    FeuerSturm is offline
     



    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 01:25.


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