Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
What are these fields for (NovaTools) Those numbers (0x0005541 and such) are they flags or something?
Do you need them to make well, kinda strange plugins? Like ships that acts like spöbs?
Thanks
Dj HomeWear (yes, that's me!)
------------------
"To play ev nova or not to play ev nova, that is the question" - Shakespear
(url="http://"http://www.AmbrosiaSW.com/news/upcoming/novabible.html")Suggested reading.(/url)
------------------ (url="http://"http://www.evula.com/")EVula,(/url) your friendly (url="http://"http://www.evula.com/")self-promoting(/url) EV & EVO Boards/Addon/Newswire/Chronicles moderator (url="http://"http://www.evula.com/")evula.com(/url) | (url="http://"http://www.evula.net/")evula.net(/url) | (url="http://"http://www.evula.org/")evula.org(/url) | (url="http://"http://www.ev-nova.net/")ev-nova.net(/url) :: (url="http://"http://forums.evula.com/")Lair Forums(/url) (url="http://"http://pftn.evula.net")pftn(/url) | (url="http://"http://dreamwave.evula.net")dreamwave(/url) | (url="http://"http://davidarthur.evula.net")davidarthur(/url) | (url="http://"http://ucplugs.evula.net")ucplugs(/url) | (url="http://"http://jager.evula.net")jager(/url) | (url="http://"http://stark.evula.net")stark(/url)
Thank you, but I have it downloaded both in HTML and PDF Is "everything" possible using the flags (if it is flags)?
-edited-
Please, Froggy. Learn the skill of context.
And zombo.com isn't that funny, either.
-Mazca
(This message has been edited by Mazca (edited 01-01-2003).)
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).)
Sorry to dig this up but...
I understand what the fields do. I'm a little uncertain on how to use them. I know that bits need to match up in order for related "things" to work so that's not the issue. I'm wondering if there are any specific issues regarding certain bits. Meaning... will setting certain bits conflict with other outfits, etc? Is there any way to know what bits aren't being used so if I set a contribute field for my ship I won't accidentally be allowing access to a weapon that I shouldn't have. Or do you just have to go through nearly every resource to see which bits are available? Or does it even matter?
Hope that makes sense.
------------------ I used to jog but the ice kept falling out of my glass.
Originally posted by Kame: I'm wondering if there are any specific issues regarding certain bits. Meaning... will setting certain bits conflict with other outfits, etc? Is there any way to know what bits aren't being used so if I set a contribute field for my ship I won't accidentally be allowing access to a weapon that I shouldn't have. Or do you just have to go through nearly every resource to see which bits are available? Or does it even matter?
The EV:Nova scenario (v1.0.2) uses the following contribute bits:
Contribute0 uses 000003FF (the low order 10 bits) leaving 22 bits free for our usage. Contribute1 uses C0000071 leaving 26 bits free.
The way I found this out was precisely as you surmised, I went through every (yes, every) resource that used the Contribute0 & 1 flags and tallied up the results shown above. If you "step" on these bits used by the Nova scenario you will cause yourself grief.
As an addendum, the Contribute0 flags are used by the ränk and oütf resources and the Contribute1 flags are used by the shďp resources.
ps.- readily half of programming of any kind is not hard, ... just tedious.
------------------ "There are no bugs in my code, ... only undocumented features." - corollary #3 provided by bit-banger Arturo: table: (url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/dl-redirect.pl/ResourceInterdependence.hqx?path=evn/utilities&file;=ResourceInterdependence.hqx")ResourceInterdependence(/url) and plug-in: (url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/dl-redirect.pl/ShieldBubbles1.0.hqx?path=evn/plugins&file;=ShieldBubbles1.0.hqx")ShieldBubbles1.0(/url)
Originally posted by Arturo: **The EV:Nova scenario (v1.0.2) uses the following contribute bits:
**
Thanks, I actually finally figured out how this works. I was looking at it from a Nova Tools perpective of all the little check boxes which was throwing me off. Basically did the same thing though of going through nearly every outf resource and seeing which bits were set and which weren't. Tedious.
Hey thanks for the time saver guys.
------------------ "We live, we die. Get over it." "If by being abnormal we are normal, and by being normal we are abnormal, we create a paradox loop and therefore we neither exist nor not exist. We simply are." - Zerak Toman