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

Worldscript with simobject distance

Messages
35
Hi!

Im interested to do a worldscript that a car will drive towards the parking, stop before the barrier and wait for the barrier to open then the car should pass.
How can I make this?
 
Last edited:
That'll be a worldscript indeed.

Something like that will be a bunch of programming at the top with the route at the bottom, presumably made up of geographic coordinates for there. You can also have worldscript routes that are coordinates from its points of origin and not geographic.

Mamu has you covered with the main points here -


There's a written description with example worldscripts covering broadly the same things in the 'for developers' bit in here, though it's focused on boats. - https://flightsim.to/file/27908/moving-boats-3d-model-library

And bit more specific to road vehicles in the developer section here - https://flightsim.to/file/68151/moving-vehicle-simobject-library

This tool will let you make a path on google maps and generate a worldscript with geographic route - https://flightsim.to/file/74405/msf...rth-path-guis-coordinates-unlimited-waypoints

The pausing and gate opening is not something I've looked into myself, but as a broad guess I assume you enter the programming/ action at the top of the xml, and then reference it again in the individual waypoint section where you want it to happen so look to see which of their GUIDs from the top is repeated again in the relevant waypoint section.

Then start breaking things and see what works.
 
Yeah I know about this script and I have my vehicles moving and all that stuff but I can't understand how is the rest done, what scripting language is used and stuff like that..It has something like SimMission

</SimMission.ExecuteListAction> <SimMission.ExecuteRPNAction id="RPNaction" InstanceId="{DF9306F4-189F-4D5F-AF33-921727381SCF}"> <RPNCode>100 (&gt;Z:ffaffa)</RPNCode>
 
Back
Top