LOC.DAT: - each entry is 20 bytes long (most of this info is from NKF, thanks a lot)

Offset 00 - Object type - Possible Values = 00 - Pretty sure this is unsighted UFO (note: changing the value won't change what the item is, this is merely a reference).
                                                           01 - Alien Ship
                                                           02 - X-Com Ship
                                                           03 - X-Com Base
                                                           04 - Alien Base
                                                           05 - Crash Site
                                                           06 - NEED HELP - Any ideas?
                                                           07 - Waypoint
                                                           08 - Terror Site

Offset 01 - Object table reference - Possible values - 00 to FF - Just a reference. This just shows how many there are of this type on the geoscape. (ufos and xcom craft are both type ship and will both increment this number). This is used for determining base number, for use in other files.

Offset 02 & 03 - Horizontal starting coordinates (low bit then high bit respectively). I'm not sure of possible values, changing them moves it around the map.

Offset 04 & 05 - Vertical starting coordinates (low bit then high bit respectively). I'm not sure of possible values, changing them moves it around the map.

NOTE: Ships don't land on the exact place that the alien ship is, that's why there will be discrepancies between the alien and x-com ship destination info.

Offset 06 & 07 - Horizontal destination coordinates (low bit then high bit respectively). I'm not sure of possible values, changing them moves it around the map.

Offset 08 & 09 - Vertical destination coordinates (low bit then high bit respectively). I'm not sure of possible values, changing them moves it around the map.

Offset 0A To 0F - NEED HELP

Offset 10 - Something to do with visibility, not really sure however.

Offset 11 to 13 - NEED HELP

NOTE: In other files (ie: craft.dat) it references the entry number for the base. (ie: if the value is 0A then that base is in entry 10 of this file).

BACK