Repository navigation
engine.json: raise the warp speed ceiling ten times - #307
Conversation
The orbit phase recovery puts a body where its orbit says it is, which means a target can now sit light-hours away and stay there. At the old ceiling of 2.9202e10 m/s (97c) a light-hour leg is about 37 s; at ten times that it is about 3.7 s, so the distances the recovered positions expose stay flyable. warp_multiplier_max is raised with it. The ceiling alone would not move the top speed: the effective velocity is the ship's own speed times the multiplier, and the multiplier is clamped to warp_multiplier_max before the ceiling is applied. A 225 m/s ship reaches the old ceiling with a multiplier of 1.3e8, so at 3e8 the multiplier would have capped it at 6.75e10 m/s as soon as the ceiling went up.
royfalk
left a comment
There was a problem hiding this comment.
I'm fine with the change.
stephengtuggy
left a comment
There was a problem hiding this comment.
Hold on here. I don't think this is right. Vega Strike has dealt with distances in terms of light-hours before, at least in the Sol system, and possibly other systems as well. But never, as far as I know, has it allowed speeds much above 97C. I don't think it should.
At a minimum, this is something we need to discuss further before merging.
I don't mind waiting... when the orbital recovery PR lands, sometimes you are six or seven light hours away from Serenity when you take off from Atlantis, just because the orbiting things have been orbiting. At that time, people will start complaining about travel times, and the fix for that is right here. |
I see. Interesting. I wonder how long it's been since orbits actually worked -- if they ever did. |
|
Oh, they never did. If we decide we DON'T want orbits, there is an alternate fix for the flinging your ship across space bug, which is to simply clamp the velocity when you take off, but where is the fun in that? |
@evertvorster @stephengtuggy @royfalk I think we can all agree that having properly orbiting things is a good thing. As to players complaining about differences in distances/times because orbits happened... well, that's part of the game and should be explained as such. Thoughts? |
|
From a play test perspective, this is a big improvement. Launch to dock (both ways Atlantis and Serenity) is now approx. 3 minutes, down from over 10 minutes. On the flight to Serenity, there was a lot of slowing down and speeding up (probably due to detected obstacles?), so I'm guessing this will work even better with your avoidance PR. The flight from Serenity to Atlantis was smooth, with no slow downs during flight at all until approaching the planet, so the trip was quite quick. Once the autopilot cutoff is fixed, the flight time will probably be even quicker. Maybe too quick? Can't believe I'm saying this, but maybe raise the warp ceiling 8 or 9 times instead of 10? |
stephengtuggy
left a comment
There was a problem hiding this comment.
Okay. We have actual players complaining about the flight time now. I am now prepared to give this change my approval.
Do we want to follow @kheckwrecker 's request, and multiply the speed limit by 8x or 9x rather than 10x?
|
I am not going to merge this now. |
warp.max_effective_velocity is a player setting now: the settings screen shows it in whole multiples of light speed and writes it to the player's own config.json overlay. Its shipped default belongs in the same file the overlay is read on top of, rather than in the engine tuning file, so the default and the override are the same schema. warp.warp_multiplier_max stays in engine.json. It is a ratio rather than a speed, nothing in the settings exposes it, and it only has to stay ahead of the ceiling.
Thank you for submitting a pull request and becoming a contributor to Vega Strike: Upon the Coldest Sea.
Please answer the following:
Code Changes:
Issues:
Purpose:
flyable. Pairs with Vega-Strike-Engine-Source#1799 and must land with it (see below).
Net change to
engine.json: two keys, raised ten times.Why it belongs with #1799
The phase recovery puts a body where its orbit says it is, and keeps it there. Bodies — and therefore
targets and destinations — can now sit light-hours away and stay there. At the old ceiling that is
about 37 s per light-hour of travel; at ten times it, about 3.7 s. The position fix is what makes those
distances real, so the ceiling is its companion rather than an independent tuning change.
Why both keys
The ceiling alone would not move the top speed. The effective warp velocity is the ship's own sublight
speed times a multiplier, and that multiplier is clamped to
warp_multiplier_maxbefore the ceilingis applied (
Movable::GetMaxWarpFieldStrength). A 225 m/s ship reaches the old ceiling with a multiplierof 1.3e8, so with
warp_multiplier_maxleft at 3e8 the ceiling raise would have capped it at 6.75e10 m/s— a 2.3x gain rather than 10x. With both raised, any ship doing more than about 97 m/s is ceiling-limited
again.
Ordering — please do not merge this before the step cap
At 974c a ship covers 29.2 million km per simulation atom, and at that step size nothing slows it:
the interdicting curve's onset is about 79 light-seconds from a station for a 225 m/s ship, while the
ceiling covers 97 light-seconds in one atom, so the first atom the brake applies in already overshoots
the body. That is how a ship warps straight through a base, and it is fixed by the step cap in
Vega-Strike-Engine-Source#1818 (engine) + #300 (this repository):
which holds the speed to at most half the gap to the nearest unit per atom, so the gap can never be
crossed in one. This pull request should merge with or after that pair.
Known follow-up, not a blocker
At the new ceiling the speed readout shows about 974 C, and the star streaks / warp stretch / FOV have
their saturation ranges set for the old top speed, so they will saturate. Worth a small PR of their own
once the flight testing is done.