FS2004 Guard Light Help Needed

#1
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
 
#4
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

#5
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
 
#7
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.
 
#8
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
 
Top