On Spawn Groups! Go.
What they do,
How I lock them to teams,
etc.
Need a Refresher!
- Apache Thunder
- Posts: 1213
- Joined: Mon Oct 19, 2009 2:48 am
- Location: Levelland Texas, USA
- Contact:
Re: Need a Refresher!
Spawn groups are defined in the spawnpointmanagersettings.con file. Example:
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.
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:
Hope this helps.
Code: Select all
spawnPointManager.group 1
spawnPointManager.groupTeam 2
spawnPointManager.groupEnableToChangeTeam 0
Spawn points are then set up to use that spawn group.
Code: Select all
ObjectTemplate.create SpawnPoint ExampleSpawn
ObjectTemplate.setSpawnId 1
ObjectTemplate.setGroup 1
Code: Select all
ObjectTemplate.spawnGroupId 1
Hope this helps.



I have cameras in your head!
-
- Posts: 42
- Joined: Tue Oct 27, 2009 2:11 am