byond - Modules - TypesDefine Details

code/__DEFINES/campaign.dm

CAMPAIGN_MAX_VICTORY_POINTSNumber of victory points before a faction wins a campaign
CAMPAIGN_RESPAWN_TIMERespawn time in campaign mode
CAMPAIGN_TEAM_MISSION_SELECT_ALLOWEDThis faction is allowed to select the next mission
CAMPAIGN_TEAM_HAS_SET_ATTRITIONThis faction has already set attrition this mission
AFTER_MISSION_TELEPORT_DELAYHow long after a mission ends players are returned to base
AFTER_MISSION_LEADER_DELAYHow long after a mission ends a new leader is picked
CAMPAIGN_AUTOBALANCE_DELAYHow long after a mission is selected that team balance is checked
CAMPAIGN_AUTOBALANCE_DECISION_TIMEHow long players get to choose to autobalance or not
CAMPAIGN_STANDARD_MISSION_QUANTITYStandard amount of missions for a faction to have
CAMPAIGN_LOSS_BONUSAttrition bonus for losing
CAMPAIGN_MAX_LOSS_BONUSMax losing bonus
CAMPAIGN_LOADOUT_MULT_MAXLimited loadout items can be multiplied by up to this mult, based on pop
CAMPAIGN_LOADOUT_POP_MINPop floor to for base loadout amount
CAMPAIGN_LOADOUT_POP_MAXPop required to reach max loadout mult
MISSION_STATE_NEWMission has not been loaded
MISSION_STATE_LOADEDMission loaded but not yet active
MISSION_STATE_ACTIVEMission actively running
MISSION_STATE_FINISHEDMission ended
CAMPAIGN_MISSION_TIMER_PAUSEDPauses campaign mission timer

Define Details

AFTER_MISSION_LEADER_DELAY

How long after a mission ends a new leader is picked

AFTER_MISSION_TELEPORT_DELAY

How long after a mission ends players are returned to base

CAMPAIGN_AUTOBALANCE_DECISION_TIME

How long players get to choose to autobalance or not

CAMPAIGN_AUTOBALANCE_DELAY

How long after a mission is selected that team balance is checked

CAMPAIGN_LOADOUT_MULT_MAX

Limited loadout items can be multiplied by up to this mult, based on pop

CAMPAIGN_LOADOUT_POP_MAX

Pop required to reach max loadout mult

CAMPAIGN_LOADOUT_POP_MIN

Pop floor to for base loadout amount

CAMPAIGN_LOSS_BONUS

Attrition bonus for losing

CAMPAIGN_MAX_LOSS_BONUS

Max losing bonus

CAMPAIGN_MAX_VICTORY_POINTS

Number of victory points before a faction wins a campaign

CAMPAIGN_MISSION_TIMER_PAUSED

Pauses campaign mission timer

CAMPAIGN_RESPAWN_TIME

Respawn time in campaign mode

CAMPAIGN_STANDARD_MISSION_QUANTITY

Standard amount of missions for a faction to have

CAMPAIGN_TEAM_HAS_SET_ATTRITION

This faction has already set attrition this mission

CAMPAIGN_TEAM_MISSION_SELECT_ALLOWED

This faction is allowed to select the next mission

MISSION_STATE_ACTIVE

Mission actively running

MISSION_STATE_FINISHED

Mission ended

MISSION_STATE_LOADED

Mission loaded but not yet active

MISSION_STATE_NEW

Mission has not been loaded