• There seems to be an uptick in Political comments in recent months. Those of us who are long time members of the site know that Political and Religious content has been banned for years. Nothing has changed. Please leave all political and religious comments out of the forums.

    If you recently joined the forums you were not presented with this restriction in the terms of service. This was due to a conversion error when we went from vBulletin to Xenforo. We have updated our terms of service to reflect these corrections.

    Please note any post refering to a politician will be considered political even if it is intended to be humor. Our experience is these topics have a way of dividing the forums and causing deep resentment among members. It is a poison to the community. We appreciate compliance with the rules.

    The Staff of SOH

  • Server side Maintenance is done. We still have an update to the forum software to run but that one will have to wait for a better time.

Airfield approach and runway lights as spawns

mongoose

SOH-CM-2025
I sort of have the feeling this is a question fro people like David and Loic!:wiggle: Ted did a lot of airfield approach and runway lights which I would like to only operate when a friendly aircraft is present, on the basis that they were only turned on prior to landing.

1. The requirement would be not only for approaching aircraft wanting to land, but also on takeoff. Could the latter also be modeled as a spawn?

2. I envisage removing the lights from the appropriate airbase facility and making their own facility which would be located at the same coordinates as the airbase.

3. The lights facility would then be made as a spawn which would only activate with a friendly aircraft upon it's take off or landing approach.

I'm not sure if this is possible or how to set it up exactly, although I remember I tried unsuccessfully a while back.

I attach the lights stripped out of NJG_airbase-dual_2.xml for coordinates Lat="N51*22'11.5699"" Lon="E6*12'44.0399"" Alt="457.19" angled at 80° if anyone wants to have a go.

<Facility Type="Airbase" Flags="isAirbase" OuterDistance="8001">
<Units>
<Unit Type="runway_light_d" Position="779.87 526.08" Angle="-47.1" />
<Unit Type="runway_light_d" Position="-213.62 -583.30" Angle="-47.1" />
<Unit Type="runway_light_d" Position="-268.70 -527.61" Angle="-47.1" />
<Unit Type="runway_light_d" Position="-133.34 -502.74" Angle="-47.1" />
<Unit Type="runway_light_d" Position="-188.42 -447.06" Angle="-47.1" />
<Unit Type="runway_light_d" Position="746.46 381.59" Angle="-47.1" />
<Unit Type="runway_light_d" Position="692.14 438.04" Angle="-47.1" />
<Unit Type="runway_light_d" Position="-27.74 -396.77" Angle="-47.1" />
<Unit Type="runway_light_d" Position="-75.68 -444.87" Angle="-47.1" />
<Unit Type="runway_light_d" Position="-82.82 -341.08" Angle="-47.1" />
<Unit Type="runway_light_d" Position="-130.76 -389.19" Angle="-47.1" />
<Unit Type="runway_light_d" Position="694.86 329.81" Angle="-47.1" />
<Unit Type="runway_light_d" Position="639.78 385.49" Angle="-47.1" />
<Unit Type="runway_light_d" Position="585.69 331.22" Angle="-47.1" />
<Unit Type="runway_light_d" Position="588.98 223.56" Angle="-47.1" />
<Unit Type="runway_light_d" Position="533.90 279.24" Angle="-47.1" />
<Unit Type="runway_light_d" Position="23.35 -345.50" Angle="-47.1" />
<Unit Type="runway_light_d" Position="-31.73 -289.82" Angle="-47.1" />
<Unit Type="runway_light_d" Position="531.09 165.46" Angle="-47.1" />
<Unit Type="runway_light_d" Position="476.00 221.15" Angle="-47.1" />
<Unit Type="runway_light_d" Position="71.28 -297.40" Angle="-47.1" />
<Unit Type="runway_light_d" Position="16.20 -241.71" Angle="-47.1" />
<Unit Type="runway_light_d" Position="834.19 469.63" Angle="-47.1" />
<Unit Type="runway_light_d" Position="122.21 -246.29" Angle="-47.1" />
<Unit Type="runway_light_d" Position="67.13 -190.61" Angle="-47.1" />
<Unit Type="runway_light_d" Position="182.04 -185.69" Angle="-47.1" />
<Unit Type="runway_light_d" Position="126.96 -130.01" Angle="-47.1" />
<Unit Type="runway_light_d" Position="252.30 -3.24" Angle="-47.1" />
<Unit Type="runway_light_d" Position="362.93 107.51" Angle="-47.1" />
<Unit Type="runway_light_d" Position="186.71 -68.77" Angle="-47.1" />
<Unit Type="runway_light_d" Position="301.64 43.52" Angle="-47.1" />
<Unit Type="runway_light_d" Position="417.80 162.74" Angle="-47.1" />
<Unit Type="runway_light_d" Position="472.88 107.06" Angle="-47.1" />
<Unit Type="runway_light_d" Position="356.72 -12.17" Angle="-47.1" />
<Unit Type="runway_light_d" Position="241.79 -124.45" Angle="-47.1" />
<Unit Type="runway_light_d" Position="418.01 51.83" Angle="-47.1" />
<Unit Type="runway_light_d" Position="307.38 -58.93" Angle="-47.1" />
<Unit Type="runway_llight_d" Position="640.77 275.54" Angle="-47.1" />
<Unit Type="tow_approach_light" Position="-1684.74 -2005.19" Angle="-45.38" />
<Unit Type="tow_approach_light" Position="2248.94 1936.05" Angle="135.12" />
<Unit Type="tow_approach_light1" Position="2968.75 2652.98" Angle="135.12" />
<Unit Type="tow_approach_light1" Position="971.21 699.51" Angle="135.12" />
<Unit Type="tow_approach_light1" Position="1151.07 878.74" Angle="135.1" />
<Unit Type="tow_approach_light1" Position="1331.14 1057.94" Angle="135.12" />
<Unit Type="tow_approach_light1" Position="2594.84 2281.29" Angle="135.12" />
<Unit Type="tow_approach_light1" Position="1870.82 1595.70" Angle="135.12" />
<Unit Type="tow_approach_light1" Position="2050.91 1774.92" Angle="135.12" />
<Unit Type="tow_approach_light1" Position="3409.61 3280.83" Angle="135.12" />
<Unit Type="tow_approach_light1" Position="3598.17 3090.72" Angle="135.12" />
<Unit Type="tow_approach_light1" Position="3566.78 3122.15" Angle="135.12" />
<Unit Type="tow_approach_light1" Position="2414.63 2102.14" Angle="135.12" />
<Unit Type="tow_approach_light1" Position="1690.96 1416.47" Angle="135.12" />
<Unit Type="tow_approach_light1" Position="3148.73 2832.24" Angle="135.12" />
<Unit Type="tow_approach_light1" Position="1906.34 1560.31" Angle="135.12" />
<Unit Type="tow_approach_light1" Position="1726.47 1381.08" Angle="135.12" />
<Unit Type="tow_approach_light1" Position="1366.66 1022.56" Angle="135.12" />
<Unit Type="tow_approach_light1" Position="1186.58 843.35" Angle="135.12" />
<Unit Type="tow_approach_light1" Position="1006.72 664.12" Angle="135.12" />
<Unit Type="tow_approach_light1" Position="1548.00 1202.86" Angle="135.12" />
<Unit Type="tow_approach_light1" Position="2086.42 1739.53" Angle="135.12" />
<Unit Type="tow_approach_light1" Position="-954.57 -1301.16" Angle="-45.38" />
<Unit Type="tow_approach_light1" Position="1512.48 1238.25" Angle="135.12" />
<Unit Type="tow_approach_light1" Position="-2896.69 -3297.92" Angle="-45.38" />
<Unit Type="tow_approach_light1" Position="-2865.30 -3328.89" Angle="-45.38" />
<Unit Type="tow_approach_light1" Position="-2961.14 -3234.07" Angle="-45.38" />
<Unit Type="tow_approach_light1" Position="-2802.60 -3391.37" Angle="-45.38" />
<Unit Type="tow_approach_light1" Position="-2754.98 -3089.99" Angle="-45.38" />
<Unit Type="tow_approach_light1" Position="-2576.68 -2909.20" Angle="-45.38" />
<Unit Type="tow_approach_light1" Position="2788.88 2473.75" Angle="135.12" />
<Unit Type="tow_approach_light1" Position="-1848.98 -2172.72" Angle="-45.38" />
<Unit Type="tow_approach_light1" Position="-2992.18 -3202.74" Angle="-45.38" />
<Unit Type="tow_approach_light1" Position="-3023.85 -3171.59" Angle="-45.38" />
<Unit Type="tow_approach_light1" Position="-2833.64 -3360.04" Angle="-45.38" />
<Unit Type="tow_approach_light1" Position="-3055.23 -3140.61" Angle="-45.38" />
<Unit Type="tow_approach_light1" Position="-1488.12 -1842.34" Angle="-45.38" />
<Unit Type="tow_approach_light1" Position="-1131.32 -1480.75" Angle="-45.38" />
<Unit Type="tow_approach_light1" Position="-2027.62 -2353.43" Angle="-45.38" />
<Unit Type="tow_approach_light1" Position="-774.64 -1119.10" Angle="-45.38" />
<Unit Type="tow_approach_light1" Position="-596.14 -938.34" Angle="-45.38" />
<Unit Type="tow_approach_light1" Position="-417.85 -757.54" Angle="-45.38" />
<Unit Type="tow_approach_light1" Position="-2398.27 -2728.37" Angle="-45.38" />
<Unit Type="tow_approach_light1" Position="-1309.61 -1661.55" Angle="-45.38" />
<Unit Type="tow_approach_light1" Position="-2219.97 -2547.58" Angle="-45.38" />
<Unit Type="tow_approach_light1" Position="-1345.43 -1626.47" Angle="-45.38" />
<Unit Type="tow_approach_light1" Position="-1167.14 -1445.68" Angle="-45.38" />
<Unit Type="tow_approach_light1" Position="-810.46 -1084.03" Angle="-45.38" />
<Unit Type="tow_approach_light1" Position="-631.96 -903.26" Angle="-45.38" />
<Unit Type="tow_approach_light1" Position="-453.67 -722.46" Angle="-45.4" />
<Unit Type="tow_approach_light1" Position="-990.22 -1265.91" Angle="-45.4" />
<Unit Type="tow_approach_light1" Position="-1523.94 -1807.26" Angle="-45.38" />
<Unit Type="tow_approach_light1" Position="3328.60 3011.48" Angle="135.12" />
<Unit Type="tow_approach_light1" Position="3378.85 3312.42" Angle="135.12" />
<Unit Type="tow_approach_light1" Position="3536.01 3153.75" Angle="135.1" />
<Unit Type="tow_approach_light1" Position="3441.01 3249.40" Angle="135.1" />
<Unit Type="tow_approach_light1" Position="3472.12 3218.15" Angle="135.1" />
<Unit Type="tow_approach_light1" Position="3629.28 3059.47" Angle="135.12" />
<Unit Type="tow_approach_light1_r" Position="-2929.47 -3265.22" Angle="-45.4" />
<Unit Type="tow_approach_light1_r" Position="3504.62 3185.17" Angle="135.12" />
<Unit Type="runway_light_r" Position="803.31 492.63" Angle="135.12" />
<Unit Type="runway_light_r" Position="790.58 479.94" Angle="135.12" />
<Unit Type="runway_light_r" Position="824.55 513.76" Angle="135.12" />
<Unit Type="runway_light_r" Position="816.06 505.35" Angle="135.12" />
<Unit Type="runway_light_r" Position="820.29 509.57" Angle="135.12" />
<Unit Type="runway_light_r" Position="811.79 501.10" Angle="135.12" />
<Unit Type="runway_light_r" Position="807.56 496.88" Angle="135.12" />
<Unit Type="runway_light_r" Position="782.04 471.47" Angle="135.12" />
<Unit Type="runway_light_r" Position="786.27 475.69" Angle="135.12" />
<Unit Type="runway_light_r" Position="794.81 484.16" Angle="135.12" />
<Unit Type="runway_light_r" Position="777.77 467.22" Angle="135.12" />
<Unit Type="runway_light_r" Position="756.56 446.06" Angle="135.12" />
<Unit Type="runway_light_r" Position="769.29 458.75" Angle="135.12" />
<Unit Type="runway_light_r" Position="773.54 463.00" Angle="135.12" />
<Unit Type="runway_light_r" Position="760.79 450.28" Angle="135.12" />
<Unit Type="runway_light_r" Position="765.06 454.53" Angle="135.12" />
<Unit Type="runway_light_r" Position="799.08 488.41" Angle="135.12" />
<Unit Type="runway_light_r" Position="828.26 509.98" Angle="135.12" />
<Unit Type="runway_light_r" Position="835.95 502.24" Angle="135.12" />
<Unit Type="runway_light_r" Position="832.17 506.03" Angle="135.12" />
<Unit Type="runway_light_r" Position="840.00 498.17" Angle="135.12" />
<Unit Type="runway_light_r" Position="-294.59 -580.83" Angle="-44.88" />
<Unit Type="runway_light_r" Position="-283.39 -592.11" Angle="-44.88" />
<Unit Type="runway_light_r" Position="-291.08 -584.36" Angle="-44.88" />
<Unit Type="runway_light_r" Position="-287.73 -587.73" Angle="-44.88" />
<Unit Type="runway_light_r" Position="-258.92 -574.28" Angle="-44.88" />
<Unit Type="runway_light_r" Position="-246.19 -561.59" Angle="-44.88" />
<Unit Type="runway_light_r" Position="-280.16 -595.41" Angle="-44.88" />
<Unit Type="runway_light_r" Position="-271.67 -586.99" Angle="-44.88" />
<Unit Type="runway_light_r" Position="-275.90 -591.21" Angle="-44.88" />
<Unit Type="runway_light_r" Position="-267.40 -582.74" Angle="-44.88" />
<Unit Type="runway_light_r" Position="-263.17 -578.52" Angle="-44.88" />
<Unit Type="runway_light_r" Position="-237.65 -553.12" Angle="-44.88" />
<Unit Type="runway_light_r" Position="-241.88 -557.34" Angle="-44.88" />
<Unit Type="runway_light_r" Position="-250.42 -565.81" Angle="-44.88" />
<Unit Type="runway_light_r" Position="-233.38 -548.87" Angle="-44.88" />
<Unit Type="runway_light_r" Position="-212.17 -527.71" Angle="-44.88" />
<Unit Type="runway_light_r" Position="-224.90 -540.40" Angle="-44.9" />
<Unit Type="runway_light_r" Position="-229.15 -544.65" Angle="-44.88" />
<Unit Type="runway_light_r" Position="-216.40 -531.93" Angle="-44.88" />
<Unit Type="runway_light_r" Position="-220.67 -536.18" Angle="-44.88" />
<Unit Type="runway_light_r" Position="-254.69 -570.06" Angle="-44.88" />
</Units>
<GroundPlanes>
<Plane Position="0.00 0.00" Angle="0" Size="2000 2000" />
</GroundPlanes>
<Routes>
</Routes>
</Facility>
 
Back
Top