I added support for Contact Lines. Currently, they can only be loaded from DTC. In the future, I'll update the UFCP TAC format to allow changes (not that anyone uses it, but still).
DTC loading
Several pages can now be loaded from DTC through CMFD DTE.
A template file is available for each major scenery under /DTC/. The DTC files were moved from /Mission/ to /DTC/ to make it more obvious and not let users mistake it for /Missions/.
The coordinates are in the -1 to 1 format, meaning LAT 1 equals to 90N, LAT -1 equals to 90S, LONG -1 equals to 180W and LONG 1 equals to 180E.
COM2 channels are tied to datalink, so they are not loaded from the DTC. Since there is no datalink in this mod, I allowed it to be loaded from the DTC for convenience.
This is the first working implementation of reading the DTC, other than the General file (which just gives information to the DTE page, but do not load anything).
What is working so far:
ADF
AVD_AREA
CNT_LINE
COMM1
COMM2
FLT_AREA
IFF
VOR
WAYPOINT
**** Known issues
I can't get the simple lines to show up as dashed or dotted. I commented on the code how it should be.
CMFD BIT format
I also implemented a text output for the CMFD BIT format, so we can debug stuff in-game while using the CMFDs.
Contact lines
I added support for Contact Lines. Currently, they can only be loaded from DTC. In the future, I'll update the UFCP TAC format to allow changes (not that anyone uses it, but still).
DTC loading
Several pages can now be loaded from DTC through CMFD DTE.
A template file is available for each major scenery under /DTC/. The DTC files were moved from /Mission/ to /DTC/ to make it more obvious and not let users mistake it for /Missions/.
The coordinates are in the -1 to 1 format, meaning LAT 1 equals to 90N, LAT -1 equals to 90S, LONG -1 equals to 180W and LONG 1 equals to 180E.
COM2 channels are tied to datalink, so they are not loaded from the DTC. Since there is no datalink in this mod, I allowed it to be loaded from the DTC for convenience.
This is the first working implementation of reading the DTC, other than the General file (which just gives information to the DTE page, but do not load anything).
What is working so far:
**** Known issues I can't get the simple lines to show up as dashed or dotted. I commented on the code how it should be.
CMFD BIT format
I also implemented a text output for the CMFD BIT format, so we can debug stuff in-game while using the CMFDs.