Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
Richard

Registered:
Posts: 127
Reply with quote  #1 
Hi,

I have an idea but I haven´t test it yet (I was driving and scripting in my mind, probably a bad habit): since it is not possible to check the level of a system (sensors for instance), what if one could map the key presses related to engeneering levels and add or subtract variables so to emulate those levels?

Something like this:

-the engeneer MUST use the keyboard to change levels, not the mouse or touchscreen
-get key presses for ENG (to monitor the default keyboard shortcuts)
-Add -1 to variable ENG_SYS when press A (previous system)
-Add +1 to variable ENG_SYS when press D (next system)

-Add -1 to variable ENG_SYS_LEVEL when press W (increase)
-Add +1 to variable ENG_SYS_LEVEL when press S (decrease)

So one could map that system is been set by the engeneer (through the variable ENG_SYS) and what level is that particular system (of couse other variables must be created, one for each system).

In theory it could work.

I think I won´t be able to test it for several days (i´m going to be driving a lot!) but maybe one of you clever guys can.

Please let me know if this idea is feaseble.

Mike Substelny

Avatar / Picture

Administrator
Registered:
Posts: 2,404
Reply with quote  #2 
In theory it could work, but I would not count on it being portable from one bridge to another. The get_keypresses commends are pretty flakey in that regard.
__________________
"The Admiralty had demanded six ships; the economists offered four; and we finally compromised on eight."
- Winston Churchill
Richard

Registered:
Posts: 127
Reply with quote  #3 
Quote:
In theory it could work, but I would not count on it being portable from one bridge to another.


Hi Mike,

If it could work with one bridge it would be a great tool to spice some scripts. I always wanted to create a script in which the science officer must performa an analysis that requires engeneering to boost scans to 150%.

There is hope!
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.