In ZPS there is usually a single carrier faster tougher and capable of infecting survivors, to make things a little more difficult for the survivors this plugin alows you to set the amont of carriers in game.
CVARs:
zps_carriermod_version - current version
sm_maxcarriers - Changes the amount of Carriers. (default & disabled = 1, 0 = players with reservation)
sm_carrier - sets player as a carrier
Comments:
This plugin is my favorate creation so far, I hope you enjoy it!
Setting carriers to 0 means when ever a player with reservation becomes a zomie he will be a carrier.
Also be sure to set sv_usescustom to 1, to show your server has moded gameplay, or face the wrath of the devs!
To set the number of carriers add this to your server.cfg
sm_maxcarriers "3" replacing the number with your preferance.
No Longer Needed - Admin Menu Built-in
You can also add this to your adminmenu_custom.txt to set carriers in game.
Code:
"Commands"
{
"ServerCommands"
{
"Max Carriers"
{
"cmd" "sm_cvar sm_maxcarriers #1"
"admin" "sm_rcon"
"execute" "player"
"1"
{
"type" "list"
"title" "Max Carriers"
"1" "0" "1." "Reservation"
"2" "1" "2." "Default"
"3" "2" "3." "2"
"4" "3" "4." "3"
"5" "5" "5." "5"
"6" "7" "6." "7"
"7" "10" "7." "10"
}
}
}
}
Limitations:
This plugin will add to carriers upto the maximum number in hardcore, but if a survivor is infected and turns when the maximum has already been reached he will still become a carrier, its possible to prevent this but i thought whats the point
You can set a survivor as a carrier, this will simply mean when they die they will become a carrier
Thanks to:
Sammy-ROCK for the offset info that i would have NEVER found.
Change Log:
1.00 Initial Creation
1.10 Better Hooks
1.20 Fixed Round Restard Issue, Stopped Counting Carriers when the Carrier Dies
1.30 Fixed Offest Issue, Fixed Hooks on Reload
1.40 Added Set Carrier
1.50 Added Admin Menu
.sp goes in the
scripting folder
.smx goes in the
plugins folder
.txt goes in the
gamedata folder
Warning: Plugin and supporting files have been renamed, please take care to remove older versions when updating.