Auto grouping

Ever wished to have all fighters in group 7, all gunships in group 8, all raiders in 4 etc? Autogroup achieves just that..

  • Auto grouping is feature of CA (widget)
  • Alt+number - makes permanent "auto group" out of currently selected unit types
  • New units then join that group when they first become idle.
  • Alt+~ - removes currently selected unit types from the autogrouping.
  • Ctrl+~ - selects ONE unit out of currently selected units (closest to your mouse cursor) and removes it from any groups (not removing type from auto group, just current unit from group).
  • Autogroup settings can be modified from the in-game menu: Menu -> Settings -> Widgets -> Autogroup.

Example use:

  • Select a Glaive and a Warrior and press alt+1.
  • From then on, new Glaives and Warriors will join group 1 when they first become idle (after reaching factory waypoint). You can press 1 to select them.
  • If you then want to add Zeuses to autogroup 1, select one and press alt+1.
  • If you then want to remove Glaives from autogroup 1, select one and press alt+~.

Selection Keys

In the spring folder (windows) there is a nice little program called 'SelectionEditor?.exe'. With the SelectionEditor? you can create complex unit selection shortcuts to suit your playstyle. It is fairly easy to use, select a key combination and edit it or create a new one. Note that 'In view' works like 'All Map' if you zoom out, so 'In view' is far more useful. You don't want to burden your memory with tons of extremely specific selections. You are better off with a few 'In View' commands which can be intuitively customised on the fly using different views (base, frontline, zoom out to see all map).

Useful default keys:

  • Ctrl-C selects your commander and focuses on him. Forgot where your commander is? Hit ctrl-c!
  • Ctrl-B selects an idle builder, you don't need fancy widgets to remind you of idle builders, just use this shortcut.
  • Ctrl-A selects all. Convenient in some situations, just please don't use ctrl-d with this when the battle is still going.
  • Ctrl-Z selects all units of the same type as those in the current selection. The most used command, by many players. Very useful for keeping your army together, getting re-enforcements, etc. Its strongly suggested that you customize your keys to remove builders (and perhaps commanders and buildings) from the selection, as several games have been lost simply due to 'whoops, cntrl z cons' (Destroying all their previous orders and putting the economy at a standstill).

Some ideas for useful selections:

  • Select all in view, must not be: builder, building or commander, type exists in previous selection, clear previous selection. I found this very useful in many situations. You can, for example, select a flash (from anywhere), zoom to the frontline, hit the selection and get all your flashes in frontline selected. You can zoom to your base and drag a box, hit the selection and quickly get a selection of all your mobile combat units in the base. I replaced the default ctrl-z with this.

Licho's selections:

  • ctrl+a - select all units
  • ctrl+b - select builders
  • ctrl+c - select commander
  • ctrl+e - filter out damaged units from current selection
  • ctrl+f - select combat aircrafts except fighters
  • ctrl+g - select air superiority fighters (arm)
  • ctrl+h - select emp bombers
  • ctrl+i - select all idle units from current selection (example ctrl+f, ctrl+i - select idle air)'
  • ctrl+q - select one unit from current selection
  • ctrl+r - select clear out workers from current selection
  • ctrl+s - select aircraft scouts
  • ctrl+t - select transport aircrafts
  • ctrl+v - select next idle worker (kind of . in AOE)
  • ctrl+w - select land combat units
  • ctrl+x - select high range land combat units (AA, arty)
  • ctrl+z - select all units of currently selected type
 Control_A AllMap++_ClearSelection_SelectAll+  
 Control_B AllMap+_Builder_Not_Building_Not_Commander_Not_Transport_Not_Aircraft+_ClearSelection_SelectAll+
 Control_C AllMap+_Commander+_ClearSelection_SelectOne+ 
 Control_E PrevSelection+_Not_RelativeHealth_30+_ClearSelection_SelectAll+ 
 Control_F AllMap+_Not_Builder_Not_Building_Not_Commander_Not_Transport_Aircraft_Weapons_Not_NameContain_Hawk_Not_Radar+_ClearSelection_SelectAll+
 Control_G AllMap+_NameContain_Hawk+_ClearSelection_SelectAll+
 Control_H AllMap+_Not_Builder_Not_Building_Not_Commander_Not_Transport_Aircraft_NameContain_Stiletto+_ClearSelection_SelectAll+
 Control_I PrevSelection+_Idle+_ClearSelection_SelectAll+
 Control_Q PrevSelection++_ClearSelection_SelectOne+
 Control_R AllMap+_Not_Builder_Not_Building_Not_Commander+_ClearSelection_SelectAll+
 Control_S AllMap+_Not_Builder_Not_Building_Not_Transport_Aircraft_Radar+_ClearSelection_SelectAll+
 Control_T AllMap+_Not_Builder_Not_Building_Not_Commander_Transport_Aircraft+_ClearSelection_SelectAll+
 Control_V AllMap+_Builder_Not_Building_Idle+_ClearSelection_SelectOne+
 Control_W AllMap+_Not_Builder_Not_Building_Not_Commander_Not_Transport_Not_Aircraft_Weapons_Not_WeaponRange_600+_ClearSelection_SelectAll+
 Control_X AllMap+_Not_Builder_Not_Building_Not_Commander_Not_Transport_Not_Aircraft_Weapons_WeaponRange_600+_ClearSelection_SelectAll+
 Control_Z AllMap+_InPrevSel+_ClearSelection_SelectAll+

Custom Keybinds

You can bind custom keys in the 'uikeys.txt' in spring folder. Detailed instructions are included in the file. For those who want a quick tutorial, make sure the key you want to bind is not used (you can for example add line 'unbindkeyset ctrl+d' to the file to free the keyset ctrl + d). Then add your binding using 'bind ctrl+d selfd' for example.

You can remap the original keys to your liking, or add completely new commands.

Here's what I added:

  • bind ctrl+q buildunit_armllt - If you have a builder selected, hitting ctrl+q selects LLT
  • bind ctrl+q buildunit_corllt - Same for core
  • bind alt+q buildunit_armrl - Missile launcher
  • bind alt+q buildunit_corrl
  • bind ctrl+w buildunit_armrad - radar
  • bind ctrl+w buildunit_corrad
  • bind ctrl+e buildunit_armsolar - solar
  • bind ctrl+e buildunit_corsolar
  • bind alt+e buildunit_armwin - wind
  • bind alt+e buildunit_corwin
  • bind ctrl+r buildunit_armmex - metal extractor
  • bind ctrl+r buildunit_cormex
  • bind alt+r buildunit_armmakr - metal maker
  • bind alt+r buildunit_cormakr

Note that I put both arm and core versions in the same keyset. You could even add sea variants to the same keysets, but I chose not to, mainly because using hovers or amphibs could be confusing. Also note that these actions only apply to mods where such units exists (*A, excluding XTA iirc)

Khaos script

  • This is a template for advanced unit selection widgets.
  • It selects predefined unit types out of currently visible units
  • To configure it, place this file: unit_khaos.lua to your luaui/widgets and edit and change code to configure it

Custom Keybinds for those who don't want to search through build lists

Google Frog's uikeys: Contains all of the most frequently built buildings and some infrequently built ones. Pressing the same key multiple times cycles through the same hotkey so they are sorted from most frequent to least frequent, this is usually smallest to largest. These take about a week to get used to but save a lot of time especially now that cons can build everything. Select AI must be unbound from ctrl-q.

unbindkeyset ctrl+q
unbindaction selectai

unbind              Any+c  controlunit
bind c capture
bind shift+c capture

bind v controlunit

unbind any+j mouse2

bind any+j jump

//MEXES:


bind ctrl+w buildunit_armmex
bind ctrl+w buildunit_armamex
bind ctrl+w buildunit_armuwmex


bind ctrl+w buildunit_cormex
bind ctrl+w buildunit_corexp
bind ctrl+w buildunit_coruwmex


//ENERGY


bind ctrl+f buildunit_armwin
bind ctrl+f buildunit_armsolar
bind ctrl+f buildunit_armtide
bind ctrl+f buildunit_armfus
bind ctrl+f buildunit_aafus
bind ctrl+f buildunit_armgeo
bind ctrl+f buildunit_amgeo

bind ctrl+f buildunit_corwin
bind ctrl+f buildunit_corsolar
bind ctrl+f buildunit_cortide
bind ctrl+f buildunit_corfus
bind ctrl+f buildunit_cafus
bind ctrl+f buildunit_corgeo
bind ctrl+f buildunit_cmgeo


//Ground Based Air Defence


bind ctrl+e buildunit_armrl
bind ctrl+e buildunit_armarch
bind ctrl+e buildunit_armflak
bind ctrl+e buildunit_armcir
bind ctrl+e buildunit_mercury

bind ctrl+e buildunit_corrl
bind ctrl+e buildunit_corrazor
bind ctrl+e buildunit_corflak
bind ctrl+e buildunit_corerad
bind ctrl+e buildunit_screamer


//Sea Based Air Defence

bind ctrl+e buildunit_armfrt
bind ctrl+e buildunit_armfarch
bind ctrl+e buildunit_armfflak


bind ctrl+e buildunit_corfrt
bind ctrl+e buildunit_corfrazor
bind ctrl+e buildunit_corenaa


//Ground DEFENCE 

bind ctrl+q buildunit_armllt
bind ctrl+q buildunit_armdeva
bind ctrl+q buildunit_armartic
bind ctrl+q buildunit_armpb
bind ctrl+q buildunit_armhlt
bind ctrl+q buildunit_armamb
bind ctrl+q buildunit_armanni

bind ctrl+q buildunit_corllt
bind ctrl+q buildunit_corpre
bind ctrl+q buildunit_corgrav
bind ctrl+q buildunit_corvipe
bind ctrl+q buildunit_corhlt
bind ctrl+q buildunit_cortoast
bind ctrl+q buildunit_cordoom

//Sea DEFENCE 

bind ctrl+q buildunit_armtl
bind ctrl+q buildunit_armfhlt
bind ctrl+q buildunit_armatl


bind ctrl+q buildunit_cortl
bind ctrl+q buildunit_corfhlt
bind ctrl+q buildunit_coratl


//Intel/counter intel

bind ctrl+r buildunit_armrad
bind ctrl+r buildunit_armeyes
bind ctrl+r buildunit_armjamt
bind ctrl+r buildunit_armfrad
bind ctrl+r buildunit_armsonar
bind ctrl+r buildunit_armsafrad
bind ctrl+r buildunit_armarad
bind ctrl+r buildunit_armason
bind ctrl+r buildunit_armveil
bind ctrl+r buildunit_armgate


bind ctrl+r buildunit_corrad
bind ctrl+r buildunit_coreyes
bind ctrl+r buildunit_corfrad
bind ctrl+r buildunit_corjamt
bind ctrl+r buildunit_corshroud
bind ctrl+r buildunit_corsonar
bind ctrl+r buildunit_corafrad
bind ctrl+r buildunit_corarad
bind ctrl+r buildunit_corason
bind ctrl+r buildunit_corgate


//terraform and nanos


bind ctrl+s buildunit_armnanotc
//bind ctrl+s buildunit_armsenan

bind ctrl+s buildunit_cornanotc
//bind ctrl+s buildunit_corsenan

bind ctrl+s buildunit_armblock
bind ctrl+s buildunit_corblock

bind ctrl+s ramp

bind ctrl+s buildunit_levelterra

bind ctrl+s buildunit_armtrench
bind ctrl+s buildunit_cortrench

bind ctrl+s buildunit_rampup
bind ctrl+s buildunit_rampdown

bind ctrl+s buildunit_armdrag
bind ctrl+s buildunit_armfort

/////////////
// End Keys, after building binds

bind ctrl+w areamex

(Back to the Manual)

Attachments