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

IFINBOXP and effects

Messages
30
Country
greece
Hi everybody,

I 've attached a few effects on boxes with "effectboxwriter.ms" in Gmax... the result in FS9 was exactly what I was expecting, but... when I tried to add a few lines of code in my *_0.asm file it was impossible to manipulate it... I 've tried the same code in other *_0.asm files and it worked correctly... have you any idea why it doesn't work with attached effects?
One more question... parameters in IFINBOXP command are in meters?.. and if yes, or even not, what is the maximum amount it can get?..

Thanks in advance...
 

Attachments

Hi,

The parameters are in RefPoint units. For FS2004 objects these are equivalent to 0.5 meter if my memory is correct.

About the effects. I assume you put your code in the BGL section of the ASM file. That does not allow you to add conditions to effects. Actually, that is not possible at all. Except from the normal parameters you can use when placing the effects.
 
Hi,

I 've made some distance tests, placing my object on GAR-VOR(108.80) coordinates, and I 've concluded that units in IFINBOXP command are in meters... giving 10000 m for XY, object dissapears after 5.4 NM and giving 3048 m for Z it dissapears after 10000 ft...
... the point that we cannot control them by tweaking ASM is a pitty... is there any other way?.. like triggering them from the cockpit with a gauge?...
 
Hi,

The only option I think is to made the transformation matrix that is used for them conditional. The second matrix should then have a scale of zero. But this is something I never tried if it really works.
 
Hi,

I gave a try, but I am not so sure that I understood what exactly you proposed... maybe you could try that once in the future and give us an example if it works... finaly, I made all my RWY lights with LIGHT_NAV and LIGHT_STROBE material name and by adding the piece of code I managed to have quite the same result...:whiteflag
Thank you Arno... and please don't forget to check it out in the future!!!..
 
Back
Top