Jump to content
The simFlight Network Forums

Armando Chibante

Members
  • Posts

    25
  • Joined

  • Last visited

Posts posted by Armando Chibante

  1. Hi Pete,

    I've been trying to understand the key trapping process with FSUIPC, but I don't (sorry). What I want is to detect a certain keyboard sequence within FS (let's say CTRL+SHIFT+T) and then do something in my program (external program, written in VB). Is it possible? or am I confusing with Hotkeys, which seems to me, are only used to work with FS Controls.

    Thanks in advance for your time.

    Armando Chibante

  2. Hi,

    in my opinion:

    --------------------------------------------------------

    Private Sub Timer1_Timer()

    Dim ISpeed As Long

    Dim dwResult As Long

    If FSUIPC_Read(&H2BC, 4, VarPtr(ISpeed), dwResult) Then

    If FSUIPC_Process(dwResult) Then

    IASpeed.Caption = Format(ISpeed/128,"0")

    End If

    End If

    End Sub

    --------------------------------------------------------

    Bye bye

    Armando chibante

  3. I emailed Lee Swordy posting my question and as soon as I get an answer, I'll share it with you guys.

    I already have the document from Winfried Orthmann that Ian Box suggested and I'm studying it; it seems to have the information I need, but I need to check it against FS2002 too.

    Thank you all for all the suggestions.

    Best regards

    Armando Chibante

  4. Thank you Pete,

    Doesn't TTools give you that? AFCAD displays them with their orientation, so I assume it must.

    Yes indeed, AFCAD does it, but the files extracted with TTools only gives airport information; there must be a way to get parking information as well as other facilities information from the BGL files.

    I'm going to search on other forums.

    Thanks again Pete

    Regards

    Armando Chibnate

  5. Hi Pete,

    I suppose this isn't the correct place to post this question, but maybe there's someone who can give me a clue:

    I would like to know how to get the list of parking areas for a given airport.

    I know I can use TTools to extract the airports information, but I need the list of parkings with coordinates and heading for each one.

    Any help will be apreciated.

    Best regards

    Armando Chibante

  6. Hi Wim,

    the solution is associated with two main factors:

    - with FSUIPC you can load a flight;

    - you can open a flight with a text editor and examine its contents;

    By examining a flight, you find several sections, but the most important for the moment is one called [Plane.0] with something like this:

    [Plane.0]

    Aircraft=Beech Baron 58

    If you create a file with only those lines and with a different a/c, when you load the flight it will change the a/c without changing anything else.

    With this in mind, with your programing language, you can create a temporary file on disk, write those lines to the file, load the flight (aircraft) and then delete the file.

    I use this on a program with a big timetable and aircrafts associated wih each flight; after choosing the flight, the user doubleclick the aircraft and load it.

    I'm using VB6; if i can help in anything else...

    Best regards

    Armando Chibante

×
×
  • 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.