Victory Condition (svictorycond)
Victory Condition Notes
Regarding Victory Conditions – “gamevictory / svictorycond / cvictorycond”
cvictorycond: Victory Condition for use with Campaign play – defaults to 0
svictorycond: Victory Condition for use with Scenario/Mission play – defaults to cvictorycond
(Can be changed in startup lobby options)
ALL VICTORY TYPES include the following conditions for causing a Region/Scenario Loss:
- Surrender
- All Cities Captured
- Loss of Command Unit if one exists (Unit either placed in editor, or via ‘spawncmdunit’)
- Loss of Capital if ‘nocapitalmove’ is set
ALL VICTORY TYPES include the following conditions for causing a Scenario Win:
- A Command Unit entering a Victory Hex (‘victoryhex’) (Regardless of hex ownership)
ALL VICTORY TYPES: SCENARIO ENDS WHEN:
- A Region falls that has ‘lossforceend’ set to True
- The Human falls in a Single Player game
- Time Expires (‘victoryymd’ set) in a Complete, Capital, or Capture Victory Type
- Regions with ‘timeoutvictory’ set will Win, otherwise Loss
Additional Victory Type Notes:
- 0 : "Complete"
- Region Falls per the above conditions.
- 1 : "Capital" (Take Capital)
- Forces ‘nocapitalmove’ to be True.
- 2 : "Capture" (Destroy HQ Unit)
- Command Unit is automatically Spawned if not existing in scenario.
- 3 : "Unification" (Map Unification Vote)
- Unification Vote date is set for scenario (‘victoryymd’ set)
- Region Loss if Region loses Unification Vote and accepts result. (Reject result switches to ‘Complete’)
- 4-9: “Score”
- An End Date / Game Length is set for scenario (‘victoryymd’ set)
- Region Loss if Region does not have highest Score at end of game.
- 10 : "Sphere"
- Region Falls when it has no more regions within its Sphere.
- 11 : "Space Race"
- Victory when region achieves a specific technology.
- 12 : "Victory Points"
- Winner is region with the most points when time ends ('victoryymd')
- 13 : "Capture Objective"
- Complete victory type with victory hex available (move HQ unit onto victoryhex)
- 14 : "Hold Objective"
- Complete victory type with timeoutvictory forced on for currentplayer; wins at 'victoryymd' time
Victory Detail (victorycode), set as follows:
victorywho : An RLIST of all players awarded the victory (could be multiple, or none)
victoryvote : Player # of player that won a Map Unification Vote (only one winner), or ‘0’
victorycode :
- 0 : No Victory Yet
- 1 : Killed Enemy HQ Victory (check ‘victorywho’)
- 2 : Last Man Standing Victory (check ‘victorywho’)
- 3 : Reached Victory Hex Victory (check ‘victorywho’)
- 4 : Score Victory (check ‘victorywho’)
- 5 : Unification Vote Victory
- 8 : Time Expired Victory (ie Score, objective held)
- 9 : Tutorial
- 10: Sphere Victory (CW)
- 11: Space Race Victory (CW)
- (90+ Local Player Defeat Codes)
- 95 : Unification Vote Defeat
- 96 : Elimination Defeat
- 97 : Internal Election Defeat
- 98 : Time Expired Defeat
- 99 : Dead HQ Defeat
- 100 : Sphere Defeat (CW)
- 101 : Space Race Defeat (CW)