Jump to content
Sign in to follow this  
Guest tonyc

I Want to duplicate a gauge button...

Recommended Posts

Guest tonyc

The Pilatus has the HSI button( a round black button with a red center) in the center console. I want to duplicate this button so that during flight I can use the "pilot's view" to change HSI heading.I have successfully converted the graphics and now I am in the *.pnl section. I am assuming that I need to make duplicate entries, except for the location of the new button and, of course, give it a new unique id. Am I on the right track? tony

Share this post


Link to post
Share on other sites
Guest Chris Wallace

Tony,Do you mean the autopilot reference heading (magenta bug) selector knob on the EFIS control panel at the bottom-center of the main panel?

<gage> ==== GAUGE ENTRY ====pefs<bgno> ==== Pilatus EFIS Panel ====	<unid> ---- unique id ----	pefs...	<hdg_> ---- Heading Knob ----	<bgno> ---- begin click area ----		<rect> ---- click rect ----		131		29		149		48		<bmap> ---- bitmap ----		pefspknd.pbg		<curs> ---- cursor ----		mpfinger.csr		<help> ---- popup help ----		Heading Select Knob	<endo> ---- end click area ----...<endo>

Since this is a sub-object within the 'pefs' gauge, you can't just copy it as-is. You'd need to create a new object that had its own message connection to the autopilot heading bug. If this is what you mean, then just post a followup and I can provide details.Chris WallaceOttawa, Canada

Share this post


Link to post
Share on other sites
Guest Jan

Hello Tony.Here is a example of the efis controlls in the main.pnlfor the Pilatus.You can see that I copyed the original and pastet itbelow it.Then removed the entries for all the other buttons that you didn't want to move.Some new coordinates and the new button appearson the panel.You don't have to change any graphics or rename anything.JanSorry Chris, you got in while I was writing :)//////////////////////////////////////////////////// Pilot EFIS Controls// //////////////////////////////////////////////// ==== GAUGE ENTRY ====pefs ==== Pilatus EFIS Panel ==== ---- unique id ---- pefs ---- x,y,xsize,ysize ---- 721 677 162 50 ---- Primary Flight Display Message ---- ppfd st8t ---- Nav Display Message ---- pnvd st8t ---- Decision Height Knob ---- ---- begin click area ---- ---- click rect ---- 15 2 29 18 ---- bitmap ---- pefspkna.pbg ---- cursor ---- mpfinger.csr ---- popup help ---- Decision Height Knob ---- end click area ---- ---- Brightness Knob ---- ---- begin click area ---- ---- click rect ---- 133 1 147 17 ---- bitmap ---- pefspknb.pbg ---- cursor ---- mpfinger.csr ---- popup help ---- Display Brightness Knob ---- end click area ---- ---- Course Knob ---- ---- begin click area ---- ---- click rect ---- 12 29 30 48 ---- bitmap ---- pefspknc.pbg ---- cursor ---- mpfinger.csr ---- popup help ---- Course Select Knob ---- end click area ---- ---- Heading Knob ---- ---- begin click area ---- ---- click rect ---- 131 29 149 48 ---- bitmap ---- pefspknd.pbg ---- cursor ---- mpfinger.csr ---- popup help ---- Heading Select Knob ---- end click area ---- ---- HSI Button ---- ---- begin click area ---- ---- click rect ---- 37 12 57 28 ---- bitmap ---- pefsphsi.pbg ---- cursor ---- mpfinger.csr ---- popup help ---- HSI 360deg mode selector ---- end click area ---- ---- ARC Button ---- ---- begin click area ---- ---- click rect ---- 59 12 79 28 ---- bitmap ---- pefsparc.pbg ---- cursor ---- mpfinger.csr ---- popup help ---- Arc mode selector ---- end click area ---- ---- NAV Button ---- ---- begin click area ---- ---- click rect ---- 82 12 102 28 ---- bitmap ---- pefspnav.pbg ---- cursor ---- mpfinger.csr ---- popup help ---- NAV Sensor Selector ---- end click area ---- ---- Range Up Button ---- ---- begin click area ---- ---- click rect ---- 104 12 124 28 ---- bitmap ---- pefsprup.pbg ---- cursor ---- mpfinger.csr ---- popup help ---- Range Selection -> Up ---- end click area ---- ---- Range Down Button ---- ---- begin click area ---- ---- click rect ---- 104 31 124 47 ---- bitmap ---- pefsprdn.pbg ---- cursor ---- mpfinger.csr ---- popup help ---- Range Selection -> Down ---- end click area ---- ---- Nav 1 Button ---- ---- begin click area ---- ---- click rect ---- 37 31 57 47 ---- bitmap ---- pefspar1.pbg ---- cursor ---- mpfinger.csr ---- popup help ---- No 1 System Bearing Pointer Select ---- end click area ---- ---- Nav 2 Button ---- ---- begin click area ---- ---- click rect ---- 60 31 80 47 ---- bitmap ---- pefspar2.pbg ---- cursor ---- mpfinger.csr ---- popup help ---- No 2 System Bearing Pointer Select ---- end click area ---- <1-2_> ---- 1-2 System Select Button ---- ---- begin click area ---- ---- click rect ---- 82 31 102 47 ---- bitmap ---- pefsp1-2.pbg ---- cursor ---- mpfinger.csr ---- popup help ---- 1-2 System Select ---- end click area ---- ---- light flag ---- silt ---- popup help ---- Pilot EFIS Controls ==== END OBJECT ====//////////////////////////////////////////////////// Pilot EFIS Controls// //////////////////////////////////////////////// ==== GAUGE ENTRY ====pefs ==== Pilatus EFIS Panel ==== ---- unique id ---- pefs ---- x,y,xsize,ysize ---- 121 110 162 50 ---- Primary Flight Display Message ---- ppfd st8t ---- Nav Display Message ---- pnvd st8t ---- Heading Knob ---- ---- begin click area ---- ---- click rect ---- 131 29 149 48 ---- bitmap ---- pefspknd.pbg ---- cursor ---- mpfinger.csr ---- popup help ---- Heading Select Knob ---- end click area ---- ---- light flag ---- silt ---- popup help ---- Pilot EFIS Controls ==== END OBJECT ====

Share this post


Link to post
Share on other sites
Guest tonyc

that's fantastic, gentlemen. Thank you. tony

Share this post


Link to post
Share on other sites
Guest tonyc

Thanks again, Jan, for the simple and elegant solution. I succeeded in placing the knob right where I want it. I will soon try to repod it. I have a question....the paint program simply would not provide the same coordinates for the knob as the ones that I entered in the *.pnl file. I simply don't know what the trick is. The paint program would show coordinates that were some 100 pixels off...yet, the overall height and width was correct or else the final panel would not have appeared corrrectly. Any ideas?tony

Share this post


Link to post
Share on other sites
Guest Jan

Hello Tony.I'm happy you got it working.I have the same problem withthe coordinates between the paint program and "real life".Normally Ijust go into the sim and check where it is, and move it by experience.May have to do it a few times until it sits exactly in the right spot.Sorry I don't have a simple solution. :)Jan

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...