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

[L4D2] Special Ammo Awards


Post New Thread Reply   
 
Thread Tools Display Modes
Author
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Plugin ID:
1378
Plugin Version:
1.0.5
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    23 
    Plugin Description:
    Old 01-02-2010 , 17:43   [L4D2] Special Ammo Awards
    Reply With Quote #1

    As its predecessor for L4D this Plugin awards Players which kill a certain amount of Zombies with Special Ammo.


    Ammotypes:

    L4D2 Incendiary Ammo
    L4D2 Explosive Ammo
    DumDum Ammo (pushes Infected back on hit)



    Unlike in L4D, since special ammo is now supported by the game itself, we have some changes:

    Explosive and Incendiary Rounds are Gun Exclusive. DumDum Rounds are NOT.


    If you have a shotgun weapon, the amount of Special Rounds you receive as per CVAR gets divided by 5.


    CVARS:
    • l4d2_specialammo_killcountsetting (default 50) How many Zombies killed earns your special ammo
    • l4d2_specialammo_amount (default 100) How much Special Ammo you get
    • l4d2_specialammo_dumdumforce (default 150) How much force do DumDum Rounds apply to Infected

    - Works in all Gamemodes -



    Changelog:

    1.0.0 - Release
    1.0.1 - added l4d2 game check
    1.0.2 - fixed not giving out upgrades
    1.0.3 - fixed resetting special ammo to 0
    1.0.4 - added Connection and RoundStart resets
    1.0.5 - fixed chat spam on dumdum end
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_specialammo.sp - 9561 views - 11.8 KB)

    Last edited by AtomicStryker; 03-26-2010 at 13:51.
    AtomicStryker is offline
    happystation
    New Member
    Join Date: Jan 2010
    Old 01-03-2010 , 07:23   Re: [L4D2] Special Ammo Awards
    Reply With Quote #2

    Nice!
    happystation is offline
    Blu3star
    Member
    Join Date: Jul 2009
    Old 01-03-2010 , 16:31   Re: [L4D2] Special Ammo Awards
    Reply With Quote #3

    After I've won all the ammo for the first time, (I set it at a low number
    because I run a 10 slot), It just stops the counts. So you only get 1
    of each ammo.
    Blu3star is offline
    Downtown1
    Veteran Member
    Join Date: Mar 2004
    Old 01-03-2010 , 16:44   Re: [L4D2] Special Ammo Awards
    Reply With Quote #4

    Add this

    PHP Code:
    public OnPluginStart()
    {
        
    // Require Left 4 Dead 2
        
    decl String:game_name[64];
        
    GetGameFolderName(game_namesizeof(game_name));
        if (!
    StrEqual(game_name"left4dead2"false))
        {
            
    SetFailState("Plugin supports Left 4 Dead 2 only.");
        }

    Downtown1 is offline
    AtomicStryker
    Veteran Member
    Join Date: Apr 2009
    Location: Teutonia!!
    Old 01-03-2010 , 17:16   Re: [L4D2] Special Ammo Awards
    Reply With Quote #5

    Added.
    AtomicStryker is offline
    Bongholio
    Senior Member
    Join Date: Sep 2009
    Old 01-05-2010 , 21:49   Re: [L4D2] Special Ammo Awards
    Reply With Quote #6

    didn't work at all

    supposing it loaded

    shut down

    edited the generated .cfg

    NADA

    U can see the coop campaign and smod/meta running versions
    at bottom of other posts of mine

    EDIT

    game reboot mighta fixed it
    or restoring defaults in config
    I saw some people getting upgrades a few times
    I might have set the config too low?

    There a 2 sets of
    //default's
    in my config (confusing)

    PS anyone know how I can restore my txt to non underlined (doh!) PM me

    RE EDIT

    not working (not enough common I dunno?)

    plugins


    spawn minigun
    smoke it
    show damage
    perkmod2
    modelfun
    l4dpainter
    l4d_sm_respawn
    l4d_cloud_damage
    l4d2_infected_bots
    l4d2_csm
    l4d2_weaponspawner_04
    l4d2_spawn uncommons
    l4d2_sm_setmodel.smx
    l4d2_lasersight.smx
    l4d2_jockey_dismount.smx
    l4d2_ghostchargerfix.smx
    l4d2_bulldozercertificate.smx
    jetpack.smx
    all4dead2.smx

    L4D2 coop/campaign
    non-dedicated server
    sourcemod-1.3.0-hg2865.zip
    mmsource-1.8.0-hg688.zip
    (wish I knew why everything is underlined and how to get rid of it!!!)

    Last edited by Bongholio; 01-10-2010 at 05:57.
    Bongholio is offline
    oms600
    Junior Member
    Join Date: Jan 2010
    Old 01-15-2010 , 08:47   Re: [L4D2] Special Ammo Awards
    Reply With Quote #7

    why it only giv special ammo one time only??
    oms600 is offline
    AtomicStryker
    Veteran Member
    Join Date: Apr 2009
    Location: Teutonia!!
    Old 01-15-2010 , 10:46   Re: [L4D2] Special Ammo Awards
    Reply With Quote #8

    It was a bug, fixed now.
    AtomicStryker is offline
    oms600
    Junior Member
    Join Date: Jan 2010
    Old 01-15-2010 , 22:48   Re: [L4D2] Special Ammo Awards
    Reply With Quote #9

    ok..it giving upgrades now...but it doesnt really giving the special ammo..o.0

    i set the special ammo amount at 200

    but it only giv 50...thn after a sec it change to 0...

    is this a bug?
    oms600 is offline
    Acecombat2
    Senior Member
    Join Date: Nov 2009
    Old 01-16-2010 , 09:38   Re: [L4D2] Special Ammo Awards
    Reply With Quote #10

    i got the same problem as oms600.
    __________________
    I'm Noob So Please Don't Criticise me (Fail In Engglish)
    Acecombat2 is offline
    Reply


    Thread Tools
    Display Modes

    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 02:32.


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