View Single Post
Author Message
JonnyBoy0719
Member
Join Date: Apr 2012
Location: Sweden
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 - 485 views - 18.0 KB)
File Type: inc contagion.inc (8.4 KB, 481 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