Author Topic: [DONE] [Suggestion] Pilot auto assigning ideas  (Read 2550 times)

Offline karadoc

  • Colonel
  • ****
  • Posts: 230
    • View Profile
[DONE] [Suggestion] Pilot auto assigning ideas
« on: July 11, 2017, 12:10:33 pm »
I still think it's pretty awkward to get thrown out of an intercept action due to lack of pilots. It's not as bad now that there is a button to take you to the ship screen to assign a pilot, that was a big improvement, but it's still a bit cumbersome to have to go through a few menus for something that usually doesn't matter.

I don't think the 'auto assign' option in the options menu is as useful or as intuitive as it could be. Currently the auto assign option forces all ships to use whoever is last on the list as their pilots. This is ok for most situations, but sometimes it just isn't what I want to do - and I certainly don't want to have to go in and out of the options screen whenever I want to change tactics. In general, I care about who pilots my interceptors, but I don't care who pilots the troop transport ships. The tricky part is that some troop transport ships are also interceptors. I think it would be better if auto assign only tried to assign pilots when there aren't enough already.

Here are a few other approaches which I think would work well. (Any one of them would be good. Not all three!)
  • Whenever the player puts any unit in a craft, the game checks if the craft has enough pilots; if it doesn't yet have enough pilots, the unit being added to the craft becomes a pilot. I think this would be good default behaviour, and it would remove the need to even have an option to 'auto assign' pilots.
  • Alternatively, when an intercept is told to launch, if there the ship doesn't have enough pilots, it could then (and only then) automatically assign whoever was available as a pilot. This would be the functionality of the 'auto assign' option. If 'auto assign' was turned off, or if the craft still doesn't have enough pilots even after auto-assigning, the game would do exactly what it does currently. ie. tell the player that there isn't enough pilots and offer to go to the ship screen.
  • There could be an additional button on the 'not enough pilots' screen which effectively says "auto-assign and go!" The button would try to automatically assign pilots, and continue the intercept command without the player having to reissue it.

As I said, I reckon the current system is still a bit awkward. I also think it's potentially confusing for newer players who are less comfortable with the UI. I think it would be much better if one of the suggestions I've offered was implemented. I like the first option best.
« Last Edit: July 17, 2018, 03:08:48 pm by Meridian »

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8617
    • View Profile
Re: Pilot auto assigning ideas
« Reply #1 on: July 31, 2017, 03:11:38 pm »
As I said, I reckon the current system is still a bit awkward. I also think it's potentially confusing for newer players who are less comfortable with the UI. I think it would be much better if one of the suggestions I've offered was implemented. I like the first option best.

Started implementing #1, there were some issues... by working around them I ended up implementing #2.

Please have a look if it's OK for you now: https://github.com/MeridianOXC/OpenXcom/commit/f56f38448e1863d0388dbf83686744d08a4b766b

Also, I've cherry-picked everything except the battlescape bars from your branch:
 - Inventory::arrangeGround now sorts items by 'list order' (by karadoc): https://github.com/karadoc/OpenXcom/commit/c446001e3f13f1be0352fd9bf3e6b307a71ee0d4
 - Fixed living space check for personnel production projects (by karadoc): https://github.com/karadoc/OpenXcom/commit/67cddafc60aa26e5aaaceef2969ea29aff17df5a
 - Psi training no longer reduces stats to match the cap (by karadoc): https://github.com/karadoc/OpenXcom/commit/a66050770471e59ba8cdcc96f607471397506859