• 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 LUA script based groundpolys missing after installing scenery on other PC...

Messages
884
Country
germany
Hi,

just do the final tests with my RAF Brüggen scenery and now I noticed that after installing the scenery on another PC, all seasonal groundpolys are black!

Sim is also a P3Dv4 and all other objects and textures appear well. It is just the seasonal ground polys which are missing which I created with MCX 1.5 and added seasons. On my main PC everything works fine.
All installed files on the other PC are completely identical to the original scenery and I can't figure out where the problem is. Only that the culprit seems to be the lua files.
I deleted the shaders meanwhile but again all lua polys stay black...

Each helping hand is much appreciated...
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,859
Country
netherlands
Hi,

Have the LUA scripts been placed in the main scripts folder or if you scenery has its own scripts folder has that been loaded via an add-on.xml file?
 
Messages
884
Country
germany
Thank you very much for response, Arno.
No, I let MCX create the lua files and then I copy and paste them directly into the P3D main scripts folder. It is P3Dv4.5 on my main PC.
That works fine and I create the release package of RAF Brüggen.
This done, I installed the package on my other PC (less power to see how it performs...) which is P3Dv4.2. I updated the FSUIPC version there to the latest version of my main PC.

All other files work without any restrictions and the preformance is okay. Only things missing are the groundpolys which were done by MCX 1.5 using the seasonal textures option.
So my question is: Why does it work fine on my main PC but not on the other?
BTW I have no response about any similar issue by my BETA testers so far who have different versions of P3D (v4 upwards...). I don't know why my second PC does not show up these seasonal ground polys....
 
Messages
884
Country
germany
Okay, although all lua scripts are inside the P3D default scripts folder, my P3Dv4.2 seems not to be able to find my luas which I copied into it....
When I choose "P3Dv4" inside MCX, it normally should work for all 4.* versions, innit?
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,859
Country
netherlands
It might be that the day of the year variable is only accessible since P3D 4.4, I can't remember.
 
Messages
884
Country
germany
Hm - I always ticked "P3Dv4"in MCX ground poly and all seasons work fine with this option. Otherwise, for correct working only since version 4.4, ticking "P3Dv4" should show issues, innit?
So for better understanding if you are right, would all versions below 4.4 not be able to read the lua files?
If so, how could I change them to be readable for earlier versions?
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,859
Country
netherlands
Hi,

I did try to search around a bit, but I can't find the information anymore. Might also be I'm confused and that these variables are supported since P3D v4.
 
Messages
267
Country
germany
Hi Manfred,

if there is the entry "Material Season Example.lua" in the script folder of your P3Dv4, then you should be able to control the seasons textures via a LUA script.
 
Top