OpenXcom Forum

OpenXcom => Suggestions => Topic started by: moriarty on November 11, 2012, 03:29:56 pm

Title: interface: equip screen - "next/previous soldier" by arrow keys?
Post by: moriarty on November 11, 2012, 03:29:56 pm
the soldier inventory / equip screen has huge arrow buttons to go to the next/previous soldier, but shouldn't it also be possible to use the right/left arrow keys?

you could even think about using the mouse wheel, but that would possibly be too sensitive and skip to another soldier when you don't want to...

the arrow keys are not used for anything else here, so it shouldn't interfere with anything. maybe the up/down key could also switch to the soldier stat screen (like clicking the rank insignia on the top left does). 

speaking of that, perhaps we could implement a third screen for every soldier: "statistics"?

it would show things like
- recruitment day
- days in service
- missions survived
- wounds received (total)
- enemies killed
- enemies stunned
- civilians killed
- shots fired

I know that some of these are not recorded as of now, but it might be worth the effort :) these statistics could even stay for a "memorial" after the soldier was killed.
Title: Re: interface: equip screen - "next/previous soldier" by arrow keys?
Post by: Warboy1982 on November 12, 2012, 08:01:29 pm
bump for this, also maybe use mouse 6/7 (the forward and back buttons on my mouse, second scroll wheel on others, not present on yet others) for next/prev unit? not only on the equipment setup screen, but also in the battlescape. maybe also next/previous base in the basescape, and hell, why not even cycle through bases/discovered targets on the geoscape?

third soldier screen with extra stats would be cool, and i'll definitely look into it for my mod branch if you don't end up using it in the main branch, but this feels like it warrants a separate thread altogether.
Title: Re: interface: equip screen - "next/previous soldier" by arrow keys?
Post by: alienjon on November 13, 2012, 02:34:32 am
clever idea.  I imagine it wouldn't really detract from the original design either.
Title: Re: interface: equip screen - "next/previous soldier" by arrow keys?
Post by: SupSuper on November 13, 2012, 04:15:24 am
Keyboard controls are on my TODO list. My plan is if I'm gonna implement them, I'll implement them everywhere! ;)
Title: Re: interface: equip screen - "next/previous soldier" by arrow keys?
Post by: papamaanbeer on December 15, 2012, 08:58:37 am
i really like these ideas
Title: Re: interface: equip screen - "next/previous soldier" by arrow keys?
Post by: Daiky on January 04, 2013, 06:31:48 pm
I was playing with TAB to scroll through units, once you get used to it, it's actually nice. The TAB works on battlescape, inventory screen, stats screen. I decided to push the changes to master. So you can try it too.

Another key that I implemented is "r" to reload. It uses a piece of new AI code that will check your weapon to see if it is out of ammo, if so, run through your inventory to look for compatible ammo and reloads the weapon.

SupSuper, feel free to change these keyboard shortcuts to whatever system you had in mind, it are just placeholders to play with in the meanwhile.
Title: Re: interface: equip screen - "next/previous soldier" by arrow keys?
Post by: re-mind on January 09, 2013, 11:42:34 am
It's a great idea to make keyboard shotcuts :) but please.. PLEASE make an option screen for them. I would love to use wsad for scroll when on the battlescape. Using a and d to skip between soldiers when equipping is a good idea :) though, if wsad was used on the battlescape, q could be used as "previous soldier" and e as "next soldier". 1234 could be the hight of the map.

I often find it very distracting to play a strategy game on my laptop, when I have to rely on the arrowkeys, and my mousepad, when wsad could have solved it for me :/ but often it's not possible to change the settings.

I'm danish, and my english is not used often, but I hope you understand :)

ps. first post, been following the game for a loooong time. Can't wait for 0.5.
Title: Re: interface: equip screen - "next/previous soldier" by arrow keys?
Post by: Volutar on January 09, 2013, 12:03:53 pm
Another "hotkey" idea is to move soldier step-by-step, like in "laser squad". Have 8 keys for "one step" for any of direction (keeping sight direction), plus 2 turn keys, plus up/down, plus stand/sit.
And really diagonal steps with keeping sight direction is advanced "strafe" movement, and can be used actively even in mouse-controlled combat.
Or even better if it will get 8 keys for "move/turn" and modification key for "keep sight direction" (strafe modifier).
One can use numpad keys as step direction, like 9 is north, 1 is south, pgup/pgdown - up/down, 5 is stand toggle, 0/"." - left-right turn.
Title: Re: interface: equip screen - "next/previous soldier" by arrow keys?
Post by: re-mind on January 09, 2013, 10:26:15 pm
Almost two years old :) would really like to see this implemented.

https://openxcom.org/index.php/2011/03/shortcut-to-success/
Title: Re: interface: equip screen - "next/previous soldier" by arrow keys?
Post by: moriarty on February 06, 2013, 04:25:36 pm
okay, we have "tab" to change to next soldier, which is working great... now what about "shift-tab" for previous soldier? having "shift-tab" do the opposite direction of "tab" appears to be a cross-platform convention, right?
Title: Re: interface: equip screen - "next/previous soldier" by arrow keys?
Post by: Warboy1982 on February 06, 2013, 10:40:17 pm
there's also the back/forward buttons on your mouse to cycle soldiers (where applicable)
Title: Re: interface: equip screen - "next/previous soldier" by arrow keys?
Post by: moriarty on February 07, 2013, 08:50:20 am
wow, I think we need to re-work the wiki :)

there's a tiny section https://www.ufopaedia.org/index.php?title=Options_(OpenXcom)#Keyboard_Shortcuts (https://www.ufopaedia.org/index.php?title=Options_(OpenXcom)#Keyboard_Shortcuts) about keyboard shortcuts, maybe that could be re-worked into a full "interface" section? does anybody have time for this? :)


EDIT: so I started a new page https://www.ufopaedia.org/index.php?title=Interface_Features_(OpenXcom) (https://www.ufopaedia.org/index.php?title=Interface_Features_(OpenXcom)) and linked to it from the front page... I think I missed a lot of stuff, so perhaps somebody wants to add to it :)
Title: Re: interface: equip screen - "next/previous soldier" by arrow keys?
Post by: SupSuper on February 07, 2013, 03:02:45 pm
Personally I would just update this: https://www.ufopaedia.org/index.php?title=Differences_to_X-COM_(OpenXcom)

Of course at the rate everyone throws random features at the game, it's hard to keep track.
Title: Re: interface: equip screen - "next/previous soldier" by arrow keys?
Post by: moriarty on February 07, 2013, 04:51:05 pm
yeah, I considered that, but I thought it would be nice to have a separate interface page - something that can be treated like a cheat sheet for quick reference.

I always liked those sheets that the old games had which listed all the controls on one page. that's why I started that page.

EDIT: btw, your link somehow excluded the last bracket and doesn't work. the correct link is https://www.ufopaedia.org/index.php?title=Differences_to_X-COM_(OpenXcom) (https://www.ufopaedia.org/index.php?title=Differences_to_X-COM_(OpenXcom))
Title: Re: interface: equip screen - "next/previous soldier" by arrow keys?
Post by: moriarty on February 07, 2013, 09:48:36 pm
Quote from: myself
okay, we have "tab" to change to next soldier, which is working great... now what about "shift-tab" for previous soldier? having "shift-tab" do the opposite direction of "tab" appears to be a cross-platform convention, right?

I was just playing around looking for more undocumented hotkeys and realized that "shift" changes to previous soldier. so forget my post above :P

this proves to me that an interface summary page is a good thing. at least for me :P


EDIT: did some more playing around, and found that the tab/shift-function for next/previous soldier is missing from the basescape soldier stat screen view.
also, all buttons in the can be right-clicked, which produces the audiovisual feedback where applicable, but does not trigger the respective action. I guess the feedback (button sound and color-inversion) shouldn't trigger on a right-click.
Title: Re: interface: equip screen - "next/previous soldier" by arrow keys?
Post by: SupSuper on February 08, 2013, 03:31:34 am
They're undocumented because they're not finished yet :P the Controls UI (https://openxcom.org/index.php/2013/02/the-most-requested-feature/) will clear it up.
Title: Re: interface: equip screen - "next/previous soldier" by arrow keys?
Post by: moriarty on February 08, 2013, 07:53:41 am
 ;D

alright, you win :) :) :)

this is something that will convince a lot of people of openxcom, I think. if there are any that are still unconvinced... :)