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. |
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.
INSANE AI players automatically get twice as much production from their derricks (see AI Difficulties for more information).
Icon | Value | Description | INSANE AI Value |
---|---|---|---|
400 | Low power output | 800 | |
700 | Medium power output | 1400 | |
1000 | High power levels output | 2000 |
How is it set?
For Challenge Games, choose the 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:
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 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
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!"); } } |
Div | ||
---|---|---|
| ||
Wondering what sets the initial amount of power you get when the game starts? See baseType. |
Div | ||||||
---|---|---|---|---|---|---|
| ||||||
Availability
Requires:
|
Div | ||||
---|---|---|---|---|
| ||||
ContentsJump to:
|
Div | ||
---|---|---|
| ||
See alsoRelated articles:
|