Jump to content

caKus

Frozen-Inactivity
  • Content Count

    9
  • Donations

    $0.00 
  • Joined

  • Last visited

Everything posted by caKus

  1. Hi, You will have to decompile the bgl file (and if you love challenges, you are going to have a great time !). You can find some information about the file format here : http://www.fsdeveloper.com/wiki/index.php?title=BGL_file_format_%28FSX_airport%29 Personnaly, in a similar situation, I provided the airfield file (not the third party software) with my software. Patrick.
  2. The usual logic with simConnect is generally not to send a key but an event. For instance, if you want to turn on / off the AP Master, send an event AP_MASTER using the API SimConnect_TransmitClientEvent. You will find the list of events in the SDK documentation also samples. Patrick.
  3. Friedrich, As that as I know, there is no API in SimConnect that you can use to send a key stroke. What is possible is to detect (in your program) that a key was activated in FSX and to send back an event to fSX in order to trigger some process. You can find an example (C++) here : http://msdn.microsoft.com/en-us/library/cc730335.aspx Patrick.
  4. Hi, There is a utility program named MakeRunways that extract from FS different types of files containing data about airports and runways. You can find it the site http://www.schiratti.com/dowson.html So, you just have to read the file inside your C# program. Regards. Patrick.
  5. Hi Todd, You may try to reduce the MOI parameters (moment of inertia) in the aircraft.cfg. It will make the plane less stable. Patrick.
  6. Hello Dirk, I had a look at your code. The problem is in the instructions such asFSData.TransmitClientEvent(1, EVENT_ID.KEY_PAUSE_ON, 0, GROUP_ID.GROUP0, SIMCONNECT_EVENT_FLAG.DEFAULT); The 1 after the left parenthesis means that you send this event to the user object. PAUSE is not an event related to an object but to the simulator. Just replace the 1 by zero.FSData.TransmitClientEvent(0, EVENT_ID.KEY_PAUSE_ON, 0, GROUP_ID.GROUP0, SIMCONNECT_EVENT_FLAG.DEFAULT); I also noticed this instructionIntPtr Handle = (IntPtr)FindWindow(null, "Form1"); IMO, this is not a good practice. Actualy, I changed the name of the window to form1 in place of Cessna 172R because it was the name that appears in the window. It would be better to create the FSData object in the Form1.cs and pass it as an argument or a global variable. With these changes, it works fine. Patrick.
  7. Hi Dirk, I gave it a try, it worked perfectly. I used the sample from the SDK named InputEvent and changed one line :hr = SimConnect_MapClientEventToSimEvent(hSimConnect, EVENT_BRAKES, "pause_on"); It works also with pause_off and pause_toggle. Patrick.
  8. Hi Noel,In the FSX directory you will find two files : exe.xml and dll.xml. They contain the programs that are launched automatically by FSX.Open these files with the notepad. When you found your unwanted program, find the line <Disabled>False</Disabled>. Just change it in <Disabled>True.</Disabled>RegardsPatrick
  9. Hola Luis,have a look at FS Instructor http://fsinstructor.com/forum/index.phpI believe it does what you are looking for : select an airport, a runway, a distance and altitude : the program set the plance at this place for landing training.Saludos de Francia.Patrick/
×
×
  • Create New...