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

Fx compiling problem

Messages
161
Country
iceland
Hi.

FSX
FSDS 3.5.1
FSX gamepack


I am making landling lights with 5 fx lights on each bar (Light_0012_1). When I compile the object I get this error message:

OutputFile: _temp.MDL
Output file after modification: _temp.MDL
Creating output MDL file: _temp.MDL
CRASHTREE no granularity specified
CRASHTREE completed in 00:00:00.1640520
(0): error : XToMdl.exe Unhandled Application Exception
(0): error : System.Exception: Duplicated FileLabels found with name: RIFF-MDLD-REFL-REFPLight_0012_1-end

(0): error : at Microsoft.FlightSimulator.XmlToMdlLib.FileExporter.ResolveReferences()

(0): error : at Microsoft.FlightSimulator.XmlToMdlLib.XmlToMdlLib.Process(Guid& ModelGuid)

(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.ProcessInputs()

(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.RealMain(String[] args)

(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.Main(String[] args)
(0): error :
(0): error : Duplicated FileLabels found with name: RIFF-MDLD-REFL-REFPLight_0012_1-end
(0): error :
(0): error : Stack Trace:
(0): error : at Microsoft.FlightSimulator.XmlToMdlLib.FileExporter.ResolveReferences()

(0): error : at Microsoft.FlightSimulator.XmlToMdlLib.XmlToMdlLib.Process(Guid& ModelGuid)

(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.ProcessInputs()

(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.RealMain(String[] args)

(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.Main(String[] args)


According to this message there are duplicated filelabels found in Light_0012_1. The polygons are named Light_0012_1.1, Light_0012_1.2 ... Light_0012_1.5 and I can not see any duplications in that. Does anyone know if and how I can work my way around this?
 
Hi Kjartan

You can use the same effect as many times as you like BUT you have to make a new blurb in the “PartDataDefs.txt”

You need to copy this line then change the number to 13 and 14 and 15 or thre last number in you copy of the “PartDataDefs.txt”


Light_0012_1 <?xml version="1.0" encoding="ISO-8859-1" ?> <FSMakeMdlData version="9.0"> <Attachpoint name="Light_0012_1"> <AttachedObject> <Effect effectName="fx_navwhih.fx" effectParams=""/> </AttachedObject> </Attachpoint> <Visibility name="general_light"> </Visibility> </FSMakeMdlData>

Light_0013_1 <?xml version="1.0" encoding="ISO-8859-1" ?> <FSMakeMdlData version="9.0"> <Attachpoint name="Light_0013_1"> <AttachedObject> <Effect effectName="fx_navwhih.fx" effectParams=""/> </AttachedObject> </Attachpoint> <Visibility name="general_light"> </Visibility> </FSMakeMdlData>

H_Farfy:D
 
Hi Kjartan

I made a little file for you to look at. If you make a BGL with this, the object will be at KSEA
I am sending the FSC file so you can see it in FSDS.
I am also sending my “PartDataDefs.txt” files to look at.

Make sure that you make back up copy of your “PartDataDefs.txt” file before you put in mine so that you can go back to your is you do not like mine.


H_Farfy:D:D
 
Last edited:
The lights work now! The reason for it did not work in the first place seem to be the lack of space between Light_0012_1 and the next <?xml version="1.0" as strange as it seem to be :) Thank you very much Farfy!
 
Hi,
I always put a SPACE then a TAB between the name of my effect and the begenning of the XML tag (<). I dont know why it OK but its always work.
 
Back
Top