Editing Unit states

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:
{{TOC right}}
+
Most units and buildings have 'behavior states' that can be set by the player to modify unit behavior on the fly. The state settings are set per-unit to allow different behavior of the same unit types.
Most units and buildings have ''behavior states'' that can be set by the player to modify unit behavior on the fly. The state settings are set per unit to allow different behavior of the same unit types.
 
 
 
Some unit states are hidden by default. You can display them under [[Ingame Menu#Commands|Settings/Interface/Commands]].
 
  
 
[[File:Factory commands.png]]
 
[[File:Factory commands.png]]
Line 17: Line 14:
  
 
== State List ==
 
== State List ==
Following is a list that explains each state and its settings.
+
Following is a list that explains each state and it's settings.
  
 
=== Fire State ===
 
=== Fire State ===
Line 29: Line 26:
  
 
=== Move State ===
 
=== Move State ===
Movestate controls how freely a unit can move in pursuit of its target. All mobile units have movestate.
+
Movestate controls how freely a unit can move in pursuit of it's target. All mobile units have movestate.
  
 
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/move_roam.png" height="24" width="24"/> '''Roam''' — The unit will move to attack nearby targets and chase them if they run away. Constructors will only assist ally construction if set to Roam.
 
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/move_roam.png" height="24" width="24"/> '''Roam''' — The unit will move to attack nearby targets and chase them if they run away. Constructors will only assist ally construction if set to Roam.
Line 69: Line 66:
 
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/selection_rank_3.png" height="24" width="24"/>
 
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/selection_rank_3.png" height="24" width="24"/>
  
See [[Selection#Selection_Rank|Selection Rank]]
+
Selection rank determines which units are selected when dragging a selection box around units with different ranks.  Only the units in the selection box with the highest rank are selected.  This is what keeps buildings and construction units from being selected with combat units.
 +
 
 +
By default, most buildings have selection rank 1, factories and constructors have rank 2, and all combat units have rank 3. Selection rank can be changed for selected units, or it may be changed globally in the options menu.  For example, if you don't want your Commander or anti-air units to be selected with the rest of your combat units, reduce their selection rank.
  
 
=== Build Priority ===
 
=== Build Priority ===
  
Priority lets you control resource spending more accurately when spending exceeds income. See [[Economy_Guide#Priority |Economy Guide Priority]]
+
Priority lets you control resource spending more accurately and without resorting to putting more constructors on an important project.
 +
 
 +
There are 3 levels of priority and each level gets to use resources before the levels below it. First resources are split evenly between high priority construction, if there are any resources left over the resources are split between normal priority construction. If both high and normal priority construction is working at full capacity the remaining resources are available for low priority construction.
  
See also [[Economy_Guide#Reserving_resources|Resources Reserve]]
+
Both constructors and nanoframes have a priority button. If nanoframe priority is set all constructors with normal priority working on it will work at the priority of the nanoframe. A constructor with priority set simply works at that priority level.
 +
 
 +
Additionally a portion of your resources can be reserved to only be used by high priority construction (and unit morphing). Set the reserve level for both metal and energy by left-clicking on either resource bar (metal reserving must first be enabled in the menu). Right-click on a bar to set the reserve for that resource without affecting the other resource type.
 +
 
 +
http://licho.eu/alba/Zero-K_Manual/resourcebar_reserve.png
 +
 
 +
''A resource bar at approximately 50% energy reserve and 25% metal reserve''
  
 
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/wrench_high.png" height="24" width="24"/> '''High Priority''' — Constructors are always funded.
 
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/wrench_high.png" height="24" width="24"/> '''High Priority''' — Constructors are always funded.
Line 143: Line 150:
 
Certain long range artillery units can be toggled between high and low trajectory firing.
 
Certain long range artillery units can be toggled between high and low trajectory firing.
  
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/traj_high.png" height="24" width="24"/> '''High Trajectory''' — Shoot with a high arcing shot. This is useful for shooting over terrain that blocks direct line of sight, though it does moderately reduce accuracy.
+
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/traj_high.png" height="24" width="24"/> '''High Trajectory''' — Shoot with a high arcing shot. This is useful for shooting over terrain that blocks direct line of sight.
  
 
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/traj_low.png" height="24" width="24"/> '''Low Trajectory''' — Unit fire directly toward the enemy. This can be useful because directly fired projectiles are more accurate and spend less time in flight.
 
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/traj_low.png" height="24" width="24"/> '''Low Trajectory''' — Unit fire directly toward the enemy. This can be useful because directly fired projectiles are more accurate and spend less time in flight.
  
 
=== Fire at Radar ===
 
=== Fire at Radar ===
Some units with long-range precision weapons, like the Phantom and Lance, can be ordered not to fire on radar dots (i.e. targets inside radar range but outside visual range). These units will still fire on buildings outside line of sight if the target position is known precisely (indicated by the "ghost" building).
+
Some units with long-range precision weapons, like the Sharpshooter and Penetrator, can be ordered not to fire on radar dots (i.e. targets inside radar range but outside visual range). Note that these units will still fire on buildings outside line of sight if the target position is known precisely (indicated by the "ghost" building).
  
 
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/stealth_on.png" height="24" width="24"/> '''Fire at Radar Dots'''
 
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/stealth_on.png" height="24" width="24"/> '''Fire at Radar Dots'''
Line 190: Line 197:
  
 
=== Drone Construction ===
 
=== Drone Construction ===
Units capable of drone production can switch it on or off.
 
 
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/drones_on.png" height="24" width="24"/> '''Production of drones is ongoing'''
 
 
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/drones_off.png" height="24" width="24"/> '''Production of drones is stopped'''
 
  
 
=== Impulse Mode ===
 
=== Impulse Mode ===
Line 202: Line 204:
  
 
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/pull_alt.png" height="24" width="24"/> '''Pull'''
 
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/pull_alt.png" height="24" width="24"/> '''Pull'''
 
=== Ward Fire ===
 
Shoot at the shields of Thugs, Felons and Convicts when nothing else is in range.
 
 
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/ward_on.png" height="24" width="24"/> '''Ward Fire Enabled'''
 
 
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/ward_off.png" height="24" width="24"/> '''Ward Fire Disabled'''
 
 
=== Allow Attack Commands ===
 
State for [[Lobster]] to ignore attack commands and only respond to [[Fire_Special_Weapon_Command |'D' commands]].
 
 
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/disableattack_off.png" height="24" width="24"/> '''Disable Attack Off'''
 
 
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/disableattack_on.png" height="24" width="24"/> '''Disable Attack On'''
 
 
=== Fire Towards Enemies ===
 
Shoots towards enemies when there are no other targets.
 
 
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/shoot_towards_off.png" height="24" width="24"/> '''Disabled'''
 
 
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/shoot_towards_on.png" height="24" width="24"/> '''Enabled'''
 
 
=== Avoid Bad Targets ===
 
Added in the [https://zero-k.info/Forum/Post/236870#236870 Anti-Bait update] , this state prevents a unit from automatically firing a long reload weapon at unit classes identified by metal cost.
 
 
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/bait_off_alternate.png" height="24" width="24"/> '''Disabled'''
 
 
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/bait_1.png" height="24" width="24"/> '''Free''' — Avoid light drones ([[Firefly]] and [[Gull]]), [[Wind/Tidal Generator|Wind]], [[Solar Collector|Solar]], [[Claw]], [[Dirtbag]], nanoframes up to 50 metal and armoured targets (except [[Crab]]).
 
 
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/bait_2.png" height="24" width="24"/> '''Light''' — As above, as well as units costing less than 90, [[Razor]], [[Sparrow]] and unidentified radar dots.
 
 
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/bait_3.png" height="24" width="24"/> '''Medium''' — As above, as well as units costing less than 240, except [[Stardust]], with the addition of [[Raptor]].
 
 
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/bait_4.png" height="24" width="24"/> '''Heavy''' — As above, as well as units costing less than 420.
 
 
=== Puppy Replication ===
 
Set whether Puppies use nearby wrecks to make more Puppies.
 
 
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/goo_on.png" height="24" width="24"/> '''On Except When Cloaked'''
 
 
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/goo_cloak.png" height="24" width="24"/> '''Always On'''
 
 
<img src="https://raw.githubusercontent.com/ZeroK-RTS/Zero-K/master/LuaUI/Images/commands/states/goo_off.png" height="24" width="24"/> '''Off'''
 
 
  
 
{{Navbox manual}}
 
{{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)