Author Topic: Adding a keyboard command in Config Menu  (Read 1497 times)

Offline ekbalam

  • If there's nothing wrong with me...maybe there's something wrong with the universe!
  • Posts: 45
  • Cookies: 0
  • Carbonated Beverage Specialist
Adding a keyboard command in Config Menu
« on: June 10, 2009, 11:01:26 PM »
Is there an easier way to add a command to the config menu than editing the keyboardconfig in the Main Menu folder? I've tried to understand Mleo's KeyFoundation, but honestly, I'm having some problems with getting it to work. I think I'm missing the point altogether.

Basically, I want to be able to be in cinematic camera mode, and while the ship is in motion, tap a key to turn off the lights using Patch_R's new utility without having to exit camera mode, access the menu, click the command, and go back to camera mode. The only way I can figure to do that is by binding to a keyboard command, and I can only think to do that in the config menu.

Thoughts? Insights on KeyFoundation are welcome.

Offline Nebula

  • BC elder / BCC Vice Admin
  • Administrator
  • Posts: 5501
  • Cookies: 1129
  • KM - Mod Team Member & BC - Elder (2002)
    • 9th fleet HQ
Re: Adding a keyboard command in Config Menu
« Reply #1 on: June 10, 2009, 11:21:34 PM »
IIRC you would also have to edit the CinematicInterfaceHandlers.py to get keycommands you want to work in it...
Canon is what people argue exists on ships that don't exist.

Offline ekbalam

  • If there's nothing wrong with me...maybe there's something wrong with the universe!
  • Posts: 45
  • Cookies: 0
  • Carbonated Beverage Specialist
Re: Adding a keyboard command in Config Menu
« Reply #2 on: June 18, 2009, 09:11:40 PM »
Do you really think that would be necessary since you can enter other commands through the keyboard while in cinematic mode for functions specified on the config menu? Impulse and other helm commands work.

Still trying to figure this out. I've located MLEO's post where he was helping someone with their redistribute shields keyboard binding. I'm going to try something along the same lines.

Thoughts?