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
-
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?
-
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.
-
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.
-
Thanks for your advice, I'm trying out the ship-guardian-threshold now.
-
I've never tried it but it seems like ship-subsystem-guardian-threshhold (or whatever it's name is) hull would do the trick.
-
ship-subsys-guardian-threshold can't target the hull, though. That's what ship-guardian-threshold is for.
-
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: