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

P3D v4 Refresh Effect-Files (FX-Files)

Christian Bahr

Resource contributor
Messages
951
Country
germany
I am somewhat sure that the problem has been discussed more than once here. But maybe there is a solution for it now.

It's about the FX files, also called Effect files. Currently I am working on taillights and headlights for a Porsche Carrera GT and would like to attach dynamic lights there. That works quite well:

2019-9-29_15-38-11-762.jpg

Porsche Carrera GT with attached dynamic lights for Headlights and Taillights


Now I would also like to add a small dynamic light on the license plate, so that the light of the license plate illuminated by a dynamic light. So far this is simulated over a night texture (Night Map):

2019-9-29_15-42-9-672.jpg

The illumination of the license plate is simulated so far via a night texture


The problem is that I have to restart the P3D every little change to the corresponding FX file, which takes about 20 seconds. So I get on very slowly and annoying tur it also. Of course, I know the FX tool from the SDK, but it does not get me any further, as I have to "read" the change directly to the Porsche. Also, the reloading of the Porsche on the key assignment "Reload User Object" or the key assignment "Refreh Scenery" does not work for me.

So my question: Can I refresh FX files during the runtime of the P3D?
 

=rk=

Resource contributor
Messages
4,450
Country
us-washington
Effects are only loaded once, so far as I know, unless you create new ones using fxtool. You can edit and rename, edit your model to call the newly edited effect and reload that, if it's any faster for you. That was my work around for developing specific effects, like this "sandstorm." It was modified from one of the default aurora effects.

4EQLp3b.jpg
 

Christian Bahr

Resource contributor
Messages
951
Country
germany
Hi Rick!

It took a moment before I understood what you meant :confused:

But it works, I would never have come to that.

Have made several copies of the effect file with consecutive number and made each small changes to the copies and reloaded the Porsche with the changed effect name and effect values with "Refresh User Object" :)

p3dv4_porsche_effect_files_refresh.jpg


Will now continue with the cockpit lighting and then edit the license plate:wizard:

Thank you so far, your very valuable tip respectively your work around were very helpful and saves me a lot of time!
 

Christian Bahr

Resource contributor
Messages
951
Country
germany
Completing and late at night I would like to inform only briefly about the success of the illumination of the license plate by a dynamic light. With the help of Rick, I was able to reduce the time needed to place and modify the license plate lights on the Porsche Carrera GT to a minimum:

2019-9-30_0-8-20-133.jpg


The effect is that only the license plate is illuminated, not the ground or other parts of the vehicle.

Many thanks Rick for your tip!




PS: The next step will be to control the backlight via a LUA script, so you can turn on/off the Night Map in combination with the Navigation Light switch.
 
Last edited:

=rk=

Resource contributor
Messages
4,450
Country
us-washington
________
| |
| o o|
|________|_____||_
| _____|_ |
| |
| |
|________|
| | | |
| | | |
|__| |__|

Glad to help.
 
Top