campaign

Vars | |
current_mission | The current mission type being played |
---|---|
player_death_times | List of death times by ckey. Used for respawn time |
respawn_timers | List of timers to auto open the respawn window |
stat_list | campaign stats organised by faction |
Procs | |
IsJobAvailable | Check which jobs are valid, to add to the job selector menu |
attempt_attrition_respawn | respawns the player if attrition points are available |
attrition_respawn | Actually respawns the player, if still able |
auto_attempt_respawn | Auto pops up the respawn window |
autobalance_bonus | buffs the weaker team if players don't voluntarily switch |
autobalance_check | |
autobalance_cycle | Checks team balance and tries to correct if possible |
cut_death_list | cuts the death time and respawn_timers list at mission end |
end_mission | Handles post mission cleanup |
load_new_mission | sets up the newly selected mission |
register_faction_member | Sets up newly spawned players with the campaign status verb |
scale_loadouts | Limited loadout quantities scale by pop |
set_death_time | Records the players death time for respawn time purposes |
shuffle_teams | Shuffles the teams forcefully |
swap_player_team | Actually swaps the player to the other team, unless balance has been restored |
Var Details
current_mission

The current mission type being played
player_death_times

List of death times by ckey. Used for respawn time
respawn_timers

List of timers to auto open the respawn window
stat_list

campaign stats organised by faction
Proc Details
IsJobAvailable
Check which jobs are valid, to add to the job selector menu
attempt_attrition_respawn
respawns the player if attrition points are available
attrition_respawn
Actually respawns the player, if still able
auto_attempt_respawn
Auto pops up the respawn window
autobalance_bonus
buffs the weaker team if players don't voluntarily switch
autobalance_check
- Checks team balance
- Returns null if teams are nominally balanced
- Returns a list with the stronger team first if they are inbalanced
autobalance_cycle
Checks team balance and tries to correct if possible
cut_death_list
cuts the death time and respawn_timers list at mission end
end_mission
Handles post mission cleanup
load_new_mission
sets up the newly selected mission
register_faction_member
Sets up newly spawned players with the campaign status verb
scale_loadouts
Limited loadout quantities scale by pop
set_death_time
Records the players death time for respawn time purposes
shuffle_teams
Shuffles the teams forcefully
swap_player_team
Actually swaps the player to the other team, unless balance has been restored