Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
Panel Gauge (Read 288 times)
Dec 20th, 2004 at 10:19pm

DoyleChris   Offline
Captain
I love YaBB 1G - SP1!

Posts: 3
***
 
I have a xml gauge that can open the number 1 exit this is the code.

Code:
<Gauge Name="Exits" Version="1.0">
   <Element>
	<Select>
	   <Value>(G:Var1,bool)</Value>
	   <Case Value="0">
		<Image Name="Exits_off.bmp" ImageSizes="54,28,54,29"/>
	   </Case>
	   <Case Value="1">
		<Image Name="Exits_on.bmp" ImageSizes="54,28,54,28"/>
	   </Case>
	</Select>
   </Element>
   <Mouse>
	<Help ID="HELPID_CONCORDE_ENGINE_MANAGE_GO"/>
	<Cursor Type="Hand"/>
	<Click>(G:Var1) ! (&gt;G:Var1) 0 (&gt;K:TOGGLE_AIRCRAFT_EXIT)</Click>
   </Mouse>
</Gauge>
 



Im trying to make one for the next exits 2,3,4,5 for a my planes.
 
IP Logged
 
Reply #1 - Dec 21st, 2004 at 9:51am

garymbuska   Offline
Colonel
I would rather be flying
Jacksonville, Florida

Gender: male
Posts: 2850
*****
 
XML gauges are tricky but can be done.
I use a payware program called FS Panel Studio. This program is a upscale version of cfgedit. The biggest differance between the two is FS Panel Studio will allow you to both edit and make XML gauges where cfgedit will not. I use this program whenever I find the need to edit XML gauges. FS Panel Studio can be found at
http://www.fspanelstudio.com/
It is not that expensive and for me well worth it. 8)
 
IP Logged
 
Reply #2 - Dec 21st, 2004 at 3:15pm

Hagar   Offline
Colonel
My Spitfire Girl
Costa Geriatrica

Posts: 33159
*****
 
Quote:
XML gauges are tricky but can be done.
I use a payware program called FS Panel Studio. This program is a upscale version of cfgedit. The biggest differance between the two is FS Panel Studio will allow you to both edit and make XML gauges where cfgedit will not. I use this program whenever I find the need to edit XML gauges. FS Panel Studio can be found at
http://www.fspanelstudio.com/
It is not that expensive and for me well worth it. 8)

I've never tried it myself but as it's possible to open & read XML gauge files in Notepad I always assumed you could edit them in the same way as a CFG file. I don't see why you would need a utility to do it.

I don't know the answer to your question Chris. The first place I would look is the FS9 Panels & Gauges SDK but I suppose you've already done that.
 

...

Founder & Sole Member - Grumpy's Over the Hill Club for Veteran Virtual Aviators
Member of the Fox Four Group

Need help? Try Grumpy's Lair

My photo gallery
IP Logged
 
Reply #3 - Dec 21st, 2004 at 3:39pm

andyjohnston.net   Offline
Colonel
Good Grief!

Posts: 59
*****
 
Yes, you can open them in Notepad.  Right click on an XML file, and edit will be second on the menu (at least in Win XP Pro.)

First, you have to remember that there are only two doors in Flight Simulator.  You can't assign more than that.

Next, like H said, read the sdk:

KEY_TOGGLE_AIRCRAFT_EXIT       - TOGGLE_AIRCRAFT_EXIT - Toggles primary door open/close.  Follow by  KEY_SELECT_2, etc for subsequent doors.
 
IP Logged
 
Reply #4 - Dec 22nd, 2004 at 7:37pm

garymbuska   Offline
Colonel
I would rather be flying
Jacksonville, Florida

Gender: male
Posts: 2850
*****
 
Hagar
As always you are correct you can use notepad or any other same type of program to edit XML files. The reason I use the FS Panel Studio program is to allow me to make the actual gauge it self . It allows you to check out your gauges to make sure they work correctly and shows you what they look like with out opening FS9.
The problem I have using note pad is not knowing what the finshed gauge will look like and if there are any coding errors in it .
It can be easy to get lost in all of the loops some xml gauges use unless you are experienced at this language.
It is easy to for get  a step and then when you go to run fs9 you get a nasty message or it might even crash.
This way I dont make a mistake as easy but even this way is not fool proof. you can for get to assighn a value or assign a wrong value and it will not catch that. 8)
 
IP Logged
 
Reply #5 - Dec 22nd, 2004 at 7:45pm

Hagar   Offline
Colonel
My Spitfire Girl
Costa Geriatrica

Posts: 33159
*****
 
Hi Gary. I appreciate what you're saying & this is fine if you're designing a new gauge. It seemed to me that a simple edit is what Chris wanted to do. He already has the gauge & I assume he already knows how to open XML files as he posted it in text format in his original question.
 

...

Founder & Sole Member - Grumpy's Over the Hill Club for Veteran Virtual Aviators
Member of the Fox Four Group

Need help? Try Grumpy's Lair

My photo gallery
IP Logged
 
Reply #6 - Dec 28th, 2004 at 11:29am

DoyleChris   Offline
Captain
I love YaBB 1G - SP1!

Posts: 3
***
 
I have looked at the fS9 panel sdks and noticed the key select 2 but how do i enter it into the code that i entered origanialy, also im guessing you can assign up to ten exits for a aircraft if it has them, since there are keys from 0-9. also with the payware stuff if you can tell me or sho me that the program can do it then ill get it but on 2 different time i have went and bought a program and it didnt do hat i wanted it to do. thanks for the replys guys.
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print