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

Headlight glare/beam

Messages
537
Country
canada
Hi, All

I don't know how to make a headlight for a plane. I can place effects suchs as the nav lights.

I have found a tutorial on how to do the headlight beam with two polygons with special names, linked, where the light is supposed to come from, but it is for the "old" gmax export, and the new one does not stop for Options.

I do NOT have MDL Commander yet (just heard about it). Is that what I am missing, so that I can click on the "have lights" option? (or whatever the option is)

Alternatively, if anyone knows of a tutorial on how to do aircraft headlights using the "new" gmax 1.2 gamepack, I'd appreciate.

Thanks!

Fern marquesfern@hotmail.com
 
Fern,

The method for building landing/taxi lights on flyable aircraft is the same for both FS2002 and FS2004.

The is NO has lights option.... there is a HASLIGHTMAP option for flyable aircraft. However, if textures are assigned properly in the material editor, there is no need to worry about checking this box during export. See page 6 of the GMax Materials.doc that comes with the MakeMdl SDK for a table that explains which texture is assigned to which map slot in the material editor.

Lou
 
gmax headlights

Hi,

1. Sorry, fellows, "has lights" is what came to mind at the time I was writing. What I meant was "haslightmap". I am sorry, as I know how important the proper names of things is when dealing with computer stuff.

2. I created a simple aeroplane and added the two triangle polygons in front of the wing, called them light_land_1 and light_land_1_1, linked the second to the first, created a material (colour only, almost white in Difuse and Ambient), called it light_land. This is what three tutorials say I should do.

3. I ran gmax 1.2 with the regular MakeMDL (the one that doesn't stop) and created the plane.

4. I used the MS Cessna 172 folder in both FS2004 and FS2002 (I never use FS2002 anymore) My test plane shows and flies, but the landing lights don't work. Nav lights work fine.

5. Having said that, I tried installing MDLCommander in my other computer (in case it was going to bomb gmax), and it makes the export stop so I can enter the "haslightmap" option, but it didn't work either.

So, what can I possibly be doing wrong, fellows? I verified the name of the texture (light_land), the names of the two triangles(light_land_1 and light_land_1_1), made sure they both had the light_land texture applied to them (second one is clone of the first), second linked to the first, purple arrow of the pivot pointing backwards and up a bit, but it just doesn't want to work.

Any more clues?

Thanks
 
Landing Lights

Hi, Lou

I realize that the method for building landing lights for FS2002 and FS2004 is probably the same, but the method using the old gmax export and the "new" gmax 1.2 with its MakeMDL are not. However, EVERYTHING I find about landing lights refers to the old gmax export, which I don't have anymore. Besides, I want to use the new one.

I went to the gmax Materials.doc you mentioned and it does say something, but it is written for someone who already knows how to do it, like so many documents. Because it mentioned "self-illumination" I did it all over again, increased the self illumination to 100, exported, no luck.

I need a recipe like the ones that exist for the old MakeMDL, but one that works with the new gmax 1.2 and the new MakeMDL. Do you know how to do it? Perhaps you can send me a multi step procedure. I'd really appreciate.

Thanks, Lou!

Fern marquesfern@hotmail.com
 
Landing Lights

Hi, Arno

Just one more thing... I had a look at the discussion you mentioned at Avsim. If you got confused there, imagine me!!! If I had any hair I'd have pulled them out.

To place a landing light on a plane shouldn't be that complicated. Apparently it wasn't with the old gmax1.1/MakeMDL: two triangles with the proper name, linked, with a material appied to them. Export with haslightmap on, and away we go.

Gosh, I like gmax, but this is very frustraiting. I almost gave it up once and bought FSDS, but this time I am determined to find out how this works.

Keep helping!

Fern
 
Hi Fern,

I did not notice that you are working on an aircraft. As Lou pointed out no special tweaks are needed then. MakeMDL is only a bit buggy when it comes to light in scenery design.
 
Fern,

The haslightmap option has nothing to do with the landing lights. It is for the textures that are applied to the "skin" of the aircraft. Let me do some lookin and I think I have a simple aircraft somewhere you can have a look at. I'll get back to you shortly.

Lou
 
Landing Lights

Hi, Lou

Now I am getting somewhere. The plane works, and I can export it from my own gmax and the landing lights work.

But, of course, ther is a catch that I am having problems figuring out.

The landing light uses two objects called "light_land_x" and "light_land_y", x and y being numbers, and y is a child of x. So far, very similar to the tutorials I found.

The second object, the child, is a triangular polygon, that I can make.

But the parent object is an invisible object, and its Object Properties show that is has vertices = zero and faces = zero, and dimensions extremely small. In the Perspective view it shows the white selection lines, but there is nothing in it even at maximum magnification. The other views will sho nothing at all, except moving arrows if I use the Select-and-move tool.

I tried with other objects and then it doesn't work anymore...

Do you know what that object is? I will try to find the author and ask him, too.

I think I already know how to do the rest of the aircraft, including VC and other animation, so I am really close and want to figure this out so bad...

Thanks Lou, a lot!

Fern
 
Hi Fern.

I don't know where this double-triangle stuff originated.

It's just not needed. The lights can be added from Gmax:

http://webpages.charter.net/ludowr/Light_Cone_On_Box.zip

I just made a cone, named the material LIGHT_LAND_conematerial... with a nice light yellow color, and then pointed the base like a flashlight wherever I wanted it! You can move the lights around, rotate them... just like any other gmax item.

In the example, I make a rectangular box, and place a landing light at a slightly down angle on 4 sides. The switch on the panel turns them on and off.

Pretty simple. Free free to export the cone if you like, or save it as a separate gmax file. Rename the material and save it as a taxilight....

LightCone1.jpg


I just used FSEdit as per the SDK, adding a new aircraft of the single engine prop style template, and added the MDL ( edited the model.cfg to show the visual model ).

Dick
 
Last edited:
Fern,

The child object, landing_light_01_01, is nothing more than a clone of the parent object landing_light_01. Actually the part names can be what ever you like but just something that makes sense. Then in point mode, the points were deleted from the parent object leaving just a pivot with no polygonal geometry to be drawn. This acts as a switch or display condition and this technique can be seen in the sample aircraft (DH_Dash8_100, MD_83 and Pa28_180) that Microsoft supplied with FS2002Pro. As I recall, you would not find the process in the Curtiss Jenny as it does not have landing lights. Then lastly the child is linked to the parent.

Here is a tut I did sometime ago, if you haven't seen it already:

http://www.oregon-coast.net/Tutorials/Lights/index.htm

Lou
 
Dick,

I have been messing with your technique of making lights for scenery with BGL_LIGHT after messing with effects files and not getting the desired look I wanted with the built in beacon... it is way to bulky for my needs. I succesfully made three different colored nav light objects and put them in a library. Then I made a pole that rotates and attached these objects from the library with the Attach Tool. Now here is the problem. The lights do not always load/display. Sometimes all three are there, sometimes none, sometimes two, sometimes just one. Now what I am wondering, is it necessary to modify the bounding box as you say to do with the landing light trick (and I did) and could this be the cause of the lights being so inconsistant. Perhaps I should have left the default box dimensions alone for nav light type objects.

Lou
 
Landing Lights, at last!!!

Lou, I got landing lights!!! I love gmax again

Your tutorial is just about as tutorials should be. And, of course, it worked like it should!!!

Fantastic, nothing like a proper tut, no assumptions that the student already knows! Thanks!!!

And thanks to Arno, Dick and the other fellows without whom we poor gmax slobs wouldn't get anything ever done and would have given up gmax a long, long time ago!

Fern
 
Hi Lou.

If you save an attached effect in gmax as an object, you can alter the box for that object... than if you attach that new library object ( the effect ) to another object, the box is apparently inherited, so it doesn't need to be altered again.

My guess if that all effects and lights need to have an enlarged bounding box. Such a box might be made by enclosing the entire object with a generous box that uses a material with zero opacity... or the ASM could be tweaked.

Dick
 
Back
Top