[FONT=courier new]14. BARCODES
To be able to effectively differentiate between the various airframes:
Consortium, Map, fighter bomber, interceptor, recce, type of seat: C2 or Q7 and the various nationalities we use a kind of
barcode that uniquely identifies each individual feature.
Barcodes are stored in two places:
- one using the ATC ID parameter in the aircraft.cfg file (aka TAIL NUMBER in sim CUSTOMIZATION)
- the other in the \simskunkworks-aircraft-frf104g\Data\config\barcodes.ini file
In this way it is ensured the correct reading of the barcode even if the user wants to customize his TAIL NUMBER
Above is transparent to the user unless he wants add some liveries to his model, in this case he should know the format of barcodes.
BARCODE format in the aircraft.cfg file
Barcode is made of alphanumerics, it is used to identify each single airplane version each one
identifies one airplane characteristic:
and manage their differences.
It's made of 8 alphanumeric, (presently only 4 are used), each one identifies an airplane characteristic:
0) aircraft frame: F (F-104G MAP), G (F-104G CONS), H (RF-104G MAP), J (RF-104G CONS)
1) nations: I(talian),G(erman),N(orvegian),U(saf), B (Belgium), H (Nederland), D (Denmark), R (Greece),T (Turkey)
2) role: F(ighter) B(omber) (R) Recce
3) seat: C (C2), Q (Q7 martin Baker)
example:
[FLTSIM.0]
Title="SSW FRF104-G 9998 - C2 seat"
...
atc_id="FIFC0000"
..
BARCODE in /Data/Barcodes.ini file
Is made of up to 64 section like this:
[BARCODE1]
{
TITLE: "SSW FRF104-G 9998 - C2 seat";
CODE: FIFC0000;
}
If a user wants add a new livery he should edit both files adding a new [FLTSIM.n] in aircraft.cfg and a new [BARCODE.n] section in barcodes.ini, the barcode should reflect the airframe characteristics he wish. [/FONT]