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

Compiling question

Messages
187
Country
hungary
Hi everyone,

It's an easy question, i'm new in fs2004 gamepack. I found out that MakeMDL.exe (FS2004) only keep the asm files if i add "keep=1" to the makemdl.cfg because the MakeMDL window doesn't show up before compiling just for a second.

So now i tweaked the ASM files what i want but i don't know how can i make MDL and XML file from this? I tried with BGLC_9.exe but this is immidately make a BGL file. I need for the MDL and XML to add the correct coordinates etc, and after that i just want to compile it to BGL. Thanks!

Regards,
Peter
 
Ohh i realized. I have to use the "/mdl" parameter for BGLC.

My new is question about lights. I created a 3D taxilight with LIGHT_NAV material, i tweaked the ASM code and it works fine. I can place it in many place with the XML. I used this code for eaxmple:

Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<FSData version="9.0" xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:noNamespaceSchemaLocation="bglcomp.xsd">

	<SceneryObject lat="47 26.31" lon="19 13.71" alt="0" pitch="0" bank="0" heading="0" altitudeIsAgl="TRUE" imageComplexity="NORMAL">
		<LibraryObject name="703231FC4834FCBABC2E4BBA1BBAD5FA" scale="1.0" />
	</SceneryObject>
	<SceneryObject lat="47 26.36" lon="19 13.69" alt="0" pitch="0" bank="0" heading="0" altitudeIsAgl="TRUE" imageComplexity="NORMAL">
		<LibraryObject name="703231FC4834FCBABC2E4BBA1BBAD5FA" scale="1.0" />
	</SceneryObject>
	<ModelData name="703231FC4834FCBABC2E4BBA1BBAD5FA" sourceFile="3Dtaxi_light.mdl" />
</FSData>

In this case my lamp is visible at two place of course. My question that: with this code each light has an own reference point which is the coordinates? If its right how can i set the visibility distance? Thanks!
 
Hi,

lambda said:
In this case my lamp is visible at two place of course. My question that: with this code each light has an own reference point which is the coordinates? If its right how can i set the visibility distance? Thanks!

The reference point is indeed the 0,0 point in GMax and you place it at certain coordinates with the XML file. In the XML code it is not possible to set a visibility distance anymore, the scenery engine determines the maximum for you automatically. But if you use LODs or add a check on the distance, you can restrict that.
 
Hmmm thx.

I also tried to set the intensitiy, but i don't want to put two lights at the same place and i also would like to make lower intensity lights than default. One of the topic i read that increasing the scale in XML affect the intensity but it doesn't :( What is the best solution?
 
If you don't want two at the same place, just enter different coordinates in the XML file :D, I don't see the problem there.

For the intensity I don't really know, as I never tested that properly myself.
 
Back
Top