Talk:PRODUCT.DAT

From UFOpaedia
Jump to navigation Jump to search

Manufacturing Requirements

Bytes 8-10 have the following values for objects:

88 = Alloys
60 = E115
80 = Power Source
81 = Navigation


You know, I always wondered why the FBL entry for prereq and qty were offset. Obviously it is a programming glitch. As a test, I edited Product.dat so that the prereq and qty numbers happened at the beginning of the list and bingo, FBL's now take 1 unit alien alloys per launcher. Editing product.dat while you are currently manufacturing FBL's doesn't stop the bug, as BPROD.DAT is active. Just to note, the bug cannot be completely eliminated by editing product.dat as that file is created from the executable. Editing the executable fixes it permanently.

Not sure I agree with lumping the prereq and qty types in the same entry on the article page though. Those two should stay separate as they are different things. Anyway, nice job nonetheless.

Good job on the testing, Zombie. Let me paste that info in. By any chance, do you know the exact bytes in the .EXE to fix the FBL "problem"? ... Only if it's real easy to find. (And say which .EXE, if you do.)
I just barely prefer having all 6 bytes discussed together, versus separating the two sets. If somebody wants to separate them, feel free. -MikeTheRed 20:28, 14 May 2008 (PDT)