XML Gauge parameters

FSSC, Airport 2.*, CfgEdit, etc. Get to grips with designing Scenery & Panels here!

XML Gauge parameters

Postby FSTipster » Tue Feb 25, 2003 6:43 pm

I'm currently working on some new annunciator lights for my forthcoming version 2 of the baron Panel.

Is there a list anywhere of the parameters that are able to supply values?

For example, (A:Electrical genalt1 bus voltage,volts) 0 <=

If there happens to be a tutorial as it pertains to FS2002 around that would be very useful too.

Thanks for any help.
Image
Click the banner to visit the site
FSTipster
Major
Major
 
Posts: 1513
Joined: Thu Sep 19, 2002 2:17 pm
Location: U.K.

Re: XML Gauge parameters

Postby FSTipster » Mon Mar 03, 2003 3:08 am

I discovered it's all in the SDK.
Image
Click the banner to visit the site
FSTipster
Major
Major
 
Posts: 1513
Joined: Thu Sep 19, 2002 2:17 pm
Location: U.K.

..Re: XML Gauge parameters

Postby Mustang » Mon Mar 03, 2003 6:00 pm

.hey tipster i was wondering about the same thing but when i looked in the xml. sdk i could only find script on how to convert the file to a cab. file. then when i looked in the normal panel and gauge sdk i found parameters but they didnt look the same as the ones in a xml. file
can you help... ???
Image
User avatar
Mustang
2nd Lieutenant
2nd Lieutenant
 
Posts: 157
Joined: Mon Jun 24, 2002 11:21 am
Location: Chicago IL

Re: XML Gauge parameters

Postby FSTipster » Mon Mar 03, 2003 6:16 pm

There's an XML SDK? LMAO...ah well - you live and learn!

All I can tell you is that the documents folder in the Panels & Gauges folder contains all the events as well as the parameters descriptions. All those docs are worth a nosey.

I just uploaded V2.0 of my Baron panel and most (not all)  of the new gauges are my own work based on the parameters and events from the P&G SDK. All seems to work well.

Do you have a link for the XML SDK? I'd like a look at it although it sounds like it might confuse, rather than clarify matters.
Image
Click the banner to visit the site
FSTipster
Major
Major
 
Posts: 1513
Joined: Thu Sep 19, 2002 2:17 pm
Location: U.K.

Re: XML Gauge parameters

Postby Mustang » Mon Mar 03, 2003 7:51 pm

oh what i meant by saying the xml. sdk is, that it is a utility to put xml. gauges in a cabinent file (.cab)  QUOTE: "This CAB File SDK explains how to create cabinet (.cab) files from the contents of a directory using Cabdir.exe."
the link is here http://zone.msn.com/flightsim/FS02DevDeskSDK00.asp

its the CAB file sdk.

thanx for your answer it cleared up some problems
Image
User avatar
Mustang
2nd Lieutenant
2nd Lieutenant
 
Posts: 157
Joined: Mon Jun 24, 2002 11:21 am
Location: Chicago IL

Re: XML Gauge parameters

Postby FSTipster » Mon Mar 03, 2003 7:54 pm

Very welcome :)

I already have a cabfile building utility (Gawd knows where I got it LOL) so I'll probably give that a miss.
Image
Click the banner to visit the site
FSTipster
Major
Major
 
Posts: 1513
Joined: Thu Sep 19, 2002 2:17 pm
Location: U.K.

Re: XML Gauge parameters

Postby Mustang » Tue Mar 04, 2003 5:41 pm

Hi i have another question. although i have found the parameters and all im am still having problems figuring out what the values are. Also i am having problems figguring out the rules the xml follows.
Image
User avatar
Mustang
2nd Lieutenant
2nd Lieutenant
 
Posts: 157
Joined: Mon Jun 24, 2002 11:21 am
Location: Chicago IL

Re: XML Gauge parameters

Postby FSTipster » Tue Mar 04, 2003 5:49 pm

Hi i have another question. although i have found the parameters and all im am still having problems figuring out what the values are.


Which parameter is it?


Also i am having problems figguring out the rules the xml follows.


Me too! ::)

I know the logic I want to apply to some gauges, but the syntax is a nightmare.  I'll keep at it until I get the hang of it.
Image
Click the banner to visit the site
FSTipster
Major
Major
 
Posts: 1513
Joined: Thu Sep 19, 2002 2:17 pm
Location: U.K.

Re: XML Gauge parameters

Postby Mustang » Wed Mar 05, 2003 8:04 pm

the parameters i have found are the names and stuff ex: Electrical genalt1 bus voltage. you know the ones in the panel / gauges sdk, doc. folder.
Image
User avatar
Mustang
2nd Lieutenant
2nd Lieutenant
 
Posts: 157
Joined: Mon Jun 24, 2002 11:21 am
Location: Chicago IL

Re: XML Gauge parameters

Postby FSTipster » Wed Mar 05, 2003 8:11 pm

ok - my (rudimentary) understanding is that you have to assign them to a type of value according to the output of the parameter.

Here are some examples:

(A:Ambient temperature, celsius) - assigns the value to a number of celecius degrees

(A:Ambient temperature, farenheit) - same thing but in farenheit

L:yourvariable,number) - assigns a value in a variable you've created to a number.

The possibilities for what type of data you can have for any given variable are listed somewhere (can't remember exactly where off hand).
Last edited by FSTipster on Wed Mar 05, 2003 8:11 pm, edited 1 time in total.
Image
Click the banner to visit the site
FSTipster
Major
Major
 
Posts: 1513
Joined: Thu Sep 19, 2002 2:17 pm
Location: U.K.

Re: XML Gauge parameters

Postby Mustang » Wed Mar 05, 2003 9:40 pm

oh yeah the different types of variables possible are in the unitis.doc located in the panelgauges/ Doc folder. and thanks for your help
Image
User avatar
Mustang
2nd Lieutenant
2nd Lieutenant
 
Posts: 157
Joined: Mon Jun 24, 2002 11:21 am
Location: Chicago IL


Return to Scenery & Panel Design

Who is online

Users browsing this forum: No registered users and 147 guests