Nightfish wrote:The idea of setting an upper limit for starlanes is very good. If we made it purely random things would look really weird. One more thing I'm worried about is this: What if a starlane links A to B but C is in between those two but not linked to either of those?
Can we somehow head off weird looking combinations? How does MoO3 handle this?
Well, to answer your second question first, the MOO3 map is 3D so if you've got a starlane that overlaps other systems, just rotate the map and you'll alleviate the problem. I thought this was too much work to see exactly the geography of the galaxy and I'm glad we decided to go with 2D for FO.
About the A to B, whilst intersecting C.......good question. Here are some thoughts:
- We can simply not allow this to happen during universe creation. We do a check to ensure that each starlane intersects with two and only two systems.
- We represent said starlanes as beziers, and curve them around the systems in question (not recommdended)
- We can represent these starlanes as a line that darkens or lightens based on how close it is to the intersected planet. Example: suppose A connects to B, but the starlane must be drawn so that it goes through C.
Please excuse this crude drawing
Code: Select all
A------------------C-----------------B
^ ^ ^ ^
| | | |
-> Line starts | | Line ends <-
out white | | up white
| | again
As the line <- |
approaches -> As the line
system B, it moves away from
begins to fade system B, it
to a semi- gradually gets
transparent more opaque.
color.
The first suggestion might be the best.