Unused tech that is still in the core. (This a bug?)

Discussion / Announcement area for Dark Nebulae Core development.
Tontow
Posts: 197
Joined: Mon Sep 25, 2006 12:19 am
Location: USA, Washington
Contact:

Post by Tontow »

Hawkwood wrote:QUOTE (Hawkwood @ Dec 4 2006, 02:05 AM) The 'Pre's you mention up there are *locals*
Like 232 meaning a physical object of a Garrison/Starbase has to be present.
Im quite sure thats mentioned in the pre/def guide /wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" />

mfg

QUOTE Additionally, there are some *Flags* that have an additional attribute.
Those are the so called Locals. Locals only matter for buildings.
They are basically like Def's, the only difference is that they inherit the
information at which base the station can be built and which stations/drones
can be constructed at this base.[/quote]



I was unable to find the bit numbers 232 or 248 anywhere in the game code so I know that there user defined bit numbers.
Could someone come up with a better explanation of what Locals are? At first I thought that Locals where references to the IDs of ships, but after reading that I'm not so shore now.
Tontow
Posts: 197
Joined: Mon Sep 25, 2006 12:19 am
Location: USA, Washington
Contact:

Post by Tontow »

Perhaps this would be a better explanation? (Is it a correct one?):

Locals are Def bits that can be turned off. So long as a local is given on an existing station, then the Local bit is on. If that station is destroyed then the bit is turned off if no other station gives that Local bit.

IE:
Station 1
Pre: 50
Def: none
Local: 50 100

Station 2
Pre: 100
Def: none
Local: 50

Station 3
Pre: 100
Def: none
Local: 50

So if Station 1 is built then you can also built then you can build Station 1 and Station 2.
But, If only Station 2 or Station 3 is built, then you can only build Station 1.
ShadowMoses
Posts: 166
Joined: Thu Oct 13, 2005 7:00 am

Post by ShadowMoses »

tontow wrote:QUOTE (tontow @ Dec 2 2006, 11:27 AM) Pre bit 248 is given to bases that build on general asteroids, but Pre bit 232 is given on bases that require non-general asteroids.
Pali and Research for GT?
Image
Post Reply