Page 1 of 1

Need a Refresher!

Posted: Sat Jan 15, 2011 5:15 pm
by Archimonday
On Spawn Groups! Go.

What they do,

How I lock them to teams,

etc.

Re: Need a Refresher!

Posted: Sat Jan 15, 2011 7:25 pm
by Apache Thunder
Spawn groups are defined in the spawnpointmanagersettings.con file. Example:

Code: Select all

spawnPointManager.group 1
spawnPointManager.groupTeam 2
spawnPointManager.groupEnableToChangeTeam 0
First command command defines group, second defines team it will start on, and the second one can be used to lock it to that team. When not defined the default value is 1 which allows it to change teams. Adding the command and setting to to zero will lock it to the team that greupTeam is set to and any control point that uses that spawn group can't change it.

Spawn points are then set up to use that spawn group.

Code: Select all

ObjectTemplate.create SpawnPoint ExampleSpawn
ObjectTemplate.setSpawnId 1
ObjectTemplate.setGroup 1
The spawnpoint uses the setGroup command to define what group it uses and control points use a similar command so as to attach the spawn points to a control point:

Code: Select all

ObjectTemplate.spawnGroupId 1

Hope this helps.

Re: Need a Refresher!

Posted: Sat Jan 15, 2011 8:01 pm
by Archimonday
it does, thanks very much!