Hard Light Productions Forums

Modding, Mission Design, and Coding => The Scripting Workshop => Topic started by: Nightstorm on May 25, 2017, 12:07:30 pm

Title: Search light effect
Post by: Nightstorm on May 25, 2017, 12:07:30 pm
Hey all,

I'm looking for ideas to simulate a search light on a BSG Raptor for Diaspora.  I don't want to use a primary weapons slot but I was toying around with the idea of using a beam weapon.  What I really would like is an independent "search light" that could be turned on or off by the player and have a beam that lights up a narrow cone in front of the player ship.  Limiting the range to say...500 meters.

Any thoughts?
Title: Re: Search light effect
Post by: m!m on May 25, 2017, 12:10:13 pm
The scripting API currently does not have access to the lighting system of FSO but you could create a script that continuously creates a short lived weapon to illuminate the surrounding area. A beam requires a turret or a weapon bank but a single weapon bolt can be created without any of that.