• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Chrono record

Messages
11
Country
canada
Hi,

Do you think it's possible to keep the time (Red Bull Air Race mission) in a file when the mission is finish via a C++ soft (if you have an idea for the code, thanks ;) )?

The project could be a Race FSx project. Everybody could send to a server the result and compare with other pilot. What do you think? :o

CU

Livai
 
Timing?

Absolutely...One of the few things that the SimConnect is actually good at :P

In fact? I recorded a Stunt Flight for Demo, the saving Grace was that it would repeat over and over till I decided to land. LOL

I do not think that any other Pilot could do that ;)

FlapsOut
 
Last edited:
Race Timer

Hi livai,

Your question interested me, but I know nothing about Missions, but your post caused me to print out the Manual and start reading it.

Say, do you know how to create and/or edit Missions?

I think if you placed a CustomAction at the point where the race began, and then either a CustomAction or an EndOfMission Action at where the race ended? Then, I could create a program that catches the first CustomAction, starts a timer, then catches the 2nd CustomAction (or the EndOfMission) and then stop the timer and display and/or transmit the results.

I think a program like that could even be made generic, by perhaps a user entering two GUID ids, representing the start and stop points. So, then it would work for any Mission type race.

Problem seems to be that SimConnect only notifies on a 'Custom' or 'EoF' Event.

I tried grabbing just any Action GUID, but no luck so far. It has to be a 'Custom' Action, I think...still reading.

Just an idea,
Flaps
 
hi flapsout,

Sorry for the delay.
Well i'm a low level programmer in C++.

The goal is to create a soft (opensource if possible) to give a chance for anybody to create a VA Race with this soft. I think a start and end (with the time) mission is perfect.

If you have an idea to start programing, don't hesitate to share ;)

CU

Livai
 
Hi all,

I really enjoy the idea... In fact, make air races open is for me the best way to give a chance to the community for injecting enthusiasm into it for FS.

I designed (with gmax) air gates like the one used in Red Bull Air Races (please see http://bravo-mike-tango.over-blog.fr/ - written in french). I have made a little scenery (Monument Valley - just the different gates), and I'm preparing a kit with mdl/xml/bmp for the community. Just my little contribution.

The hardest thing to do, is the software... By FSCopilot (http://www.mcdu.com), you can monitor the variables like : heading, ground altitude, pitch, and roll, and all parameters you need to validate the gates passages!!! But like Livai, my knowledge in VisualBasic is very poor...

It will be very fantastic to see something growing from this post... I hope that will happened...
 
What I was able to do?

I was able to end the Timer on Tutorial 2, on Mission End...which worked ok...

I was unable to determine when to start the timer based on any GUID ID in Tutorial 2. I am unable to create a Custom-Mission GUID, cause I know nothing about 'Missions'. And? I see by other posts, that even were I to create a Custom-Mission and it's associated GUID, that I could still not intercept it and start a timer, see?

We need a good Mission Person and let's look again, cause I'm not ready to give up yet! ;)

I think on this topic? We're 'pushing-the-envelope' and it still may well work...

Flaps
 
Last edited:
Hi Flaps,

Because i don't have FSX (so don't have Simconnect) i don't work on creating mission for FSX.
At the moment, i try to learn Visual Basic and try to make a program for FS9/FSX by using FSCopilot.
I break my project up in several parts :
- validation of a gate way (with latitude/longitude/heading/pitch/bank/ground altitude)
- loading of new parameters for the next gate (after a gate way)
- loading parameters (gate, position, heading, altitude, ...) coming from an xml file
- Start/stop function for the chronometer
- Mission validation detection like, landed with fuel on an airport

As you can see, my project is similar to yours but i don't work on the same activeX, or dll or what ever...
Hoping livai will be able to help you!!!
In all cases, i stay tuned on this post...
Bye.
 
Race Timer

Say Livai?

I think BMT gave me a good idea.

I've been approaching the timer from the wrong direction.

Give me a couple days to work on this.

I think we may be able to make something more generic.
By that I mean a timer(s) for any race/mission. :)

Then? We'll tackle the posting of everyones time. :p

Flaps
 
Hi Flaps,

I was very happy to read your last post...
Don't hesitate to contact me. If I can help you, I will be very happy...
 
Yes it is!!! I know that's possible. Nouls (staff member of your VA - please correct me if i make a mistake) has done it probably by using FScopilot... and because i had the opportunity to try it, i could say that is really a good program... but it's not open source as i suppose. If it is, just tell us!
 
Too Be Clear...

BMT?

You mean a way of posting on some server, the actual times?

Sort of an 'Official Server'?

Thanks,
Flaps
 
Hi Flaps :)
Yes... The ultimate aim is that the race time is sent to a sql database where all pilots results will be registered (like condor races)... but for the moment, i plan to use the database just too download the race track...
I'm currently trying to create a SQLServeur database and to put the code to be able to download the race track.

Because I'm answering you, i just want to say that i have started to develop this software with FSCopilot... If we are working on the same project, or a similar project, it will be a good idea to "exchange" our work... If you are interested in it, e-mail me...
 
Scoring something like a RED BULL event is far more than just getting the start and end times.

You will also need to judge that the aircraft flew the correct course, and flew through the gates correctly, - correct Height, Horizontal or on Edge etc etc.

You would therefore have to know the position and orientation of each gate, and be able to track the position of the aircraft, and determine its score at each gate.

All "do-able", but not in 5 minutes. You will probably have to contsruct an Invisible 3D "Box" at each gate, that will JUDGE the passage of the aircarft through that box.

A case of "Thinking INSIDE the Box" ( Mike !!!)

Geoff_D
 
Hi Geoff_D,

Sorry, but i didn't not understand why you replied me this : :confused:
Geoff_D said:
Scoring something like a RED BULL event is far more than just getting the start and end times.

You will also need to judge that the aircraft flew the correct course, and flew through the gates correctly, - correct Height, Horizontal or on Edge etc etc.

You would therefore have to know the position and orientation of each gate, and be able to track the position of the aircraft, and determine its score at each gate.

All "do-able", but not in 5 minutes. You will probably have to contsruct an Invisible 3D "Box" at each gate, that will JUDGE the passage of the aircarft through that box.

A case of "Thinking INSIDE the Box" ( Mike !!!)

That's exactly what the soft will be able to control :
- heading of the plane versus heading of the gate
- pitch of the plane versus pitch allowed
- bank of the plane versus bank allowed
- altitude of the plane (from the ground) versus altitude allowed
- gforce of the plane versus gforces allowed
etc...

That's right that it takes more than 5 minutes, but, for sure, believe me, I'm going to create this kind of box and for the moment, it works well even if I've to learn Visual Basic at the same time! ;)
 
Hi BMT

Geoff_D is an old, old, old (yeah! he's Old!) friend of mine from the MSN days.

And, he is just taking the Mickey with me (fooling with me) ;)

Ignore him, unless he has something serious to say, because usually? He does!

He is very, very knowledgable about Microsoft Flight Sim Development, but he is also very, very critical of them. :)

I take a more half-measured point. I take the Lemons that I am given and try to make Lemonade! :D

Geoff_D believes that Microsoft is totally responsible for ANY failure of ANYTHING they do...and he is out to make them feel Our Pain...

But, do not count his opinion out! I like to hear what he has to say, I just cannot or will not always comply solely based on his opinion. :)

And? Bear in mind that there are many here, that know sneaky stuff to by-pass the Microsoft (FSX-teams) obstructions...There is more than One-Way to Skin a Cat. :)

And? Geoff-D knows lots of em! :D

Thanks,
Flaps
(Mike)
 
Last edited:
Back
Top