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

Zombie:Reloaded Infect Options


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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, 1950 views)
    File Type: sp Get Plugin or Get Source (zr_infection_options.sp - 1522 views - 17.8 KB)
    File Type: cfg plugin.zr_infection_options.cfg (2.0 KB, 1949 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
     


    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 05:41.


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