Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_GameModeCampaign.c File Reference

Go to the source code of this file.

Classes

class  SCR_GameModeCampaignClass

Functions

SCR_GameModeCampaignClass SCR_BaseGameModeClass Attribute ("1", desc:"Terminate the scenario when Conflict is finished.", category:"Campaign")
bool GetEstablishingBasesEnabled ()
bool GetINDFORCanSpawnOnBases ()
bool GetSpawnRandomCaches ()
bool GetINDFORCanSpawnOnDistantBases ()
bool GetSuppliesAutoRegenerationEnabled ()
int GetSuppliesArrivalIntervalSource ()
int GetRegularSuppliesIncomeSource ()
float GetAcceptableDistanceBetweenFactionHQs ()
float GetPreferredDistanceBetweenFactionHQs ()
int GetHQSpawnPointPriority ()
SCR_ECharacterRank GetStartingRank ()
int GetFactionEstablishBaseLimit ()
ResourceName GetHQRadioSoundEntityPrefab ()
ScriptInvoker GetOnFactionAssignedLocalPlayer ()
 Triggered when the local player picks a faction.
ScriptInvoker GetOnStarted ()
 Triggered when Conflict gamemode has started.
ScriptInvoker GetOnMatchSituationChanged ()
 Triggered when an event happened which should be communicated to players (i.e. amount of control points held etc.).
ScriptInvoker GetOnCallsignOffsetChanged ()
ScriptInvokerEntity2 GetOnEntityRequested ()
int GetSuppliesReplenishThreshold ()
int GetQuickSuppliesReplenishThreshold ()
float GetQuickSuppliesReplenishMultiplier ()
int GetSuppliesArrivalInterval ()
int GetRegularSuppliesIncome ()
int GetRegularSuppliesIncomeBase ()
int GetRegularSuppliesIncomeExtra ()
int GetSupplyDepotIconThreshold ()
SCR_CampaignMilitaryBaseManager GetBaseManager ()
float GetVictoryTimer ()
int GetControlPointTreshold ()
int GetMinStartingSupplies ()
int GetMaxStartingSupplies ()
int GetStartingSuppliesInterval ()
float GetSupplyOffloadAssistanceReward ()
ResourceName GetSeekDestroyWaypointPrefab ()
bool GetCommanderRoleEnabled ()
int GetWinningFactionId ()
WorldTimestamp GetVictoryTimestamp ()
WorldTimestamp GetVictoryPauseTimestamp ()
bool IsTutorial ()
bool GetIsMatchOver ()
bool HasStarted ()
int GetCallsignOffset ()
void SetCallsignOffset (int offset)
void OnMatchSituationChanged ()
override bool RplSave (ScriptBitWriter writer)
override bool RplLoad (ScriptBitReader reader)
SCR_CampaignClientData GetClientData (int playerId, bool create=false)
void SetControlPointsHeld (SCR_CampaignFaction faction, int newCount)
void RPC_DoSetControlPointsHeld (int factionIndex, int count)
void BroadcastMHQFeedback (SCR_EMobileAssemblyStatus msgID, int playerID, int factionID)
void RpcDo_BroadcastMHQFeedback (SCR_EMobileAssemblyStatus msgID, int playerID, int factionID)
void Start ()
void InitalBaseSetup ()
void OnStarted ()
override void OnPlayerRegistered (int playerId)
void OnCallsignOffsetChanged ()
void DisableExtraSpawnpoint (SCR_SpawnPoint spawnpoint)
void SetPrioritySpawnpoint (SCR_SpawnPoint spawnpoint)
void CheckForWinner ()
 Find out if any faction has won and it's time to end the match.
void RPC_DoEndMatch (int winningFactionId)
override void OnGameStart ()
 Gets called after world is initialized but before first ticks.
FactionKey GetFactionKeyByEnum (SCR_ECampaignFaction faction)
SCR_CampaignFaction GetFactionByEnum (SCR_ECampaignFaction faction)
bool IsProxy ()
bool CanRequestVehicleWithoutRank ()
 Getter for "Rank required" parameter for spawning vehicles.
void SetIsTutorial (bool isTutorial)
void OnAmbientVehicleSpawned (SCR_AmbientVehicleSpawnPointComponent spawnpoint, Vehicle vehicle)
void OnRankChanged (SCR_ECharacterRank oldRank, SCR_ECharacterRank newRank, notnull IEntity owner, bool silent)
void SetStartingRank (notnull PlayerController playerController)
override void OnPlayerAuditSuccess (int iPlayerID)
override void OnPlayerDisconnected (int playerId, KickCauseCode cause, int timeout)
override void OnPlayerEntityChanged_S (int playerId, IEntity previousEntity, IEntity newEntity)
override void OnPlayerSpawnOnPoint_S (SCR_SpawnRequestComponent requestComponent, SCR_SpawnHandlerComponent handlerComponent, IEntity entity, SCR_SpawnPointSpawnData spawnPointData)
void OnSpawnPointFactionAssigned (SCR_SpawnPoint spawnpoint)
override void OnPlayerKilledEx (notnull SCR_InstigatorContextData instigatorContextData)
void UpdateRespawnPenalty (int playerId)
 Handles forgiving of post-suicide deploy timer penalties.
void OnSuicide (int playerId)
override bool CanPlayerSpawn_S (SCR_SpawnRequestComponent requestComponent, SCR_SpawnHandlerComponent handlerComponent, SCR_SpawnData data, out SCR_ESpawnResult result=SCR_ESpawnResult.SPAWN_NOT_ALLOWED)
 Disable spawning on contested bases and with custom loadout on bases with no armories.
override void OnControllableDestroyedEx (notnull SCR_InstigatorContextData instigatorContextData)
 Award additional XP for enemies killed in friendly bases.
void OnLocalPlayerFactionAssigned (SCR_PlayerFactionAffiliationComponent component, Faction previous, Faction current)
void OnEntityRequested (notnull IEntity spawnedEntity, IEntity user, SCR_Faction faction, SCR_MilitaryBaseLogicComponent service)
 Called when an entity is spawned by Free Roam Building.
void UpdateClientData (int playerID)
 Save object with player's current data.
void ApplyClientData (int playerId)
void SCR_GameModeCampaign (IEntitySource src, IEntity parent)
void ~SCR_GameModeCampaign ()

Variables

Prefabs AI Waypoints AIWaypoint_SearchAndDestroy et
Prefabs AI Waypoints AIWaypoint_SearchAndDestroy category
int m_iSuicidePenaltyCooldown
int m_iSuicideRespawnDelay
int m_iSuicideForgiveCooldown
bool m_bCommanderRoleEnabled
float m_fAcceptableDistanceBetweenFactionHQs
float m_fPreferredDistanceBetweenFactionHQs
bool m_bEstablishingBasesEnabled
bool m_bINDFORCanSpawnOnBases
bool m_bINDFORCanSpawnOnDistantBases
bool m_bSpawnRandomCaches
bool m_bRandomSpawnpointsEnabled
bool m_bSuppliesAutoRegenerationEnabled
int m_iSuppliesArrivalIntervalSource
int m_iRegularSuppliesIncomeSource
int m_iHQSpawnPointPriority
SCR_ECharacterRank m_eStartingRank
int m_iFactionEstablishBaseLimit
ResourceName m_sHQRadioSoundEntityPrefab
ref ScriptInvoker m_OnFactionAssignedLocalPlayer
ref ScriptInvoker m_OnStarted
ref ScriptInvoker m_OnMatchSituationChanged
ref ScriptInvoker m_OnCallsignOffsetChanged
ref ScriptInvokerEntity2 s_OnEntityRequested
ref array< SCR_PlayerRadioSpawnPointCampaign > m_aRadioSpawnPoints = {}
ref array< ref SCR_CampaignClientDatam_aRegisteredClients = {}
bool m_bIgnoreMinimumVehicleRank
bool m_bIsTutorial
bool m_bMatchOver
ref SCR_CampaignMilitaryBaseManager m_BaseManager = new SCR_CampaignMilitaryBaseManager(this)
bool m_bStarted
WorldTimestamp m_fVictoryTimestamp
WorldTimestamp m_fVictoryPauseTimestamp
int m_iWinningFactionId = SCR_CampaignMilitaryBaseComponent.INVALID_FACTION_INDEX
int m_iCallsignOffset = SCR_MilitaryBaseComponent.INVALID_BASE_CALLSIGN

Function Documentation

◆ ApplyClientData()

void ApplyClientData ( int playerId)
protected

Definition at line 1677 of file SCR_GameModeCampaign.c.

◆ Attribute()

SCR_GameModeCampaignClass SCR_BaseGameModeClass Attribute ( "1" ,
desc:"Terminate the scenario when Conflict is finished." ,
category:"Campaign"  )

Definition at line 1 of file SCR_GameModeCampaign.c.

◆ BroadcastMHQFeedback()

void BroadcastMHQFeedback ( SCR_EMobileAssemblyStatus msgID,
int playerID,
int factionID )
protected

Definition at line 568 of file SCR_GameModeCampaign.c.

◆ CanPlayerSpawn_S()

override bool CanPlayerSpawn_S ( SCR_SpawnRequestComponent requestComponent,
SCR_SpawnHandlerComponent handlerComponent,
SCR_SpawnData data,
out SCR_ESpawnResult result = SCR_ESpawnResult.SPAWN_NOT_ALLOWED )
protected

Disable spawning on contested bases and with custom loadout on bases with no armories.

Authority: Override and implement logic for whether provided player can spawn.

Parameters
requestComponentThe player request component instigating this spawn.
handlerComponentThe spawn handler component handling this spawn.
dataThe request payload.
[out]resultReason why respawn is disabled. Note that if returns true the reason will always be OK
Returns
True when spawn is allowed, false otherwise.

Definition at line 1375 of file SCR_GameModeCampaign.c.

◆ CanRequestVehicleWithoutRank()

bool CanRequestVehicleWithoutRank ( )
protected

Getter for "Rank required" parameter for spawning vehicles.

Definition at line 978 of file SCR_GameModeCampaign.c.

◆ CheckForWinner()

void CheckForWinner ( )
protected

Find out if any faction has won and it's time to end the match.

Definition at line 820 of file SCR_GameModeCampaign.c.

◆ DisableExtraSpawnpoint()

void DisableExtraSpawnpoint ( SCR_SpawnPoint spawnpoint)
protected

Definition at line 793 of file SCR_GameModeCampaign.c.

◆ GetAcceptableDistanceBetweenFactionHQs()

float GetAcceptableDistanceBetweenFactionHQs ( )
protected

Definition at line 207 of file SCR_GameModeCampaign.c.

◆ GetBaseManager()

SCR_CampaignMilitaryBaseManager GetBaseManager ( )
protected

Definition at line 339 of file SCR_GameModeCampaign.c.

◆ GetCallsignOffset()

int GetCallsignOffset ( )
protected

Definition at line 429 of file SCR_GameModeCampaign.c.

◆ GetClientData()

SCR_CampaignClientData GetClientData ( int playerId,
bool create = false )
protected

Get corresponding client data. Optionally: create new object if not found

Parameters
[in]playerId
[in]create

Definition at line 512 of file SCR_GameModeCampaign.c.

◆ GetCommanderRoleEnabled()

bool GetCommanderRoleEnabled ( )
protected

Definition at line 387 of file SCR_GameModeCampaign.c.

◆ GetControlPointTreshold()

int GetControlPointTreshold ( )
protected

Definition at line 351 of file SCR_GameModeCampaign.c.

◆ GetEstablishingBasesEnabled()

bool GetEstablishingBasesEnabled ( )
protected

Definition at line 165 of file SCR_GameModeCampaign.c.

◆ GetFactionByEnum()

SCR_CampaignFaction GetFactionByEnum ( SCR_ECampaignFaction faction)
protected

Definition at line 959 of file SCR_GameModeCampaign.c.

◆ GetFactionEstablishBaseLimit()

int GetFactionEstablishBaseLimit ( )
protected

Definition at line 231 of file SCR_GameModeCampaign.c.

◆ GetFactionKeyByEnum()

FactionKey GetFactionKeyByEnum ( SCR_ECampaignFaction faction)
protected

Definition at line 938 of file SCR_GameModeCampaign.c.

◆ GetHQRadioSoundEntityPrefab()

ResourceName GetHQRadioSoundEntityPrefab ( )
protected

Definition at line 237 of file SCR_GameModeCampaign.c.

◆ GetHQSpawnPointPriority()

int GetHQSpawnPointPriority ( )
protected

Definition at line 219 of file SCR_GameModeCampaign.c.

◆ GetINDFORCanSpawnOnBases()

bool GetINDFORCanSpawnOnBases ( )
protected

Definition at line 171 of file SCR_GameModeCampaign.c.

◆ GetINDFORCanSpawnOnDistantBases()

bool GetINDFORCanSpawnOnDistantBases ( )
protected

Definition at line 183 of file SCR_GameModeCampaign.c.

◆ GetIsMatchOver()

bool GetIsMatchOver ( )
protected

Definition at line 417 of file SCR_GameModeCampaign.c.

◆ GetMaxStartingSupplies()

int GetMaxStartingSupplies ( )
protected

Definition at line 363 of file SCR_GameModeCampaign.c.

◆ GetMinStartingSupplies()

int GetMinStartingSupplies ( )
protected

Definition at line 357 of file SCR_GameModeCampaign.c.

◆ GetOnCallsignOffsetChanged()

ScriptInvoker GetOnCallsignOffsetChanged ( )
protected

Definition at line 273 of file SCR_GameModeCampaign.c.

◆ GetOnEntityRequested()

ScriptInvokerEntity2 GetOnEntityRequested ( )
protected

Definition at line 282 of file SCR_GameModeCampaign.c.

◆ GetOnFactionAssignedLocalPlayer()

ScriptInvoker GetOnFactionAssignedLocalPlayer ( )
protected

Triggered when the local player picks a faction.

Definition at line 244 of file SCR_GameModeCampaign.c.

◆ GetOnMatchSituationChanged()

ScriptInvoker GetOnMatchSituationChanged ( )
protected

Triggered when an event happened which should be communicated to players (i.e. amount of control points held etc.).

Definition at line 264 of file SCR_GameModeCampaign.c.

◆ GetOnStarted()

ScriptInvoker GetOnStarted ( )
protected

Triggered when Conflict gamemode has started.

Definition at line 254 of file SCR_GameModeCampaign.c.

◆ GetPreferredDistanceBetweenFactionHQs()

float GetPreferredDistanceBetweenFactionHQs ( )
protected

Definition at line 213 of file SCR_GameModeCampaign.c.

◆ GetQuickSuppliesReplenishMultiplier()

float GetQuickSuppliesReplenishMultiplier ( )
protected

Definition at line 303 of file SCR_GameModeCampaign.c.

◆ GetQuickSuppliesReplenishThreshold()

int GetQuickSuppliesReplenishThreshold ( )
protected

Definition at line 297 of file SCR_GameModeCampaign.c.

◆ GetRegularSuppliesIncome()

int GetRegularSuppliesIncome ( )
protected

Definition at line 315 of file SCR_GameModeCampaign.c.

◆ GetRegularSuppliesIncomeBase()

int GetRegularSuppliesIncomeBase ( )
protected

Definition at line 321 of file SCR_GameModeCampaign.c.

◆ GetRegularSuppliesIncomeExtra()

int GetRegularSuppliesIncomeExtra ( )
protected

Definition at line 327 of file SCR_GameModeCampaign.c.

◆ GetRegularSuppliesIncomeSource()

int GetRegularSuppliesIncomeSource ( )
protected

Definition at line 201 of file SCR_GameModeCampaign.c.

◆ GetSeekDestroyWaypointPrefab()

ResourceName GetSeekDestroyWaypointPrefab ( )
protected

Definition at line 381 of file SCR_GameModeCampaign.c.

◆ GetSpawnRandomCaches()

bool GetSpawnRandomCaches ( )
protected

Definition at line 177 of file SCR_GameModeCampaign.c.

◆ GetStartingRank()

SCR_ECharacterRank GetStartingRank ( )
protected

Definition at line 225 of file SCR_GameModeCampaign.c.

◆ GetStartingSuppliesInterval()

int GetStartingSuppliesInterval ( )
protected

Definition at line 369 of file SCR_GameModeCampaign.c.

◆ GetSuppliesArrivalInterval()

int GetSuppliesArrivalInterval ( )
protected

Definition at line 309 of file SCR_GameModeCampaign.c.

◆ GetSuppliesArrivalIntervalSource()

int GetSuppliesArrivalIntervalSource ( )
protected

Definition at line 195 of file SCR_GameModeCampaign.c.

◆ GetSuppliesAutoRegenerationEnabled()

bool GetSuppliesAutoRegenerationEnabled ( )
protected

Definition at line 189 of file SCR_GameModeCampaign.c.

◆ GetSuppliesReplenishThreshold()

int GetSuppliesReplenishThreshold ( )
protected

Definition at line 291 of file SCR_GameModeCampaign.c.

◆ GetSupplyDepotIconThreshold()

int GetSupplyDepotIconThreshold ( )
protected

Definition at line 333 of file SCR_GameModeCampaign.c.

◆ GetSupplyOffloadAssistanceReward()

float GetSupplyOffloadAssistanceReward ( )
protected

Definition at line 375 of file SCR_GameModeCampaign.c.

◆ GetVictoryPauseTimestamp()

WorldTimestamp GetVictoryPauseTimestamp ( )
protected

Definition at line 405 of file SCR_GameModeCampaign.c.

◆ GetVictoryTimer()

float GetVictoryTimer ( )
protected

Definition at line 345 of file SCR_GameModeCampaign.c.

◆ GetVictoryTimestamp()

WorldTimestamp GetVictoryTimestamp ( )
protected

Definition at line 399 of file SCR_GameModeCampaign.c.

◆ GetWinningFactionId()

int GetWinningFactionId ( )
protected

Definition at line 393 of file SCR_GameModeCampaign.c.

◆ HasStarted()

bool HasStarted ( )
protected

Definition at line 423 of file SCR_GameModeCampaign.c.

◆ InitalBaseSetup()

void InitalBaseSetup ( )
protected

Definition at line 606 of file SCR_GameModeCampaign.c.

◆ IsTutorial()

bool IsTutorial ( )
protected

Definition at line 411 of file SCR_GameModeCampaign.c.

◆ OnAmbientVehicleSpawned()

void OnAmbientVehicleSpawned ( SCR_AmbientVehicleSpawnPointComponent spawnpoint,
Vehicle vehicle )
protected

Definition at line 995 of file SCR_GameModeCampaign.c.

◆ OnCallsignOffsetChanged()

void OnCallsignOffsetChanged ( )
protected

Definition at line 786 of file SCR_GameModeCampaign.c.

◆ OnControllableDestroyedEx()

override void OnControllableDestroyedEx ( notnull SCR_InstigatorContextData instigatorContextData)
protected

Award additional XP for enemies killed in friendly bases.

Definition at line 1455 of file SCR_GameModeCampaign.c.

◆ OnEntityRequested()

void OnEntityRequested ( notnull IEntity spawnedEntity,
IEntity user,
SCR_Faction faction,
SCR_MilitaryBaseLogicComponent service )
protected

Called when an entity is spawned by Free Roam Building.

Definition at line 1531 of file SCR_GameModeCampaign.c.

◆ OnLocalPlayerFactionAssigned()

void OnLocalPlayerFactionAssigned ( SCR_PlayerFactionAffiliationComponent component,
Faction previous,
Faction current )
protected

Definition at line 1512 of file SCR_GameModeCampaign.c.

◆ OnMatchSituationChanged()

void OnMatchSituationChanged ( )
protected

Definition at line 448 of file SCR_GameModeCampaign.c.

◆ OnPlayerAuditSuccess()

override void OnPlayerAuditSuccess ( int playerId)
protected

Event is called when player connecting Session hosting current Game Mode where is required authentication verification via. platform services AuditSuccess() call specifically mean this verification was successful Basically audited player has access to persistency/ etc. related functionality provided by online services.

Parameters
[in]playerIdis index of player in game, equal to the one assigned at PlayerController

Definition at line 1108 of file SCR_GameModeCampaign.c.

◆ OnPlayerDisconnected()

override void OnPlayerDisconnected ( int playerId,
KickCauseCode cause,
int timeout )
protected

Called after a player is disconnected.

Parameters
[in]playerIdPlayerId of disconnected player.
[in]causeReason player disconnected
[in]timeoutTimeout for when players are allowed to connect again. -1 means Ban without an assigned timeout

What happens when a player disconnects.

Parameters
[in]playerIDis a unique player identifier that defines which player has disconnected.
[in]cause
[in]timeout

Definition at line 1117 of file SCR_GameModeCampaign.c.

◆ OnPlayerEntityChanged_S()

override void OnPlayerEntityChanged_S ( int playerId,
IEntity previousEntity,
IEntity newEntity )
protected

Definition at line 1126 of file SCR_GameModeCampaign.c.

◆ OnPlayerKilledEx()

override void OnPlayerKilledEx ( notnull SCR_InstigatorContextData instigatorContextData)
protected

Definition at line 1222 of file SCR_GameModeCampaign.c.

◆ OnPlayerRegistered()

override void OnPlayerRegistered ( int playerId)
protected

Called on every machine after a player is registered (identity, name etc.). Always called after OnPlayerConnected.

Parameters
[in]playerIdPlayerId of registered player.

Definition at line 762 of file SCR_GameModeCampaign.c.

◆ OnPlayerSpawnOnPoint_S()

override void OnPlayerSpawnOnPoint_S ( SCR_SpawnRequestComponent requestComponent,
SCR_SpawnHandlerComponent handlerComponent,
IEntity entity,
SCR_SpawnPointSpawnData spawnPointData )
protected

Definition at line 1142 of file SCR_GameModeCampaign.c.

◆ OnRankChanged()

void OnRankChanged ( SCR_ECharacterRank oldRank,
SCR_ECharacterRank newRank,
notnull IEntity owner,
bool silent )
protected

Definition at line 1044 of file SCR_GameModeCampaign.c.

◆ OnSpawnPointFactionAssigned()

void OnSpawnPointFactionAssigned ( SCR_SpawnPoint spawnpoint)
protected

Definition at line 1210 of file SCR_GameModeCampaign.c.

◆ OnStarted()

void OnStarted ( )
protected

Definition at line 725 of file SCR_GameModeCampaign.c.

◆ OnSuicide()

void OnSuicide ( int playerId)
protected

Definition at line 1293 of file SCR_GameModeCampaign.c.

◆ RPC_DoEndMatch()

void RPC_DoEndMatch ( int winningFactionId)
protected

Definition at line 889 of file SCR_GameModeCampaign.c.

◆ RPC_DoSetControlPointsHeld()

void RPC_DoSetControlPointsHeld ( int factionIndex,
int count )
protected

Definition at line 556 of file SCR_GameModeCampaign.c.

◆ RpcDo_BroadcastMHQFeedback()

void RpcDo_BroadcastMHQFeedback ( SCR_EMobileAssemblyStatus msgID,
int playerID,
int factionID )
protected

Definition at line 578 of file SCR_GameModeCampaign.c.

◆ RplLoad()

override bool RplLoad ( ScriptBitReader reader)
protected

Definition at line 479 of file SCR_GameModeCampaign.c.

◆ RplSave()

override bool RplSave ( ScriptBitWriter writer)
protected

Definition at line 455 of file SCR_GameModeCampaign.c.

◆ SCR_GameModeCampaign()

void SCR_GameModeCampaign ( IEntitySource src,
IEntity parent )
protected

Definition at line 1812 of file SCR_GameModeCampaign.c.

◆ SetCallsignOffset()

void SetCallsignOffset ( int offset)
protected

Definition at line 436 of file SCR_GameModeCampaign.c.

◆ SetControlPointsHeld()

void SetControlPointsHeld ( SCR_CampaignFaction faction,
int newCount )
protected

Definition at line 543 of file SCR_GameModeCampaign.c.

◆ SetIsTutorial()

void SetIsTutorial ( bool isTutorial)
protected

Definition at line 984 of file SCR_GameModeCampaign.c.

◆ SetPrioritySpawnpoint()

void SetPrioritySpawnpoint ( SCR_SpawnPoint spawnpoint)
protected

Definition at line 805 of file SCR_GameModeCampaign.c.

◆ SetStartingRank()

void SetStartingRank ( notnull PlayerController playerController)
protected

Definition at line 1072 of file SCR_GameModeCampaign.c.

◆ Start()

void Start ( )
protected

Definition at line 589 of file SCR_GameModeCampaign.c.

◆ UpdateClientData()

void UpdateClientData ( int playerID)
protected

Save object with player's current data.

Definition at line 1646 of file SCR_GameModeCampaign.c.

◆ UpdateRespawnPenalty()

void UpdateRespawnPenalty ( int playerId)
protected

Handles forgiving of post-suicide deploy timer penalties.

Definition at line 1249 of file SCR_GameModeCampaign.c.

◆ ~SCR_GameModeCampaign()

void ~SCR_GameModeCampaign ( )
protected

Definition at line 1891 of file SCR_GameModeCampaign.c.

Variable Documentation

◆ category

Prefabs AI Waypoints AIWaypoint_SearchAndDestroy category

Definition at line 71 of file SCR_GameModeCampaign.c.

◆ et

Prefabs AI Waypoints AIWaypoint_SearchAndDestroy et

Definition at line 71 of file SCR_GameModeCampaign.c.

◆ m_aRadioSpawnPoints

ref array<SCR_PlayerRadioSpawnPointCampaign> m_aRadioSpawnPoints = {}
protected

Definition at line 140 of file SCR_GameModeCampaign.c.

◆ m_aRegisteredClients

ref array<ref SCR_CampaignClientData> m_aRegisteredClients = {}
protected

Definition at line 141 of file SCR_GameModeCampaign.c.

◆ m_BaseManager

ref SCR_CampaignMilitaryBaseManager m_BaseManager = new SCR_CampaignMilitaryBaseManager(this)
protected

Definition at line 147 of file SCR_GameModeCampaign.c.

◆ m_bCommanderRoleEnabled

bool m_bCommanderRoleEnabled
protected

Definition at line 84 of file SCR_GameModeCampaign.c.

◆ m_bEstablishingBasesEnabled

bool m_bEstablishingBasesEnabled
protected

Definition at line 93 of file SCR_GameModeCampaign.c.

◆ m_bIgnoreMinimumVehicleRank

bool m_bIgnoreMinimumVehicleRank
protected

Definition at line 143 of file SCR_GameModeCampaign.c.

◆ m_bINDFORCanSpawnOnBases

bool m_bINDFORCanSpawnOnBases
protected

Definition at line 96 of file SCR_GameModeCampaign.c.

◆ m_bINDFORCanSpawnOnDistantBases

bool m_bINDFORCanSpawnOnDistantBases
protected

Definition at line 99 of file SCR_GameModeCampaign.c.

◆ m_bIsTutorial

bool m_bIsTutorial
protected

Definition at line 144 of file SCR_GameModeCampaign.c.

◆ m_bMatchOver

bool m_bMatchOver
protected

Definition at line 145 of file SCR_GameModeCampaign.c.

◆ m_bRandomSpawnpointsEnabled

bool m_bRandomSpawnpointsEnabled
protected

Definition at line 105 of file SCR_GameModeCampaign.c.

◆ m_bSpawnRandomCaches

bool m_bSpawnRandomCaches
protected

Definition at line 102 of file SCR_GameModeCampaign.c.

◆ m_bStarted

bool m_bStarted
protected

Definition at line 150 of file SCR_GameModeCampaign.c.

◆ m_bSuppliesAutoRegenerationEnabled

bool m_bSuppliesAutoRegenerationEnabled
protected

Definition at line 108 of file SCR_GameModeCampaign.c.

◆ m_eStartingRank

SCR_ECharacterRank m_eStartingRank
protected

Definition at line 120 of file SCR_GameModeCampaign.c.

◆ m_fAcceptableDistanceBetweenFactionHQs

float m_fAcceptableDistanceBetweenFactionHQs
protected

Definition at line 87 of file SCR_GameModeCampaign.c.

◆ m_fPreferredDistanceBetweenFactionHQs

float m_fPreferredDistanceBetweenFactionHQs
protected

Definition at line 90 of file SCR_GameModeCampaign.c.

◆ m_fVictoryPauseTimestamp

WorldTimestamp m_fVictoryPauseTimestamp
protected

Definition at line 156 of file SCR_GameModeCampaign.c.

◆ m_fVictoryTimestamp

WorldTimestamp m_fVictoryTimestamp
protected

Definition at line 153 of file SCR_GameModeCampaign.c.

◆ m_iCallsignOffset

int m_iCallsignOffset = SCR_MilitaryBaseComponent.INVALID_BASE_CALLSIGN
protected

Definition at line 162 of file SCR_GameModeCampaign.c.

◆ m_iFactionEstablishBaseLimit

int m_iFactionEstablishBaseLimit
protected

Definition at line 123 of file SCR_GameModeCampaign.c.

◆ m_iHQSpawnPointPriority

int m_iHQSpawnPointPriority
protected

Definition at line 117 of file SCR_GameModeCampaign.c.

◆ m_iRegularSuppliesIncomeSource

int m_iRegularSuppliesIncomeSource
protected

Definition at line 114 of file SCR_GameModeCampaign.c.

◆ m_iSuicideForgiveCooldown

int m_iSuicideForgiveCooldown
protected

Definition at line 81 of file SCR_GameModeCampaign.c.

◆ m_iSuicidePenaltyCooldown

int m_iSuicidePenaltyCooldown
protected

Definition at line 75 of file SCR_GameModeCampaign.c.

◆ m_iSuicideRespawnDelay

int m_iSuicideRespawnDelay
protected

Definition at line 78 of file SCR_GameModeCampaign.c.

◆ m_iSuppliesArrivalIntervalSource

int m_iSuppliesArrivalIntervalSource
protected

Definition at line 111 of file SCR_GameModeCampaign.c.

◆ m_iWinningFactionId

Definition at line 159 of file SCR_GameModeCampaign.c.

◆ m_OnCallsignOffsetChanged

ref ScriptInvoker m_OnCallsignOffsetChanged
protected

Definition at line 137 of file SCR_GameModeCampaign.c.

◆ m_OnFactionAssignedLocalPlayer

ref ScriptInvoker m_OnFactionAssignedLocalPlayer
protected

Definition at line 134 of file SCR_GameModeCampaign.c.

◆ m_OnMatchSituationChanged

ref ScriptInvoker m_OnMatchSituationChanged
protected

Definition at line 136 of file SCR_GameModeCampaign.c.

◆ m_OnStarted

ref ScriptInvoker m_OnStarted
protected

Definition at line 135 of file SCR_GameModeCampaign.c.

◆ m_sHQRadioSoundEntityPrefab

ResourceName m_sHQRadioSoundEntityPrefab
protected

Definition at line 126 of file SCR_GameModeCampaign.c.

◆ s_OnEntityRequested

ref ScriptInvokerEntity2 s_OnEntityRequested
protected

Definition at line 138 of file SCR_GameModeCampaign.c.