Technical support > Feature Requests

Equip Soldiers

(1/3) > >>

HaJo:
Outfitting the soldiers is still very tedious, so here some suggestions:

* "Equip Soldiers" should be in a separate menu, not under "Aircraft"
 (at least, mention it in the tooltip)

* the keys 1-8 for selecting soldiers don't work in the Equip Soldiers-Screen
 (as during mission)

* a shortcut from Equip-Screen to Buy/Sell-Screen (and back) would be useful

* Sort/Highlight - Options for soldiers:
** by attribute (sniper/heavy-weapons/speed/...)
** by equipment (armor-value/weapons/ammo/...)
Sorting would also be useful on the selection-screen.

So you could select "has no primary weapon" and sort by "sniper-value",
then give the top two men sniper-rifles.
Repeat  for explosives-value --> rocket-laucher, etc.

* A quicker way to distribute items (armor, knife, grenades) to everyone,
e.g. a drop-in box where multiple items get distribute to all soldiers.

Bandobras:
Ha! I like it very much. Could anybody volunteer to design this? First some sketches and discussion here, then some mockup menues (the menu scripts are easy to edit). And then, if people and mattn like it, someone could implement the inner bits...

HaJo:

--- Quote from: "HaJo" ---the keys 1-8 for selecting soldiers don't work in the Equip Soldiers-Screen (as during mission)
--- End quote ---


I looked into menu_hud.ufo to see how the check for keypresses is done,
but I can find only commands bound to "click" (e.g. bt_actor0).

So, probably keypresses are checked in the main program.
Is there any access to those from the .ufo-scripts ?

The documentation on http://ufo.myexp.de/wiki/index.php/UFO-Scripts
has no info about this subject...

Mattn:
no - but have a look at the file keys.cfg (in base folder) there you can bind console command to keys. the binded console commands are of course available in all ufo-script files as normal command, too

HaJo:

--- Quote from: "Mattn" ---no - but have a look at the file keys.cfg
--- End quote ---


That means, I need some way to switch from

--- Code: ---bind 1 "hud_select 0"
--- End code ---

etc. during missions to

--- Code: ---bind 1 "equip_select 0"
--- End code ---

in the equipment-screen, and back again.

Maybe this could be hardcoded, but that would override keys.cfg

Navigation

[0] Message Index

[#] Next page

Go to full version