PRODUCT.DAT

From UFOpaedia
Revision as of 04:03, 5 April 2007 by Zombie (talk | contribs) (Added some more info/formatting.)
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. Values are presented according to byte offset (0 to 18).

0-3 (4 Bytes): Unit price for the item

4-5 (2 Bytes): Engineering Hours needed to complete 1 item

6-7 (2 Bytes): Work space needed

8-10 (1 Byte each): Prerequisite item(s) needed. Up to 3 types possible.

11-13 (1 Byte each): Quantity of prerequisites needed. Up to 3 types possible.

14 (1 Byte): Item type manufactured.

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