euroastar350
Resource contributor
- Messages
- 863
- Country

Hi guys,
Since most FSX aircraft (payware and freeware) use XML to control the visibility of the lights, etc....how would I go about adding this to my own projects? Specifically the strobes in this video
I know Alabeo and Carenado use the same technique to control the flash of the strobe lights in their aircraft. Use a static light and use a custom script to control the flash rate.
This is a sample script used from Björn's DO328 SDK:
Would I have to make 3 separate scripts and attachpoints for each strobe or would one be sufficient enough?
Any help is appreciated.
Since most FSX aircraft (payware and freeware) use XML to control the visibility of the lights, etc....how would I go about adding this to my own projects? Specifically the strobes in this video
I know Alabeo and Carenado use the same technique to control the flash of the strobe lights in their aircraft. Use a static light and use a custom script to control the flash rate.
This is a sample script used from Björn's DO328 SDK:
Code:
<PartInfo>
<Name>Do328_Strobe_Glass</Name>
<Visibility>
<Parameter>
<Code>(A:LIGHT Strobe,bool) 0 > (A:ELECTRICAL MASTER BATTERY,bool)
and (P:ABSOLUTE TIME,seconds) 1 % 0.85 > and if{ 0 } els{ 1 }
</Code>
</Parameter>
</Visibility>
</PartInfo>
Would I have to make 3 separate scripts and attachpoints for each strobe or would one be sufficient enough?
Any help is appreciated.

