falcon4:database
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
falcon4:database [2008/05/09 01:52] – added addvehicle_tutorial link snakeman | falcon4:database [2024/07/31 08:04] (current) – links added. snakeman | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Database ====== | + | ====== |
- | Falcon 4 Database Editing (< | + | [[https:// |
+ | |||
+ | **Falcon 4 Database Editing** (< | ||
+ | |||
+ | [[falcon4: | ||
[[falcon4: | [[falcon4: | ||
Line 9: | Line 13: | ||
[[falcon4: | [[falcon4: | ||
- | ====== Background ====== | + | [[falcon4: |
- | The Falcon 4 database is edited with [[falcon4:tools:f4browse|F4Browse]] by Julian " | + | [[falcon4:database:unit_move_type|Unit move type]] |
- | [[http:// | + | |
+ | [[falcon4:database:rack_dat|Rack.dat explanation]] | ||
- | The F4Browse measurements are in for example fuel: **lbs**, range: **nautical miles** values. In the view option you cannot see measurements, | ||
====== Adding, Deleting and Editing ====== | ====== Adding, Deleting and Editing ====== | ||
Line 22: | Line 26: | ||
Read Jerry " | Read Jerry " | ||
- | ====== Adding Aircraft Copy ====== | + | Read [[falcon4: |
- | + | ||
- | Here is example of how to add new CT record of aircraft squadron so you can use both the old squadron and this new edited squadron you just made. For example if you want to have one theater but with two time periods like Desert Storm. 1991 ODS and present day Black Phoenix. Both used the F-16 aircrafts, but in ODS they didn't have AIM-120' | + | |
- | + | ||
- | This example shows you how to copy F-4E SK squadron: | + | |
- | * units -> f4esk -> add copy, update | + | |
- | * classtable -> no354 -> add copy, change File offset to unit number | + | |
- | * back to unit view, reedit | + | |
- | * bring up dialog for Unit [U], look for SSD record number | + | |
- | * go to SSD view, and copy SSD used by [U]. remember the new SSD number | + | |
- | * edit 522, change SSD Ind to new SSD number, update | + | |
- | * edit 522 again, click on SSD Ind button should see the SSD record click on used by - should see just used by one squadron. | + | |
- | + | ||
- | ====== Rack.dat explanation ====== | + | |
- | + | ||
- | Here is what I have. Shawn is the expert now though :-) | + | |
- | + | ||
- | The new rack specification. This is defined through the rack.dat file. This file specifies two things. | + | |
- | * 1) RackGroups - these are groups of common rack definitions | + | |
- | * 2) Racks - this sepcifies an individual rakc, its capacity and visual | + | |
- | + | ||
- | ====== Rack Groups ====== | + | |
- | + | ||
- | These are number from 0 to N, N being specified in the file as the maximum number currently defined. The specification is\\ | + | |
- | Group [n] [racks]\\ | + | |
- | as in\\ | + | |
- | Group0 0 1 2\\ | + | |
- | Group1 3 4 5 6\\ | + | |
- | which says rack group 0 contains racks 0, 1 and 2. | + | |
- | + | ||
- | ====== Rack Defintions ====== | + | |
- | + | ||
- | These define the individual racks, from 0 to N, where again N is defined in the rack.dat file. | + | |
- | + | ||
- | The specification is\\ | + | |
- | Rack [n] [CTid] [MaxCount]\\ | + | |
- | as in\\ | + | |
- | Rack0 0 0\\ | + | |
- | Rack1 1982 1 # helo one rack | + | |
- | + | ||
- | Having defined all the avilable racks and rackgroups, then it is time to match them up. This is done in the following way. In the weapon file, a new field (well an old one that wasn't used) is used to specify the rack group for this weapon. Through this, you can specify all the racks that can potentially carry the weapon. E.g., in the above, if the rackgroup was 0, then the weapon could potentially be carried on any of racks 0, 1 or 2. | + | |
- | + | ||
- | Then, in the aircraft.dat file, the hardpoint specifies the rack group that this hardpoint can carry. So, for instance, and F-16 might specify hardpoint 7 has rackgroup 1, which in turn says racks 3 4 5 and 6 can be attached to this hardpoint. | + | |
- | + | ||
- | Now - all that has to happen is for a the weapon and hardpoint to be matched up. So, say we wish to load a 2 mavericks on a F-16 hardpoint 7. We find the rackgroup for hardpoint 7, we find the rack group for the maverick, and then we go through the list of racks in each looking for the first match with enough capacity to carry the given load of weapons.\\ | + | |
- | So, the chosen rack must be\\ | + | |
- | a) part of the rackgroup for HP7\\ | + | |
- | b) part of the rackgroup for maverick\\ | + | |
- | c) allow 2 or more weapons to be carried.\\ | + | |
- | Julian. | + | [[falcon4: |
- | This tutorial is under work and we will be adding more stuff to it. Send info/ |
falcon4/database.1210297932.txt.gz · Last modified: 2008/05/09 01:52 by snakeman