Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Dark Hunter on March 28, 2006, 07:03:44 pm

Title: Why can't a cap ship be invulnerable?
Post by: Dark Hunter on March 28, 2006, 07:03:44 pm
I'm trying to produce a mission in which a GTBS Archangel jumps in and destroys two corvettes without taking damage. So I make it invulnerable to accomplish this. However, when I save, the damned program turns off the invulnerability! It was working just five minutes before... and furthermore it kept coming up with an error in the mission that FRED couldn't detect: it looks for a nonexistent tag called [$IFF] in the mission file. I think when it finds that error, it disallows the ship to be invulneralbe. A large amount of the plotline hinges on this ship being invulneralbe (until I say otherwise), so why why WHY is FRED suddenly so uncooperative? If it matters, I'm running both FRED and Freespace Open on the latest CVS build.
Title: Re: Why can't a cap ship be invulnerable?
Post by: phreak on March 28, 2006, 07:20:58 pm
try a workaround for now:

when
-has-ship-arrived-delay
--0
--Archangel
-ship-invulnerable
--Archangel
Title: Re: Why can't a cap ship be invulnerable?
Post by: CP5670 on March 28, 2006, 11:32:41 pm
Use a newer build and it will work fine. That IFF thing is due to a mission format change sometime in December.
Title: Re: Why can't a cap ship be invulnerable?
Post by: Dark Hunter on March 29, 2006, 09:55:44 am
Quote
Use a newer build....

I'm using the newest build there is.

The workaround above worked, although now the ship refuses to activate its weapons. Since it activated them in a different mission I'm hoping that it was an isolated incident. I worked it into the mission by saying that the beams malfunctioned due to nebular interference...
Title: Re: Why can't a cap ship be invulnerable?
Post by: CP5670 on March 29, 2006, 10:28:12 am
Strange, that $IFF tag error is something I have only gotten in older builds when playing missions that were saved by newer FREDs. Maybe there is problem in the latest FRED build.