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

adding AIObjects

Messages
139
Ok, I've started playing with the mission builder.. er, six hours today so far!

I was having some great success with my trial mission until I added an AIObject.. a boat.

From there on... my sounds would not play.. I assume the triggers simply quit working.

Secondly, while the Boat shows up in object view when I add it.. it fails to appear in the mission. Anyone know whats up with this? It doesn't appear that I need to attach it to a trigger..
 
hmmm...

Ok, I del the boat from the XML and now the sounds work. So, either a bug here or definitely I am doing something wrong with adding AIObject..
 
You have to tell if the AI is an Aircraft or a ground object. Else it won't work. I assume that it's not only the sounds that don't play but the mission is just not loaded.
 
Ai

Thorsten, I assume you mean, in the case of a boat, setting AI for "wanderboat" or similar.. which I did... but it didn't work...
 
As stated in the SDK you can only use two kinds of AI: aircraft or groundobject. If it should fly use aircraft (:D), if it doesn't (like humans, cars, animals, boats,...) use groundobject. In any other case you'll get an error and the mission will not load (properly).
You can't even use Helis as AI-aircraft, they won't show up - unless you use them as groundobjects and use them as static objects.
 
objects

According to SDK there are four objects types for AI..

"AI objects are computer controlled vehicles. Four types of vehicle can be controlled by the AI (artificial intelligence) component of Flight Simulator:

1. Aircraft
2. Boats
3. Ground vehicles
4. Other

I chose boat as AIObject, then Wanderboat for AI as stated in SDK..

"One of: None, Airplane, Helicopter, WanderBoat, GoundVehicle, FuelTruck, BaggageCart, BaggageLoader, or AirportAmbient.
For ships on a course use GroundVehicle. For small boats on the sea or lakes use WanderBoat."

According to SDK there doesn't appear to be anything else needed?
 
Last edited:
What I meant is this:

AIType
One of: None, Airplane, Helicopter, WanderBoat, GoundVehicle, FuelTruck, BaggageCart, BaggageLoader, or AirportAmbient.
For ships on a course use GroundVehicle. For small boats on the sea or lakes use WanderBoat.
Only Airplane and GroundVehicle take objects that can be further specified.

As far as I can see this would mean that all others would appear as static objects. But you may prove me wrong. ;)
Well, let's take a look at the samples - Sitka for example uses some AI-ships. Don't have the time now to switch to fsx though.
 
samples

Duh.. good idea, don't know why I didn't think of it.. too problem focused. I'll look at some samples.. hmm.. any idea where the XML for the provided missions is located.. I've searched a bit its not obvious..
 
Last edited:
format

Most of the provided missions come in a compressed format... you have to use a special tool to uncompress the spb file..
 
In the Missions SDK folder there is a subfolder for examples of all of the default missions in XML format.
 
Back
Top