• 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 Spot light MDL file re-read

Messages
482
Country
hungary
Hi Arno!


Is it possible that when I load an mdl with MCX which contains spot lights, that all spot light parameters are available again? Because so far if I load such an mdl I see it only as an attached effect.
2nd question: If I place multiple spot light to a single mdl, is is possible to merge these effect into a single fx file?

Thanks a lot!
 
Hi,

Yes, you need to set the "replace effects by lights" option to true in the importer settings.

Each FX file defines on type of lights, I don't think you can merge different types in one file. So if you use the same light type you will get one effect. Else you will get multiple.
 
Thanks Arno for your reply.

Basically I want to outfit a huge pylon with 4 lights (or 3). Each light has a different orientation, but the lights other paramaters (position, intensity, cone angle etc) are the same, but for each light a different effect file is created. Is it normal?

Other question: If I want to place the 4 lights to the same position but to distribute them around the 360 degrees (each corner should be lid by a light), with a 45 degrees facing down angle. To achieve this, why do I have to mix pitch and roll? I show you how I could manage it in MCX:

Heading, pitch, roll:
(0.00; 0.00; -45.00)
(-90.00; 45.00; 0.00)
(-180.00; 0.00; 45.00)
(90.00; -45.00; 0.00)

Maybe it is not a bug but my misunderstanding of the orientation angles. To be honest the best would be if the orientation manipulation would work exactly the same way as in 3DSMax XYZ axis. In each cases I construct the lights in 3DS Max and it would be nice to simply copy the rotation settings.
 
Hi,

No, if only the position or orientation is different and all other parameters are the same you should only get one FX file.

I see what you mean with the confusing orientations. Not sure why that happens actually. Maybe it would be more logical to just give the orientation along the xyz axis and don't bother which one is heading, pitch or roll.
 
Hi,

Yes, you need to set the "replace effects by lights" option to true in the importer settings.

Each FX file defines on type of lights, I don't think you can merge different types in one file. So if you use the same light type you will get one effect. Else you will get multiple.

Arno I do this but it will not display the spot light when I load the model into MCX.
 
If you look in the Attached Object Editor do you see the spot light there?
 
Hi,

Actually yesterday I started working on the feature request to also show the spot lights directly from the FX file. That was largely implemented already, I only had a fix a few bugs. That will be in the next development release and might also help with your issue.
 
If you look in the Attached Object Editor do you see the spot light there?

Yes sir, it is there as an attached object. I can see the basic positional attributes for it, but not the effect parameters as when you initially create it.
 
Hi,

Actually yesterday I started working on the feature request to also show the spot lights directly from the FX file. That was largely implemented already, I only had a fix a few bugs. That will be in the next development release and might also help with your issue.

Ok, I had seen this thread and thought it was already implemented. I will try it again after implementation. Thanks!
 
Yes sir, it is there as an attached object. I can see the basic positional attributes for it, but not the effect parameters as when you initially create it.

If you just see the effect, but not a spot light with all attributes, then the effect name probably does not match the MCX naming convention. That is required to be able to convert back from effect to a spotlight.

But with the changes I made today (and will be in the next development release), the spot should be rendered any way.
 
Back
Top