Mod API Reference:GameSettings

From Warzone Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

GameSettings: All settings the game was started with. These are never changed once the game is created.

  • AIsSurrenderWhenOneHumanRemains boolean:
  • AllowAttackOnly boolean:
  • AllowPercentageAttacks boolean:
  • AllowTransferOnly boolean:
  • AllowVacations boolean:
  • ArmyCap Nullable<number>:
  • AtStartDivideIntoTeamsOf integer:
  • AutoBootEnabled boolean:
  • AutoBootTime TimeSpan:
  • AutoForceJoinTime TimeSpan:
  • AutomaticTerritoryDistribution boolean:
  • AutoStartGame boolean:
  • BankDuration integer:
  • BankingBootTimes Nullable<integer>:
  • BonusArmyPer integer:
  • BootedPlayersTurnIntoAIs boolean:
  • CardHoldingsAndReceivesFogged boolean:
  • CardPlayingsFogged boolean:
  • Cards Table<CardID,CardGame>:
  • CoinEntryFee integer:
  • CoinPrize integer:
  • Commanders boolean:
  • CommerceArmyCostMultiplier Nullable<integer>: The army cost multiplier that determines how expensive armies are in commerce games. If set to a number, this game is a commerce game. If nil, it's not.
  • CommerceCityBaseCost Nullable<integer>:
  • CommerceGame boolean: A read-only property that checks if the game is a commerce game. This just checks if CommerceArmyCostMultiplier is not nil.
  • Created DateTime:
  • CustomScenario CustomScenario:
  • DefenseKillRate number:
  • DirectBootTime TimeSpan:
  • DirectBootTimeSummaryString string:
  • DistributionModeID DistributionID: This can be assigned the numeric distribution mode that a map makes available, or to one of the following constants:
    • WL.DistributionMode.FullDistribution
    • WL.DistributionMode.RandomWarlordsDistribution
    • WL.DistributionMode.RandomCitiesDistribution
    • WL.DistributionMode.CustomScenario
  • FogLevel GameFogLevel (enum):
  • ForceJoinTime TimeSpan:
  • HasAnySortOfFog boolean:
  • HasSpecialUnits boolean:
  • InitialBank TimeSpan:
  • InitialNeutralsInDistribution integer:
  • InitialNonDistributionArmies integer:
  • InitialPlayerArmiesPerTerritory integer:
  • InstantSurrender boolean:
  • IsArchived boolean:
  • IsCoinsGame boolean:
  • IsTournamentLadderQuickmatchOrClanWar boolean:
  • KillRatesAreModified boolean:
  • LadderID Nullable<LadderID>:
  • LimitDistributionTerritories integer:
  • LocalDeployments boolean:
  • LuckModifier number:
  • MapID MapID:
  • MapTestingGame boolean:
  • MaxCardsHold integer:
  • MinimumArmyBonus integer:
  • MinimumBootTime TimeSpan:
  • MinimumVersionRequired integer:
  • MoveOrder MoveOrderEnum (enum):
  • MultiAttack boolean:
  • MultiPlayer boolean:
  • Name string:
  • NoSplit boolean:
  • NumberOfCardsToReceiveEachTurn integer:
  • NumberOfWastelands integer:
  • OffenseKillRate number:
  • OneArmyMustStandGuardOneOrZero integer:
  • OneArmyStandsGuard boolean:
  • OverriddenBonuses Table<BonusID,integer>:
  • PersonalMessage string:
  • PrivateMessaging boolean:
  • RankedGame boolean:
  • RealTimeGame boolean:
  • RoundingMode RoundingModeEnum (enum):
  • SinglePlayer boolean:
  • StartedBy Nullable<PlayerID>:
  • StartedByInfo PlayerInfo2:
  • SurrenderedPlayersTurnIntoAIs boolean:
  • TemplateIDUsed Nullable<TemplateID>:
  • TemplateName string:
  • TimesCanComeBackFromAI integer:
  • TournamentID Nullable<integer>:
  • VoteBootTime TimeSpan:
  • WastelandSize integer: