±Recent Visitors

Recent Visitors to Com-Central!

±User Info-big


Welcome Anonymous

Nickname
Password

Membership:
Latest: HighestAce
New Today: 0
New Yesterday: 0
Overall: 6648

People Online:
Members: 0
Visitors: 309
Total: 309
Who Is Where:
 Visitors:
01: Home
02: Home
03: Community Forums
04: Community Forums
05: Community Forums
06: Home
07: Home
08: Member Screenshots
09: Home
10: Community Forums
11: Community Forums
12: Community Forums
13: Community Forums
14: Community Forums
15: Home
16: Home
17: Community Forums
18: Community Forums
19: Photo Gallery
20: Community Forums
21: Community Forums
22: Community Forums
23: Home
24: Community Forums
25: Photo Gallery
26: Home
27: Community Forums
28: News Archive
29: Community Forums
30: Community Forums
31: Community Forums
32: Member Screenshots
33: Photo Gallery
34: Photo Gallery
35: Home
36: Community Forums
37: Community Forums
38: Home
39: Community Forums
40: Home
41: Home
42: Community Forums
43: Community Forums
44: Community Forums
45: Home
46: Community Forums
47: Home
48: Community Forums
49: Home
50: Community Forums
51: Community Forums
52: Photo Gallery
53: Community Forums
54: Home
55: Community Forums
56: Home
57: Community Forums
58: Downloads
59: Home
60: Home
61: Community Forums
62: Community Forums
63: Supporters
64: Community Forums
65: Community Forums
66: Community Forums
67: Downloads
68: Community Forums
69: Home
70: Community Forums
71: Photo Gallery
72: Community Forums
73: Community Forums
74: Home
75: Community Forums
76: Home
77: Community Forums
78: Home
79: Home
80: Member Screenshots
81: Community Forums
82: Home
83: News Archive
84: Community Forums
85: Downloads
86: Home
87: Home
88: Photo Gallery
89: Statistics
90: Downloads
91: Member Screenshots
92: Community Forums
93: Downloads
94: Home
95: Your Account
96: Community Forums
97: Home
98: Community Forums
99: Home
100: Community Forums
101: Community Forums
102: Community Forums
103: Home
104: Member Screenshots
105: Community Forums
106: Community Forums
107: Community Forums
108: Home
109: Community Forums
110: Community Forums
111: Home
112: Community Forums
113: Community Forums
114: Home
115: Community Forums
116: Community Forums
117: Community Forums
118: Member Screenshots
119: Community Forums
120: Community Forums
121: Community Forums
122: Community Forums
123: Home
124: Home
125: Community Forums
126: Community Forums
127: Home
128: Community Forums
129: Home
130: Home
131: Home
132: Community Forums
133: Community Forums
134: Statistics
135: Community Forums
136: Member Screenshots
137: Member Screenshots
138: Community Forums
139: Home
140: Home
141: Photo Gallery
142: Photo Gallery
143: Downloads
144: Home
145: Photo Gallery
146: Home
147: Home
148: Member Screenshots
149: Community Forums
150: Member Screenshots
151: Home
152: Home
153: Community Forums
154: Community Forums
155: Community Forums
156: Community Forums
157: Community Forums
158: Home
159: Community Forums
160: News Archive
161: Home
162: Community Forums
163: Home
164: Home
165: Home
166: Photo Gallery
167: Community Forums
168: Community Forums
169: Community Forums
170: News Archive
171: Downloads
172: Photo Gallery
173: News
174: Photo Gallery
175: Community Forums
176: Member Screenshots
177: Downloads
178: Home
179: Community Forums
180: Community Forums
181: Community Forums
182: Home
183: Community Forums
184: Community Forums
185: Community Forums
186: Community Forums
187: Home
188: Home
189: Home
190: Home
191: Member Screenshots
192: Home
193: Community Forums
194: Community Forums
195: Community Forums
196: Home
197: Downloads
198: Community Forums
199: Community Forums
200: Home
201: Photo Gallery
202: Community Forums
203: Community Forums
204: Community Forums
205: Community Forums
206: Community Forums
207: Photo Gallery
208: Member Screenshots
209: Community Forums
210: Home
211: Home
212: Community Forums
213: Downloads
214: Community Forums
215: Community Forums
216: Community Forums
217: Search
218: Home
219: Community Forums
220: Downloads
221: Home
222: Community Forums
223: Community Forums
224: Home
225: Contact
226: Community Forums
227: Community Forums
228: Community Forums
229: Community Forums
230: Downloads
231: Photo Gallery
232: Your Account
233: Home
234: Downloads
235: Community Forums
236: Community Forums
237: Home
238: Member Screenshots
239: Community Forums
240: Home
241: Home
242: Community Forums
243: Your Account
244: Home
245: Community Forums
246: Home
247: Community Forums
248: Home
249: Home
250: Community Forums
251: Home
252: Photo Gallery
253: Community Forums
254: Home
255: Home
256: Community Forums
257: Community Forums
258: Community Forums
259: Member Screenshots
260: Home
261: Member Screenshots
262: Home
263: Community Forums
264: Community Forums
265: Community Forums
266: Community Forums
267: Home
268: Photo Gallery
269: Photo Gallery
270: Community Forums
271: Member Screenshots
272: Community Forums
273: Member Screenshots
274: Community Forums
275: Community Forums
276: Home
277: Community Forums
278: Community Forums
279: Community Forums
280: Community Forums
281: Community Forums
282: Community Forums
283: Community Forums
284: Home
285: Community Forums
286: Photo Gallery
287: Community Forums
288: Member Screenshots
289: Photo Gallery
290: Community Forums
291: Downloads
292: Member Screenshots
293: Community Forums
294: Community Forums
295: Community Forums
296: Community Forums
297: Community Forums
298: Home
299: Home
300: Community Forums
301: Community Forums
302: Home
303: Community Forums
304: Community Forums
305: Community Forums
306: Home
307: Community Forums
308: Community Forums
309: Home

Staff Online:

No staff members are online!
Multi engine shut off's and other quircks in fs9 solution :: Archived
Discussions about the FS2004 game.
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ›  FSXFS2004 :: Archives

Topic Archived View previous topic :: View next topic  
Author Message
Uhu_Fledermaus
Aircraft Demolition Expert

Offline Offline
Joined: Nov 28, 2004
Posts: 4369
Location: Blaricum, The Netherlands ~GMT+1
PostPosted: Sun Jul 03, 2005 3:00 pm
Post subject: Multi engine shut off's and other quircks in fs9 solution

attached the read me of a utility to cure some of this quircks by Rob Barendregt

####################################################################
# #
# RCBse-10.zip: FS2004 Selection Correction gauge #
# #
# By Rob Barendregt 3 July 2005 #
# Release 1.0 #
####################################################################

1. Introduction
===============
Does one of these problems sound familar ??
1. In my multi-engine aircraft, I suddenly find that my throttle controller
only works for Engine-1, and I cannot correct this by typing (default
keys) the keysequence E 1 2 (3 4).
2. In my aircraft that has an Exit-2, I cannot open/close Exit-2 by typing
(default keys) the keysequence Shift-E 2 (instead Exit-1 opens/closes).
If so, adding this invisible gauge to your panel should solve these problems.

For a detailed explanation, see section "The Continuous Event problem".


2. How "Select Engine" and "Select Exit" will work now.
=======================================================
NOTE1: This document assumes that you use the default keystrokes
for "SelectEngine" (key "E"), "SelectExit" (key "Shift-E"), "SelectItem1"
("1") and "SelectItem2" ("2"). Where "1" and "2" are the keys on the text
part of your keyboard, NOT on the numerical keypad !!.
If you have assigned other keys instead (see FS2004 menu Options-
Controls-Assignments), read 'your-key' instead.
NOTE2: "key" means: type this key (not the " !!)

After you have added this gauge to your panel, the behaviour of "SelectEngine"
and "SelectExit" is a little different, especially timing-wise.

It now works as follows:
- "E" only: after 1 sec, ALL engines are selected. (default FS2004 behaviour:
Engine-1 is selected immediately).
- "E", followed by the engine number(s) WITHIN ONE SECOND, selects the specified
engines.
E.g. with "E 2 3" typed within one second, Engines 2 and 3 are selected.
- "Shift-E" only: after 1 sec, Exit-1 is toggled.
- "Shift-E", followed by the exit number(s) WITHIN ONE SECOND, opens/closes the
specified Exit.
E.g. with "Shift-E 2" typed within one second, Exit-2 is toggled.



3. Installation
===============
1. Extract the files in this archive to a temporary folder.

2. In folder ...\Flight Simulator 9\Gauges\, create a new subfolder \rcb-gauges\
(if this subfolder does not exists yet).

3. Move file SelectCorrect.xml to folder ...\Flight Simulator 9\Gauges\rcb-gauges\

4. Using e.g. Notepad, add the gauge to the panel.cfg of your aircraft(s).
Note: only do this for aircraft that have this select Engine/Exit problem.

*** TO BE SAFE, MAKE A BACKUP OF YOUR panel.cfg FIRST ***

In the [VCockpit01] section, OR (if your aircraft does not have a VC) the main 2D
panel window (usually [Window00]) section), add the line:

gauge**=rcb-gauges!SelectCorrect, 0,0

where '**' is the next free number in that section.

IMPORTANT: When you add the gauge to the main 2D panel window, after loading the
aircraft you have to make the 2D CockpitView visible at least ONCE
before the gauge is actually working !!


4. Background info: The Continuous Event problem in FS2004
==========================================================
For a long history of FS versions, from a functional point-of-view two types of
commands (called "Events") can be distinguised in FS:
- Single-keystroke commands.
Examples:
- "L" (ToggleAllLights)
- "S" (CycleViews)
- Multi-keystroke commands.
Examples:
- "E" (SelectEngine), optionally followed by one or more Engine numbers.
- "Shift-P" (Toggle Pushback), optionally followed by "1" or "2" to select a
pushback direction.
- "N" (SelectNAVRadio), followed by "+" or "-" to change the NAV frequency.

These multi-keystroke commands in FS usually select a MODE, meaning that with the
first key you select the function, and with the next (optional, and/or timelimited)
modifier keys, like "1" or "+", you provide additional information for this function.

Now, selecting such a MODE works fine as long as NO OTHER command is given (either by
the user, a panel gauge, or code in the aircraft model) between the first key and the
modifier keys (with the exception of a few controller AXIS commands).
This explains why, if you e.g. give "Shift-P" for pushback, then change the view with
"S", and then "1" to select a left turn, the aircraft WON't turn: because FS doesn't
relate the "1" and "Shift-P" anymore.
Unfortunately, there are a lot of (addon) gauges around (or even code built into an
aircraft model itself) that disturb this MODE selection mechanisme because they
continuously, usually every 55 msec., give FS commands.
Which causes the problems mentioned above.

<Intermezzo>
A lot of people call this a "bug" in FS; I don't. It's just how FS is implemented,
and IMO gauge/panel developpers should take this behaviour into account.
Although I must admit:
1. The implementation used by Microsoft is a bit "clumsy"; although there IS a need
to determine to which "function" modifier keys like "1" or "+" belong, there NO
reason why a "single-keystroke" command should interrupt the "Shift-P" - "1" relation !
Microsoft could have (should have ?) made a distinction here.
2. Under some conditions it's almost impossible to avoid this "continuous event"
problem. E.g., a gauge that continuously provides an AXIS command with a new value.
3. The name Select.... for most commands is not very accurate; it not only "selects"
a function, it also performs an action if NO modifier event is detected.
Like "E" selects Engine-1 if NO engine number is seen, either because the user
doesn't type it, or if the sequence is interrupted by another command.
This is, by the way, the most common cause that you loose the throttles for all
engines except Engine-1: the user accidentally hits the key assigned to SelectEngine.
</Intermezzo>

Now, the only way to counter-attack this "continuous event" problem, induced by the user
itself or aircraft/gauge programming code, is to make sure that the function command
and following modifier commands cannot be interrupted by other code; i.e. they must
be given at the same instance. And obviously, it's very difficult to type a "2" within
55 msec after typing "E" Smile

And this is exactly what my gauge does (for SelectEngine and SelectExit !!).
E.g. for SelectEngine: when my gauge detects the event SelectEngine, if waits for
one second, to allow you to type the enginenumber(s). After this second, it issues
another SelectEngine event, instantaneously followed by the enginenumber(s) select
events. An to make life easier: if NO enginenumber(s) are typed, it selects ALL
enginenumbers (which is, I assume, what you want to do most of the times).

Now, I realise that there are other ways to "solve" this continuous event problem.
Such as:
1. In the registered version of FSUIPC, you have the option "Synchronise Engines".
However, with this option checked, you cannot select a specific engine if you
do want to. And after unchecking this option, you still cannot select a specific
engine (other than Engine-1) if your panel contains a "faulty" gauge.
2. With the registered version of FSUIPC, you can program a controller button or
free keyboard key with a specific event sequence; however, you'll need a free
key/button for each programmed sequence.
3. Some addon panels have a specific gauge for this, e.g. a gauge that (when clicked)
opens Exit-2.
4. Some (payware) aircraft solve this problem in their own code, by providing you with
a seperate key-mapping module.

My gauge is generic, and should work for ALL aircraft/panels.
I only implemented this for the most common problems (SelectEngine and SelectExit),
NOT for Pushback. First of all, because it is more complex, secondly because there
are several addons for Pushback around that allready solve this implicitely and
provide much more additional functionality as well.
HINT: e.g. my groundhandling gauge package, file rcbgh*

And for the real FS experts reading the above: I know there's a lot more to say
about this "issue", but I have to typing somewhere Smile


5. Copyrights and Disclaimer
============================
This gauge is freeware, and available for your personal use.
They may NOT be sold, re-distributed, or (re-)uploaded to another website
(in ANY shape or form) without my explicite, written permission.

If you want to bundle this gauge with your (freeware !!) panel, you
may do so AFTER my written permission, provided you include this
README file AS-IS, without modification.
And obviously, installing & using this gauge is at your own risk !!


I hope this gauge solves the problems specified above. It has been tested it with
a lot of aircraft (default and addon), with or without another gauge inducing
this "Continuous Event" problem. I have tried to foresee every possible way these
events might be given, even when given via a mouseclick on a dedicated gauge or
programmed under a controller button.
But obviously I cannot claim to foresee every combination/permutation :-).

If it doesn't exacly work as specified above, first check that the gauge is
installed properly and actually loaded:
- Type the key you assigned to "SelectEngine" (default: E)
- Type the key you assigned to "FullThrottle" (default: F4)
- If ONLY Engine-1 is reacting now, the gauge is NOT loaded !!
(i.e.: YOU did something wrong Smile ).

But PLEASE, before asking me questions, make sure that the answer can not
be found in this README.

Rob Barendregt, The Netherlands
Email: rc.barendregt @ planet.nl


the file is available at Avsim last time I looked


fled
Back to top
View user's profile ICQ Number MSN Messenger Photo Gallery
Uhu_Rodion
Janitor

Offline Offline
Joined: Nov 14, 2004
Posts: 1437
Location: L'Aquila, Italy
PostPosted: Mon Jul 04, 2005 1:53 pm
Post subject: Re: Multi engine shut off's and other quircks in fs9 solutio

Uh, quite interesting!
Great find, Fled - thank you very much! Cool

Marco
Back to top
View user's profile Visit poster's website MSN Messenger Photo Gallery
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ›  FSXFS2004 :: Archives
Page 1 of 1
All times are GMT - 6 Hours

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.