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

FSX Conditional textures

Messages
458
Question: For taxilights which are attachpoints is there any option in MCX which could conditionally turn off the attachpoint during day and only have them on at other times of the day?

Shez
 
Hi,

Do you mean attached effects? These can have conditions applied to them indeed.
 
Hi,

Do you mean attached effects? These can have conditions applied to them indeed.

Yes attached effects. It is a taxilight but am not getting it work for the DAY condition i.e. the effect shows up during the day.

Shez
 
Hi Shez,

take a look at this post:
http://fsdeveloper.com/forum/showthread.php?t=137302&highlight=effect+condition+night

Arno has probably got the answer in his message:
"Normally if you want to control the visibility you need to place the effect twice. Once with DAY/NIGHT condition and once with DUSK/DAWN condition."

Hope that helps
Jörg

No joy. In fact the condition is not working at all.

Here is what I did,

1) Exported the object from GMAX FS2002
2) Imported into MCX
3) Opened the attachment editor and attached the fx file once with the day/night then the dusk/dawn leaving all other parameters unchanged
4) Exported to FS BGL

The light effect is on all the time...even if I change the night parameter to off it has no effect.

Shez
 
If you are in Fsx, you only need to place twice the same effect, and tag those as day=0,night1;dusk=1.dawn=1. and will work.
 
I made a platform and a box, attached an effect and exported. Opened in MCX and opened the attachment editor and duplicated the entry to have both the day/night and dusk/dawn entries included. Exported to FSX, the day time effect is still showing.

Shez
 
Hi,

Maybe you can attach your mdl for us to look at?
 
Hello:

You may wish to instead attach a "Controller" type of Effect (*.Fx) file to the MDL, then edit display parameters in that controller file rather than a "Basic" type of Effect file. :idea:

The attached Controller type *.Fx file may then "call" either another intermediate linked Controller type (sort of like a "Batch file"), or a linked "Basic" type of Effect file which would allow better manipulation of desired display parameters via edits done in NotePad (saved with a *.Fx file extension), FSX SDK Visual Effects Editor, or Arno's "FXEditor".


BTW: "Controller" and "Basic" are 'relative' terms I use for convenience of reference and perhaps for greater ease of learning / implementation of functionality when discussing *.FX files, as apparently one actually can put all necessary types of controls and feature parameters inside a single properly structured Effect *.Fx file... as Dick Ludowise has previously show in a thread here.


There are also some 'obscure' *.Fx file parameter edits as to Effect numeric "Type" which may play a role in whether / how / when an Effect will display; a search of FSDeveloper using "Effect" and "display" as query strings may yield a number of informative posts on that topic.

CAVEAT: All *.Fx files intended to be used including those recently edited, must be placed in the [FS install path]\Effects folder (along with any required Effect textures in the [FS install path]\Effects\Texture sub-folder) PRIOR to re-starting FS, as FS only reads the Effect folder chain initially during start-up.

Changes made to Effects and their mapped textures during FS run time will not be seen at run time ...unless FS is either re-started, or display is made possible via special utilities such as FSX SDK Visual Effects editor, or Arno's "FxEditor".


PS: This post and associated thread may be interesting as well:

http://www.fsdeveloper.com/forum/showpost.php?p=4552&postcount=28


Hope this helps ! :)

GaryGB
 
Last edited:
Hello:

You may also wish to instead attach a "Controller" type of Effect (*.Fx) file to the MDL, then edit display parameters in that controller file rather than a "Basic" type of Effect file. :idea:

The attached Controller type *.Fx file may then "call" either another intermediate linked Controller type (sort of like a "Batch file"), or a linked "Basic" type of Effect file which would allow better manipulation of desired display parameters via simple text edits in NotePad (saved with a *.Fx file extension), FSX SDK Visual Effects Editor, or Arno's "FXEditor".


BTW: "Controller" and "Basic" are 'relative' terms I use for convenience of reference and perhaps for greater ease of learning / implementation of functionality when discussing *.FX files, as apparently one actually can put all necessary types of controls and feature parameters inside a single properly structured Effect *.Fx file... as Dick Ludowise has previously show in a thread here.


There are also some 'obscure' *.Fx file parameter edits as to Effect numeric "Type" which may play a role in whether / how / when an Effect will display; a search of FSDeveloper using "Effect" and "display" as query strings may yield a number of informative posts on that topic.

CAVEAT: All *.Fx files intended to be used including those recently edited, must be placed in the [FS install path]\Effects folder (along with any required Effect textures in the [FS install path]\Effects\Texture sub-folder) PRIOR to re-starting FS, as FS only reads the Effect folder chain initially during start-up.

Changes made to Effects and their mapped textures during FS run time will not be seen at run time ...unless FS is either re-started, or display is made possible via special utilities such as FSX SDK Visual Effects editor, or Arno's "FxEditor".


PS: This post and associated thread may be interesting as well:

http://www.fsdeveloper.com/forum/showpost.php?p=4552&postcount=28


Hope this helps ! :)

GaryGB

Gary,

That looks like a very interesting idea. Will try that out and see if it works.

Thanks.

Regards

Shez
 
Back
Top