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

MSFS20 Worldscript for ships

Messages
688
Country
ca-quebec
My ship collection, programmed using AIBTC, no longer appears in FS24, and in FS20 the ships are no longer dockable.

So, I decided to convert my collection to WorldScript programming, thanks to advice from superspud and mordak.

I managed to convert one ship, which now sails on the same route as it did under AIBTC.

For now, I'm developing with the FS20 SDK and I'll adapt it for FS24 later.

However, I don't know how to start the script at a specific time so that the ship passes a given point at a specific time (as it did under AIBTC).
Does anyone have any suggestions?

Thanks.
 
That's an interesting question! Is it possible or not?
I mean, if there were a "randomness parameter" in the worldscript, then the objects (ships/vehicles) wouldn't always start in the same place :)
 
Regardless of the ship's route, it will begin its journey wherever I place the worldscript in the sim. For example, if I place the worldscript 5 miles from the first waypoint of the route, the ship will start the script at that point, then proceed to that first waypoint and continue to the subsequent waypoints, as programmed in the worldscript. So, I have pretty much any control over the starting point.

My problem here isn't the starting point, but rather the departure time. That's what I can't manage. In FSX, you could specify the departure time, so the ship would always pass through a precise location at the same time. But not in FS20...

This was very practical and realistic, for example, in the case of a supply ship that makes the same route every week (e.g., the Bella Desgagnés on the Lower North Shore of Quebec); you know roughly when it will arrive at a particular location. Ships usually follow a fairly regular schedule. It would be interesting to be able to do that in FS20.

I'll try to take a look at the flight paths for aircraft to see which parameter controls departure, if there is one.
 
Bonjour JPL
Avec cet aide tu devrais réussir. Tu n'a qu'a poser tes propres questions et il les codera pour toi et cela dans n'importe quel langage. (.XML, C++, Python, FRANCAIS, JAPONAIS, ect.) Bonne chance !
 

Attachments

  • World Script Ship (AI Reponse)-01.jpg
    World Script Ship (AI Reponse)-01.jpg
    650.7 KB · Views: 4
Back
Top