I finished up a prototype IFF beacon changer. Here it is:
http://www.i-war2.com/epic/files/IFF.zip
Don’t use this prototype with any Epic release. Files will conflict.
This version was made to work with FutureTrader and standard UniGUI. Note that this test prototype gives your free IFF beacons to make testing easier. (but perhaps someone could fly around and make sure IFF beacons can be purchased? thanks!) The design is intended to not let you change when near stations or hostile ships, but that code is commented out so you can test the IFF part easily. Please post comments or problems here.
From the ReadMe:
This mod will let you change your ships IFF code. This if very handy for
sneaking up on hostile factions.
To use the IFF changer, you need to purchase IFF Beacons using Future
Trader. Research and Manufacturing stations should sell these beacons.
Once you have some IFF Beacons open the UniGui Screen and select Change
IFF. The IFF Changer main screen will open.
Select the Faction that you wish to become by mouse clicking on the
faction. The Faction name will appear on the right.
Then press the Change IFF button.
If you have a beacon in your inventory, and you are not within 1000km of a
station, your IFF code will change to the one you select. If you get an
invalid beep, check the log file for the reason it refused.
Ending the IFF Change
You can change your IFF back at any time. Just open the IFF main screen
using UniGUI and select “Stop IFF”. Your ships IFF will change back to
player standard.
Your IFF will also be changed back if you attack another ship. You will
have 30 seconds of delay, and then your IFF will revert to your player
value.
-Gtrout