Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: Dork_Lord on February 13, 2008, 06:01:47 am

Title: Semi Invulnerability.
Post by: Dork_Lord on February 13, 2008, 06:01:47 am
Ok, I'm designing a mission at the moment involving an SD Lucifer. Bombers have to attack the lucifer's main guns before it jums out. However in the process of the mission, they cause the lucifer significant hull damage, which I feel is not right for this situation.

Is there a way to make subsystems damageable, but hull non-damageable?
Title: Re: Semi Invulnerability.
Post by: BlueFlames on February 13, 2008, 06:26:31 am
You could set up an event with a very high repeat count and a repeat delay of one second that looks something like this....

when
----<
--------hits-left
------------SD Lucifer
--------100
----set-subsystem-strength
--------SD Lucifer
--------Hull
--------100

You'll see the Lucifer's hull integrity dip and jump back to 100 whenever it's hit, but the only way anything will kill it is if they can deal the necessary damage within a single second.  You may want to add additional set-subsystem-strength arguments (or similar events) for critical subsystems, such as the engines or for story-related purposes, the reactors.
Title: Re: Semi Invulnerability.
Post by: Ransom on February 13, 2008, 07:17:21 am
With that technique the player would probably notice the fluctuating hull strength, though. It'd be better to use ship-guardian-threshold set at 100, unless you're worried about retail compatability. Guardian doesn't affect subsystems.
Title: Re: Semi Invulnerability.
Post by: Dork_Lord on February 13, 2008, 12:14:48 pm
Thanks for your advice, I'm trying out the ship-guardian-threshold now.
Title: Re: Semi Invulnerability.
Post by: FUBAR-BDHR on February 13, 2008, 12:28:07 pm
I've never tried it but it seems like ship-subsystem-guardian-threshhold (or whatever it's name is)  hull would do the trick.
Title: Re: Semi Invulnerability.
Post by: Ransom on February 13, 2008, 02:28:58 pm
ship-subsys-guardian-threshold can't target the hull, though. That's what ship-guardian-threshold is for.
Title: Re: Semi Invulnerability.
Post by: Aardwolf on February 14, 2008, 02:46:27 am
I was worried for a second that this was one of those stupid "Why does the Sathanas not die" threads...

Glad to see it is not.  :nod: