Forged Alliance Forever Forged Alliance Forever Forums 2020-05-10T22:09:48+02:00 /feed.php?f=2&t=8230 2020-05-10T22:09:48+02:00 2020-05-10T22:09:48+02:00 /viewtopic.php?t=8230&p=184008#p184008 <![CDATA[Re: How to: Make new keyboard shortcuts]]>
Code:
                ['Select gunships on screen'] = {
                    order = 3,
                    action = 'UI_Lua import("/lua/keymap/smartSelection.lua").smartSelect ("+inview AIR GROUNDATTACK -ura0401")',
                    category = 'All air onscreen'
                },


So if you use smartSelect you can subtract out any unit using its name viewable in the unit blueprints (just unzip the units.nx2 file somewhere and search within the files using Notepad++ or similar program for the unit common name. This should find the file (with the name of the unit you need). You can of course also use a category for negative selection also if you can find a specific one (e.g. -GROUNDATTACK EXPERIMENTAL AIR).

Statistics: Posted by R_Charger — 10 May 2020, 22:09


]]>
2019-01-27T02:36:44+02:00 2019-01-27T02:36:44+02:00 /viewtopic.php?t=8230&p=171405#p171405 <![CDATA[Re: How to: Make new keyboard shortcuts]]>
Anihilnine wrote:
The challenge is usually it selects too many things, like you might try and select gunships and you get soulripper too. There is no easy way to work it out.

Very true.
Out of the 40 or so custom keys, creating a selection shortcut that combined 'all inview indirect fire land units' with 'all inview mobile shields' was the one that took the most tries to get right.
Also I remember 'all inview mobile anti air' for some reason didn't work as intended the first few tries.

Remembering them all in-game can be challenging too.

Statistics: Posted by theblearyeyed — 27 Jan 2019, 02:36


]]>
2019-01-25T05:49:27+02:00 2019-01-25T05:49:27+02:00 /viewtopic.php?t=8230&p=171348#p171348 <![CDATA[Re: How to: Make new keyboard shortcuts]]> Statistics: Posted by nine2 — 25 Jan 2019, 05:49


]]>
2019-01-25T02:05:53+02:00 2019-01-25T02:05:53+02:00 /viewtopic.php?t=8230&p=171346#p171346 <![CDATA[Re: How to: Make new keyboard shortcuts]]> I'd looked on the unit database and hadn't spotted the link under the name.

Thanks for the help. Much appreciated.

Statistics: Posted by theblearyeyed — 25 Jan 2019, 02:05


]]>
2019-01-25T01:32:02+02:00 2019-01-25T01:32:02+02:00 /viewtopic.php?t=8230&p=171345#p171345 <![CDATA[Re: How to: Make new keyboard shortcuts]]>
http://direct.faforever.com/faf/unitsDB/

select a unit (for example UEF T2 engy), when clicked it loads the unit detail page:

http://direct.faforever.com/faf/unitsDB/?id=UEL0208

look at the top where it says UEL0208
if you click this part you get the unit blue print
in this you can see unit categories etc

you can do this for each unit, then its just a case of finding which categories will uniquely identify your unit and exclude all others

Statistics: Posted by Nojoke185 — 25 Jan 2019, 01:32


]]>
2019-01-25T01:18:02+02:00 2019-01-25T01:18:02+02:00 /viewtopic.php?t=8230&p=171344#p171344 <![CDATA[Re: How to: Make new keyboard shortcuts]]>
On the first page of this thread someone asked where they are found but got no reply as they found the info themselves.

Statistics: Posted by theblearyeyed — 25 Jan 2019, 01:18


]]>
2019-01-25T00:54:19+02:00 2019-01-25T00:54:19+02:00 /viewtopic.php?t=8230&p=171343#p171343 <![CDATA[Re: How to: Make new keyboard shortcuts]]>
its PRODUCTSC1 BUILTBYTIER2FACTORY

they are categories present in all T2 engy blueprints but not part of sparky catergories
as such they exclude the sparky

Statistics: Posted by Nojoke185 — 25 Jan 2019, 00:54


]]>
2019-01-25T00:34:50+02:00 2019-01-25T00:34:50+02:00 /viewtopic.php?t=8230&p=171342#p171342 <![CDATA[Re: How to: Make new keyboard shortcuts]]> I couldn't work out how to exclude anything from the modifiers and categories, only how to include.
For future reference/learning, what part of the entry you posted actually excludes Sparky from selection?

Statistics: Posted by theblearyeyed — 25 Jan 2019, 00:34


]]>
2019-01-25T00:09:14+02:00 2019-01-25T00:09:14+02:00 /viewtopic.php?t=8230&p=171341#p171341 <![CDATA[Re: How to: Make new keyboard shortcuts]]>
['T2 Engy'] = {action = 'UI_SelectByCategory TECH2 LAND ENGINEER MOBILE RECLAIMABLE PRODUCTSC1 BUILTBYTIER2FACTORY', category = 'Builders', order = 1,},

Statistics: Posted by Nojoke185 — 25 Jan 2019, 00:09


]]>
2019-01-24T20:09:10+02:00 2019-01-24T20:09:10+02:00 /viewtopic.php?t=8230&p=171337#p171337 <![CDATA[Re: How to: Make new keyboard shortcuts]]>
I have working shortcut for Sparky and also for all T2 Engineers, but to build power etc, have to click through UI's 'Selection and Storage' to select ordinary T2 Engineer.

Statistics: Posted by theblearyeyed — 24 Jan 2019, 20:09


]]>
2018-11-03T00:34:20+02:00 2018-11-03T00:34:20+02:00 /viewtopic.php?t=8230&p=169171#p169171 <![CDATA[Re: How to: Make new keyboard shortcuts]]> Statistics: Posted by nine2 — 03 Nov 2018, 00:34


]]>
2018-11-03T00:26:48+02:00 2018-11-03T00:26:48+02:00 /viewtopic.php?t=8230&p=169170#p169170 <![CDATA[Re: How to: Make new keyboard shortcuts]]>
Hopefully the below will be of use to someone…?

I took the principal of these unit selections commands and have created a bunch of my own unit selection presets
These allow selection of all sorts of individual unit/structure types, or groups of similar units/structures
The main groupings/categories I have used to try to keep this organized are:

• All Builders – (all units)
o T1/T2/T3 engy (idle or busy)
o ACU
o Hive/Kennel & Pods
o SACU (idle or busy)
o Select all power users (stealth/shield/sensors/fabs/optics)

• On screen Builders (as above but only for units currently in view)

• All Factories (all)
o All factories
o T1 Factories
o T2 HQ’s
o T3 HQ’s
o T2/T3 Support Factories
o Gateways
o Idle factories

• Land Factories (in current view)
o T1
o T2 HQ
o T2 Support
o All T2 Factories (HQ and Support)
o T3 HQ
o T3 Support
o All T3 Factories (HQ and Support)
o All Land factories

• Air Factories (in current view) – same as per land above

• Naval Factories (in current view) – same as per land above

• Land units (in current view)
o Scouts/labs
o Direct fire (T1/T2/T3/All)
o Arty (T1/T3)
o Rangebot
o Mobile AA (T1/Flak/Mobile SAM/All)
o MML
o Sniper
o Absolver
o Mobile shield (T2/T3)
o Mobile stealth
o Mobile bomb
o All T1 land (not engineer)
o All T2 Land (not engineer)
o All T3 Land (not engineer)
o All Land (not engineer)

• Air Units (in current view)
o T1 Scouts (includes units not in current view)
o T3 Scouts
o All Scouts
o T1 Fighters
o T2 Fighters
o T3 Fighters
o All Fighters
o T1 Bombers
o T2 Bombers
o T3 Bombers/Strats
o All Bombers
o T1 Gunships
o T2 Gunships
o T3 Gunships
o All Gunships
o T2 Torp bomber
o T3 Torp bomber
o All Torp bombers
o Mercy
o T1 Transports (includes units not in current view)
o T2 Transports (includes units not in current view)
o T3 Transports (includes units not in current view)
o All Transports (includes units not in current view)
o All T1 Air
o All T2 Air
o All T3 Air
o All Air

• Naval Units (in current view)
o Frigates
o Destroyers/Battlecruiser
o Cruisers/T1 AA Ship
o T1 Subs
o T2/T3 Subs
o All Subs
o Nuke Subs
o Battleships
o Support ships (stealth boat/shield boat/missile ship)
o Carriers
o All T1 Navy
o All T2 Navy
o All T3 Navy
o All Navy

• Buildings (ECO) – All units
o T1 Mex
o T2 Mex
o T3 Mex
o All Mex
o T1 Power/Hydro
o T2 Power
o T3 Power
o Energy storage
o Mass storage
o T2 Mass Fab
o T3 Mass Fab
o All Mass Fab
o Paragon

• Buildings (Weapons) – all units
o T1 PD
o T2 PD
o T3 PD
o All PD
o TML
o Nuke
o Artillery
o T3 Artillery

• Buildings (Defense) – all units
o T1 Static AA
o T2 Static Flak
o SAMS
o All AA
o T1 Static Torp launchers
o T2 Static Torp launchers
o T3 Static Torp launchers
o All Static Torp launchers
o TMD
o SMD
o Stealth field
o T2 Shield
o T3 Shield
o All Shield
o Walls
o Air Staging

• Buildings (Sensors) – all units
o T1 Radar
o T2 Radar
o Omni
o All Radar
o T1 Sonar
o T2 Sonar
o T3 Sonar
o All Sonar
o Optics (Eye/Soothsayer)
o All Sensors

Problem with all of this is there are so many key combo’s to recall and allocate it becomes hard to remember them all
To address this I have done the below:

1 – created a key combo excel sheet to track which command is set to which keys (as per the in game F1 menu). This doesn’t include everything but does cover main new selection commands I have created (as per above list) and orders/abilities/game controls
2 – used a voice command program to allow your spoken voice to activate/execute these selections. I used https://voiceattack.com/Default.aspx. This can be purchased for around $10 or local equivalent (via steam or standalone)

The voice command application allows an extra degree of control, you can use it to execute the above commands, but in addition you can also combine functions/commands to perform multiple actions
Examples:

• Say pause engy. Command does : select all onscreen engy, pause 0.1 seconds then toggle the pause command on the selected units
• Say power save. Command does : selects and then toggles on/off : shield/stealth/fabs/sensors/optics

All of this with no mouse movement needed

You can play around with these settings and add more commands as you require
Unit/Structure orders and abilities can also be manipulated as per key assignments in F1 menu

Overall this is a very powerful suite and works with good accuracy
If it is of any interest to aid someone to get this setup, I have attached the below files to get you started (took me several days of testing/checking to get it all setup), It’s fairly easy to adapt or add to

1 – Voice Attack Prefs File.txt - a custom set of my selection commands in a text file which can be added/inserted into your own game.prefs file (separated into general categories as listed above). You will need to insert these individual commands into your own game.prefs file (https://www.dropbox.com/s/8p6w9nud4q7xi ... e.txt?dl=0)

2 – Voice Attack.xlsx - an excel sheet showing for each command/selection what key combo’s are allocated in the F1 game menu (or in voice attack program). Use this to log your own key bindings. Use the doc to tie the game key bindings into the voice attack commands (to ensure they match) (https://www.dropbox.com/s/9gi8dnn5ehj6w ... .xlsx?dl=0)

3 – Forged Alliance Forever-Profile.vap - an export of my voice attack forged alliance game profile (voice control software). Allows voice interaction with commands in game F1 menu allocation. You can import this into your own copy of the software (https://www.dropbox.com/s/ogbb4atn1j109 ... e.vap?dl=0)

Nojoke

Statistics: Posted by Nojoke185 — 03 Nov 2018, 00:26


]]>
2018-02-10T21:37:21+02:00 2018-02-10T21:37:21+02:00 /viewtopic.php?t=8230&p=160717#p160717 <![CDATA[Re: How to: Make new keyboard shortcuts]]>
Spoiler: show
['Select mobile land direct fire units on screen'] = {
order = 8,
action = 'UI_Lua import("/lua/keymap/smartSelection.lua").smartSelect ("+inview +excludeengineers MOBILE LAND DIRECTFIRE OVERLAYDIRECTFIRE -SCOUT")',
category = 'All land onscreen'
},

Statistics: Posted by R_Charger — 10 Feb 2018, 21:37


]]>
2017-11-09T21:01:14+02:00 2017-11-09T21:01:14+02:00 /viewtopic.php?t=8230&p=156214#p156214 <![CDATA[Re: How to: Make new keyboard shortcuts]]>
['Select UEF drones on screen'] = {
order = 32,
action = 'UI_SelectByCategory +inview STATIONASSISTPOD',
category = 'Custom Keys'
},


['Select all UEF drones'] = {
order = 33,
action = 'UI_SelectByCategory STATIONASSISTPOD',
category = 'Custom Keys'
},

Statistics: Posted by ZeRenCZ — 09 Nov 2017, 21:01


]]>
2017-10-20T23:15:48+02:00 2017-10-20T23:15:48+02:00 /viewtopic.php?t=8230&p=155356#p155356 <![CDATA[Re: How to: Make new keyboard shortcuts]]>
So he can do it.

He wants to select all land except scouts.

Statistics: Posted by nine2 — 20 Oct 2017, 23:15


]]>