Versions Compared

Key

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

 

Overview

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

If you are creating Challenge Games, the power type is defined by the "Power" property in your ini file.

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?

Values

Note: INSANE AI's get double the power!

ValueDescriptionINSANE AI Value
400Low power output800
700Medium power output1400
1000High power levels output2000
If you are creating Challenge Games, the power type is defined by the "Power" property in your ini file.

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

 
Div
classbox suggest

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

Div
classbox

Availability

Requires:

  • Warzone 3.1 or above
Div
classbox

See also

Related articles: