Another key binding feature has been added to SVN.
The bindunittype keyword can be used to bind a
keyset to a class of units that you define. You can
also setup the order that will be used to cycle through
the list of unit types that meet your requirements. Here
is an example:
http://trepan.homelinux.net/spring-diffs/advkeys.txt
P.S. That example file is my working test config, so
you'll have to excuse me if it's a little sloppy / incomplete.
The other feature demonstrated at the end of the file is the
positional icon access (using iconpos)
Classed key bindings
Moderator: Moderators
Yup, that's a fairly good description. It doesn't just work for builders
making buildings though, the same bindings also apply to factories
making units (ex: selecting an advanced kbot factory and hitting the
stealth binding will send out a spy bot).
Also note that the same mex build binding will produce a Moho mex
for adv builders, and a normal mex for simpler builders.
making buildings though, the same bindings also apply to factories
making units (ex: selecting an advanced kbot factory and hitting the
stealth binding will send out a spy bot).
Also note that the same mex build binding will produce a Moho mex
for adv builders, and a normal mex for simpler builders.
I think its like hotkeys for buildings? Like you select a builder, press M and can place a Mex
Things like this in the posted fileKDR_11k wrote:How are the units assigned to the keys, e.g. how does Spring know what is a powerplant?
Code: Select all
bindbuildtype &build_energy {
req totalEnergyOut > 1.0
sort not needGeo
sort -minWaterDepth
sort techLevel
sort totalEnergyOut
}