Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Excerpt
Defines the rate at which oil derricks produce power, prior to applying any power upgrades.

 

Overview

Values

The power level setting defines the rate at which your derricks produce oil. The higher the power level, the more oil they will produce.

Image Removed

The order in which things are built and researched will usually be quite different depending on the power level, so your script should act accordingly.

Values

Note: INSANE AI's get double the power!In Warzone 3.2+, INSANE AI players automatically get twice as much production from their derricks (see difficulty for more information).

IconValueDescriptionINSANE AI Value
Image Added400Low power output800
Image Added700Medium power output1400
Image Added1000High power levels output2000
If you are creating 

How is it set?

For Challenge Games, choose the power type is defined by set the "Power" property in your .ini file to the relevant number.

For Skirmish and Multiplayer games, the power type is defined on the game set-up screen:

Image Added

The order in which things are built and researched will usually be quite different depending on the power level, so your script should act accordingly. For example, if your derricks have a base output of 1000 you might want to do a bit more research than you would if they were only outputting 400?

Examples

Code Block
themeRDark
languagejavascript
titleSwitching based on power level setting
linenumberstrue
switch (powerType) {
  case 1000: {
    console("it's a high power game");
    break;
  }
  case 700: {
    console("it's a medium power game");
    break;
  }
  case 400: {
    console("it's a low power game");
    break;
  }
  default: {
    console("unrecognised power level!");
  }
}

See also

  • setPower()
  • playerPower()
  • Difficulty LevelsAI Difficulties

     

    Div
    classbox suggest

    Wondering what sets the initial amount of power amount you get when the game starts? See baseType.

    Div
    classbox
    Availability
    Status
    colourGreen
    title3.1 b1+

    Requires:

    • Warzone 3.1 Beta 1 or above
    Div
    classbox
    Contents

    Jump to:

    Table of Contents
    maxLevel5

    Div
    classbox

    See also

    Related articles:

    • baseType – determines the amount of power a player is given at the start of the game
    • setPower() – give power to a player
    • playerPower() – determine how much power a player currently has
    • Difficulty Levels – effects of difficulty setting on power level