|
PROGRAMMING THE COMMAND FILE
The command file editor has two modes, Simple and Advanced. These labels are somewhat a misnomer as both modes are necessary to build all but the simplest command file if you want it to perform properly. To build a simple command with any combination of keypresses, concurrent (SHIFT b) or sequential (CTRL z then r) begin by selecting the 'New' command from the File dropdown menu. Enter a name for your command. Click on the View box. Select the Simple Editor. Click the mouse cursor in the empty space just below where you selected Simple Editor mode (a blinking cursor will appear). Type your keystroke combo or sequence. If you make a mistake just click on the keystroke (highlighting it), then right click on the highlighted area to see a menu with a 'clear' function.
 Fig 1. Command Editor-Basic.
Next, select the Advanced Editor mode. The display now shows the keys pressed, in the order you pressed them, with any delay between pressing different keys. It also shows the release keys and provides the options to add repeats, delays, and lots of other functionality.
If you pressed a combination of keys or a sequence of keys SGE captures the difference in the time of the key press (Oh, you didn't press CTRL and b within 0.01 seconds of each other?). The delays that SGE captures can have some unexpected results in your HOTAS setup that may not be desirable. That unexpected three-second delay when you press the chaff button on your HOTAS might be fatal. Thank goodness it is only a simulation. Fortunately it is easy to remove the delays from the key presses when they are not required for some special function. Look below the keystrokes that you have just programmed into the command editor. You will see will see some very small font numbers in the format X.XX (where X is a number 0-9). Most of the time we want these numbers to read 0.00 unless we are doing something that requires a delay (For example, in Falcon 4.0, eject a flare every two seconds as long as the button is depressed).
 Fig 2. Command Editor Advanced-Before.
Select the Advanced Editor. Position your mouse cursor under any letter where to numbers under the keystroke are not 0.00, look for the cursor to change shape to a tiny clock, hold down the left mouse button, and move the mouse to the left. The numbers will decrease until they reach 0.00. Sometimes, you will have to release the left mouse button and move back under the keystroke icon and repeat the process if large numbers showing in the delay.
 Fig. 3. Command Editor Advanced-After.
Click to continue
|