• 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/

Request: No weapon spawns

If you create a map without any weapon/ammo pickup spawns it won't run, however it seems you can do something like this without any problems:

Code:
class ExampleMutator extends Mutator;

function PostBeginPlay()
{
	local KFGameType KF;
	
	KF = KFGameType(Level.Game);
	if (KF != none)
	{
		KF.WeaponPickups.Length = 0;
		KF.AmmoPickups.Length = 0;
	}

	SetTimer(0.1, false);
}

function Timer()
{
	Destroy();
}

defaultproperties
{
	GroupName="KFExampleMutator"
	FriendlyName="Example Mutator"
	Description="Mutator description here"
}
 
Last edited:
Upvote 0