• 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 Problem with objects along a road

Walter Almaraz

Resource contributor
Messages
56
Country
bolivia
Hello Arno,

I have a problem when I create XML objects along a road, the code is fine but for some reason is creating a long line in Russia and when I check the SHP file in Qgis and uDig the line isn't there.

Khv3nij.jpg


wGn4OWU.jpg


K3hbbas.jpg


Code:
#ScenProc code

ImportOGR|E:\OSM DATA\Europe\russia.shp|*|highway|NOREPROJ

LineToPoint|FTYPE="LINE" And highway="residential"|CONTINUOUS|150|5|0|String;type|light11|hdg

CreateXMLLibObj|type="light11"|{70521421-1e53-4d02-bf23-4ea6fe164ce3}|hdg|0|0|NOAUTOGENSUPPRESSION|NOCRASH

EXPORTBGL|P3D v4|LA_RUSSIA_5|E:\OSM Final\Europe\scenery|KEEPXML

I included the files if you need them. https://drive.google.com/file/d/1H0elxYn-mbbyBdHA-IL4cR9Y4oRlenp1/view?usp=sharing

Regards,
Walter
 
Hi,

Let me see if I can reproduce something with your files.
 
Hi Walter,

Those extra lights are indeed coming from your BGL files.

But it is very hard for me to try to reproduce why, since your area is huge with the whole of Russia.

One thing I notice though is that you use CONTINUOUS mode instead of SINGLE mode when placing the points along the line. Is that on purpose? You should not need the CONTINUOUS mode in general for placing lights.
 
Hi Arno,

Thanks for your reply, actually I tried to check the BGL in model converter and indeed it's very hard to open it. I use continuous because I saw your your example in the document, I saw other options too when I read the document but honestly I forgot them, I think I need to experiment a little more. I'll see if I using SINGLE mode fixes my issue.

Update

I compiled using SINGLE mode and it worked, that line is gone! Incredible, thank you very much Arno.
 
Last edited:
Glad to hear it's working now. Might be a bug in the CONTINUOUS function. That one is indeed for objects that should form a continuous line, like a fence or barrier.
 
Back
Top