Quote
Originally posted by Trader:
**Thanks. But whats that have to do with hexidecimals? Do I add them in hexidecimals?
**
RTFM.
In this case the EV Bible Annotated Edition (there are several sources in the archives here that contain the same basic information, including the EVO Bible Annotated Edition and the ResEdit Beginners' Guide ) has the following information on flags:
+++++++++++++++++++++++++++++++++++++++++
•Appendix: Hexadecimal Flags
Flags are stored Hexidecimally. First of all, figure out what characteristics you want a given thing to possess, and look up what flag values are assigned to those characteristics.
Example for a spöb:
Spob characteristics Flag value
Can lan/dock here 0x00000001
Has commodity exchange 0x00000002
Can outfit ship here 0x00000004
Can buy ships here 0x00000008
Low Food prices 0x10000000
High medical prices 0x00400000
To add hexidecimals, add the numbers in the each column normally, except that you don't carry values higher than 9. Rather, letters are used to represent digits higher than 9:
10 = A 11 = B 12 = C 13 = D 14 = E 15 = F
So, in the example, the value in the flags field should be: 0140000F
(Incidentally, Resedit will want it like this: $0140000F.)
Remember that any single column has a maximum value of 15, not 9. If you find a value greater than 15, check your addition, and that you added the right columns.
+++++++++++++++++++++++++++++++++++++++++++++++++++
Note that you do not have to enter the "$" in the field, just enter the numbers and ResEdit will add the symbol.
If that doesn't answer your questions, ask again and someone will try to explain further.
------------------
Joe Burnette
"I find that humans can be divided into only two meaningful categories: Decent Humans and Sonsofbitches; both types appear to be evenly distributed
among all shapes, colors, sizes, and nationalities." -- Keith Laumer