![]() |
|
|||||||
| Register | Wiki | Downloads | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
| Gauges Use this forum for all your gauges related discussions |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Grumman Goose Fuel Pump Switch
I'm a big Grumman Goose fan. I want it fixed... So I dissected the Gauges to find that the Grumman Gooses 'top_popup.xml' gauge has a bit of an error in it that makes the fuel pump switch run on only engine one. So I changed the 'Key event' so that is does all engines... All I had to do was delete the red digit in the code below. The problem is, this works fine and fixes the problem if you hit the fuel pump switch in the 2d popup panel but doesn't work in the 3D cockpit Switch. What I need to know is how to find out what gauge that switch in the 3d cockpit is aliased to. I'm guessing that it's assigned in the model somehow, I don't know. But I need to find the code for it. Can anyone point me in the right direction?
<MouseArea id="Fuel Pump Switch"> <FloatPosition>74.000,44.000</FloatPosition> <Size>28,50</Size> <CursorType>Hand</CursorType> <MouseClick id="MouseClick"> <KeyEvent>TOGGLE_ELECT_FUEL_PUMP1</KeyEvent> <ClickType>LeftSingle</ClickType> </MouseClick> <Tooltip id="Tooltip"> <DefaultId>HELPID_GAUGE_SWITCH_FUEL_PUMP</DefaultId> </Tooltip> </MouseArea> Last edited by LuftWayfarer; 15 Apr 2012 at 11:53. |
|
#2
|
|||
|
|||
|
It is embedded in the ..._interior.mdl file and cannot be "edited" unfortunately!
__________________
Bill Leaming 3d Modeler Max/GMax C & XML Gauge Programmer Eaglesoft Development Group http://eaglesoftdg.com Intel® Core™ i7-3770k 4.2GHz - Crucial 16GB DDR3 - Dual Radeon HD770 1GB DDR5 (Crossfire) - Eco II Watercooling - Win7 64bit Intel® Core™ i7-2600k 3.4GHz - Crucial 4GB DDR3 - NVIDIA GeForce GTX550Ti 1GB - Win7 64bit Intel® Core™ i7-860 2.8GHz - Crucial 8GB DDR3 - NVIDIA GeForce GTS240 1GB - Win8 64bit NOTE: Unless explicitly stated otherwise, everything written by my hand is MY opinion. I do NOT speak for any company, real or imagined...
|
|
#3
|
|||
|
|||
|
As Bill states, you can do nothing with the key event in the .mdl file.
But you do have a simple way to fix it: In the same gauge of your code above, trap the TOGGLE_ELECT_FUEL_PUMP1 event and send a TOGGLE_ELECT_FUEL_PUMP2 from inside the trap. Tom |
|
#4
|
|||
|
|||
|
I can't find how to properly put two events in the same 'trap.' So I went through the sdk and found the key that turns all electric fuel pumps on instead. I did give it a run just changing the the switch to activate Pump 2 but still, the 3d switch activates only pump 1, and in this case the 2d switch activates only pump 2. I wasn't aware that you could code FSX key events directly into a model.
I model a lot, but I don't make aircraft, just static or animated scenery. I know you can add a harden to surfaces, and add 'no crash' scripts among other things. I figured the switch would be aliased to a specific gauge, and I could then modify the individual gauge. If not, then that sucks. This aircraft is my means in FSX. |
|
#5
|
||||
|
||||
|
Something like this might do it for you:
Code:
<Gauge Name="fuel pump 2" Version="1.0">
<Value>(L:ADFConversionTemp,number) </Value>
<Image Name="RGB_000_bitmap.bmp" />
<Update>
(A:GENERAL ENG FUEL PUMP SWITCH:1,bool) (A:GENERAL ENG FUEL PUMP SWITCH:2,bool) !=
if{
(>K:TOGGLE_ELECT_FUEL_PUMP2)
}
</Update>
</Gauge>
Doug |
|
#6
|
|||
|
|||
|
Quote:
Code:
<Gauge Name="Electric Pump 2" Version="1.0">
<Keys>
<On Event="TOGGLE_ELECT_FUEL_PUMP1">
(>K:TOGGLE_ELECT_FUEL_PUMP2)
</On>
</Keys>
</Gauge>
ie gauge16=path!electric_pum2, 0, 0, 10, 10 Tom |
|
#7
|
|||
|
|||
|
Brilliant. A gauge to run an event that runs a gauge. Thanks for adding an open mind.
|
|
#8
|
|||
|
|||
|
Just writing back to say this works like a charm! It's people like you that help this simming community. I'm just too happy now with this. Thanks a lot.
|
|
#9
|
|||
|
|||
|
Just for the record, the assignment in the .mdl file is:
Code:
GENERAL ENG FUEL PUMP SWITCH:1#bool#50# ...so it's a good thing to have found an alternate solution!
__________________
Bill Leaming 3d Modeler Max/GMax C & XML Gauge Programmer Eaglesoft Development Group http://eaglesoftdg.com Intel® Core™ i7-3770k 4.2GHz - Crucial 16GB DDR3 - Dual Radeon HD770 1GB DDR5 (Crossfire) - Eco II Watercooling - Win7 64bit Intel® Core™ i7-2600k 3.4GHz - Crucial 4GB DDR3 - NVIDIA GeForce GTX550Ti 1GB - Win7 64bit Intel® Core™ i7-860 2.8GHz - Crucial 8GB DDR3 - NVIDIA GeForce GTS240 1GB - Win8 64bit NOTE: Unless explicitly stated otherwise, everything written by my hand is MY opinion. I do NOT speak for any company, real or imagined...
|
|
#10
|
|||
|
|||
|
Quote:
Tom |
|
#11
|
|||
|
|||
|
Quote:
__________________
Bill Leaming 3d Modeler Max/GMax C & XML Gauge Programmer Eaglesoft Development Group http://eaglesoftdg.com Intel® Core™ i7-3770k 4.2GHz - Crucial 16GB DDR3 - Dual Radeon HD770 1GB DDR5 (Crossfire) - Eco II Watercooling - Win7 64bit Intel® Core™ i7-2600k 3.4GHz - Crucial 4GB DDR3 - NVIDIA GeForce GTX550Ti 1GB - Win7 64bit Intel® Core™ i7-860 2.8GHz - Crucial 8GB DDR3 - NVIDIA GeForce GTS240 1GB - Win8 64bit NOTE: Unless explicitly stated otherwise, everything written by my hand is MY opinion. I do NOT speak for any company, real or imagined...
|
|
#12
|
|||
|
|||
|
Quote:
In this particular case, there is no GENERAL ENG FUEL PUMP SWITCH variable, proper syntax supporting ENG1/ENG2 or SWITCH:1/SWITCH:2. So you could change :1 to :2 and the model will work ok, but the switch will actually change only when (>K:TOGGLE_ELECT_FUEL_PUMP2) is fired in the referenced gauge. Tom |
|
#13
|
|||
|
|||
|
Tom, I'm not even sure why this case of the Goose is even a concern to begin with, since it only has one electric fuel pump and is not engine dependent...
![]() From the aircraft.cfg file: Code:
electric_pump = 1 engine_driven_pump=0 ![]() As someone once wrote, it's "...much ado about nothing..."
__________________
Bill Leaming 3d Modeler Max/GMax C & XML Gauge Programmer Eaglesoft Development Group http://eaglesoftdg.com Intel® Core™ i7-3770k 4.2GHz - Crucial 16GB DDR3 - Dual Radeon HD770 1GB DDR5 (Crossfire) - Eco II Watercooling - Win7 64bit Intel® Core™ i7-2600k 3.4GHz - Crucial 4GB DDR3 - NVIDIA GeForce GTX550Ti 1GB - Win7 64bit Intel® Core™ i7-860 2.8GHz - Crucial 8GB DDR3 - NVIDIA GeForce GTS240 1GB - Win8 64bit NOTE: Unless explicitly stated otherwise, everything written by my hand is MY opinion. I do NOT speak for any company, real or imagined...
Last edited by n4gix; 19 Apr 2012 at 13:54. |
|
#14
|
|||
|
|||
|
Bill, I originally assumed that he has coded two eng fuel pumps for the 2D panel...But what the heck, you're right. Further conclusions here are useless..let's go post something more constructive!
![]() Tom |
|
#15
|
|||
|
|||
|
Yeah, the switch does nothing but turn a needle on the left engine fuel pressure gauge. So I wanted it to do both gauges. The new gauge made that happen.
Are you implying there is a way to make the fuel pump actually do something? As it is, I can start the Goose with or without the fuel pump. Seems odd to me that the pump would be engine driven, yet a boost pump included. I read boost pumps are used to help start engines, yet in this case I don't need it. I doubt the engine driven pumps will stop working This was purely a cosmetic fix, but I wish I could make it a useful one. I'm sure it's a matter of me not knowing what the pump is actually for. Regardless, it use to only feed the left engine.
Last edited by LuftWayfarer; 21 Apr 2012 at 22:34. |
|
#16
|
|||
|
|||
|
The boost fuel pump on the Grumman Goose is electrical, not engine driven. The purpose of this boost fuel pump is to supply a constant higher pressure to the system during critical phases of a flight; takeoffs and landings.
The engine driven fuel pumps will normally supply sufficient pressure during normal cruise operations.
__________________
Bill Leaming 3d Modeler Max/GMax C & XML Gauge Programmer Eaglesoft Development Group http://eaglesoftdg.com Intel® Core™ i7-3770k 4.2GHz - Crucial 16GB DDR3 - Dual Radeon HD770 1GB DDR5 (Crossfire) - Eco II Watercooling - Win7 64bit Intel® Core™ i7-2600k 3.4GHz - Crucial 4GB DDR3 - NVIDIA GeForce GTX550Ti 1GB - Win7 64bit Intel® Core™ i7-860 2.8GHz - Crucial 8GB DDR3 - NVIDIA GeForce GTS240 1GB - Win8 64bit NOTE: Unless explicitly stated otherwise, everything written by my hand is MY opinion. I do NOT speak for any company, real or imagined...
|
|
#17
|
|||
|
|||
|
Quote:
Tom |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [FSXA] Fuel Dump Switch | swift39 | Gauges | 6 | 01 Jul 2012 08:02 |
| [FS2004] 3 postion switch and fuel valve switch | euroastar350 | Gauges | 9 | 29 Feb 2012 15:40 |
| [FS2004] Fuel systems logics | brodhaq | Gauges | 8 | 06 Sep 2011 18:11 |
| [FSX] Fuel Cutoff and Hydraulic Pump switch | bkumanchik | Gauges | 16 | 31 Aug 2011 04:31 |
| GENERAL ENG FUEL PUMP ON:index | mendiola_loyola | SimConnect | 15 | 30 Nov 2008 22:56 |