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

[CSS] Bomb Bonus


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Plugin ID:
1017
Plugin Version:
2.0
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Creates incentives for completing bomb objectives.
    Old 07-21-2009 , 04:20   [CSS] Bomb Bonus
    Reply With Quote #1

    Bomb Bonus
    Version 2.0


    Description:
    This plugin was designed for giving an extra insentive to completeing objectives on bomb maps.
    It allows you to set theamount of cash you get or is taken away. It also is fully modular.
    It has cvars that allows youto only have on what you want.
    And last but not least it displays text to alert the client of what is going on.






    Cvars:
    • bb_toggle <1> - Turns the plugin on and off
    • bb_dropon <1> - Turns bomb drop deduction on and off .
    • bb_pikupon <1> - Turns bomb pick up bonus on and off .
    • bb_planton <1> - Turns bomb plant bonus on and off.
    • bb_defon <1> - Turns bomb defuse bonus on and off.
    • bb_platon <1> - Turns bomb plant attempt bonus on and off.
    • bb_defaton <1> - Turns bomb defuse attmpt bonus on and off.
    • bb_bombbonus <500> - Amount of cash for bomb pickup and drop.
    • bb_plantbonus <1000> - Amount of cash for planting the bomb.
    • bb_defusebonus <1000> - Amount of cash for planting the bomb.
    • bb_platt <500> - Amount of cash for attempting to plant the bomb.
    • bb_defatt <500> - Amount of cash for attempting to defuse the bomb.
    • bb_print <1> - Selects the type of display text you want 1=Hint | 2=Chat | 3=Center
    • bb_print2 <3> - Must be differnt from bb_print. This shows who is defusing or planting the bomb.

    Server(s):
    Credits:
    • Greyscale - For showing me errors and fixing some code.
    • TESLA-X4 - For fixing errors
    ToDo List:
    • Nothing
    Change log:


    1.0
    Initial Release
    1.1
    Bug fixes:
    Changed
    Code:
    GetEntDataEnt2(client, MoneyOffset);
    with
    Code:
    GetEntData(client, MoneyOffset, 4);
    1.2
    Removed explode and defuse parts of plugin till i can get it working. Every thing else works fine
    2.0
    Added in defuse bonus for Ct's
    Attached Files
    File Type: sp Get Plugin or Get Source (bonus-edit.sp - 1826 views - 8.7 KB)

    Last edited by Doc-Holiday; 08-09-2009 at 18:31.
    Doc-Holiday is offline
    Acid07
    Member
    Join Date: May 2009
    Old 07-21-2009 , 04:51   Re: [CSS] Bomb Bonus
    Reply With Quote #2

    i'll try it on the cyber cafe i work at and my dedi that rarely works
    Acid07 is offline
    Doc-Holiday
    AlliedModders Donor
    Join Date: Jul 2007
    Old 07-21-2009 , 05:03   Re: [CSS] Bomb Bonus
    Reply With Quote #3

    Quote:
    Originally Posted by Acid07 View Post
    i'll try it on the cyber cafe i work at and my dedi that rarely works

    After testing it shows on round start T's have 499 money. if you drop the bomb you get a shit load of cash. if you plant you get 500, if it blows up you get nothing

    Working on some bug fixes lol

    Last edited by Doc-Holiday; 07-21-2009 at 14:59.
    Doc-Holiday is offline
    Doc-Holiday
    AlliedModders Donor
    Join Date: Jul 2007
    Old 07-21-2009 , 15:31   Re: [CSS] Bomb Bonus
    Reply With Quote #4

    As of right now it works almost 80%

    Drop
    Plant
    Pickup
    plant attempt
    Defuse attempt
    Expload

    are all working, How ever the only ones not working is

    Cts loosing money on bomb explode
    and the full Defuse.

    I wont be able to fix those untill i can test it more this weekend.

    Last edited by Doc-Holiday; 07-21-2009 at 16:26.
    Doc-Holiday is offline
    Doc-Holiday
    AlliedModders Donor
    Join Date: Jul 2007
    Old 07-23-2009 , 01:48   Re: [CSS] Bomb Bonus
    Reply With Quote #5

    Removed a few parts of this plugin and will add them back in when i get it working 100%


    Just removed bomb explode and defuse functions
    Doc-Holiday is offline
    Doc-Holiday
    AlliedModders Donor
    Join Date: Jul 2007
    Old 07-26-2009 , 01:16   Re: [CSS] Bomb Bonus
    Reply With Quote #6

    Can an aprover take a look at it now. Removed problems will add them in an update when working correctly... Only portion removed is explode and defuse. every thing else works flawlessly
    Doc-Holiday is offline
    Doc-Holiday
    AlliedModders Donor
    Join Date: Jul 2007
    Old 08-09-2009 , 17:26   Re: [CSS] Bomb Bonus
    Reply With Quote #7

    Fixed say text for planting bomb
    Doc-Holiday is offline
    Doc-Holiday
    AlliedModders Donor
    Join Date: Jul 2007
    Old 08-09-2009 , 18:32   Re: [CSS] Bomb Bonus
    Reply With Quote #8

    2.0 Released..

    Added:
    Money when you defuse the bomb
    Doc-Holiday is offline
    Sammit92
    Member
    Join Date: Apr 2010
    Old 04-27-2011 , 08:28   Re: [CSS] Bomb Bonus
    Reply With Quote #9

    Hi.
    On Counter-Strike Source v60 doesn't work "bb_print2 <3> - Must be differnt from bb_print. This shows who is defusing or planting the bomb."
    What to do?
    Sammit92 is offline
    Crawfy2D
    Member
    Join Date: Aug 2007
    Location: Hamburg (Germany)
    Old 03-09-2020 , 15:33   Re: [CSS] Bomb Bonus
    Reply With Quote #10

    Quote:
    Originally Posted by Sammit92 View Post
    Hi.
    On Counter-Strike Source v60 doesn't work "bb_print2 <3> - Must be differnt from bb_print. This shows who is defusing or planting the bomb."
    What to do?
    same at me, who is planting or defusing the bomb will not show in center or in hint text. only chat is working. please fix it
    Crawfy2D is offline
    Send a message via ICQ to Crawfy2D Send a message via Skype™ to Crawfy2D
    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 01:38.


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