- Messages
- 67
- Country

Good evening
Once more I could need your help
I found this thread (http://www.fsdeveloper.com/forum/showthread.php?t=1401) about multiple conditions.
As MDLTweaker couldn't tweak our models, I tried to tweak the lights manually in asm. Everything worked fine until now, but my collegue has some requests I couldn't achieve.
The lights work only when NAV1 is active on 109.85 (and the distance is more than 1500m of course). I know there are a lot of IFIN-Commands and I actually got confused by so many of them
I would like to have the green lights showing up, when either NAV1 or NAV2 is active on frequency 109.85. If not, red lights should be shown (haven't added this part yet). From the other side, it should be always red.
I'm still learning to tweak and I'm not yet able to do such a complex code.
Hope you can make me happy again
Best Regards
Marc Läderach
Once more I could need your help
I found this thread (http://www.fsdeveloper.com/forum/showthread.php?t=1401) about multiple conditions.
As MDLTweaker couldn't tweak our models, I tried to tweak the lights manually in asm. Everything worked fine until now, but my collegue has some requests I couldn't achieve.
Code:
IFIN1 viewdis, 33Bh, 1500, 10000
IFIN1 nodaylight, tod, 2, 4
IFIN1 nav1_10, 7C0h, 0985h, 0985h
BGL_JUMP_32 show
nav1_10 label word
IFIN1 nav2_10, 7C2h, 0985h, 0985h
BGL_JUMP_32 notshow
show label BGLCODE
SEPARATION_PLANE OneSide, -32588, 0, 3425, 32767
BGL_LIGHT LIGHT_NAV, 0.0, 0.0, 0.0, 0, 0.0, 0.0, 00012a63fh, 0.000000, 0.000000, 0.000000 ; Color is AB AB AB (rgb)
nav2_10 label word
notshow label BGLCODE
BGL_JUMP_32 OneSide_end
OneSide label word
BGL_LIGHT LIGHT_NAV, 0.0, 0.0, 0.0, 0, 0.0, 0.0, 000680000h, 0.000000, 0.000000, 0.000000 ; Color is AB AB AB (rgb)
OneSide_end label word
nodaylight label word
viewdis label word
BGL_RETURN
The lights work only when NAV1 is active on 109.85 (and the distance is more than 1500m of course). I know there are a lot of IFIN-Commands and I actually got confused by so many of them
I would like to have the green lights showing up, when either NAV1 or NAV2 is active on frequency 109.85. If not, red lights should be shown (haven't added this part yet). From the other side, it should be always red.
I'm still learning to tweak and I'm not yet able to do such a complex code.
Hope you can make me happy again
Best Regards
Marc Läderach
