Jump to content
The simFlight Network Forums

jd

Members
  • Posts

    82
  • Joined

  • Last visited

Posts posted by jd

  1. you have to do some conversions

    here is my routine to set the plane at the proper lat/long/alt

    Public Function set_plane(lat As Single, lon As Single, alt As Single, hdg As Single) As Boolean

    Dim x As Long

    Dim dwresult As Long

    x = FTOM(CLng(alt))

    Call FSUIPC_Write(&H574, 4, VarPtr(x), dwresult)

    x = lat * 10001750 / 90

    Call FSUIPC_Write(&H564, 4, VarPtr(x), dwresult)

    x = lon * 65536 * 65536 / 360

    Call FSUIPC_Write(&H56C, 4, VarPtr(x), dwresult)

    x = hdg * 65536 * 65536 / 360

    Call FSUIPC_Write(&H580, 4, VarPtr(x), dwresult)

    Call FSUIPC_Process(dwresult)

  2. here is my code snippet

    Public Function Plane_heading() As Single ' degrees Plane's magnetic heading.

    Dim x As Long

    Dim dwResult As Long

    Call FSUIPC_Read(&H580, 4, VarPtr(x), dwResult)

    Call FSUIPC_Process(dwResult)

    Plane_heading = norm360((x / 65536 / 65536 * 360) - magvar)

    end function

    you may have to adjust for the magnetic variation, which is what magvar is (another function, to get the current magnetic variation)

    norm360 is a normalize function, which brings all heading to a range of 1-360 degrees

  3. i don't know what to say. this is the function i have used in radar contact since v3. it works, because i'm constantly checking the plane heading..

    Public Function Plane_heading() As Single

    Dim x As Long

    Dim dwResult As Long

    Call FSUIPC_Read(&H580, 4, VarPtr(x), dwResult)

    Call FSUIPC_Process(dwResult)

    Plane_heading = x / 65536 / 65536 * 360

    End Function

  4. i had all that typed up, and you beat me to it :-)

    one of your negatives, is that rc doesn't interact with the ground ai is patently wrong. if an ai changes in anyway, from getting a clearance, to pushing back, to taxiing, to being told to hold short, or to be told to position and hold, every switch from clearance to ground to tower to departure are all communicated to them (assuming you are on the right frequency to hear the ai chatter)

    the pre-recorded chatter has nothing to do with the ai around you, and can be turned off or on, as you like

  5. last monday, i sent an email to the email address on record of all registered users of radar contact. it was an invitation to join a google group, which will be the primary mechanism of communications about how to upgrade to V4, and other special news

    if you did not receive it, check your junk mail folder. if you still don't see it, contact me (jd@jdtllc.com) or rick (rick@jdtllc.com) about updating your email address.

    thanks

    jd

  6. Press Release

    JDT LLC Announces Radar Contact Version 4 will begin shipping December 10, 2005.

    Flight Simulator will now have the best ATC at every airport, every hour, every day.

    Memphis, TN, November 11 2005: John Dekker and Doug Thompson report that Radar Contact Version 4 has been released to manufacturing, with an expected general availability of December 10, 2005. Radar Contact, a highly successful Flight Simulator ATC add-on, provides a realistic experience to Flight Simulator enthusiasts, wherever and whenever they fly.

    Version 4 offers:

    · Interaction with traffic on the ground and in the air around you. Realistic chatter to and from the traffic.

    · Internationalization – which means realistic Transition Altitude/Transition Level, proper phraseology outside the United States, more accurate ATC procedures.

    · Enroute holds now tied to arrival weather.

    · Support for pilot's discretion (PD) descent clearance from cruise to allow descents that are better aligned with those calculated by FMCs/CDUs.

    · Centers accurately divided into real world sectors.

    · More pilots, more controllers, 109 popular airport names recorded, over 700 carrier names recorded, all center names recorded, all aircraft types recorded.

    · More realistic crossing restrictions based on runway in use. Runways chosen based on AI activity.

    · More efficient arrival vectors.

    More information available at http://www.jdtllc.com

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.