Mogoče bo tole pomagalo, da ne bomo ravno na dom hodili

:
Struktura map za neko določeno letalo izgleda takole:
FS9
--->Aircraft - tule notri bo poleg ostale šare(povsem nepotrebno in odveč), xxxxxx.air in pa aircraft.cfg in to je datoteka, ki jo bova poizkusila urediti
-------->model - v tej mapi sta model_xy.cfg in pa xy.mdl. Letalu dajeta trodimenzionalni izgled
-------->panel - v tej mapi je panel.cfg datoteka in pa večja ali manjša količina *.bmp datotek, lahko pa so zraven tudi *.cab datoteke in vse skupaj predstavljajo tisto kar vidimo na instrumentalni plošči
-------->sound - sound.cfg in pa večje ali manjše število *.wav datotek - to so zvoki letala
-------->texture - tu notri so datoteke vrste bmp(če govoriva o FS9) ali dds, če je to FS X in predstavljajo "obleko" trodimenzionalnega modela letala.
Če pogledava v mapo Aircraft v FS9 (FS2004 alias ACOF) bova v njej našla kar nekaj podmap, pa za najin test odpriva kar mapo b737_400. Notri poleg že omenjenih map vidiva še tele:
Texture.1
Texture.2
Texture.3
Texture.4
V vsaki od naštetih map se skriva druga barvna varianta istega letala, definirane pa so v aircraft.cfg, zato odpriva to datoteko in takoj na začetku vidiva:
aircraft.cfg napisal/-a:
[fltsim.0]
title=Boeing 737-400
sim=Boeing737-400
model=
panel=
sound=
texture=
kb_checklists=Boeing737-400_check
kb_reference=Boeing737-400_ref
atc_id=N737Z
atc_airline=American Pacific
atc_flight_number=1123
ui_manufacturer=Boeing
ui_type="737-400"
ui_variation="American Pacific Airways"
description="One should hardly be surprised that the world's most prolific manufacturer of commercial aircraft is also the producer of the world's most popular jetliner. The 737 became the best-selling commercial jetliner worldwide when orders for it hit 1,831 in June 1987 (surpassing Boeing's own 727 as the previous champ). However, it wasn't always that way\s in the first few years of production, there were so few orders that Boeing considered canceling the program. They didn't, and the airplane has more than proven itself in over three decades of service."
[fltsim.1]
title=Boeing 737-400 Paint1
sim=Boeing737-400
model=
panel=
sound=
texture=1
kb_checklists=Boeing737-400_check
kb_reference=Boeing737-400_ref
atc_id=N737W
atc_airline=Landmark
atc_flight_number=1123
ui_manufacturer=Boeing
ui_type="737-400"
ui_variation="Landmark Airlines"
description="One should hardly be surprised that the world's most prolific manufacturer of commercial aircraft is also the producer of the world's most popular jetliner. The 737 became the best-selling commercial jetliner worldwide when orders for it hit 1,831 in June 1987 (surpassing Boeing's own 727 as the previous champ). However, it wasn't always that way\s in the first few years of production, there were so few orders that Boeing considered canceling the program. They didn't, and the airplane has more than proven itself in over three decades of service."
[fltsim.2]
title=Boeing 737-400 Paint2
sim=Boeing737-400
model=
panel=
sound=
texture=2
kb_checklists=Boeing737-400_check
kb_reference=Boeing737-400_ref
atc_id=N737X
atc_airline=Orbit
atc_flight_number=1123
ui_manufacturer=Boeing
ui_type="737-400"
ui_variation="Orbit Airlines"
description="One should hardly be surprised that the world's most prolific manufacturer of commercial aircraft is also the producer of the world's most popular jetliner. The 737 became the best-selling commercial jetliner worldwide when orders for it hit 1,831 in June 1987 (surpassing Boeing's own 727 as the previous champ). However, it wasn't always that way\s in the first few years of production, there were so few orders that Boeing considered canceling the program. They didn't, and the airplane has more than proven itself in over three decades of service."
[fltsim.3]
title=Boeing 737-400 Paint3
sim=Boeing737-400
model=
panel=
sound=
texture=3
kb_checklists=Boeing737-400_check
kb_reference=Boeing737-400_ref
atc_id=N737Y
atc_airline=Pacifica
atc_flight_number=1123
ui_manufacturer=Boeing
ui_type="737-400"
ui_variation="Pacifica Airlines"
description="One should hardly be surprised that the world's most prolific manufacturer of commercial aircraft is also the producer of the world's most popular jetliner. The 737 became the best-selling commercial jetliner worldwide when orders for it hit 1,831 in June 1987 (surpassing Boeing's own 727 as the previous champ). However, it wasn't always that way\s in the first few years of production, there were so few orders that Boeing considered canceling the program. They didn't, and the airplane has more than proven itself in over three decades of service."
[fltsim.4]
title=Boeing 737-400 Paint4
sim=Boeing737-400
model=
panel=
sound=
texture=4
kb_checklists=Boeing737-400_check
kb_reference=Boeing737-400_ref
atc_id=N737T
atc_airline=World Travel
atc_flight_number=1123
ui_manufacturer=Boeing
ui_type="737-400"
ui_variation="World Travel Airlines"
description="One should hardly be surprised that the world's most prolific manufacturer of commercial aircraft is also the producer of the world's most popular jetliner. The 737 became the best-selling commercial jetliner worldwide when orders for it hit 1,831 in June 1987 (surpassing Boeing's own 727 as the previous champ). However, it wasn't always that way\s in the first few years of production, there were so few orders that Boeing considered canceling the program. They didn't, and the airplane has more than proven itself in over three decades of service."
Kot vidiš je navedb 5 - od [fltsim.0] do [fltsim.4] in če jih primerjaš je očitno, da se prva v šesti vrstici (texture=) nanaša na mapo texture, naslednja [fltsim.1] ima v isti vrstici napisano texture=1, vse ostale sekcije pa temu po vrsti sledijo. Tale vsebina za imenom mape texture je tista na katero se sklicuje aircraft.cfg in je lahko praktično karkoli, dokler bova sledila analogiji.
Pa izvediva praktičen primer: preneseva barvno varianto letala b737-400:s
tele povezave in jo razpakirava kamorkoli.
Poleg vsega nakladanja o tem, kako dober je repaint in kupa ostale šare sva, pod pogojem, da sva pri razpakiranju *.zip datoteke imela vklopljeno opcijo "obdrži strukturo direktorijev", dobila tudi mapo z imenom texture.alaska ki jo prekopirava v mapo letala, torej bova imela sedaj strukturo map, ki bo izgledala takole:
Aircraft
---> b737_400
------>model
------>panel
------>sound
------>texture
------>texture.1
------>texture.2
------>texture.3
------>texture.4
------>
texture.alaskain vse kar nama še preostane je, da simulaciji dopoveva, da obstaja nova barva varianta za to letalo, kar pa storiva tako, da v datoteki aircraft.cfg ustvariva potrebno informacijo. Ker imava od prej že pet barvnih variant, bo najina šesta varianta imela številko 5, ker se štetje začne z nič in ne z ena, torej odpreva readme737-400Alaska.txt in popraviva tale tekst, ki ga nama je pripravil prijazni avtor repainta, ki pa ni mogel vedeti, koliko repaintov za to letalo že imava, pa je zato v pripravljenem tekstu tole:[fltsim.x] česar pa simulator seveda ne bo "prebavil", saj pričakuje naslednjo zaporedno številko, ki je v najinem primeru 5, torej popraviva
Citiram:
[fltsim.x] v [fltsim.5]
title=Boeing 737-400 Alaska
sim=Boeing737-400
model=
panel=
sound=
texture=alaska
kb_checklists=Boeing737-400_check
kb_reference=Boeing737-400_ref
atc_id=NG07AS
atc_airline=Alaska
atc_flight_number=1123
ui_manufacturer=Boeing
ui_type=737-400
ui_variation=Alaska
description="One should hardly be surprised that the world's most prolific manufacturer of commercial aircraft is also the producer of the world's most popular jetliner. The 737 became the best-selling commercial jetliner worldwide when orders for it hit 1,831 in June 1987 (surpassing Boeing's own 727 as the previous champ). However, it wasn't always that way\s in the first few years of production, there were so few orders that Boeing considered canceling the program. They didn't, and the airplane has more than proven itself in over three decades of service."
.... in zadeva bo delovala. Za poizkus, kako enostavno je pravzaprav, lahko mapo texture.alaska preimenuješ, naprimer v texture.5, vendar moraš potem tudi modificirati vrstico texture=alaska v texture=5.
Naslednja dodana barvna varianta tega letala bi po začeti analogiji imela v aircraft.cfg sekcijo [fltsim.6], v vrstici v za definicijo barvne variante pa texture=6 in tako naprej . . .