Log in

View Full Version : file(s) location question


Albrecht Von Hesse
02-09-08, 04:45 PM
I've been playing around a bit this week trying to determine the structure and architecture of various files and programs. I'm a bit stumped about this though.

When in the mission editor, when you place an aircraft you can select various loadouts (see below). However, when I examine the aircraft data files I see no sign of the loadouts. It seems the data .sim files are for the 'stock' aircraft design, and doesn't include what 'extras' it might carry.

So, just where does one find what the various loudouts are? And what determines what spawned aircraft (the nasty things you encounter during a patrol :p ) carry?

http://i96.photobucket.com/albums/l192/Albrecht_von_Hesse/loadout.jpg

Madox58
02-09-08, 05:41 PM
That would be the eqp file and cfg file
that determines this Sir.
:up:

Albrecht Von Hesse
02-09-08, 09:25 PM
Ok, that works (I hope! --grins--)

Next question: in the .eqp file is this header: ";equipment cfg file, loadout definitions are in the platform cfg file"

Where is the 'platform cfg' file to be found?

Carotio
02-09-08, 09:30 PM
Ok, that works (I hope! --grins--)

Next question: in the .eqp file is this header: ";equipment cfg file, loadout definitions are in the platform cfg file"

Where is the 'platform cfg' file to be found?

either:
data/air/"air plane name"/*.cfg
or
data/sea/"sea unit name"/*.cfg

Albrecht Von Hesse
02-09-08, 09:51 PM
Got that. I'm trying to narrow down the meanings and locations of these:

In the .eqp file:

"LinkName=Bomb100Kg
Loadout=2x100Kg Bombs"

In the .cfg file:

"[Loadout 1]
Name=2x100Kg Bombs
Type=2"

Looking in bombs.dat I can find the 100Kg bomb, but I've no idea how the 'Type=2' related to that.

I guess I'm struggling to deduce the architecture starting from where the bomb(s) are designed, up to the point they are loaded (in-game or by mission editor) onto a specific aircraft.