Tripwire Interactive Forums

  • Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/
The mutators that had this ability is now outdated, and there seems to be no way of increasing the maximum number of concurrent zed at the moment. Would any kind modder be willing create a mutator that would do just this?

edit: Working version, thanks to our wonderful Zane

Code:
function InitMutator(string Options, out string ErrorMessage)
{
    local KFAISpawnManager SpawnManager;
    local KFGameInfo MyKFGI;

    MyKFGI = KFGameInfo( WorldInfo.Game );
    super.InitMutator( Options, ErrorMessage );

    SpawnManager = MyKFGI.SpawnManager;

    if(SpawnManager != none)
    {
        SpawnManager.MaxMonsters = 110;
    }
}