Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Pages: 1 
Send Topic Print
linking simicon buttons (Read 637 times)
Oct 7th, 2003 at 11:54am

wish_bear   Offline
Colonel
I love YaBB 1G - SP1!

Posts: 70
*****
 
I am using FS Panel studio to create a cockpit. I have the basic layout going and wanted to use some of the simicon buttons for GPS, Clock, Compass etc. I realize I need to add a new window to the panel, but how do I get the simicon button to link up to the new window I created to make it work?

Wish_bear
 
IP Logged
 
Reply #1 - Oct 7th, 2003 at 12:17pm

Hagar   Offline
Colonel
My Spitfire Girl
Costa Geriatrica

Posts: 33159
*****
 
When in doubt I always refer to the defaults. Use a default Panel.cfg as a pattern. The simicons relate to either the [Windowxx] number or the ident= name. I don't remember which.
 

...

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 #2 - Oct 7th, 2003 at 12:31pm
RollerBall   Ex Member

 
Quote:
I don't remember which.


Grin

I know the feeling...

Roger
 
IP Logged
 
Reply #3 - Oct 7th, 2003 at 12:37pm

Hagar   Offline
Colonel
My Spitfire Girl
Costa Geriatrica

Posts: 33159
*****
 
Quote:
Grin

I know the feeling...

Roger

Mind's a blank. LOL

I thought you would know the answer. Wink
 

...

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 #4 - Oct 7th, 2003 at 1:04pm

wish_bear   Offline
Colonel
I love YaBB 1G - SP1!

Posts: 70
*****
 
Hi
I looked at the default panel cfg file.. and have reworked it several times  Sad

Here is what I am doing. In FS Panel Studio
On my main panel, I have a simicon GPS button

Add a new window- named it GPS
attaching a bmp and then adding a GPS gauge

I have looked at other panels that have the GPS working and can not see what I have done differently.

here is a working one

[Window Titles]
Window00=Main Panel
Window01=Radios
Window02=GPS
Window03=Throttles

here is the gauge they use (simicon renamed)
gauge34=737-400!GPS Display Toggle, 329, 255, 18

[Window02]
file=t38_gps.bmp
size_mm=1024
position=8
visible=0
ident=GPS_PANEL

gauge00=gps!gps,600,1,210,270

I have tried using the same gauge they did and the one in the simicon folder. neither worked

here is what I have:

[Window Titles]
Window00=Main Panel
Window01=GPS

used the same gauge as above
gauge114=737-400!GPS Display Toggle,  730,603,18,18

[Window01]
file=t38_gps.bmp
size_mm=1024
position=8
visible=0
ident=GPS_Panel

gauge00=gps!gps,  601,2,213,266

and mine does not work.... open to suggestions ???
 
IP Logged
 
Reply #5 - Oct 7th, 2003 at 1:41pm

Hagar   Offline
Colonel
My Spitfire Girl
Costa Geriatrica

Posts: 33159
*****
 
I copied this from the the default b737_400 Panel.cfg.

[Window Titles]
window00=Main Panel
window01=Radio Stack
Window02=GPS
window03=Throttle Quadrant
window04=Overhead Panel
window05=Compass

The GPS is [Window02]
The numbers must run in sequence so try adding a Radio Stack as [Window01] .
 

...

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 - Oct 7th, 2003 at 1:51pm

wish_bear   Offline
Colonel
I love YaBB 1G - SP1!

Posts: 70
*****
 
Smiley thanks, if you look above.... I did add it as window01

Is there a limit to how many gauges you can have in a panel?

Wish_bear
 
IP Logged
 
Reply #7 - Oct 7th, 2003 at 1:55pm

Hagar   Offline
Colonel
My Spitfire Girl
Costa Geriatrica

Posts: 33159
*****
 
I'm almost certain the simicons relate to the [Windowxx] numbers. In that case the GPS icon will only open [Window02].

I don't think there's a limit to the number of gauges. Obviously, the more gauges, the more graphic intensive the panel will be.
 

...

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 #8 - Oct 7th, 2003 at 7:03pm

WebbPA   Ex Member
I Like Flight Simulation!

*
 
Hmmm, it always worked the other way around for me.  The icons seem linked to "ident".  Here's part of my 747 panel.cfg.

[Window Titles]
Window00=Main Panel
Window01=Overhead Panel
Window02=GPS
Window03=Radar

[Window00] ...
ident=MAIN_PANEL ...
gauge33=cpt.icons!Overhead,  222,10,13,13 ...
gauge36=SimIcons!GPS Icon,  264,10,13,13 ...
gauge47=cpt.icons!ifr,      209,10,13,13

[Window01] ...
ident=OVERHEAD_PANEL

[Window02] ...
ident=GPS_Panel

[Window03] ...
ident=IFR_MAIN_PANEL

(IFR is a popup TCAS gauge)
 
IP Logged
 
Reply #9 - Oct 7th, 2003 at 7:38pm
RollerBall   Ex Member

 
Yeah, the icons are linked to ident

so the gps icon would be linked to

blah
blah
ident=GPS_PANEL
blah
blah

I never use the simicons because you can't see them in CFGEdit. I get the toggle buttons from eg the Lear and Caravan panels
 
IP Logged
 
Reply #10 - Oct 8th, 2003 at 4:41am

Hagar   Offline
Colonel
My Spitfire Girl
Costa Geriatrica

Posts: 33159
*****
 
You could be right. I haven't messed with panels for a long time. I would point out that in WebbPA's example the GPS is still [Window02]. If in doubt, use belt & braces by using the same [Windowxx] numbers & ident= names. That way it has to work. Wink
 

...

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 #11 - Oct 9th, 2003 at 8:42am

wish_bear   Offline
Colonel
I love YaBB 1G - SP1!

Posts: 70
*****
 
Thanks
will try that. I know when I tried to change the Ident number it gave me an error- but I will go back and try again.

wish_bear
 
IP Logged
 
Reply #12 - Oct 9th, 2003 at 10:11am

wish_bear   Offline
Colonel
I love YaBB 1G - SP1!

Posts: 70
*****
 
HI
every time I try to change the Ident of the window, I get the following error

Can't change the Window IDENT

The new Window Ident is already used by Window 0

When I make the window- it assigns IDENT as 20, 30
but those numbers do not work with the simicon buttons

wish_bear
 
IP Logged
 
Reply #13 - Oct 9th, 2003 at 11:12am

wish_bear   Offline
Colonel
I love YaBB 1G - SP1!

Posts: 70
*****
 
Shocked I figured it out...

The easiest way to make it work is use the Simicon buttons- go to edit gauge... then click on edit XML. Click the + till you see click. Look at the number in there
example: GPS 225 - that is the number you have to imput into the IDENT to get the GPS panel to open up in FS

Cheesy wish_bear
 
IP Logged
 
Reply #14 - Oct 9th, 2003 at 11:53am

Hagar   Offline
Colonel
My Spitfire Girl
Costa Geriatrica

Posts: 33159
*****
 
I'm not familiar with FS Panel Studio. I think you would find this much easier by manually editing Panel.cfg in Notepad. Copy/paste the entries from a default CFG if you wish. There should be no need to edit or rename gauges.
 

...

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 #15 - Oct 9th, 2003 at 3:55pm
RollerBall   Ex Member

 
Not a good idea to start editing in that way

These things are all laid down in the Panel SDK and you shouldn't start to change 'fixed' data
 
IP Logged
 
Reply #16 - Oct 10th, 2003 at 5:39am

Hagar   Offline
Colonel
My Spitfire Girl
Costa Geriatrica

Posts: 33159
*****
 
I just checked this out on the default b737_400 panel to satify myself. I swapped the GPS & Radio stack windows in Panel.cfg & tried various ident= names. RollerBall is correct. The default simicons refer to the ident= name. The [Windowxx] number is not important providing the window entries are in order & the numbers run in sequence. This entry works for me.

[Window01]
size_mm=150,250
position=8
BACKGROUND_COLOR=16,16,16
VISIBLE=0
ident=GPS_PANEL
gauge00=gps!gps,0,0,150,250

PS. The 3rd party switches I've tried use the [Windowxx] numbers. This is what confused me.
 

...

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
 
Pages: 1 
Send Topic Print