Hard Light Productions Forums

Hosted Projects - FS2 Required => Blue Planet => Topic started by: Erebus Alpha on May 03, 2018, 12:47:14 pm

Title: "One Future" FREDing Advice - Turret ROF Dependent on Energy Settings?
Post by: Erebus Alpha on May 03, 2018, 12:47:14 pm
In the Blue Planet WIH mission "One Future", the Vindicator's turrets will fire more quickly if you divert more power to guns, and less quickly if you divert more power away from guns.

I'd like to install a similar feature for some capship-dependent missions. How on Earth did you guys do that? Was it something in FRED? Some delicious coding shenanigans? Space magic?


Title: Re: "One Future" FREDing Advice - Turret ROF Dependent on Energy Settings?
Post by: General Battuta on May 03, 2018, 01:00:55 pm
A ship’s turret ROF depends on the ship’s pilot AI class, even if it’s a player ship. Alter the AI class depending on the gun energy level - you can take apart One Future or The Blade Itself to see how it’s done.

Note that turret AI class has no function in the game.
Title: Re: "One Future" FREDing Advice - Turret ROF Dependent on Energy Settings?
Post by: Erebus Alpha on May 03, 2018, 02:27:09 pm
FOUND IT! It's the "cruiser: respect ETS" event.
Title: Re: "One Future" FREDing Advice - Turret ROF Dependent on Energy Settings?
Post by: Darius on May 03, 2018, 07:40:34 pm
I think there's also a sexp to alter turret rate of fire which is an alternative way to do it.