Editing User:DeinFreund

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
http://licho.eu/alba/terraform/intro.png <div style="float:right;">__TOC__</div>
+
/* CSS placed here will affect users of the Vector skin */
  
All construction units and Nano Turrets can modify the terrain in Zero-K. '''Terraforming''' costs energy, metal and time.
+
#toc,div.toc,ul#filetoc,li.gallerybox div.thumb{background-color:#4c4c4c;border-color:#666}
  
== Terraform Types ==
+
body, html, div#mw-head
 +
{
 +
/*background: #000 url("../img/bg_bluehex.gif") fixed;*/
 +
background-color: #101a20;
 +
/*background:-moz-linear-gradient(top, #020505 20%, #051010 100%)*/
 +
color: #ede;
 +
}
  
There are 5 terraform commands found under the 'Special' tab in the menu:
+
#mw-head-base{
 +
height:5.75em;
 +
}
  
http://lh4.ggpht.com/_EUPLJBA3KD0/TRub7U_jT_I/AAAAAAAAAYk/koXIKuEWt_w/terrabuttons.jpg
 
  
* Ramp
+
div#mw-panel { border: 1px solid teal; }
* Level
 
* Raise
 
* Smooth
 
* Restore
 
  
Note: ''Right Click'' at any time during the terraform will cancel the command (so will mousewheel movement, that's a bug though).
+
/* the main body, to the right of the sidebar */
 +
.mw-body
 +
{
 +
background-color:#204040;
 +
border-style: solid;
 +
border-image: url("../styles/dark-hive/images/tech_button.png") 24 24 24 24 fill / 15px 15px 15px 15px;
 +
border-radius: 10px;
 +
border-color:transparent;
 +
padding:10px;
 +
white-space:normal;
 +
color:inherit;
 +
}
  
Make sure you have the widget called "Lasso Terraform GUI" enabled or you will not be able to use Terraform.
+
/* remove a weird horizontal white bar on special pages */
 +
#mw-page-base.noprint { background-color:transparent !important; background-image:none !important; }
  
== Interface: Lasso Selection ==
+
/* different color for some parts of the background */
 +
.mw-highlight
 +
{
 +
background-color:#204040;
 +
color:inherit;
 +
}
  
Level, Raise, Smooth and Restore have the same interface for selecting the effected area. They differ in what they do to the terrain.
+
/* contains the stuff at the bottom of an edit page (summary, save page/show preview/show changes, etc.) */
 +
.editOptions
 +
{
 +
background-color:#204040;
 +
border: 1px solid teal;
 +
}
  
http://lh3.ggpht.com/_EUPLJBA3KD0/TRuciWHaPMI/AAAAAAAAAYo/Zt1TFHER0lA/terrabuttons2.jpg
+
/* Category bar */
 +
.catlinks
 +
{
 +
background-color:#204040;
 +
border: 1px solid teal;
 +
}
  
''Left click'' on the ground and hold the mouse to start drawing a line.  Drawing the area selects the area to be terraformed. If the end of the line is close to the start when the left mouse button is released the area inside the loop will be terraformed (like lasso selection), if the ends are far away the drawn line will be terraformed (good for making walls).
+
/* footer */
 +
div#footer ul li {color: #ede;}
  
http://licho.eu/alba/terraform/lasso.jpg
+
/* Diff display */
 +
td.diff-context { background-color: transparent; color: inherit; }
 +
td.diff-addedline .diffchange { background-color: #355580; }
 +
td.diff-deletedline .diffchange { background-color: #806525; }
  
If you are using Smooth or Restore the command will be given when you release the mouse. If you are using Level or Raise you will have to chose either which height to level to or how much to raise the land. This is done by moving the mouse up/down then clicking when it looks like it is at the desired height.
+
#pagehistory li.selected { background-color: #305a60; }
  
http://licho.eu/alba/terraform/setheight.jpg
+
.mw-changeslist-line-not-watched td, .mw-changeslist-line-watched td { background-color: #0C1616 }
  
=== Effects of Terraform and Modifiers ===
+
.template-documentation { background-color:inherit; }
  
Here are the effects of Level, Raise, Smooth and Restore. The modifiers ''Alt'' and ''Ctrl'' can be held during the Height Choosing phase of the Level and Raise commands for more height choosing control.
+
/* ---------------------------------------------------*/
 +
/* right navigation (userbar, edit/view history/etc.) */
  
http://licho.eu/alba/terraform/level.sized.jpg
+
div#right-navigation { background:transparent; }
  
'''Level''' will move the terrain in the area to exactly the same height, the result terrain will be flat. For example a hill could be flattened.
+
DIV.vectorTabs { background:transparent; }
  
Hold ''Alt'' to snap to either the starting height, just below water level (so that ships can't pass) or the level just below water level that land units cannot pass (23 deep).
+
div.vectorMenu { background: transparent; border-image: url("../styles/dark-hive/images/tech_button.png") 24 24 24 24 fill / 15px 15px 15px 15px; }
  
Hold ''Ctrl'' and move the mouse to select the height to be levelled to from terrain by mousing over the terrain.
+
/* More -> Delete/protect */
 +
div.menu ul { background-color:#204040; border: none}
 +
div.menu li { border: 1px solid teal;}
 +
div#mw-head div.vectorMenu h3 { background-image:none; } /* fixes the strange horizontal bar to the right of cactions button, it was driving me buggy */
 +
div.vectorMenu h3 span { color: #ede; background: transparent;}
 +
div.vectorMenu div.menu { background: transparent; border:none;}
  
Tap ''Space'' to cycle through only raise or only level. This limits the terraform to either take away or add terrain instead of a mix of both. Can be toggled during lasso stage.
+
div.vectorTabs span{
 +
        background:transparent;
 +
}
  
http://licho.eu/alba/terraform/raise.sized.jpg
+
.vectorTabs SPAN A
 +
{
 +
border-image: url("../styles/dark-hive/images/tech_button.png") 24 24 24 24 fill / 15px 15px 15px 15px;
 +
min-width:40px;
 +
text-align: center;
 +
vertical-align: center;
 +
        background:transparent;
 +
}
  
'''Raise''' raises or lowers the terrain in the area by the same amount, the relative height of the terrain within the area is not changed.
+
div.vectorTabs ul{
 +
background:transparent;
 +
}
  
Hold ''Alt'' to snap to heights by steps of 15. A 15 high (or deep) wall (or trench) will be impassable to vehicles but passable to bots. A 18 high wall will be impassable to most common bots. A 30 high wall will be impassable to everything except spiders.
+
div.vectorTabs ul li{
 +
background:transparent;
 +
}
  
Press ''Ctrl'' to reset the height to 0.
+
div.vectorTabs ul li.selected{
 +
background:transparent;
 +
}
  
<img src="http://licho.eu/alba/terraform/smooth1.sized.jpg" width="360"/><img src="http://licho.eu/alba/terraform/smooth2.sized.jpg" width="360"/>
+
.vectorTabs UL LI.selected A, .vectorTabs UL LI.selected A:visited
 +
{
 +
background-color:transparent;
 +
color:#ede;
 +
}
  
'''Smooth''' smooths the terrain, cliffs become less sharp.
+
/* tables */
 +
/* limitreport is for parser profiling data after preview */
 +
.wikitable, div.limitreport div table { border: 1px solid teal; }
 +
th, div.limitreport div table tbody tr th { background-color:#154550; color:#ede; }
 +
td { background-color:#204040; color:#ede;}
 +
table.wikitable tr th { background-color:#101a20; border-color:teal; }
  
<img src="http://licho.eu/alba/terraform/restore1.sized.jpg" width="360"/><img src="http://licho.eu/alba/terraform/restore2.sized.jpg" width="360"/>
+
/* these are for Template:Navbox */
 +
.navbox th, .navbox-title { background-color:#101a20; border-color:teal; }
 +
.navbox-odd { background-color:#122736; border-color:teal; }
 +
.navbox-even { background-color:#10242c; border-color:teal; }
  
'''Restore''' reverts the height of the terrain to what it was at the start of the game.
+
/* code blocks */
 +
code
 +
{
 +
background-color:#204040;
 +
border: 1px solid teal;
 +
color:inherit;
 +
}
  
Tap ''Space'' to cycle through only raise or only level. This limits the terraform to either take away or add terrain instead of a mix of both. Toggle during lasso stage.
+
pre, .mw-code
 +
{
 +
background: #222;
 +
border: 1px dotted #888;
 +
padding: 7px;
 +
margin-left: 4em;
 +
margin-right: 4em;
 +
color: inherit;
 +
}
  
== "Advanced" Area Selection ==
 
  
For easier terraforming, alt and/or ctrl can be used to modify the way the lasso command is given.
+
/* ---------------------------------------- */
 +
/* Adapted from Zero-K.info/styles/base.css */
  
Hold ''Alt'' while clicking to terraform a rectangular area.
+
h1 {font-size: 160%; color: #fff; padding: 0; margin: 0; }
 +
h2 {font-size: 140%; color: #cee; padding: 0; margin: 0; }
 +
h3 {font-size: 120%; color: #eec; padding: 0; margin: 0; }
 +
h4, h5, h6 { color: #ddd }
  
http://licho.eu/alba/terraform/square.jpg
+
/* links links links */
 +
/*
 +
a.external.text: for external links (not on this wiki)
 +
        div#mw-panel div.portal div.body ul li a: links in left sidebar
 +
        div.menu ul li a: (IIRC) drop down menu in top right ("move this page" and more)
 +
        div.vectorTabs li a: links in top right buttons ("edit" etc.)
 +
*/
 +
a, a.external.text, div.menu ul li a, div.vectorTabs li a, div#mw-panel div.portal div.body ul li a
 +
{color: #38bfec; text-decoration: none;}
  
Hold ''Alt'' and click on a building or unit to create a wall around that unit.
+
a:visited, a.external.text:visited, div.menu ul li a:visited, div.vectorTabs li a:visited, div#mw-panel div.portal div.body ul li a:visited
 +
{color: #4c90a6;}
  
http://licho.eu/alba/terraform/autowall.sized.jpg
+
a:hover
 +
{color: #fff;}
  
Hold ''Alt'' + ''Ctrl'' while clicking to create a hollow rectangle of terraform.
+
a:active
 +
{color: #cbd3d4;}
  
http://licho.eu/alba/terraform/ring.sized.jpg
+
/* Help cursor for anything that brings up a tooltip when moused over.
 +
base.css might be the wrong file, please move when needed or delete this comment.
 +
Whatever you do, please notify me so I know next time. -Skasi */
 +
[nicetitle], [nicetitle-processed] {cursor: help;}
  
Hold ''Ctrl'' at any time during line drawing to create a straight section of line. Straight and non-straight lines can be mixed by pressing and releasing Ctrl.
+
input[type="button"], input[type="checkbox"], input[type="image"],
 +
input[type="submit"], input[type="radio"], input[type="reset"],
 +
select, a, a[nicetitle], a[nicetitle-processed],
 +
[onclick][nicetitle], [onclick][nicetitle-processed]
 +
{
 +
  cursor: pointer;
 +
}
  
http://licho.eu/alba/terraform/loopy.sized.jpg
+
/* ------------ */
 +
/* input fields */
  
=== Ramp ===
+
input, textarea
 +
{
 +
color: #cbd3d4;
 +
background-color:#4c4c4c;
 +
border: 1px solid teal;
 +
padding: 3px;
 +
}
  
The ramp command interface is different from that of the other terraform commands.
 
  
First select the Ramp command from the command menu.
+
div#simpleSearch
 +
{
 +
color: #cbd3d4;
 +
background-color:#4c4c4c;
 +
border: 1px solid teal;
 +
}
  
http://lh3.ggpht.com/_EUPLJBA3KD0/TRucnab2grI/AAAAAAAAAYs/N9DPLGOiYU0/terrabuttons3.jpg
 
  
== Simple Ramp ==
+
div#simpleSearch input {color: inherit; background-color: inherit;}
This is a simple way to make a ramp between 2 points on the ground. It uses exactly the same interface as advanced ramp but it can be unclear how to make a simple ramp just from the explanation of the full features of advanced ramp.
 
  
In short:
+
form { background-color:transparent; }
* ''Left Click'' the start of the ramp
 
* ''Left Click'' the end of the ramp
 
* ''Left Click'' again
 
  
== Advanced Ramp ==
+
ul {list-style-type: circle;}
Using the full ramp interface you can make a ramp between any 2 arbitrary points above or below the terrain and chose the width of this ramp.
 
  
''Left Click'' on the ground to set the start of the ramp. '''If''' you want to choose the height of the start of the ramp hold the click and move the mouse up or down. A little green line will appear out of the ground to indicate the height. The default height is the ground height, release the mouse to select the height.
+
.border
 +
{
 +
background: #000 url("../img/border-1.png") repeat-x scroll 50% 0;
 +
margin: 10px;
 +
padding: 5px;
 +
    /**/border: 1px solid #2a8eaf;/**/
 +
    /*border: 1px solid #000;/**/
 +
border-radius: 3px;
 +
 +
    box-shadow: 0 0 3px 3px #000;
 +
-moz-box-shadow: 0 0 3px 3px #000;
 +
    -webkit-box-shadow: 0 0 3px 3px #000;
 +
   
 +
    /*
 +
    -moz-border-image: url("../img/zk_border.png") 10% 10% 10% 10% / 10px 10px 10px 10px ;
 +
    -webkit-border-image: url("../img/zk_border.png") 10% 10% 10% 10% / 10px 10px 10px 10px ;
 +
    -border-image: url("../img/zk_border.png") 10% 10% 10% 10% / 10px 10px 10px 10px ;
 +
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=88)";
 +
    /**/
 +
}
  
Hold '''Alt''' when choosing the start height to snap to the original ground height or just below water level(helpful for getting hovers out of the water).
+
.ie .border
 +
{
 +
    padding: 13px;
 +
border: 1px solid #38bfec;
 +
}
  
<img src="http://licho.eu/alba/terraform/ramp1.sized.jpg" width="480"/>
+
/* Styles for unitguide
 +
-----------------------------------------------------------*/
  
Then ''Left Click'' on the ground to set the end of the ramp. As with the start of the ramp, you can hold the mouse and move to choose the height.  
+
.infoCell
 +
{
 +
background-color:#204040;
 +
border-style: solid;
 +
border-image: url("../styles/dark-hive/images/tech_button.png") 24 24 24 24 fill / 15px 15px 15px 15px;
 +
border-radius: 10px;
 +
border-color:transparent;
 +
max-width: 700px;
 +
overflow: hidden;
 +
padding:10px;
 +
white-space:normal;
 +
}
 +
.unitCell{
 +
margin-left: 30px;
 +
}
 +
.unitname {
 +
font-weight:bold;
 +
}
 +
.unitdesc {
 +
font-style:oblique;
 +
}
 +
.helptext {
 +
font-size:small;
 +
}
  
Hold '''Alt''' when choosing the end height to snap the gradient of the ramp to either upwards bot pathable, upwards vehicle pathable, flat, downwards vehicle pathable, downwards  bot pathable, the original ground height or just below water level .
+
.buildpic {
 +
border: 1px solid white;
 +
}
 +
.statsnumval {
 +
font-weight:bold;
 +
color:DeepSkyBlue;
 +
font-family: monospace;
 +
white-space:nowrap;
 +
}
 +
.statsfield {
 +
font-size:small;
 +
}
  
<img src="http://licho.eu/alba/terraform/ramp2.sized.jpg" width="480"/>
+
#ca-unwatch.icon a:hover, #ca-unwatch.icon a:focus{
 +
background:url(http://zero-k.info/mediawiki/skins/Vector/images/unwatch-icon-hl.svg?a3932) transparent no-repeat center center
 +
}
  
Move the mouse up/down (not held down) and click to set the width of the ramp. Then ''Left Click'' to build it.
+
/* See common.css*/
 +
/* Style for horizontal lists (separator following item).
 +
  @source mediawiki.org/wiki/Snippets/Horizontal_lists
 +
  @revision 8 (2016-05-21)
 +
  @author [[User:Edokter]]
 +
*/
 +
.hlist dl,
 +
.hlist ol,
 +
.hlist ul {
 +
    margin: 0;
 +
    padding: 0;
 +
}
 +
/* Display list items inline */
 +
.hlist dd,
 +
.hlist dt,
 +
.hlist li {
 +
    margin: 0;
 +
    display: inline;
 +
}
 +
/* Display nested lists inline */
 +
.hlist.inline,
 +
.hlist.inline dl,
 +
.hlist.inline ol,
 +
.hlist.inline ul,
 +
.hlist dl dl, .hlist dl ol, .hlist dl ul,
 +
.hlist ol dl, .hlist ol ol, .hlist ol ul,
 +
.hlist ul dl, .hlist ul ol, .hlist ul ul {
 +
    display: inline;
 +
}
 +
/* Hide empty list items */
 +
.hlist .mw-empty-li {
 +
    display: none;
 +
}
 +
/* Generate interpuncts */
 +
.hlist dt:after {
 +
    content: ": ";
 +
}
 +
.hlist dd:after,
 +
.hlist li:after {
 +
    content: " · ";
 +
    font-weight: bold;
 +
}
 +
.hlist dd:last-child:after,
 +
.hlist dt:last-child:after,
 +
.hlist li:last-child:after {
 +
    content: none;
 +
}
 +
/* Add parentheses around nested lists */
 +
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
 +
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
 +
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
 +
    content: " (";
 +
    font-weight: normal;
 +
}
 +
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
 +
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
 +
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
 +
    content: ")";
 +
    font-weight: normal;
 +
}
 +
/* Put ordinals in front of ordered list items */
 +
.hlist ol {
 +
    counter-reset: listitem;
 +
}
 +
.hlist ol > li {
 +
    counter-increment: listitem;
 +
}
 +
.hlist ol > li:before {
 +
    content: " " counter(listitem) "\a0";
 +
}
 +
.hlist dd ol > li:first-child:before,
 +
.hlist dt ol > li:first-child:before,
 +
.hlist li ol > li:first-child:before {
 +
    content: " (" counter(listitem) "\a0";
 +
}
  
<img src="http://licho.eu/alba/terraform/ramp3.sized.jpg" width="480"/>
+
Honk!
 
 
The ramp colour indicates whether all units will be able to use it, if vehicles/tanks will not be able to use it and if only Spiders can use it.
 
 
 
<img src="http://licho.eu/alba/terraform/ramp_green.jpg" width="240"/><img src="http://licho.eu/alba/terraform/ramp_yellow.jpg" width="240"/><img src="http://licho.eu/alba/terraform/ramp_red.jpg" width="240"/>
 
 
 
Optional: Tap ''Space'' to cycle through only raise or only level. This limits the terraform to either take away or add terrain instead of a mix of both. Can be toggled at any stage during the ramp command.
 
 
 
=== Cost ===
 
 
 
Terraform by default costs 1 metal, energy and build power to raise or lower 1 heightmap grid, each vertex of the blue grid maps onto a point on the heightmap grid. Due to the sloped sides it will be costly to make a very high spire. Equal volumes of terraform will have the same cost regardless of shape. Cost can be changed with the "terraform cost multiplier" ModOption.
 
 
 
As a general guideline, assuming the base value for terraforming cost, creating a 15 deep wall (or trench) will cost roughly 19 resources per 'segment'.
 
 
 
=== Tips ===
 
 
 
You can protect non-combat structures not sensitive to terrain such as cloak/shield generators, nanoturrets, gunship factories and missile silos with walls or holes.
 
 
 
Buildings cannot be moved vertically. If you want to put a Fusion in a hole for safety the hole will have to be built before the Fusion.
 
 
 
Because buildings cannot move vertically they can be used to stop walls being terraformed by the enemy.
 
 
 
http://licho.eu/alba/terraform/cappedwall.sized.jpg
 
 
 
Big Berthas and Crabes are very good at knocking down walls.
 
 
 
http://licho.eu/alba/terraform/crabesmooth.sized.jpg
 
 
 
You can use Terraforming to make a trench or wall underwater to stop amphibious bots.
 
 
 
Terraform ramp can be used with newtons to fire units at the enemy!
 
 
 
http://licho.eu/alba/terraform/newtonramp.sized.jpg
 
 
 
To set hotkeys for terraform commands, navigate into the game menu and look under hotkeys for ''Levelground, Raiseground, Rampground, Smoothground'' and ''Restoreground.''
 
 
 
{{Navbox manual}}
 

Please note that all contributions to Zero-K are considered to be released under the Creative Commons Attribution-ShareAlike (see Zero-K:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)