Respawn Settings
Contents |
Description
When a player dies several options for respawning are available, from becoming a seagull to spawning into an AI within the same group. For options where the player respawns you can also control how long it takes to return to life.
Required files
All the code associated with this component is found in:
- description.ext
How to use
Locating the code
In order to edit the respawn settings open the file description.ext and look for the code segment entitled:
// F2 - Respawn Settings
Available respawn types
The following respawn types are available:
| Value (respawn) | Description |
|---|---|
| 1 | Respawn as a seagull |
| 2 | Respawn just where you died (you will not keep your gear) |
| 3 | Respawn at base marker (see below) |
| 4 | Respawn in your group (if no AI slots are left, you become a seagull) |
Default respawn type
The default selection is 1 (respawn as a seagull).
Changing the respawn type
Open the file description.ext and look for the code segment entitled:
// F2 - Respawn Settings
Edit the following line, changing the value of respawn to the desired respawn type (see list above):
respawn = 1;
Enabling base respawn
If you have selected respawn type #3 then you must ensure that markers with the following names exist (place the markers on the map where you want each side to respawn):
| Side | Marker Name |
|---|---|
| West | respawn_west |
| Independent | respawn_guerrila |
| East | respawn_east |
| Civilian | respawn_civilian |
Changing the respawn time
You can also control the time it takes for the player to respawn. Open the file description.ext and look for the code segment entitled:
// F2 - Respawn Settings
Edit the following line, changing the value of respawndelay to the desired number of seconds:
respawndelay = 3;
Tips
- ShackTac missions always use respawn option 1.
How to disable
You should not attempt to disable this component.
Credits
N/A