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

[Contagion] Be the Mod (Special Survivor/Zombie)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
JonnyBoy0719
Member
Join Date: Apr 2012
Location: Sweden
Plugin ID:
4488
Plugin Version:
1.6
Plugin Category:
Gameplay
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Makes the first player a speical zombie and/or survivor
    Old 01-17-2015 , 03:57   [Contagion] Be the Mod (Special Survivor/Zombie)
    Reply With Quote #1

    BE THE MOD (Special Survivor/Zombie)

    Those who want to have the recent source code, its available on my github:
    https://github.com/jonnyboy0719/Sourcemod-Contagion-Be-The-Mod/

    About
    This plugin was in the begining a simple "Carrier" plugin for Contagion, but later changed and evolved into "Be The Mod (Special Survivor/Zombie)" instead. This plugin will make the first player a special survivor/zombie, depending which team you are on, and who many can be that special survivor/zombie.
    Screenshots
    Spoiler

    Commands
    sm_bethemod_version -- Current "Be The Special Survivor/Infected" Version
    sm_bethemod_debug -- 0 - Disable debugging | 1 - Enable Debugging
    sm_bethemod_max_carrier -- How many carriers should can we have alive at once?
    sm_bethemod_max_riot -- How many riots should can we have alive at once?
    sm_bethemod_carrier_health -- Value to change the carrier health to. Minimum 250.
    sm_bethemod_riot_health -- Value to change the carrier health to. Minimum 250.
    sm_bethemod_infection_normal -- 0 - Disable normal zombie infection | 1 - Enable normal zombie infection
    sm_bethemod_infection -- Value to change the carrier infection time to. Minimum 20.
    Change Log
    v1.4 -> 1.6 (2015-01-22)
    • Plugin changed to "Be The Mod (Special Survivor/Zombie)"
    • Added new convars
    • Added Infection rate for "Carrier"
    • Added toggle infection to be enabled for normal zombies (carrier will always have its infection rate) to give it more like a Zombie Panic! Source gameplay feel.
    • Fixed crash bugs with the riot and carrier models when dying.
    • Fixed survivor spawning bug when the client still haves g_ifRiot == STATE_RIOT
    • Added a new function called CONTAGION_SetNewHealth(client, sethealth, newmaxhealth) that fixes health percentage bug to be more than 100%.
    v1.3 (2015-01-17)
    • Fixed carrier max limit (hopefully now there won't be 2 or more carriers if its set to 1)
    v1.2 (2015-01-17)
    • Fixed crash bug when dying
    v1.1 (2015-01-17)
    • Added debugging, so it won't spam when players spawns
    v1.0 (2015-01-17)
    • Initial Release
    Developer Notes
    The downloading may or may not work for everyone, but its a 50/50 change people will get the content downloaded trough FastDL. Make sure you have a FastDL server and sv_downloadurl fully configured.

    You can also find the content on my github page:

    https://github.com/jonnyboy0719/Sour...on-Be-The-Mod/

    The reason its not on the attachments as a ZIP is because it exceeded 9MB.
    Attached Files
    File Type: sp Get Plugin or Get Source (contagion_bethemod.sp - 482 views - 18.0 KB)
    File Type: inc contagion.inc (8.4 KB, 480 views)
    __________________

    Last edited by JonnyBoy0719; 01-22-2015 at 06:35. Reason: the code was changed 85%
    JonnyBoy0719 is offline
    Send a message via Skype™ to JonnyBoy0719
    JonnyBoy0719
    Member
    Join Date: Apr 2012
    Location: Sweden
    Old 01-18-2015 , 06:19   Re: [Contagion] Be the Carrier!
    Reply With Quote #2

    Updated the include file, now you can set/get infection time, set/get stamina and set/get extra ammo for any gun, except melee weapons. Will include more once i get 1.4 out for the plugin.
    __________________
    JonnyBoy0719 is offline
    Send a message via Skype™ to JonnyBoy0719
    JonnyBoy0719
    Member
    Join Date: Apr 2012
    Location: Sweden
    Old 01-22-2015 , 06:39   Re: [Contagion] Be the Mod (Special Survivor/Zombie)
    Reply With Quote #3

    == ChangeLog (2015-01-22) ==
    • Plugin changed to "Be The Mod (Special Survivor/Zombie)"
    • Added new convars
    • Added Infection rate for "Carrier"
    • Added toggle infection to be enabled for normal zombies (carrier will always have its infection rate) to give it more like a Zombie Panic! Source gameplay feel.
    • Fixed crash bugs with the riot and carrier models when dying.
    • Fixed survivor spawning bug when the client still haves g_ifRiot == STATE_RIOT
    • Added a new function called CONTAGION_SetNewHealth(client, sethealth, newmaxhealth) that fixes health percentage bug to be more than 100%.
    A lot of bugs from 1.5 has been fixed, but there might be new bugs since the plugin was redone a bit.
    __________________
    JonnyBoy0719 is offline
    Send a message via Skype™ to JonnyBoy0719
    Alexmy
    Senior Member
    Join Date: Oct 2014
    Location: Russian Federation
    Old 08-21-2015 , 09:20   Re: [Contagion] Be the Mod (Special Survivor/Zombie)
    Reply With Quote #4

    Hi, there is a chance for the Left 4 Dead?)
    Alexmy is offline
    ZBzibing
    Senior Member
    Join Date: Dec 2012
    Old 12-29-2015 , 01:23   Re: [Contagion] Be the Mod (Special Survivor/Zombie)
    Reply With Quote #5

    thanks,i need it
    ZBzibing is offline
    Teamkiller324
    Senior Member
    Join Date: Feb 2014
    Location: Earth
    Old 02-15-2021 , 11:29   Re: [Contagion] Be the Mod (Special Survivor/Zombie)
    Reply With Quote #6

    Changelog
    Quote:

    Version 1.7
    + Updated to new syntax on both include & plugin.
    + Updated CTEAM to CETeam [Include]
    + Updated CONTAGION to CE as function prefix. [Include]
    + Added CE_GetClientTeam to return clients team in CETeam format. [Include]
    + Added CE_ChangeClientTeam to change clients team in CETeam format. [Include]

    Attached Files
    File Type: sp Get Plugin or Get Source (contagion_bethemod.sp - 121 views - 17.5 KB)
    File Type: inc contagion.inc (9.0 KB, 89 views)
    __________________
    Teamkiller324 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 21:01.


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