Search results

  1. rpmc

    Reciprocal bearing value ( SOLVED )

    First thing you might try is (L:CEX_nav1_TACAN_brg, degrees) 180 + dnor) There is also a wiki about dealing with negative values returned by (A:NAV RADIAL:1, degrees) if that's in your code somewhere. Bob
  2. rpmc

    FSX GE View 2: HttpX 2.0 and EarthProxy 1.2 FSX thru P3D v3

    Pat, Please check your FSDeveloper Inbox (upper right corner of the screen) and let's troubleshoot this using private conversation. Bob
  3. rpmc

    XML Gauge rounding to nearest 10 unit

    1038 10 / near 10 *
  4. rpmc

    Fuel bar widthcode problem ( SOLVED )

    Thanks, but no legend here - make too many mistakes. One has to be as good as, say, Roman (Spokes2112), to name just one, to be a legend. Bob
  5. rpmc

    Fuel bar widthcode problem ( SOLVED )

    IIRC, WidthCode should be proportional to Rectangle width, so, if that's correct, you might try <WidthCode>(A:FUEL TOTAL QUANTITY, gallons) (A:FUEL TOTAL CAPACITY, gallons) / 300 *</WidthCode> Hope it works, Bob
  6. rpmc

    Airplane icon is not attached to the map

    You'll find a thorough discussion here and here. Also, working examples of the moving map written using FSX XML schema can be found in the gauges folder of the P3D directory. Unzip the G1000.cab file to see it. If you are unfamiliar with the difference between FSX XML schema (which is what you...
  7. rpmc

    Airplane icon is not attached to the map

    Do you want the map to be stationary and the airplane .bmp move across the map as the flight progresses? Or, do you want the airplane .bmp to be stationary and the map to move underneath it as the flight progresses? Either is possible although the gps module was written with the latter in mind...
  8. rpmc

    FSX GE View 2: HttpX 2.0 and EarthProxy 1.2 FSX thru P3D v3

    @SemyuelShekh and @babar66, Gentlemen, Could we take this out of the main forum and discuss offline in a private conversation - the envelope icon in upper right corner of the screen. Sem, thank you so much for taking the time to write informative responses. You offer great advice and...
  9. rpmc

    Reverse Polish Notation

    FS9 XML and FSX XML are another way of saying FS9 XML Schema and FSX XML Schema. Do a search for Schema in This Forum (upper right hand corner of this page) and you'll get lots of hits. Hope this helps, Bob
  10. rpmc

    Plane icon not showing in bitmap

    When it cycles to the map, the plane icon is not showing ... It seems like that there's something missing ... True. Take a look at the gauge starting at <Element id="Screen3">. That's the start of the map part and there's no airplane icon .bmp or airplane polygon element included. Open up...
  11. rpmc

    FSX GS Lock light (2d Gauge)

    Try using (A:HSI CDI needle, number) and/or (A:HSI GSI needle, number) together with (A:NAV1 HAS GLIDESLOPE, bool). When (A:HSI CDI needle, number) or (A:HSI GSI needle, number) exceed a certain value, the light goes off.
  12. rpmc

    Creating a String Variable

    No. L:Vars can accommodate numbers only. A few ways to handle strings is discussed in this FSDeveloper Wiki - Storing Strings. There is also a general discussion about strings found in the gps module guidebook starting on page 202. Finally, search for "strings" in this site and you'll find...
  13. rpmc

    FSX GS Lock light (2d Gauge)

    A couple of things: First, try (A:NAV1 HAS GLIDESLOPE, bool) . Second, test A:Var bools for equal to zero, or not equal to zero. Don't test them for equal to one. We sometimes assume that if Nav 1 has glideslope, the bool will return 1, but the value returned depends on the source. It's 1...
  14. rpmc

    GPS map problem

    No simple cure, or parameter selection for this that I'm aware of. You can edit your color palette to derive a set that works with TerrainShadow=1, or use one of the palettes shown on page 34 of the fsmap guidebook. This particular issue is described on pg 36. Bob
  15. rpmc

    FSX Prop Amps Var

    There's no A:Var for prop amps. In its most basic form, it's binary - if prop anti-ice is off, zero amps, if on, then a certain amount of amps depending on number of blades. Consult the flight manual of the aircraft for normal values. If you want to get creative, you could model partial...
  16. rpmc

    FSX Turbine Inlet Temp Gauge

    kudos to Roman for pointing out the correct name of the variable in #2
  17. rpmc

    FSX Turbine Inlet Temp Gauge

    Tom and Bill, Question for you ... If you load the Bravo and display (A:RECIP ENG1 TURBINE INLET TEMPERATURE,farenheit), it returns values that appear to be driving the Bravo's TIT gauge. And, the values seem reasonable, at least, I guess they do. If not turbine inlet temp, what is that...
  18. rpmc

    P3D v4 [XML] polygonal MouseAreas?

    Yes, as the previous response from MIL-STD states. (M:X) and (M:Y) return the position of the mouse cursor once it is clicked and from there, the within-a-circle test can be computed and the desired mouse click script executed based on pass/fail. The trick is, how would one get the cursor to...
  19. rpmc

    XML Syntax Question

    Manfred mentioned the stack - that's the key. The if{ ... } condition will be executed if a non-zero value is at the top of the stack when the parser reads the "if{" Take a look at the stack at each step of the script to see what's going on. If (L:Var1, bool) equals 1, then and, both...
  20. rpmc

    FS2004 Engine selector and start switches

    Good catch!
Top