Difference between revisions of "Buildings"
m (Reverted edits by 86.106.87.67 (talk) to last revision by Sprung) Tag: Rollback |
(Add reference to terraform by holding mouse click setting) |
||
Line 18: | Line 18: | ||
=== Terraforming === | === Terraforming === | ||
− | [[Terraform#terraform_types|Terraforming]] can easily be queued before construction to put a structure on a spire or in a hole. There are various ways to issue this command. | + | [[Terraform#terraform_types|Terraforming]] can easily be queued before construction to put a structure on a spire or in a hole. There are various ways to issue this command depending on your advanced settings in Interface -> Building Placement. |
Height selection mode can be entered as follows: | Height selection mode can be entered as follows: | ||
* By holding '''Alt''' and using the mouse wheel during structure placement. | * By holding '''Alt''' and using the mouse wheel during structure placement. | ||
* By pressing '''B''' during structure placement. Press '''C''' and '''V''' to adjust the height. | * By pressing '''B''' during structure placement. Press '''C''' and '''V''' to adjust the height. | ||
− | * | + | * If you have enabled '''Terraform by holding mouse click''' in your settings, by holding down the '''left mouse button''' during placement (keeping the cursor stationary). Once the terraform mode has been entered, the mouse can be moved up and down to adjust the elevation. Another left click finalizes the command. |
After choosing the terraform height, click to place the structure as usual to issue the terraform and construction command. Structure terraform does not support multiple structure placement but it does support queuing and insertion with '''SPACE''' and '''SHIFT'''. | After choosing the terraform height, click to place the structure as usual to issue the terraform and construction command. Structure terraform does not support multiple structure placement but it does support queuing and insertion with '''SPACE''' and '''SHIFT'''. |
Revision as of 09:47, 24 June 2020
The Buildings of Zero-K are the backbone of your strategy. Build Metal Extractors and Energy producers to propel your economy, build Factories and Caretakers to produce an army, build defensive and intel structures to protect yourself from your opponents' armies, and build superweapons to end the game in spectacular fashion.
Properties shared by most or all buildings in Zero-K include:
- They cost the same amount of Metal and Energy.
- Once a nanoframe is placed, the ground beneath the building cannot be terraformed until the building is destroyed.
Contents
Building placement and construction
Unless stated otherwise, the following commands are to be used during building placement. This means, that after selecting a building from the build menu, instead of simply left-clicking to place it these modifiers can be used.
Command queuing
The normal command queueing options apply:
- Hold Shift to append (build) orders to the end of the queue.
- Hold Space to insert (build) orders at the front of the queue. This will come before the current task if there is one.
- Hold Shift+Space to insert (build) orders between existing orders. The order will try to be inserted between two nearby orders such that the constructor will minimize the added movement distance.
Build Facing
When placing factories (or other structures), their orientation can be selected by clicking and dragging, rotated in 90 degree steps using [ and ], or rotated clockwise in 90 degree steps by pressing the R key.
Terraforming
Terraforming can easily be queued before construction to put a structure on a spire or in a hole. There are various ways to issue this command depending on your advanced settings in Interface -> Building Placement.
Height selection mode can be entered as follows:
- By holding Alt and using the mouse wheel during structure placement.
- By pressing B during structure placement. Press C and V to adjust the height.
- If you have enabled Terraform by holding mouse click in your settings, by holding down the left mouse button during placement (keeping the cursor stationary). Once the terraform mode has been entered, the mouse can be moved up and down to adjust the elevation. Another left click finalizes the command.
After choosing the terraform height, click to place the structure as usual to issue the terraform and construction command. Structure terraform does not support multiple structure placement but it does support queuing and insertion with SPACE and SHIFT.
See the Level Command for details on the available modifiers.
An existing building can be surrounded by a terraformed wall by selecting the terraform command from the special tab (Hotkeys V, then X), then holding down Ctrl and clicking on the building. Release Ctrl and move the mouse upwards to set the height of the wall.
Line and Rectangular Grid
- Hold Shift while dragging the mouse to place a line of structures.
- Hold Shift+Ctrl to drag a line of structures in the 4 cardinal directions. If holding the mouse over a building, it will surround that building with the selected structure.
- Hold Shift+Alt to drag a rectangular grid of structures.
- Hold Shift+Ctrl+Alt to drag a hollow box of structures.
The spacing between the individual buildings can be adjusted by pressing x and z
Surrounding an existing building
By holding Ctrl+Shift during placement, an existing building can be surrounded with the selected building. For example, a fragile and expensive Fusion Reactor can be surrounded by sturdy and cheap Solar Collectors by first building the Fusion Reactor, then selecting the Solar Collector from the build menu, holding down Ctrl+Shift and clicking on the Fusion Reactor.
Placing Nanoframes
Holding Q while placing structures will only place the framework (nanoframe), which will let the structure be completed later. This is often used when there are Caretakers nearby that can finish the construction on their own.
Metal Extractors
There is a specialized Area Mex Command to place Metal Extractors in an area and optionally surround them with power generators at the same time.
Debug data:
[SQLBagOStuff] MainObjectStash using store ReplicatedBagOStuff
[objectcache] MainWANObjectCache using store EmptyBagOStuff
IP: 18.118.212.28
Start request GET /mediawiki/index.php?diff=prev&oldid=6700&title=Buildings
HTTP HEADERS:
CONTENT-TYPE:
CONTENT-LENGTH: 0
USER-AGENT: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HOST: zero-k.info
ACCEPT-ENCODING: gzip, br, zstd, deflate
ACCEPT: */*
CONNECTION: close[localisation] LocalisationCache: using store LCStoreDB
[session] SessionManager using store SqlBagOStuff
[DBReplication] Cannot use ChronologyProtector with EmptyBagOStuff
[DBReplication] Wikimedia\Rdbms\LBFactory::getChronologyProtector: request info {
"IPAddress": "18.118.212.28",
"UserAgent": "Mozilla\/5.0 AppleWebKit\/537.36 (KHTML, like Gecko; compatible; ClaudeBot\/1.0; +claudebot@anthropic.com)",
"ChronologyProtection": false,
"ChronologyPositionIndex": 0,
"ChronologyClientId": false
}[DBConnection] Wikimedia\Rdbms\LoadBalancer::lazyLoadReplicationPositions: executed chronology callback.
[DBConnection] Wikimedia\Rdbms\LoadBalancer::getLocalConnection: connected to database 0 at 'localhost'.
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[session] SessionBackend "utubq896guvdjkmu5b1curk6e24s04ol" is unsaved, marking dirty in constructor
[session] SessionBackend "utubq896guvdjkmu5b1curk6e24s04ol" save: dataDirty=1 metaDirty=1 forcePersist=0
[cookie] already deleted setcookie: "wikidb229_mw__session", "", "1712708579", "/", "", "", "1"
[cookie] already deleted setcookie: "wikidb229_mw_UserID", "", "1712708579", "/", "", "", "1"
[cookie] already deleted setcookie: "wikidb229_mw_Token", "", "1712708579", "/", "", "", "1"
[cookie] already deleted setcookie: "forceHTTPS", "", "1712708579", "/", "", "", "1"
[DBConnection] Wikimedia\Rdbms\LoadBalancer::getLocalConnection: connected to database 0 at 'localhost'.
Title::getRestrictionTypes: applicable restrictions to [[Buildings]] are {edit,move}
[ContentHandler] Created handler for wikitext: WikitextContentHandler
Article::view: showing diff page
DifferenceEngine old '6700' new 'prev' rcid ''
[MessageCache] MessageCache using store SqlBagOStuff
[localisation] LocalisationCache::isExpired(en): cache for en expired due to GlobalDependency
[localisation] LocalisationCache::recache: got localisation for en from source
[DBQuery] startAtomic: entering level 0 (LCStoreDB::finishWrite)
[DBQuery] endAtomic: leaving level 0 (LCStoreDB::finishWrite)
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] SqlBagOStuff::lock failed due to timeout for wikidb229-mw_:messages:en.
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[MessageCache] MessageCache::load: Loading en... local cache is empty, global cache is expired/volatile, loading from database
ParserFactory: using preprocessor: Preprocessor_Hash
Unstubbing $wgLang on call of $wgLang::_unstub from ParserOptions->__construct
DifferenceEngine old '0' new '0' rcid '0'
WikiPage::getParserOutput: using parser cache: no
[caches] parser: SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
Parser cache options found.
[Preprocessor] Cached preprocessor output (key: wikidb229-mw_:preprocess-hash:1df37dc8221d2d92c19043603788fa73:0)
[objectcache] Rejected set() for wikidb229-mw_:page:10:c90d0aba6c204c18a32b9494d0ed42477146bf40 due to pending writes.
[objectcache] Rejected set() for global:revision-row-1.29:wikidb229-mw_:314:8229 due to pending writes.
[Preprocessor] Cached preprocessor output (key: wikidb229-mw_:preprocess-hash:6a4f440322df0698d0df663d8685e861:1)
[objectcache] Rejected set() for wikidb229-mw_:page:10:55fa941bea79a2dda2e61ffb469279c5273c057d due to pending writes.
[objectcache] Rejected set() for global:revision-row-1.29:wikidb229-mw_:58:10085 due to pending writes.
[objectcache] Rejected set() for wikidb229-mw_:page:10:1eea3d5309d2a88c1e83cbfafba24489c41a09ad due to pending writes.
[objectcache] Rejected set() for global:revision-row-1.29:wikidb229-mw_:1979:10035 due to pending writes.
[objectcache] Rejected set() for wikidb229-mw_:page:828:3df63b7acb0522da685dad5fe84b81fdd7b25264 due to pending writes.
[objectcache] Rejected set() for global:revision-row-1.29:wikidb229-mw_:78:981 due to pending writes.
[ContentHandler] Created handler for Scribunto: ScribuntoContentHandler
[Scribunto] Scribunto_LuaStandaloneInterpreter::__construct: creating interpreter: ""C:\Projekty\zero-k.info\www\mediawiki\extensions\Scribunto\includes\engines\LuaStandalone/binaries/lua5_1_5_Win64_bin/lua5.1.exe" "C:\Projekty\zero-k.info\www\mediawiki\extensions\Scribunto\includes\engines\LuaStandalone/mw_main.lua" "C:\Projekty\zero-k.info\www\mediawiki\extensions\Scribunto\includes" "0" "8""
[gitinfo] Candidate cacheFile=C:\Projekty\zero-k.info\www\mediawiki/gitinfo.json for C:\Projekty\zero-k.info\www\mediawiki
[gitinfo] Cache incomplete for C:\Projekty\zero-k.info\www\mediawiki
SiteStats::loadAndLazyInit: reading site_stats from replica DB
[objectcache] Rejected set() for wikidb229-mw_:SiteStats:groupcounts:sysop due to pending writes.
[objectcache] Rejected set() for wikidb229-mw_:file:73af53ccad147c77191d984a0352b7bfb895e391 due to pending writes.
[objectcache] Rejected set() for wikidb229-mw_:page:828:55fa941bea79a2dda2e61ffb469279c5273c057d due to pending writes.
[objectcache] Rejected set() for global:revision-row-1.29:wikidb229-mw_:77:1496 due to pending writes.
[objectcache] Rejected set() for wikidb229-mw_:page:828:690afa83acf2d824b47ef6e809fe02b9ca57d63f due to pending writes.
[objectcache] Rejected set() for global:revision-row-1.29:wikidb229-mw_:11:170 due to pending writes.
[objectcache] Rejected set() for wikidb229-mw_:page:828:cbb9fa252e60809efa55a7ad83aea5438ef56753 due to pending writes.
[objectcache] Rejected set() for global:revision-row-1.29:wikidb229-mw_:28:111 due to pending writes.
[Preprocessor] Cached preprocessor output (key: wikidb229-mw_:preprocess-hash:1df37dc8221d2d92c19043603788fa73:0)
[DBPerformance] Sub-optimal transaction on DB(s) [localhost (wikidb229-mw_) (TRX#e524fa)]:
0 5.111701 query-m: DELETE FROM `mw_l10n_cache` WHERE lc_lang = 'X' [TRX#e524fa]
1 0.003063 query-m: INSERT INTO `mw_l10n_cache` (lc_lang,lc_key,lc_value) VALUES ('X') [TRX#e524fa]
2 0.002877 query-m: INSERT INTO `mw_l10n_cache` (lc_lang,lc_key,lc_value) VALUES ('X') [TRX#e524fa]
3 0.002868 query-m: INSERT INTO `mw_l10n_cache` (lc_lang,lc_key,lc_value) VALUES ('X') [TRX#e524fa]
4 0.002744 query-m: INSERT INTO `mw_l10n_cache` (lc_lang,lc_key,lc_value) VALUES ('X') [TRX#e524fa]
5 0.002749 query-m: INSERT INTO `mw_l10n_cache` (lc_lang,lc_key,lc_value) VALUES ('X') [TRX#e524fa]
6 0.003150 query-m: INSERT INTO `mw_l10n_cache` (lc_lang,lc_key,lc_value) VALUES ('X') [TRX#e524fa]
7 0.005369 query-m: INSERT INTO `mw_l10n_cache` (lc_lang,lc_key,lc_value) VALUES ('X') [TRX#e524fa]
8 0.002620 query-m: INSERT INTO `mw_l10n_cache` (lc_lang,lc_key,lc_value) VALUES ('X') [TRX#e524fa]
9 0.002532 query-m: INSERT INTO `mw_l10n_cache` (lc_lang,lc_key,lc_value) VALUES ('X') [TRX#e524fa]
10 0.002628 query-m: INSERT INTO `mw_l10n_cache` (lc_lang,lc_key,lc_value) VALUES ('X') [TRX#e524fa]
11 0.002854 query-m: INSERT INTO `mw_l10n_cache` (lc_lang,lc_key,lc_value) VALUES ('X') [TRX#e524fa]
12 0.002682 query-m: INSERT INTO `mw_l10n_cache` (lc_lang,lc_key,lc_value) VALUES ('X') [TRX#e524fa]
13 0.002620 query-m: INSERT INTO `mw_l10n_cache` (lc_lang,lc_key,lc_value) VALUES ('X') [TRX#e524fa]
14 0.002788 query-m: INSERT INTO `mw_l10n_cache` (lc_lang,lc_key,lc_value) VALUES ('X') [TRX#e524fa]
15 0.002623 query-m: INSERT INTO `mw_l10n_cache` (lc_lang,lc_key,lc_value) VALUES ('X') [TRX#e524fa]
16 0.004504 query-m: INSERT INTO `mw_l10n_cache` (lc_lang,lc_key,lc_value) VALUES ('X') [TRX#e524fa]
17 0.001115 query-m: REPLACE INTO `mw_objectcache` (keyname,value,exptime) VALUES ('X')
18 0.296512 ...delay...MediaWiki::preOutputCommit: primary transaction round committed
MediaWiki::preOutputCommit: pre-send deferred updates completed
MediaWiki::preOutputCommit: session changes committed
MediaWiki::preOutputCommit: LBFactory shutdown completed
Title::getRestrictionTypes: applicable restrictions to [[Buildings]] are {edit,move}