Greetings
I'm new here -- did a great deal of FREDding back when FS2 had been out for 0-2 years, just now getting back into it. Excited about all of the new features, enjoying them a great deal.
I was reading some of the forum posts and came across a mention of an iff-def. I searched all over the FSO wiki and here, and couldn't find any information on what exactly this is. I'm hoping it's not just a simple way of referring to the domain of IFF values (Friendly, Neutral, Hostile, Unknown, etc.) and might be a way for me to create a new IFF definition in which I could define the behavior of the ships assigned to that definition. However, somehow I doubt this kind of flexibility has been added to the game. Could someone let me know what exactly an iff-def is, and/or point me to a resource that would offer a detailed explanation?
Here's my dilemma:
I'm designing a mission in the middle of a campaign in which, after some relatively simple dogfights, two wings of fighters jump in with IFF signature Unknown. A few seconds later, their capital ship jumps in, another Unknown ship from an earlier mission who is central to the plot at this point in the campaign. A few seconds after THAT, another capital ship jumps in, this one with IFF signature Hostile, since it is a known Hostile capship of a particular known hostile faction, and launches two transports (which eventually dock with the Unknown capship), and pulls alongside the Unknown capship; during all this, a Shivan cruiser also jumps in, pulls alongside the first capship, and jumps out again. The whole idea is to "show" the player that the Unknown faction is actually not a separate faction at all, but rather a previously-unaccounted portion of the Hostile faction.
So at this point in the mission, the IFF signature for all of the Unknown forces is changed to Hostile.
Unfortunately, making the ships hostile wreaks havoc with the choreography that is supposed to occur between the three capships and the docking operation for the transports launched from the second capship trying to dock with the first.
If all of the ships above remain Unknown, everything goes without a hitch: The second capship jumps in, pulls alongside the first (using a waypoint path), and after both transports are launched, it jumps out. Meanwhile, on a slightly different timeline and on the other side of the first capship, the Shivan cruiser jumps in, pulls alongside, vectors away (also using a separate waypoint path), and jumps out. The two transports dock, one after the other, and the original larger capship jumps out.
So I know my expressions are working properly. But when I make the ships IFF-Hostile, they immediately begin reacting to proximity of the player ships and any IFF-Friendly ships, which removes capships 2 and 3 from their waypoint paths. The transports also react to proximity of IFF-Friendly ships and run away, ensuring that they will pretty much never dock with capship 1.
I'm hoping I'm able to solve the above using some creative orders of ai-ignore/ai-ignore-new. But when I saw this iff-def term being thrown around, I wondered.
Anyway. Any help is appreciated. Thanks in advance for any information.
-bb