Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
panel buttons/switches (Read 254 times)
Mar 27th, 2004 at 10:57pm

bond   Offline
Major
I love YaBB 1G - SP1!

Posts: 4
*****
 
Sad   Can anyone please tell me how do i make a panel button open a different window then the one it does?
Example,..the button opens an overhead panel,=(widow number 4) i need it to open a different window.(window number 10) how do i do this?
 
IP Logged
 
Reply #1 - Mar 28th, 2004 at 8:55am

WebbPA   Ex Member
I Like Flight Simulation!

*
 
Change the "ident=" line.  Here's an example from Tipster's Beech Baron panel. 

[Window01]
Background_color=0,0,0
size_mm=640
window_size_ratio=1.00   
position=0
visible=0
ident=GPS_panel
window_size= 0.226, 0.482
window_pos= 0.774, 0.432 ...

[Window02]
file=overhead.bmp
size_mm=604
window_size_ratio=1.00   
position=0
visible=1
ident=overhead_panel
window_size= 1.000, 0.130
window_pos= 0.000, 0.000 ...

I'm not sure how well this is addressed in the SDK but if you want to post the file we can figure it out.

 
IP Logged
 
Reply #2 - Mar 29th, 2004 at 3:04am

BFMF   Offline
Colonel
Pacific Northwest

Gender: male
Posts: 19820
*****
 
It is possible to create your own XML gauge to open whatever window you want to create. I've done it for several personal panel projects, but it's been a while
 
IP Logged
 
Reply #3 - Mar 29th, 2004 at 4:56am

microlight   Offline
Colonel
It's a bird...
Southern UK

Gender: male
Posts: 2236
*****
 
Yep, as WebbPA says: any [window] box that you put an ident line in that references a specific button, then that button will open that window. Some panels already have dedicated buttons, which you can press into service elsewhere. You could even have the default M$ buttons doing different things, if you want: e.g. the GPS button could open the radio stack.

Smiley
 

...
BAe ATP for FS9 now available! www.enigmasim.com
IP Logged
 
Reply #4 - Mar 29th, 2004 at 9:27pm

bond   Offline
Major
I love YaBB 1G - SP1!

Posts: 4
*****
 
Thanks for helping out,,,i tried using different IDENT...but nothing.  This is how it all started,i have a panel button that opens an overhead lights panel,what i did is i took another button from a different panel from a different plane (that opens an overhead panel on that plane) and inserted it into the first panel,because i have a second panel overhead that has all the engine start commands etc...you see,..i wanted to use the new button to open the second overhead panel,but now both buttons open the same panel. does this make any sense?. i used FS PANEL STUDIO to copy the button,and then notepad to edit the PANEL.CFG file.
 
IP Logged
 
Reply #5 - Mar 29th, 2004 at 10:08pm

WebbPA   Ex Member
I Like Flight Simulation!

*
 
That makes sense.  Even though the buttons look different the are probably triggering the same "ident" code.  Get cpt.icons.cab from AVsim (maybe it's available here). It has a lot of different buttons you can use.
 
IP Logged
 
Reply #6 - Mar 29th, 2004 at 10:13pm

bond   Offline
Major
I love YaBB 1G - SP1!

Posts: 4
*****
 
i will try it,,thats again for your help  Smiley
 
IP Logged
 
Reply #7 - Mar 31st, 2004 at 11:39am

bernadic   Ex Member

Gender: male
*****
 
I don't know if this will help you:
For the same purpose of you are looking for, I have collected different toggle switches that I found in my gauge list.
They have the IDENT nr. of the window that they change.
You can check if you have some of them and try with it.

gauge48=MB_TOGGLE_33,  799,631,57,57
gauge49=MB_TOGGLE_32,  731,612,57,57
gauge50=MB_TOGGLE_31,  665,648,57,57
gauge51=MB_TOGGLE_30,  602,648,57,57
gauge52=learrdb.tgglpnl26,  353,630,40,36
gauge53=learrdb.tgglpnl24,  393,630,40,36
gauge54=learrdb.tgglpnl23,  433,630,40,36
gauge55=learrdb.tgglpnl22,  473,630,40,36
gauge56=learrdb.tgglpnl21,  513,630,40,36
gauge57=learrdb.tgglpnl20,  553,630,40,36
gauge58=DFRG_TOGGLE_31,  664,579,57,56
gauge59=DF172_TOGGLE_GPS_33,  806,573,40,35
gauge60=DF172_TOGGLE_37,  931,606,57,56
gauge61=DF172_TOGGLE_36,  869,607,57,56
gauge62=DF172_TOGGLE_30,  601,579,57,56

Forget the gauge nr., and the size and position, this is only for the window where I have collected them.
I modify the FS9 panels with CfgEdit Freeware program, that worked since with FS2000.

Good luck.
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print