Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » FreeStars » Efficient Algorithm for Scanning planets/fleets/etc.
Re: Efficient Algorithm for Scanning planets/fleets/etc. Fri, 09 February 2007 05:16 Go to previous messageGo to previous message
Kotk

 
Commander

Messages: 1227
Registered: May 2003
sirgwain wrote on Fri, 09 February 2007 00:20

Good to know. For some reason I was under the impression that ships without scanners didn't see any ships unless they engage in battle with them.

They do not see the design (unless they are warmongers). Hulls are scanned like by usual scanners.
Quote:

Well my philosophy of coding has always been readability over efficiency, within reason. I don't tend to implement things that execute but are confusing to code browsers. Especially in a future open source project. Smile

Common philosophy, however if you name square of range "range_squared" and not "range" then i dont get what is that unreadable about it?
Quote:


Quote:


5) apply non-pen scanners to deep space objects. Everything that is scanned move to scanned objects list.


For step 5, don't pen scanners scan hull designs, but non pen scanners don't scan hull designs (or planets, for that matter). I can't really move an object into the scanned list unless it's been pen scanned. I could keep two lists of scanned objects, penned and non penned...

Non-pen scanners see deep space objects as good as pen scanners see. Design can be scanned only by warmongers and no difference then if by penscanner or usual scanner or by having scannerless ship in the same location.
Planets and orbitals i was considering to be worth put into "orbiting" list.

Quote:

I have done enough C++ in my life. C# is like a angelic light warming my soul and making me happy. Ok, maybe not that nice, but it sure is more fun than clunking around in C. Smile


Uhh... i did not say that switch to C. Shocked C++ is similar enough with C# and whatever they say ... C++ does calculations about 5 times quicker than C#.

m.a@stars wrote on Fri, 09 February 2007 00:30

I was under the impression that "scannerless scan" yielded too poor info to happily discard a better scanning of the same target... Confused

Yes i forgot to say that scannerless scan may be mostly ignored with planets.
Orbitals and fleets however are discovered by scannerless scan as good as with any other scan.
Range zero scanning has actually 4 different levels:
1) Scan presence of aliens (for WM it also scans orbital and hull designs)
2) Scan planetary values, terraforming, mineral conc, rough pop count and defenses (for CA it also scans exact HAB of opponent)
3) Scan minerals in fleets
4) Scan minerals on planet ground (Robber baron or by remote miners that mined the planet this turn)

That range 0 scan part works clunky in current stars! too so indeed should be thought deeper. Maybe scan planets entirely separately from all other objects.



[Updated on: Fri, 09 February 2007 05:46]

Report message to a moderator

 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New stars! server clone proposal
Next Topic: 3D tool
Goto Forum:
  


Current Time: Mon Apr 29 07:36:34 EDT 2024