Raised This Month: $32 Target: $400
 8% 

Zombie:Reloaded Infect Options


Post New Thread Reply   
 
Thread Tools Display Modes
Author
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Plugin ID:
2949
Plugin Version:
0.0.1.2
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    3 
    Plugin Description:
    Extend the infection options to include freeze, disarm, and teleport.
    Old 05-13-2012 , 02:36   Zombie:Reloaded Infect Options
    Reply With Quote #1

    Requires Zombie:Reloaded.

    This was a request from this post:
    Quote:
    Originally Posted by Zerovize View Post
    Hey Guys,
    ... Is there an Addon that teleports a knifed zombie to the T's /CT's Spawn? So that the Zombie can't knife his mates?
    DESCRIPTION:
    What this plugin does is extend the infection options beyond the simple zr_infect_mzombie_respawn. This plugin allows you to teleport newly infected zombies, freeze newly infected zombies, and/or disarm newly infected zombies. You can apply these infection options to the mother zombie as well.

    New in 0.0.1.2 are igniting and speed changing newly infected zombies for a specified time.

    By disarming the zombies when they're infected, you can prevent the sometimes ultra mass zombie infection if everyone is in a choke point on a map and the infections just domino on top of one another.

    Freezing the newly infected zombie (without disarming them) might allow for one or two more infections in a choke point.
    sm_zrio_options
    - Sepcifies the infection options which should be used. Add up the values below to get the functionality you want.
    1: Teleport all newly infected zombies back to their spawn
    2: Use sm_zrio_teleporttime
    4: Disarm all newly infected zombies (remove their claws)
    8: Only disarm zombies after teleport time expires
    16: Freeze all newly infected zombies
    32: Only freeze zombies after teleport time expires
    64: Apply these infection options to Mother Zombies
    128: Ignite all newly infected zombies (set time with sm_zrio_ignitetime)
    256: Only ignite zombies after teleport time expires?
    512: Set speed on newly infected zombies (set speed with sm_zrio_speed and time with sm_zrio_speedtime)
    1024: Only alter speed after teleport time expires?
    The above is the CVar to turn on and off the extra infection options. If you set sm_zrio_options to 65, then all, not just the mother, zombies will be transported back to their spawn point. If you set it to 67, then they will only be teleported back to spawn during the seconds defined in sm_zrio_teleporttime (see CVars below).

    Use any one or all of the infection options, as you see fit. There are CVars to the freeze and disarm time limits so you can set how long a player will remain froze or disarmed (individually).

    Currently I do not have Updater attached to this plugin (mainly because it's late right now), but I'll include it in a later update. I'm going to add an ignite option for newly infected zombies and possibly a speed option, both with timers.

    CVars


    Change Log


    REQUIREMENTS:
    Zombie:Reloaded 3.0-b2 patch-r675 (or latest)
    SDKHooks

    TO DO List
    * Add more options (suggest some)

    Credits:
    * Richard and Greyscale for Zombie:Reloaded stuff
    * berni for SMLib
    * SDKHooks developers

    Notes:
    If you are going to compile yourself, you'll need the includes for SDKHooks, Zombie:Reloaded, and SMLib.

    INSTALLATION:
    Put the .smx in your plugins folder, then edit the automatically created config file plugin.zr_infect_options.cfg

    I've included the cfg file here since the sm_zrio_options gets cut off when it gets auto-created.

    If you want the debug version, edit the .sp and set the _DEBUG to 1 then compile.
    Attached Files
    File Type: smx zr_infection_options.smx (13.5 KB, 1972 views)
    File Type: sp Get Plugin or Get Source (zr_infection_options.sp - 1525 views - 17.8 KB)
    File Type: cfg plugin.zr_infection_options.cfg (2.0 KB, 1957 views)
    __________________
    View my Plugins | Donate

    Last edited by TnTSCS; 08-06-2012 at 17:55. Reason: Update from 0.0.1.1 to 0.0.1.2
    TnTSCS is offline
    Zerovize
    Member
    Join Date: May 2012
    Location: Germany
    Old 05-14-2012 , 11:26   Re: Zombie:Reloaded Infect Options
    Reply With Quote #2

    Wow thanks you are amazing <3333

    /edit
    Looks nice but won´t work for me :/
    I put the .smx in the plugins folder and the.sp in the script folder.
    But i must say i dont know where to put:
    sm_zrio_usefreeze
    sm_zrio_usedisarm
    sm_zrio_useteleport



    I installed the newest version of SDKHooks too.
    But it dont create a .cfg :/

    Last edited by Zerovize; 05-14-2012 at 12:31.
    Zerovize is offline
    TnTSCS
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Undisclosed...
    Old 05-14-2012 , 19:10   Re: Zombie:Reloaded Infect Options
    Reply With Quote #3

    works fine on my test Zombie:Reloaded server...

    please post the outputs of the following rcon commands:

    sm version
    sm plugins list
    zr_version
    __________________
    View my Plugins | Donate
    TnTSCS is offline
    Zerovize
    Member
    Join Date: May 2012
    Location: Germany
    Old 05-15-2012 , 06:29   Re: Zombie:Reloaded Infect Options
    Reply With Quote #4

    sm version: SourceMod Version: 1.4.2
    sm plugins list: 01 "SM Parachute" (2.5) by SWAT_88
    02 "MapChooser" (1.4.2) by AlliedModders LLC
    03 "Admin File Reader" (1.4.2) by AlliedModders LLC
    04 "SMAC Eye Angle Test" (0.7.8.2) by GoD-Tony, psychonic
    05 "SMAC Aimbot Detector" (0.7.8.2) by GoD-Tony
    06 "SMAC Anti-Speedhack" (0.7.8.2) by GoD-Tony
    07 "Basic Chat" (1.4.2) by AlliedModders LLC
    08 "Noblock Trigger" (1.01) by Heartless
    09 "Basic Comm Control" (1.4.2) by AlliedModders LLC
    10 "Anti-Flood" (1.4.2) by AlliedModders LLC
    11 "Fun Votes" (1.4.2) by AlliedModders LLC
    12 "SourceMod Anti-Cheat" (0.7.8.2) by GoD-Tony, psychonic
    13 "Ammo Script for Zombie:Reloaded" (2.1) by [SG-10]Cpt.Moore, Richard Helgeby, Kyle Sanderson
    14 "Player Commands" (1.4.2) by AlliedModders LLC
    15 "Basic Ban Commands" (1.4.2) by AlliedModders LLC
    16 "SMAC AutoTrigger Detector" (0.7.8.2) by GoD-Tony
    17 "Basic Votes" (1.4.2) by AlliedModders LLC
    18 "HLstatsX CE Ingame Plugin" (1.6. by psychonic
    19 "ZR Infect Options" (0.0.1.0) by TnTSCS aka ClarkKent
    20 "SMAC Spinhack Detector" (0.7.8.2) by GoD-Tony
    21 "Basic Info Triggers" (1.4.2) by AlliedModders LLC
    22 "Fun Commands" (1.4.2) by AlliedModders LLC
    23 "Beacon Last Human" (1.0.0-stable) by alongub
    24 "SMAC CS:S Anti-Rejoin" (0.7.8.2) by Kigen
    25 "SMAC Rcon Locker" (0.7.8.2) by GoD-Tony, Kigen
    26 "RandomCycle" (1.4.2) by AlliedModders LLC
    27 "Admin Menu" (1.4.2) by AlliedModders LLC
    28 "Reserved Slots" (1.4.2) by AlliedModders LLC
    29 "Zombie:Reloaded" (3.0.0-b2) by Greyscale | Richard Helgeby
    30 "Basic Commands" (1.4.2) by AlliedModders LLC
    31 "Admin Help" (1.4.2) by AlliedModders LLC
    32 "gameME Plugin" (4.0) by TTS Oetzel & Goerz GmbH
    33 "Rock The Vote" (1.4.2) by AlliedModders LLC
    34 "Players Votes" (1.5.0) by The Resident, pZv!
    35 "Nextmap" (1.4.2) by AlliedModders LLC
    36 "Sound Commands" (1.4.2) by AlliedModders LLC
    37 "Client Preferences" (1.4.2) by AlliedModders LLC
    38 "Map Nominations" (1.4.2) by AlliedModders LLC
    39 <Failed> "SMAC KAC Global Banlist" (0.7.8.2) by Kigen
    zr_version: 3.0.0-b2

    And like i said i dont know where to put in these 3 lines^^:
    sm_zrio_usefreeze
    sm_zrio_usedisarm
    sm_zrio_useteleport

    Thanks for your help
    Zerovize is offline
    TnTSCS
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Undisclosed...
    Old 05-15-2012 , 09:23   Re: Zombie:Reloaded Infect Options
    Reply With Quote #5

    19 "ZR Infect Options" (0.0.1.0) by TnTSCS aka ClarkKent

    It shows it's running...

    plugin.infect.options.cfg in your cstrike/cfg folder (same location as your server.cfg).

    one more thing... give the output of these commands:

    meta list
    sm exts list
    __________________
    View my Plugins | Donate

    Last edited by TnTSCS; 05-15-2012 at 09:24.
    TnTSCS is offline
    Zerovize
    Member
    Join Date: May 2012
    Location: Germany
    Old 05-15-2012 , 13:33   Re: Zombie:Reloaded Infect Options
    Reply With Quote #6

    Oh my godness is works <33
    Thank you sooo much
    Do you can make a Beacon for everyone too? xD
    Zerovize is offline
    TnTSCS
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Undisclosed...
    Old 05-15-2012 , 13:37   Re: Zombie:Reloaded Infect Options
    Reply With Quote #7

    a plugin where anyone can beacon themselves?
    __________________
    View my Plugins | Donate
    TnTSCS is offline
    Zerovize
    Member
    Join Date: May 2012
    Location: Germany
    Old 05-15-2012 , 13:42   Re: Zombie:Reloaded Infect Options
    Reply With Quote #8

    Yes
    With nice colours xD And with an command like !beaconme or in short !bc

    Last edited by Zerovize; 05-15-2012 at 14:18.
    Zerovize is offline
    pillepallus
    Senior Member
    Join Date: Oct 2011
    Old 05-20-2012 , 09:18   Re: Zombie:Reloaded Infect Options
    Reply With Quote #9

    added... just need to say: many thanks!
    pillepallus is offline
    TnTSCS
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Undisclosed...
    Old 05-20-2012 , 12:22   Re: Zombie:Reloaded Infect Options
    Reply With Quote #10

    Plugin Updated to version 0.0.1.1:

    Added teleport timer so you can define the amount of time to use the teleport feature so you don't send players to spawn on infection if the map you're on uses spawn killers. You define the time.
    __________________
    View my Plugins | Donate

    Last edited by TnTSCS; 05-20-2012 at 12:22.
    TnTSCS 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 05:38.


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