class ForceTeamSpawnArea extends Info placeable;
function PreBeginPlay()
{
if (UTTeamGame(WorldInfo.Game) != None)
UTTeamGame(WorldInfo.Game).bSpawnInTeamArea = True;
}
This will need UnrealScript, but shouldn't you really be creating a CTF or e.g. Jailbreak map if you want to have bases?
Anyway, try compiling the following code and placing it in the map:
Code:class ForceTeamSpawnArea extends Info placeable; function PreBeginPlay() { if (UTTeamGame(WorldInfo.Game) != None) UTTeamGame(WorldInfo.Game).bSpawnInTeamArea = True; }
Compiling is the same for all kinds of classes.
Same as with all custom actors: load package in actor browser, pick class from tree and put in the level as usual.