OBDATA.DAT

From UFOpaedia
Revision as of 16:32, 31 October 2005 by MikeTheRed (talk | contribs) (making this together with Danial)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

General Notes

OBDATA.DAT is found in GEODATA and contains general information on objects found in the game.

There are 80 entries, each of which are 54 bytes long. It is 4,320 bytes long.

Values are presented according to offset (0 to 53) followed by the equivalent hexadecimal offset (00 to 35) in bold.

Structure

0-19 / 00-13: Name of object. Delimited by a null character. Note: These are internal names. They all make sense, but are not the names displayed in the game.

22 / 16: Weapon Strength - Same as seen in UFOpaedia

23 / 17: Item Weight

32 / 20: Damage Type

   0  AP
   1  IN
   2  HE
   3  Laser
   4  Plasma
   5  Stun
 255  Weapon which needs ammo (i.e., "Not Applicable")

42 / 2A: Explosive strength needed to destroy object -- work in progress