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

AI Nav Lights

Messages
99
Country
unitedstates
I have been working on a problem most the weekend, and I ran out of ideas. I was just about posted a message here to see if someone could help. Then I came up with something that worked. So I no longer have a question, but decided to post a solution :)

I am working on a military type mission, and I want to turn the Nav lights off on an AI plane at night. I can find no controls for this. I have modified the skin on an aircraft for this mission, so I decided I would create another duplicate with no lights. I did this by removing the light effects in the airplane cfg file. When it reaches the waypoint I want the lights off, I turn off the plane with the lights, and turn on another plane without lights. It didn't work :) Using an Object Activiation Action (False) makes the plane disapear, but the lights and sound do not! I could deal with the plane that disapears, then reapears in the dark, but I need to return to this waypoint and I didn't want the UFO lights in the sky.

Over the past week, I learned how to modify some effects, and a little about aircraft. I solved the problem by creating a Nav Light that turns off after a set time. Then I modified the aircraft cfg file to use these modified Nav Lights. It works!

Now all I have to figure out how to turn them back on for the return trip :)

Gunner
 
That is an interesting solution indeed.

But I'm sure if you deactivate an object the attached effect will also disappear.

I think there could be even another way for this: If you save the FLT when the mission has started there will be entries for all mission-generated AI in the FLT-file. Maybe you can set the navlights to false there. Didn't try it yet but maybe worth a shot. ;)
 
I thought the effects would stop also. This mission will be a historic WW2 flight, and you fly close to the AI aircraft. When they deactivate, the lights just stop, and you hear the engine noise when you pass the lights. To be honest, I would bet no one ever noticed this since it is not typical to fly that close to other aircraft at night :)

I need the navigation lights on for the first leg, then they need to turn off and run blacked-out. The modified timer nav light seem to work well, the AI fly the route close to the same timing each flight. Exact timing is not critical, they just need to go off.

This mission will come with two aircraft variations, one flyable, one not flyable (AI version), and a few new effects. So, I may as well add a few more effects. It has been a learning experiance :)

Thanks for the tip, I will check that out!
 
Back
Top