PRODUCT.DAT

From UFOpaedia
Revision as of 20:53, 29 January 2007 by Pi Masta (talk | contribs) (added See Also links)
Jump to navigation Jump to search

Product.dat holds information on the manufacturable items in the game, such as the time needed to build. To modify the stats of items made here look at OBDATA.DAT.

Most (if not all) of this info was obtained from Hatfarm's website. There are still values that are unknown in their function.

Structure

Each entry is 18 bytes long with 35 entries totaling 630 bytes.

  • Offset 0 (4 Bytes) - Unit price for the item
  • Offset 4 (2 Bytes) - Engineering Hours needed to complete 1 item
  • Offset 6 (1 Byte?) - Work space needed
  • Offset 16 (1 Byte?) - Build flag
    • 0 - Can be built
    • 1 - Cannot be built (needs research)

List of Entries

Again ripped from Hatfarm's website

1 - Fusion Ball Launcher
2 - Laser Cannon
3 - Plasma Cannon
4 - Fusion Ball
5 - Tank/Laser Cannon
6 - Hovertank/Plasma
7 - Hovertank/Launcher
8 - HWP Fusion Bomb
9 - Laser Pistol
10 - Laser Rifle
11 - Heavy Laser
12 - Motion Scanner
13 - Medi-kit
14 - Psi-Amp
15 - Heavy Plasma
16 - Heavy Plasma Clip
17 - Plasma Rifle
18 - Plasma Rifle Clip
19 - Plasma Pistol
20 - Plasma Pistol Clip
21 - Blaster Launcher
22 - Blaster Bomb
23 - Small Launcher
24 - Stun Bomb
25 - Alien Grenade
26 - Mind Probe
27 - Personal Armour
28 - Power Suit
29 - Flying Suit
30 - Alien Alloys
31 - UFO Power Source
32 - UFO Navigation
33 - FIRESTORM
34 - LIGHTNING
35 - AVENGER

See Also