Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Clickable area tutotrial needed

Featured Replies

I can't find any tutorials on clickable boxes (Mouse Rect as they are known in Gmax).I simply want to have an object in the cockpit (co-pilot made up of multiple parts), disappear and re-appear when I click on him ?Thanks

I can't find any tutorials on clickable boxes (Mouse Rect as they are known in Gmax).I simply want to have an object in the cockpit (co-pilot made up of multiple parts), disappear and re-appear when I click on him ?Thanks
If it maybe done by disappearing of some texture it easy to implement in gauges
  • Author

Thanks, but I'm not at that skill level. Isn't there just some simple way to put a rectangle box and link it to many parts and when you click in the box, they will dissapaear ?

  • Moderator
I can't find any tutorials on clickable boxes (Mouse Rect as they are known in Gmax).I simply want to have an object in the cockpit (co-pilot made up of multiple parts), disappear and re-appear when I click on him ?Thanks
WORKING XML Code Library (Parts and Gauges) http://www.aerodynamika.com/cgi-bin/yabb/YaBB.cgi?board=XMLIn particular, read the threads titled: XML Templates for Visibilityhttp://www.aerodynamika.com/cgi-bin/yabb/Y...?num=1108916123-and- FSX - XML for Show/Hide Yoke(s)http://www.aerodynamika.com/cgi-bin/yabb/Y...?num=1166823321

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator
  • Author

Perfect - those links tells me everything I need to know - thanks

  • Author

I think I'm not doing something right.I created a new model, in Gmax, with 2 parts - a simple box and part I want to dissappear.I added the sections below to the modeldef.xml, and made up the GUID by copying from an existing one and then changed a digit and checked that the number did not conflict with any other number.I used AttachPoint to apply the "SideHoist" to simple box part.I used Animation Manager to apply the "HU_SideHoist" to the actual part I want to dissappear.Odd thing, when I export to FSX and mouse over the "simple box" part, the words "Select/Reset Chronometer", pops up. Where did that come from ?? I can't even find that in the modeldef.xml ???**************************<Animation name="HU_SideHoist" guid="c659d326-0ecf-4615-a558-107699914118" type="Standard" typeParam=""/><Animation name="SideHoist" guid="c659d327-0ecf-4615-a558-107699914118" type="Standard" typeParam=""/><PartInfo><Name>HU_SideHoist</Name><MouseRect> <Cursor>Hand</Cursor> <TooltipID>Hide/Unhide SideHoist</TooltipID> <CallbackCode> (L:SideHoist,bool) ! (>L:SideHoist,bool) </CallbackCode></MouseRect></PartInfo>

  • Moderator
I used Animation Manager to apply the "HU_SideHoist" to the actual part I want to dissappear.
That was the wrong thing to do. Use the Attachpoint Tool to add the "Visibility" condition to the part you want to disappear...Visibility is not an "animation," it is a "condition..."

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator
  • Author

That's what is throwing me. I know your original link way above, also instructed to use AttachPoint as well, but I can not find HU_SideHoist in the pull down after checking Visibilty. I only see HU_SideHoist when using the Animation Manager ? [EDIT]Hold on......................I just found a few typos.................I'll get back to you ............................................

  • Author

Still not working. I shutdown both FSX and Gmax and restarted both to make sure there wasn't any lingering effects.For the simple box the Object Properties have ...<MouseRect name="HU_SideHoist">...For the part the Object Properties have ...<Visiblity name="SideHoist">...Exported the model to FSX.The mouse over of the part in FSX still says "Select/Reset Chronometer" ??? modeldef.xml has the code below:<!-- begin Custom Animations --> <Animation name="HU_SideHoist" guid="54657388-cff7-679c-a657-9b9cd33e4f12" length="100" type="Sim" typeParam2="HU_SideHoist" typeParam="AutoPlay" /> <Animation name="SideHoist" guid="54578388-cff8-679c-a659-ab9cd33e4f14" length="100" type="Sim" typeParam2="SideHoist" typeParam="AutoPlay" /><!-- end Custom Animations --> <!-- begin Hide Unhide --> <PartInfo> <Name>HU_SideHoist</Name> <MouseRect> <Cursor>Hand</Cursor> <TooltipText>Hide/Unhide Hoist</TooltipText> <CallbackCode> (L:SideHoist,bool) ! (>L:SideHoist,bool) </CallbackCode> </MouseRect> </PartInfo> <PartInfo> <Name>SideHoist</Name> <Visibility> <Parameter> <Code>(L:SideHoist,bool) 0 > if{ 0 } els{ 1 }</Code> </Parameter> </Visibility> </PartInfo> <!-- end Hide Unhide -->

  • Author

I found a random GUID generator software (GUIDgen.exe) and replaced all the GUIDs that I had added and now everything works perfectly. I could have had a life time job as a bug finder, since I find them all.THANKS for all the help and guidance.

  • Moderator

I use this on-line website to generate as many unique guids as I want, typically in batches of 100...www.guidgenerator.com/

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator
  • 1 month later...
  • Author

Well I ran into another problem. My hide / unhide stopped working. When I mouse over the part that has the Attach Point mouse rect, I see the little hand but it only has a minus sign, in the hand and no tooltip text and does not activate the visible part. Modeldef.xml looks okayEver seen that before ?

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.