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

[ZR] Poison Thrower v1.7


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Despirator
Senior Member
Join Date: Jun 2011
Location: Kazakhstan ->Shymkent
Plugin ID:
2384
Plugin Version:
1.7
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    4 
    Plugin Description:
    Allow zombies to throw poison infection and infect everyone opposite him
    Old 06-18-2011 , 15:57   [ZR] Poison Thrower v1.7
    Reply With Quote #1

    Requirements:
    Zombie:Reloaded latest stable
    Sourcemod 1.3 or higher

    Decription:
    Allow zombies to throw poison infection and infect everyone opposite him

    How to use:
    A zombie must press right mouse button to throw

    Console Variables:
    zr_poison_version - The plugin's version
    zr_poison_enabled - Enables/Disables the plugin
    zr_poison_amount - Amount of poisons. (0 = infinity)
    zr_poison_admins_only - Allow only admins to use this feature
    zr_poison_admins_unlimited - Allow admins to have unlimited amount of poisons
    zr_poison_admins_flag - An admin flag who can use this feature
    zr_poison_motherzombies_only - Allow only mother zombies to use the poisonthrower
    zr_poison_sound - Path to the poison blast sound
    zr_poison_delay - Delay between poisons blast
    zr_poison_distance - Distance

    Installation:
    Put zr_PoisonThrower.sp to the addons/sourcemod/scripting folder
    Put zr_PoisonThrower.smx to the addons/sourcemod/plugins folder
    Put zr_poisonthrower.txt to the addons/sourcemod/translations folder
    The config file be auto-generated here - cfg/sourcemod/zombiereloaded/PoisonThrower.cfg

    Changelog:
    Quote:
    v1.1
    Fixed bug

    v1.2
    Changed to the right mouse button

    v1.3
    Added Cvar sm_poison_distance
    Removed Cvar sm_poison_spawndelay
    Changed config path to cfg/sourcemod/zombiereloaded/PoisonThrower.cfg

    v1.4
    Fixed few bugs
    Fixed bug infecting through walls

    v1.5
    Complete rewrite
    Optimized script
    Added cvar zr_poison_admins_flag
    Changed all prefixes of Cvars to zr_

    v1.6
    Added translation file

    v1.7
    Fixed missed translation format
    Added new cvar zr_poison_motherzombies_only
    You have to update config file
    Attached Files
    File Type: txt zr_poisonthrower.txt (136 Bytes, 2195 views)
    File Type: smx zr_PoisonThrower.smx (8.5 KB, 2002 views)
    File Type: sp Get Plugin or Get Source (zr_PoisonThrower.sp - 1895 views - 10.6 KB)

    Last edited by Despirator; 06-22-2011 at 07:17. Reason: Updated
    Despirator is offline
    matedgo
    SourceMod Donor
    Join Date: Apr 2011
    Old 06-18-2011 , 16:06   Re: [ZR] Poison Thrower v1.5
    Reply With Quote #2

    zombie can posion, when posion somebody he becomes zombie ?, what range of that is ?
    matedgo is offline
    Despirator
    Senior Member
    Join Date: Jun 2011
    Location: Kazakhstan ->Shymkent
    Old 06-19-2011 , 03:07   Re: [ZR] Poison Thrower v1.5
    Reply With Quote #3

    u can configure that with zr_poison_distance
    Despirator is offline
    TnTSCS
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Undisclosed...
    Old 06-19-2011 , 22:40   Re: [ZR] Poison Thrower v1.5
    Reply With Quote #4

    might be fun... I just might try it

    for admins and ViP players

    what's a good sound to suggest for this?
    TnTSCS is offline
    Greyscale
    SourceMod Plugin Approver
    Join Date: Dec 2007
    Location: strYoMommasHouse[you];
    Old 06-20-2011 , 03:31   Re: [ZR] Poison Thrower v1.5
    Reply With Quote #5

    This is pretty cool! One suggestion though, can you move the hardcoded messages to translations files? If you need a guide use the SM wiki there's a good explanation of it.

    (English translations would be cool too)

    Everything else looks good, thanks for releasing this!

    You basically just load the file and change your PrintToChat lines to PrintToChat(client, "%t", "phrase", parameter1, ...) but look to the wiki for more detailed stuff.
    __________________
    Greyscale is offline
    Despirator
    Senior Member
    Join Date: Jun 2011
    Location: Kazakhstan ->Shymkent
    Old 06-20-2011 , 04:59   Re: [ZR] Poison Thrower v1.5
    Reply With Quote #6

    I know hot to use translations file, why it is not in english? because i did it for another russian site

    Edit:
    well, i have updated it to use translation file | special4u

    Last edited by Despirator; 06-20-2011 at 05:17.
    Despirator is offline
    Greyscale
    SourceMod Plugin Approver
    Join Date: Dec 2007
    Location: strYoMommasHouse[you];
    Old 06-21-2011 , 00:19   Re: [ZR] Poison Thrower v1.6
    Reply With Quote #7

    Approved
    __________________
    Greyscale is offline
    TnTSCS
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Undisclosed...
    Old 06-21-2011 , 11:45   Re: [ZR] Poison Thrower v1.6
    Reply With Quote #8

    Yes yes... I'll load up the translation file

    I like the plugin - it has its upsides and downsides and I'll load it on a per map basis
    TnTSCS is offline
    Dagunchi
    Member
    Join Date: Sep 2009
    Old 06-21-2011 , 21:00   Re: [ZR] Poison Thrower v1.6
    Reply With Quote #9

    Hello, i have an error and plugin not working:

    Code:
    L 06/22/2011 - 03:43:41: [SM] Plugin encountered error 22: Maximum number of parameters reached
    L 06/22/2011 - 03:43:41: [SM] Native "PrintToChat" reported: Translation string formatted incorrectly - missing at least 1 parameters
    L 06/22/2011 - 03:43:41: [SM] Displaying call stack trace for plugin "zr_PoisonThrower.smx":
    L 06/22/2011 - 03:43:41: [SM]   [0]  Line 133, ./zr_PoisonThrower.sp::OnButtonPress()
    L 06/22/2011 - 03:43:41: [SM]   [1]  Line 109, ./zr_PoisonThrower.sp::OnPlayerRunCmd()
    I have disabled base plugins because i use for admins mani admin plugin!
    Disabled:

    adminhelp
    adminmenu
    basebans

    Enabled:
    admin-flatfile
    clientprefs

    Can you help to resolve this?

    Thanks!

    Last edited by Dagunchi; 06-21-2011 at 21:03.
    Dagunchi is offline
    Paparazziv2
    Senior Member
    Join Date: Feb 2011
    Location: Chile, La Serena
    Old 06-21-2011 , 22:44   Re: [ZR] Poison Thrower v1.6
    Reply With Quote #10

    all zombies have this bomb?
    Paparazziv2 is offline
    Send a message via MSN to Paparazziv2
    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 18:52.


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