Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Rotating Beacons - EIDW

Featured Replies

Long time no talk to! I have been working away with our group Irish Flight Sim Design www.ifsd.ie and have come a long way since my rotating Radars!Anyway, I'm stuck big time!I need to have a rotating Land_Light on our tower. I have created the light, and it shines to the ground lovely. However, I then try and create a rotating cylander and link the lights to it. The problem is, the light "triangles" will not rotate with the object.I know that I'm doing this "link" the correct way because I can add another object, link it to the rotating cylanser and it works...Any ideas will be greatly appreciated...And, by the way... go and register on our forum!Cheers,Nick.

Hi Nick,I managed this OK, just made a cylinder, attached the triangles at either end, grouped the whole thing and called it:Beacon2And it goes round! with the shiny landing lights. Its a pity we can't find a way to make the beams narrower tho' - any ideas anybody?Now what I want to do is make it visible at a distance of 10K - how to do that??I can export the gmax file and send it if you are stuck...Geoff

  • Commercial Member

Hi Nick,Check your mail :), I send you some info about how to do it when you edit the source manual.But the other answer about the beacon2 (or you can also use another beacon of course if you need another speed) looks also nice. The only problem then might be that it rotates at another speed then the rest of the animation you made.Now that I write this, I think you can also just copy the BGL_LIGHT commands right below the triangle list of the part you have already animated, then it will "join" that animation.Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Thanks Guys,Arno, looking at the source right now....I compared the two files, and from what I could see you took out the following: MATERIAL 0 ; <6,134,113,255> DRAW_TRI_BEGIN 146, 24 DRAW_TRI 3, 9, 6 ; poly=230 part=8 DRAW_TRI 6, 0, 3 ; poly=229 part=8 DRAW_TRI 11, 22, 19 ; poly=228 part=8 DRAW_TRI 19, 8, 11 ; poly=227 part=8 DRAW_TRI 23, 17, 14 ; poly=226 part=8 DRAW_TRI 14, 20, 23 ; poly=225 part=8 DRAW_TRI 15, 4, 1 ; poly=224 part=8 DRAW_TRI 1, 12, 15 ; poly=223 part=8 DRAW_TRI 21, 10, 5 ; poly=222 part=8 DRAW_TRI 5, 16, 21 ; poly=221 part=8 DRAW_TRI 18, 13, 2 ; poly=220 part=8 DRAW_TRI 2, 7, 18 ; poly=219 part=8 DRAW_TRI_END BGL_TRANSFORM_END ; Anim tick18_Box01test_anim_1_end label word BGL_TRANSFORM_END ; Transform RotateAroundX; Alphatest_Alpha label BGLCODE ; Node 3 - RotateAroundX transform: BGL_TRANSFORM_MAT 0.000000,0.000000,0.000000, 1.000000,0.000000,0.000000, 0.000000,0.000000,1.000000, 0.000000,-1.000000,0.000000 ; Node 4 - Group01 transform: BGL_TRANSFORM_MAT 0.000000,-0.000054,-19.999941, 1.000000,0.000000,0.000000, 0.000000,0.707107,-0.707107, 0.000000,0.707107,0.707107 ; Node 5 - Tick18_Light_Land_White transform: BGL_TRANSFORM_MAT 0.029298,-0.199160,0.259552, 0.781431,-0.005410,-0.004151, 0.000000,0.475723,-0.619974, 0.006819,0.619951,0.475705 BGL_LIGHT LIGHT_LANDING, 0.000, 0.000, 0.000, 20, 0.60, 0.40, 0FFF8F2E8h, 0.000000, 0.000000, 1.000000 ; source poly num = 1 BGL_LIGHT LIGHT_LANDING, 0.000, 0.000, 0.000, 20, 0.60, 0.40, 0FFF8F2E8h, 0.000000, 0.000000, 1.000000 ; source poly num = 2 BGL_TRANSFORM_END ; Transform Tick18_Light_Land_White BGL_TRANSFORM_END ; Transform Group01And replaced it with:SETWRD usrvr2,0 BGL_ANIMATE VAR_BASE_GLOBAL,usrvr2,VAR_BASE_LOCAL,(offset test_quat_1 - offset test_pvan_1),0.000000,0.000000,-20.000000 VAR_BASE_32 VAR_BASE_GLOBAL BGL_LIGHT LIGHT_LANDING, 0.000, 0.000, 0.000, 20, 0.60, 0.40, 0FFF8F2E8h, 0.000000, 0.000000, 1.000000 ; source poly num = 1 BGL_LIGHT LIGHT_LANDING, 0.000, 0.000, 0.000, 20, 0.60, 0.40, 0FFF8F2E8h, 0.000000, 0.000000, 1.000000 ; source poly num = 2 BGL_TRANSFORM_END ; Anim tick18_Box01test_anim_1_end label word BGL_TRANSFORM_END ; Transform RotateAroundXIs that right?

  • Commercial Member

Yes, basically I just copied the light commands (BGL_LIGHT) into the location of the triangles, so that they are part of the animation. Then I deleted all obsolete labels etc that were left.If you want the object of the origional animation still to be displayed you can also only copy the light command after the DRAW_TRI_END command. But I did not do so, as I only made the box for the animation path and not to be shown.Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

I copied your BGL in.. It does not work...I have a static light on top of a pole.

  • Commercial Member

???That's strange, if I put the correct one in the zipfile it should work, as it did on my PC last night.Do you see a box at the top of the pole rotating?Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Hi Arno,I saw a light on top of a pole. But no rotation.Let me look again...Cheers,

OK...I'm an idiot!I set it to dusk... And there is the light, rotating... Very cool :-)Could you do me a favour please Arno...Can you send me the GMAX file so I can modify it to have two lights and a rotating section that is "bright". That way, it'll give a better effect on our tower.Thanks,

  • Commercial Member

I can send the file, but it is on my PC in Brussels and this weekend I'll be in the Netherlands. So I can't send it before monday.But, as I said before, the animation is done by editing the code by hand. So if you make a sample file with two lights (using your own light) and then paste the light commands in the animation you already have, it should also work.If you still prefer my file, I'll send it monday :).Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

I've just sent you something you may be interested in!How to slow it down though?

Hi Nick,When you say it shines to the ground do you mean that it lights the apron physically?ThanksMichel

  • Commercial Member

It's a aircraft landing light type light and that indeed lights the apron. I think you must have seen them before :).Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Well I will run to do a test because I hear about it but never succeeded to get it working in the scenery :) I was told that I use the old MakeMDL, I will use the SDK one to seeCheers :)Michel

It works fine here...Arno, if you still have the GMAX file I sent you, you can by all means send it on to Claviateur....I wish someone had done that for me... :-)Anyway, all I ask is a mention in the readme file :-)Cheers,

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.