Relativistic Speed

4Peace shared this feedback 20 days ago
Not Enough Votes

Reaching the speed of light involves increasingly more energy because, as an object's speed approaches the speed of light, relativistic effects become significant. The closer you get to the speed limit, the harder it becomes to accelerate further.

We could apply a similar concept in SE2, just with a much lower speed limit: 300 m/s instead of 300,000 km/s. :)

I won't bother you with a detailed physics breakdown, but here's the basic idea. As you approach the speed limit, you need progressively more energy to keep accelerating at the same rate. At 0.5 of the speed limit, you need roughly 15% more energy; at 0.7c, around 40% more; and at 0.9c, around 130% more. The energy required approaches infinity as you approach the actual speed of light.

?u=https%3A%2F%2Fd-arora

These are real relativistic values, although for gameplay we could obviously tweak the formula to better fit the intended flight model.


How Would This Work in SE2?

With a maximum speed of 300 m/s, you could accelerate normally up to around 150 m/s without noticing much difference. But as you approach 200 m/s, the energy cost would increase significantly. You'd need roughly 50% more energy to maintain the same acceleration, or, more practically, your ship would accelerate 33% slower with the same thrust. At 290m/s your acceleration slowes down a lot. Reaching 300 will be ofc impossible.


Gameplay Implications

Ship design and mass

Ships with higher T2M (Thrust to Mass ratio) and plenty of fuel could afford to reach higher speeds. Massive ships would generally avoid doing so to conserve fuel and energy.

This doesn't mean large ships couldn't go fast. It would be a trade-off between how much useful equipment, weapons, ammo and armor you want to carry and how quickly you want to accelerate and reach high speeds.

A large capital ship might rarely go above 200 m/s, while an interceptor specifically designed for speed could reach 290 m/s relatively easily.

Fuel and pursuit

Fuel reserves would become a much more important consideration. The faster you want to go, the longer you need to accelerate, and the more fuel you burn in the process.

This would give you a way to catch a fleeing target: either design your ship for higher speeds and make sure you have enough fuel left to sustain the chase.

It would also make changing direction at high speeds more demanding. There would be good reasons to slow down during combat and to set a maximum speed below 300 m/s when appropriate. See this topic for the reference.

No more situations where a small, speedy fighter simply can't catch a giant cargo ship. A cargo ship might technically reach higher speeds, but doing so would be expensive enough that its economically viable cruising speed could be closer to 150-160 m/s.

Returning fighters to refuel is suddenly a real gameplay mechanic. And they can restock ammo/missiles at the same time.

Speaking about missiles, or even custom torpedoes. There is now a clear reason why it is hard to escape chasing missile. It usually has a very good T2M helping it chase the target. However, if you have an agile fighter, you will have a much better chance to evade.


What About Jump Drives?

There's an elephant in the room: the Jump Drive. I won't address it here in details because it deserves its own discussion.

I'll just say that its combat capabilities should be toned down so different ship designs can have meaningful advantages and disadvantages when it comes to speed. A Jump Drive shouldn't be an easy escape button or allow ships to bypass an enemy fleet formation without meaningful risk.


Scientific Explanation

The 300m/s speed limit can be neatly explained through lore. It can be specific to the start system or due to alien activity. In any case, it has at least some scientific explanation and not just an arbitrary engine limit. The game will also teach people relativity while solving real gameplay issues.

Replies (4)

photo
3

On your main point - yes, something has to change to make a pursuit possible.


2nd - I would prefer a warp drive to jump drive.

photo
1

What is the difference between jump and warp? In particular in combat scenarios.

photo
1

Jump is near instantaneous travel to a set distance/destination.

Warp would depend on implementation.

Warp for me would be travelling at high speed in a state where physics is altered, it will take time to get somewhere, but significantly less than using conventional travel.


Interactions between objects in normal space and a vessel travelling at warp would not usually happen.

Could two vessels running at warp interact with each other, probably.

photo
1

Warp combat ?

Energy based weapons.

Warp disruption.

Warp engine failure could result in a rapid exit to normal space that causes shipwide damage.

photo
1

I would make it in way that you need to keep acceleration under 1m/s*s for a while before jumping or entering warp space. And if you are being hit with energy weapon the jumping counter restarts.

photo
photo
1

IMO, would need a much higher speed limit for this to make sense, which I don't think they can manage considering that even without modding the speed limit you still have trouble getting out of a cockpit at speed.

photo
1

Yes, the game engine implies you need a max speed, and the lower it is, the better for many reasons.

Many and many gameplay aspects are then designed around this speed limit in mind. Consider combat. If you are flying 1000m/s, everything changes, you most likely won't even see your enemy and yet a big part of this game is having fun destroying grids near you. If you want to significantly raise the speed limit, you will have to rethink all the related mechanics and rebalance them, Which is technically doable and it's something people will certainly do via mods. Yet even with an increased speed limit, relativity can be useful for things like chasing enemies and more. And it does not care about specific max speed value. The formula works the same way for 300m/s as it does for light speed or anything in between.

photo
1

One of the likely reasons for the speed limit is the evaluation of collisions and the analysis of shock transmission during grid collisions.

The real world is “analog” and continuous, while digital simulation is discontinuous (discrete). At time T1, an object is located at coordinates x1y1z1, and at time T2, it is located at coordinates x2y2z2. But if the object’s speed is very high, the coordinates x1y1z1 and x2y2z2 are significantly far apart. And nowhere in between. Imagine a fast projectile (1000 m/s, 0.5 m block) and a thin, flat plate made of 0.5 m blocks (such as an airplane wing). The interval between T1 and T2 must be shorter than one-thousandth of a second to reliably detect a collision between blocks. However, the game system doesn’t evaluate just a single collision; within a single time interval—a single scene evaluation cycle—it must evaluate thousands of similar situations.

Added to this is the fact that the game, in multiplayer mode, must communicate with remote game servers, and that takes time. What’s your ping to the SE game servers? 10 ms? And 10 ms in the opposite direction as well. In that time, a projectile travels 20 meters... It flew right through a large ship... And nothing happened... Simply because the data refresh interval is too long relative to the speed of movement.

photo
photo
2

Here is an SE1 Relativistic Speed mod as a proof of concept.

photo
2

So you're suggesting introducing a “speed limit” in the game world, similar to how the speed of light is the speed limit in the real universe...

A reasonable value might be somewhere around 1–1.5 km/s.

If implemented correctly, it could work. The Lorentz transformation could be adjusted (for example, by using a higher root—not the square root, but say 2.5–3). But these are just computational tricks “to make the numbers work.”


What would be essential is:

- adjusting the energy consumption for acceleration (or, more precisely, always calculate acceleration according to relativistic rules with a selected threshold velocity)

- reduce the velocity of the projectiles “slightly”

- adjust the rules for adding the velocity vector of the ship and the velocity vector of the fired projectiles so that they correspond to the rules of relativistic velocity addition. It is important that a fired projectile cannot (must not) exceed the speed limit—and this also applies to energy weapons (lasers...).

This would make it considerably more difficult to aim at fast-moving targets.


Warp...

The speed of movement in WARP mode is many times higher (10–1,000 times) than the speed limit in the game world.

- The speed in WARP mode is determined by the ratio of the generators’ power to the ship’s current mass—and is constant.

- Entering WARP mode requires energy proportional to the ship’s current mass. A single generator has limited power and thus limits the ship’s mass.

- WARP mode consumes energy over time (the ship maintains WARP mode as long as it has sufficient energy). Energy consumption per second could be about one-tenth of the energy required to enter WARP mode.

- Generators receive and store energy (energy stored in a generator cannot be retrieved; it can only be used to enter WARP mode and move while in WARP mode)

- A ship can have multiple generators; generators can be organized into groups, and the pilot should be able to choose how much energy to use and which generators to use.

- You cannot enter WARP mode from a speed of zero; the ship must be moving before entering WARP mode.

- You cannot enter WARP mode near planets or large objects (as a rough guide—closer than one or two planetary diameters, measured from the center of the planet)

- In WARP mode, maneuvering is not possible; the ship moves in a straight line according to the last velocity vector before entering WARP mode.

- In WARP mode, it is not possible to observe the surrounding space; the flight proceeds “blindly” and is guided solely by the pilot's estimate of time.

- A ship traveling in WARP mode may be visible to an outside observer depending on the visibility rules on a given server (but if the speed limit—“speed of light”—is 2 km/s, the “line of sight” range for objects on the server is 20 km, and the ship’s speed in WARP mode is 50 times the “speed of light,” then it will pass through the observer’s “line of sight” in a few tenths of a second)

- A ship flying in WARP mode can exit WARP mode at any time. After exiting WARP mode, it continues to move at the speed and in the direction it was traveling when it entered WARP mode.

- A collision with another massive object (a planet, an asteroid, or another ship of comparable mass) results in the destruction of the ship traveling in WARP mode (and proportionate damage to the other object; the ship in WARP mode “vaporizes”—leaving no debris). Small objects (meteors, projectiles, etc.) are ignored. The threshold should be somewhere around 5–10% of the ship’s current mass while in WARP mode.


There may be a “navigation computer,” a high-end device that, upon entering target coordinates, calculates the distance to the specified point, determines the ship’s mass and the energy in its generators, and calculates the speed of travel in WARP mode. After entering WARP mode, it accurately calculates the flight time in WARP mode and exits WARP mode at the exactly right moment.

This effectively turns WARP mode into JUMP mode, with the difference that it does not occur instantly.

My idealized concept of the energy requirements for WARP-mode generators:

The largest WARP-mode generator takes about an hour to charge using the largest power reactor. A fully charged generator allows a ship of “reasonable size” to enter WARP mode and fly for about ten seconds at a speed 100 times the speed of light in the game world (~1–2 km/s). This should correspond to a distance of 1,000–2,000 kilometers. That, in turn, represents three-quarters of an hour to an hour and a half of flight through normal space at a maximum speed of 300 m/s...

photo
1

I always appreciate your detailed breakdown of the physics and was expecting your wall of text :)

Before anything, you might want to check out the SE1 mod I made to test the idea.


First thing that I tried was using the exact Lorentz transformation formula and tested with the vanilla 100m/s max speed. It turned out to be . . . boring. The relativistic effect was only noticeable at speeds close to max. When having a speed limit this low, you can still get to high speeds quite easily. The acceleration is very significant compared to max speed. I have tried different ships, even those having a not so great t2m ratio were still able to get near the speed limit in a relatively short time. I then raised the speed limit to 300m/s, but the differences between the ships were still not enough to have a meaningful impact on the gameplay IMO. So I ditched the real relativity formula and adopted a simpler exponential curve so that the "relativity" effect starts to be noticeable much earlier. Almost all kinds of ships are still able to get to half of the speed limit with no problems, but then you start to feel the difference. The faster you go, the slower you accelerate with the same thrust. And this is a typical scenario for Space Engineers. It is not that you will use more energy. You typically blast the thrusters at full and accelerate. But the same max thrust at higher speed results in slower acceleration now. So you need much more time to accelerate to near the speed limit. If a ship with poor t2m could afford to reach max speed before, now it will need a very long time and a huge stockpile of fuel or energy to get there. And you need the same amount of time and energy to slow down. So realistically, only specifically designed ships can reach high speeds now.


For now, I have applied the effect only to grids. Doing so for projectiles might not be necessary. The greatest advantage is having different classes of ships for different speeds. This alone will already spice up the combat and solve awkward chasing situations at max speed. Oh, and I also added a "relativistic" drag feature. When you are going over 0.9c you will feel a slight drag, as even the smallest particles you collide with can slow you down at this speed even if you have dampeners off, until you settle at exactly 0.9c. So you will still need to use thrusters occasionally to maintain hi speed over 0.9c.


It is yet to be tested what "relativistic" formula makes more sense for the best gameplay. Or there might be different world settings for how strong the effect should be and other related options like relativistic drag. But overall, I'd say that having some relativistic speed effect might very much be the default.

photo
1

As for warp drive mechanics. These are some interesting ideas you shared. I'd say it merits its own separate topic. I will only add a couple of comments about it.


Being blind during the "jump" is not particularly engaging. I would make it so you can see things around you but with some "warping" effects. You should still be able to tell the rough position relative to big celestial bodies but might not see any grids or asteroids.


Calculating exit time in your head seems to be something that can be easily automated. Instead of setting time in warp, you might just set the desired "jump" distance and the time to exit the warp space can be calculated automatically for you. And you might decide to exit the warp space earlier. But not instantly.


The minimum jump distance should be not as small as 5km we have had in SE1. Entering and exiting warp space might last for like 10 seconds, during which you will accelerate and slow down to and from FTSI (faster than speed limit, as opposed to FTL or faster than light) speed. And you cannot cancel the acceleration. So your minimum "jumping" distance will result in something like, say, 100km or even more.


So, as you said, you can't just select a point where you want to jump, you will be going in the same direction you were already moving, only at FTSL speed.


In order to initiate the "jump", you will need to go to a minimum of say 50m/s and stop any acceleration for the period of jump initialisation. It might require 10s to do. The initialisation is cancelled if your ship moves or rotates faster than a certain threshold (like when you are during combat and trying to dodge enemy fire). In other words, if your linear or angular acceleration exceeds a certain limit, you will have to initialise the jump again from the very beginning.


Building more jump drives to extend the jumping distance is also not the best idea. The number of JD you need might only depend on the grid mass you want to be moving in FTSL. While you are in FTSL, your Jump Drives will consume a lot of energy. So the distance you travel depends mostly on how long you can sustain the enormous power drain of the drives. Drives will have an internal charge as well, and as soon as it drops below a certain level, you will start exiting the warp space. There might still be some limit to how far you can jump in one go. Jump Drives can slowly overheat or something like that. So you can't jump across the whole map at once, but rather go from one sector to another and wait in between jumps for the drives to cool down.


The physics during jumps are better to be disabled. This is why we have a speed limit in the engine in the first place. But of course, you should not be able to jump inside a planet, asteroid or another grid. This is where slowing down time comes handy again. For large bodies like planets, we can easily calculate if our path intersects with the planet's gravity. If it does, it will automatically start exiting to be out of the warp space right before we enter the gravity well. You can use it on purpose, actually. Aim at a planet and start warping towards it, and you will automatically be thrown out of the FTSI on the edge of the plant's gravity. When exiting starts, the exact point where your grid's physical body will materialise in the world can be adjusted to avoid colliding with other objects. We already had similar behaviour in SE1. This time it could be even simpler. You don't to change the direction even slightly, you will exit on the same trajectory, but slightly before or after any obstacles. If slowing down takes 50 or more km, there will surely be a free place for you somewhere along the path.


I guess those are somewhat more than a "couple of comments, but anyway :)

photo
2

Just a thought: how would mass behave under different forms of transformation (where the exponents of powers and roots change)? Speed does not yet have a predetermined value; it is expressed only as a fraction of the maximum possible speed (reaching which would require an infinite amount of energy).

1a0d0d91311e046cc34f56e55b59f16a

My favorite is the red curve (x=1) and the value c=1200-1500 m/s

Or the orange curve (x=0.75) and c=2000 m/s.

photo
1

Regarding the intensity of the gravitational field of an Earth-sized planet:

At the altitude of Earth’s geostationary orbit (~36,000 km above the surface), the gravitational acceleration is approximately 0.224 m/s^2.

Gravitational acceleration of 1 cm/s² (0.01 m/s²) occurs at a distance of approximately 200,000 km from the center of the Earth, 1 m/s² at a distance of approximately 20,000 km from the center of the Earth (altitude ~13,600 km above the surface), and 1 mm/s² at a distance of ~631,000 km. At the level of the Moon’s orbit, the Earth’s gravitational acceleration is 2.7 mm/s².


In the game SE2 (and SE1), the planets are much smaller—they have diameters of 60–120 km (the actual Earth is ~12,713 km at the poles, 12,756 km at the equator, and 12,742 km “average” as an equivalent sphere).

So, for the game universe to function correctly, the constants would need to be adjusted slightly :-)

photo
1

I think a red or green line could be good. Did you try the current one implemented in the mod?

photo
1

No, I'm not playing SE in this time

photo
Leave a Comment
 
Attach a file