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

FS2004 Guard Light Help Needed

Messages
35
Country
us-minnesota
Hi All,

Ok, I have made a rwy guard light model in gmax and attached two LIGHT_BEACON boxes to it. I have tweaked the .asm to get the desired flashing effect without a problem. What I would like to do next is to make the lights only visible within a given distance (50meters for example).

Is there a piece of code that I can 'wrap around' the BGL_LIGHT command in the .asm file to achieve this?

Any help or ideas would be appreciated.

Kind Regards

Axe
 
can you post how you did it? I am looking at a similar situation that your results may rectify.
 
Hi Kevin,

I have attached two screenshots, the first is the actual model I made in gmax and the second is the 'tweaked' section of the .asm file. Am not sure if this is what you need for your project.

For what I needed this seemed to be the most efficient way to get the result I wanted.... it saved trying to animate it and such. Additionally, it simulates ATC operating the Guard Lights without the pilot having to tune a Nav frequency.

If you want the model and the .asm source just let me know. Same applies for anyone else that reads this post. The forums and great people here have helped me out a bunch so if I can help someone out in return I will.

Last thing I should mention is that although I made this model for FS9, I have tested it in FSXA and it works perfectly fine also.

Kind Regards

Axe
 

Attachments

  • guard_light.jpg
    guard_light.jpg
    16.8 KB · Views: 464
  • guard_light_code.jpg
    guard_light_code.jpg
    61.5 KB · Views: 520
Hi Kevin,


If you want the model and the .asm source just let me know. Same applies for anyone else that reads this post. The forums and great people here have helped me out a bunch so if I can help someone out in return I will.

Last thing I should mention is that although I made this model for FS9, I have tested it in FSXA and it works perfectly fine also.

Kind Regards

Axe

Well since you put it like that, id love to get the files from you.

Do you mind if I use it in my scenery releases? non-payware ofcoarse
 
Hello,

could you please elaborate on this:

For what I needed this seemed to be the most efficient way to get the result I wanted.... it saved trying to animate it and such.

Does this mean that this code includes a time switch to alternate light1 and light2 to glow? That would be very handy for me right now. Thank you.
 
You are correct Pfabian, it is indeed just code to make alternate flashing beacons. I also added in another piece of code so that the lights are only 'on' when you are 60m or closer to them.

Just PM me if you want the code and/or the model I made.

Regards

Axe
 
Thank you, looks good.

I do have my own models, but the code would be nice - especially if commented.
 
Back
Top