Difference between revisions of "GEODATA.DAT"

From UFOpaedia
Jump to navigation Jump to search
m (Formatting)
Line 35: Line 35:
 
<b>10-11/0A-0B:</b> Terrain type:
 
<b>10-11/0A-0B:</b> Terrain type:
  
  <b>UFO</b>                                     <b>TFTD</b>
+
  <b>UFO</b>                                 <b>TFTD</b>
  0: Jungle                               0: Seabed Trash
+
  0: Jungle                           0: Seabed Trash
  1: Farm                                 1: Pipes
+
  1: Farm                             1: Pipes
  2: Forest                               2: Crashed Plane
+
  2: Forest                           2: Crashed Plane
  3: X-Com Base                           3: Atlantis
+
  3: X-Com Base                       3: Atlantis
  4: Alien Base                           4: Mu
+
  4: Alien Base                       4: Mu
  5: Urban                               5: Sunken Galleon
+
  5: Urban                             5: Sunken Galleon
  6: Desert                               6: Sunken Liner
+
  6: Desert                           6: Sunken Liner
  7: Mountains                           7: Volcanic
+
  7: Mountains                         7: Volcanic
  8: Polar                               8: Coral
+
  8: Polar                             8: Coral
  9: Mars                                 9: Artefact Site Stage 1
+
  9: Mars                             9: Artefact Site Stage 1
                                        10: Artefact Site Stage 2
+
                                    10: Artefact Site Stage 2
                                        11: Cargo Ship
+
                                    11: Cargo Ship Stage 1 & 2 (Check [[MISDATA.DAT]][20-21] for which)
                                        12: Port Attack
+
                                    12: Port Attack
                                        13: Island Attack
+
                                    13: Island Attack
                                        14: Colony Stage 2
+
                                    14: Colony Stage 2
                                        15: T'leth Stage 1
+
                                    15: T'leth Stage 1
                                        16: T'leth Stage 2
+
                                    16: T'leth Stage 2
                                        17: T'leth Stage 3
+
                                    17: T'leth Stage 3
                                        18: X-Com Base
+
                                    18: X-Com Base
                                        19: Passenger Ship
+
                                    19: Passenger Ship Stage 1
                                        20: ???
+
                                    20: Passenger Ship Stage 2
                                            <i>Crashes, perhaps second stage of ships?
+
                                    21: Colony Stage 1
                                            Probably easy enough to verify, only I'm too lazy to
 
                                            run a shipping mission without hacking... :P
 
                                            - [[User:Bomb Bloke|Bomb Bloke]] 00:46, 30 January 2008 (PST)</i>
 
                                        21: Colony Stage 1
 
  
 
(No other values decoded at this time, but known to control dropship/UFO position(s) on map).
 
(No other values decoded at this time, but known to control dropship/UFO position(s) on map).

Revision as of 00:23, 1 February 2008

Created in the MissDat folder when you start a battlescape mission, also copied to the savegame folder of choice when saving mid-mission. Primarily used to generate a new map at the beginning of combat, and to determine which MCD files to load.

File is 92 bytes long for both UFO and TFTD. Values are presented according to byte offset (0 to 91) followed by the equivalent hex offset (00 to 5B) in bold.

Structure

0-1/00-01: X dimension of the map / 10.

2-3/02-03: Y dimension of the map / 10.

4-5/04-05: Z dimension of the map.

6-7/06-07: X-Com craft type (ignore this if a base mission):

0 - SkyRanger
1 - Lightning
2 - Avenger
3 - Interceptor
4 - Firestorm ???

8-9/08-09: Alien craft type (ignore this if not a UFO mission):

 0 - (No UFO)
 1 - ???
 2 - ???
 3 - ???
 4 - ???
 5 - Small Scout
 6 - Medium Scout
 7 - Large Scout
 8 - Harvestor
 9 - Abductor
10 - Terror Ship
11 - Battleship
12 - Supply Ship

10-11/0A-0B: Terrain type:

UFO                                  TFTD
0: Jungle                            0: Seabed Trash
1: Farm                              1: Pipes
2: Forest                            2: Crashed Plane
3: X-Com Base                        3: Atlantis
4: Alien Base                        4: Mu
5: Urban                             5: Sunken Galleon
6: Desert                            6: Sunken Liner
7: Mountains                         7: Volcanic
8: Polar                             8: Coral
9: Mars                              9: Artefact Site Stage 1
                                    10: Artefact Site Stage 2
                                    11: Cargo Ship Stage 1 & 2 (Check MISDATA.DAT[20-21] for which)
                                    12: Port Attack
                                    13: Island Attack
                                    14: Colony Stage 2
                                    15: T'leth Stage 1
                                    16: T'leth Stage 2
                                    17: T'leth Stage 3
                                    18: X-Com Base
                                    19: Passenger Ship Stage 1
                                    20: Passenger Ship Stage 2
                                    21: Colony Stage 1

(No other values decoded at this time, but known to control dropship/UFO position(s) on map).

See Also