OBDATA.DAT

From UFOpaedia
Revision as of 17:07, 31 October 2005 by Danial (talk | contribs) (→‎Structure)
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.

20 / 14: BIGOBS.PCK reference.

21 / 15: FLOOROB.PCK reference.

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

23 / 17: Item Weight

24 / 18: X Size (width)

25 / 19: Y Size (height)

26:

27:

28:

29 / 1D: HANDOB.PCK reference.

30 / 1E: Same as 29.

31 / 1F: Damage Type

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

32: Auto % Accuracy

33: Snap % Accuracy

34: Aimed % Accuracy

35: Auto TU Usage

36: Snap TU Usage

37: Aimed TU Usage

38: Ammo Clip size (10 for weapon)

39: Mostly all 8's.

40: Mostly all 100's.

41: Mostly all 50's.

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

44: Explosive Type

1 = Grenade, Alien Grenade, HE
2 = Proxy
3 = Smoke Grenade

45:

46:

47:

48:

49:

50: Is Two-Handed Weapon? (Boolean)

51: Is Blaster Launcher? (Boolean)

52: Is Alien? (Boolean)

53: