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.

Heading MACRO help ?

Featured Replies

I have created a Custom Draw window for my Freeware F-111 Pig HUD Project ,(current version fxpiggb5.zip) .This instruments primary function is to emulate the Pave Tack ,other functions are reconnaisance ,BDA and BVR intercept recognition It can also be fitted and used on Harriers and F-35Bs for hover approach and landings .This instrument will be uploaded to 3 freeware sites within the next week or two,as an integrated part of the F-111 Pig HUD Project , and as a stand alone instrument for those wishing to fit to other aircraft .My problem is with the Heading panning function , the standard case typemacro allows up to 24 settings ,1. Its not enough , if you divide the compass rose by 24 and then zoom out to a 25x magnification there are view gaps between each step .2. The standard macro does not allow continuous steps in one direction . When you reach the end of the case list your only option is to pan in steps backwards.Is there a macro code that will allow steps of 5 or 10 degrees per step and willallow the panning steps to continue endlessly in either right or left direction ?Help would be greatly appreciated .CheersKarol

<?xml version="1.0" encoding="UTF-8"?>[/size][/font][font="Times New Roman"][size="3"]<SimBase.Document        Type="AceXML"        version="1,0"        id="Pavescreen">    <Descr>AceXML Document</Descr>    <Filename>F-111_PaveTack.xml</Filename>    <SimGauge.Gauge id="Gauge" ArtDirectory=".">        <FloatPosition>0.000,0.000</FloatPosition>        <Size>300,400</Size>        <Update id="Update">            <Frequency>5</Frequency>            <script>(L:ZoomStep, number) 0 == if{                   4 (>L:ZoomStep, number)                   @CalculateZoomFactor((L:ZoomStep, number)) (>L:ZoomFactor, number)                   }      (L:HeadingStep, number) 0 == if{                   4 (>L:HeadingStep, number)                   @CalculateHeadingFactor((L:HeadingStep, number)) (>L:HeadingFactor, number)                   }            </Script>        </Update>        <Macro id="g" Name="g">            <MacroValue>C:fs9gps:1</MacroValue>        </Macro>              <Macro id="CalculateHeadingFactor" Name="CalculateHeadingFactor">        <MacroValue>60 30 15 000 345 330 300 270 240 210 195 180 165 150 120 90 60 30 15 000 345 330 300 0 24 @1 case</MacroValue>         </Macro>                  <Macro id="HeadingOUTButton" Name="HeadingOUTButton">        <MacroValue>(L:HeadingStep, number) ++ 23 min (>L:HeadingStep, number)                      @CalculateHeadingFactor((L:HeadingStep, number)) (>L:HeadingFactor, number)</MacroValue>         </Macro>-       <Macro id="HeadingINButton" Name="HeadingINButton">        <MacroValue>(L:HeadingStep, number) -- 1 max (>L:HeadingStep, number)                      @CalculateHeadingFactor((L:HeadingStep, number)) (>L:HeadingFactor, number)</MacroValue>         </Macro>                               <CustomDrawParam id="Heading" Name="Heading">                    <Value>(L:HeadingFactor, number)</Value>    </CustomDrawParam>                                   <MouseArea id="MouseArea">            <FloatPosition>0.000,0.000</FloatPosition>            <Size>300,400</Size>            <MouseArea id="MouseArea">                <FloatPosition>0.000,0.000</FloatPosition>                <Size>300,400</Size>                        <MouseArea id="Heading out">                    <FloatPosition>269.000,351.000</FloatPosition>                    <Size>30,30</Size>                    <CursorType>UpArrow</CursorType>     <MouseClick id="MouseClick">                        <script>@HeadingOUTButton</Script>      <ClickRepeat>True</ClickRepeat>                    </MouseClick>     <Tooltip id="Tooltip">                    <DefaultScript>Rel Bearing</DefaultScript>                </Tooltip>                </MouseArea>                <MouseArea id="Heading in">                    <FloatPosition>206.000,351.000</FloatPosition>                    <Size>30,30</Size>                    <CursorType>DownArrow</CursorType>                    <MouseClick id="MouseClick">                        <script>@HeadingINButton</Script>      <ClickRepeat>True</ClickRepeat>                    </MouseClick>     <Tooltip id="Tooltip">                    <DefaultScript>Rel Bearing</DefaultScript>                </Tooltip>                </MouseArea>        <MouseArea id="Close">                    <FloatPosition>4.000,334.000</FloatPosition>                     <Size>25,25</Size>                     <CursorType>Hand</CursorType>                     <HelpId>HELPID_GAUGE_CLOSE_POPUP_WINDOW</HelpId> -                   <MouseClick id="MouseClick">                    <script>1010 (> K:PANEL_ID_TOGGLE)</Script>                     </MouseClick>                </MouseArea>            </MouseArea>        </MouseArea>    </SimGauge.Gauge></SimBase.Document>
  • Author

I will try to add a shot.Karol1281750154.jpg

Hi KarolIt can be done with an array.More code but works OK.If you search this forum for 'array' or 'Taquilo' there are several posts on how to do it.I have done similar with up to 50 values.

Paul EGLD

  • Author

Pvewill do , thank you for the help.Karol

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.