Bug #10158

self interaction key ignores shift=1 setting from ace_keys.hpp

Added by galzohar almost 5 years ago. Updated almost 5 years ago.

Status:Closed Start date:04/17/2010
Priority:Normal Due date:05/27/2010
Assignee:Dr_Eyeball % Done:

100%

Category:Script
Target version:1.2
Component:sys_interaction Affected Version:
Close Reason:

Description

Even when setting shift=1 the menu will open with just hitting the key with no shift. This also means that if I set interaction to 'Q' and self-interaction to SHIFT+'Q' for example, then when hitting 'Q' only self-interaction will happen and normal interaction will not be possible.

History

Updated by rocko almost 5 years ago

  • Category set to Script
  • Assignee set to Sickboy
  • Target version set to 395

Updated by rocko almost 5 years ago

  • Priority changed from Normal to High
  • Target version changed from 395 to 1.2

Updated by Dr_Eyeball almost 5 years ago

Just FYI: I've made some uncommitted changes to CBA to support shift keys, which should make it compatible with the [key, [shift,ctrl,alt]] syntax, but still support the old integer dikCodes.

It's pretty basic affecting 3 files, but I haven't done testing on it yet.
It should make the remaining ACE changes straight forward then to complete the task.
If you need it before hand, let me know.

Only downside might be that any mission that used the old integer interactionKey format (like I do) won't work without an update to the mission.

Updated by Sickboy almost 5 years ago

  • Status changed from New to In progress
  • Assignee changed from Sickboy to Dr_Eyeball
  • Priority changed from High to Normal
  • % Done changed from 0 to 40
  • Component set to sys_interaction

Sounds good! Im not sure there be a lot of missions that use it already, but I have no real clue about it.
No rush I think.

Updated by rocko almost 5 years ago

Status?

Updated by Dr_Eyeball almost 5 years ago

  • Due date set to 05/27/2010
  • Status changed from In progress to Resolved
  • % Done changed from 40 to 100

Completed.
Note: Requires both CBA & ACE mods to be updated or menu behaviour will be odd (otherwise, it would always auto merge both interact menu with player/self menu).

Updated by Sickboy almost 5 years ago

Thanks a lot!

Updated by AnimalMother92 almost 5 years ago

This sounds good but let me get it straight. Say I have assigned my interaction key to Left-Windows. Pressing the left windows key will open my interaction menu with others (current behavior). Now if I set my self interaction key to Left-Windows (shift=1) then pressing Shift+Left-Windows will open only my self interaction menu? If so, this will be really nice :)

Updated by Sickboy almost 5 years ago

That should be yep :)

Updated by rocko almost 5 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF