Warp speed is weird

Miscellaneous Forums/General Discussion/Warp speed is weird

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I'm just implementing Warp speeds into my Star Trek game - basically, for the plotting of courses to different star systems - to show the time it will take at whatever Warp speed and to actually achieve this passage of time in game (simulated).

It takes 365.25 days to travel at Warp 1 over a distance of 1 light year.

I assumed that to travel at Warp 2 over the same distance would be half the time - because it is twice the speed. It isn't - it takes 45.65625 days.

Warp 10 over the same distance is 0.36525 days.

When I first started to calculate them - I knew a base figure and did the old doubling and halving to achieve the various speeds and then realised this simply didn't work.

Anyway, I have it all sorted now - but it all seems a bit bent to me.

I don't understand the formulae, or how to implement it in Blitz; however, I can work it out based on faffing with a base number for each Warp speed:

warp 1 to a destination 1 light years away would take 365.25 days
warp 2 to a destination 1 light years away would take 45.65625 days
warp 3 to a destination 1 light years away would take 13.527777777777779 days
warp 4 to a destination 1 light years away would take 5.70703125 days
warp 5 to a destination 1 light years away would take 2.922 days
warp 6 to a destination 1 light years away would take 1.6909722222222223 days
warp 7 to a destination 1 light years away would take 1.064868804664723 days
warp 8 to a destination 1 light years away would take 0.71337890625 days
warp 9 to a destination 1 light years away would take 0.5010288065843621 days
warp 10 to a destination 1 light years away would take 0.36525 days

Seems to work.