Quote
Is "everything" possible using the flags (if it is flags)?
No. The require and contribute fields help determine when something (like a ship or outfit) is avilable. You can do other stuff with other flags, but check the Bible for details on them.
With the contribute and require fields, you could have an outfit which you can only buy if you have a licence for it.
Think of both fields as a 16 bit string of either 1s or 0s.
The Require field is which bits need to be set to 1 before the pilot can get the item.
The Contribute field is which bits the item sets for the player.
Here's an example:
The Ubergun has a require field like this: 0000000000000001
The Ubergun licence has a contribute field like this: 0000000000000001
When the player trys to buy the Ubergun, his contribute field is logically anded with the item's require field (so 0+0 = 0, 0+1 = 0, 1+0 = 0 1+1 = 1). If the player doesn't have the uber licence it would look like this:
0000000000000001 - Ubergun require field
0000000000000000 - Player contribute field
----------------
0000000000000000 - Result
So the pilot couldn't get the Ubergun. If, on the other hand, the player had the licence, the calculation would look like this:
0000000000000001 - Ubergun require field
0000000000000001 - Player contribute field
----------------
0000000000000001 - Result
This pilot could get the Ubergun.
I can imagine how confused you are with this! Check out how Nova deals with licences and you should get a better idea. Also, if you use Nova Tools it will be easier to understand.
------------------
(url="http://"http://www.geocities.com/newkongindustries/")New Kong Industries (/url) - Home of the Night's Dawn TC!
(This message has been edited by simon (edited 12-11-2002).)