You need a vehicle and in the xpd (say from the search lights you have this
<GunStations>
<GunStation UpLimit="90" DownLimit="90" LeftLimit="180" RightLimit="180" RateLimit="20" SystemID="engine_one" Tracer="0" Trainable="1" Trigger="0" Type="searchlight_blue" usesmallflash="1" Name="searchlight_blue" ConvergeDistance="0" Pitch="0" MaxAmmo="1000"/>
</GunStations>
change it to:
<GunStations>
<GunStation UpLimit="90" DownLimit="0" LeftLimit="0" RightLimit="0" RateLimit="20" SystemID="engine_one" Tracer="0" Trainable="1" Trigger="0" Type="searchlight_blue" usesmallflash="1" Name="searchlight_blue" ConvergeDistance="0" Pitch="0" MaxAmmo="1000"/>
</GunStations>
I placed in red bold the relevant section. This way the light points straight up and won't move. The only problem with this is that the gun will only fire when the target is directly above literally. So if you want some flexibility you may need to put some values in the down and left/right say maybe 5 so the gun will move 5 degrees off the vertical and left right at 180. This way it will fire in a cone that has a five degree width, so maybe:
<GunStations>
<GunStation UpLimit="90" DownLimit="5" LeftLimit="180" RightLimit="180" RateLimit="20" SystemID="engine_one" Tracer="0" Trainable="1" Trigger="0" Type="searchlight_blue" usesmallflash="1" Name="searchlight_blue" ConvergeDistance="0" Pitch="0" MaxAmmo="1000"/>
</GunStations>