-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ricmzn says: This fixes generation of invalid mode 1 IFF codes, as most aircraft allow 0-7 in the first digit, but only 0-3 the second digit, by moving the mission type (1-5) over to the first digit of the code, and also adds a secondary secondary digit to the generated code, so different mission types of the same kind (ie. Strike, BAI, Armed Recon, CAS) have unique mode 1 codes (50, 51, 52, 53). This also makes so that assets assigned to mission each get an unique (sequential) mode 3 IFF code, wrapping when the last digit reaches the maximum value (7), to not collide with other mission codes. This will hopefully make cooperation with LotATC-based controllers easier if people follow the mission instructions. All the new settings are now in the enum.lua file, easily editable alongside other mission type definitions.
- Loading branch information
Showing
5 changed files
with
54 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters