Difference between revisions of "Gravitation OXP"

From Elite Wiki
(Page Created)
 
(No difference)

Latest revision as of 13:13, 1 June 2025

From Tch_Gravitation_RUS_opisanie_3.0.2_2013-12-31.pdf

Tch's OXP created "Gravity" effects back in 2013 - it is not known if it works with the newer versions of Oolite.

Tch_Gravitation_3.0.2_2013-12-31.oxp

This package creates a simplified model of gravity in the game. It manifests itself as follows:

1. If you turn off the engines (ship speed 0) at an altitude of more than 450 astronomical kilometers above the planetoid surface, the player's ship goes into the "Round Orbit" flight mode around the most influential planetoid at the moment. The display display displays information: "height, km"; "the angle of rotation from the starting point, hail"; "orbital speed, km / s"; "period of circulation, min". However, if the calculated orbital speed exceeds the maximum speed of the player's ship on normal thrust, then the transition to the orbital mode is impossible. This situation, as a rule, occurs near the Gas giants.

The display shows the calculated orbital period, but the flight time around the planetoid is actually reduced several times using a time acceleration coefficient, so as not to delay the gameplay process (this coefficient affects only orbital time, but not game!).


2. If there are packages that create satellite objects near planetoids, calculate the characteristics of their orbits and transmit data on the established exchange protocol, the package calculates the new positions of these satellites and moves satellite objects in their orbits.


3. If the player ship is in the zone of gravity of the planetoid, and the engines are turned on (speed more than 0), then there is an additional factor of the displacement of the player ship, directed strictly to the center of the planetoid. This factor imitates the force of attraction near the planets and moons, which rejects the player ship from the intended course, attracting him to an influential planetoid. At the same time, information is displayed on the display about the height above the surface of the planet, km; about the force of attraction (in the form of a displacement factor from the intended course under the influence of gravity, km / s), and the current speed of the ship, km / s. The radar is automatically turned on in the zone of gravity and automatically disconnected when the ship moves away from the planet and exits its gravity zone.

The force of attraction has the maximum value near the surface of the planet (and there the ship shifts the most strongly from the course) and decreases when it is removed from the planet until it disappears at all. As in reality, the force of attraction depends on the average density of the planets and on their radius - the main planets and additional planets have the greatest density, the moons have an average density, and the Gas giants have the lowest density. However, thanks to the high radius of the Gas giants, the gravitational force near them is the largest, and can pull the player’s ship into a gravitational trap, from which you can only get out with a hyper jump. This happens when the total additional displacement factor in 1 second exceeds the maximum speed of the player’s ship on normal thrust.


4. At an altitude of less than 450 astronomical kilometers does not matter whether the engines work or not: the ship cannot go into the Circular orbit flight mode, and the force of attraction attracts the ship to the planetoid.


5. Outside the zone of gravity, with the engines on, the flight takes place as usual; with the engines turned off, the ship passes into a circular orbital flight.


Download

Visit Tch's box: https://app.box.com/s/dyo1vedrxuyeyum3atci and poke about inside his "Game Environment" folder. The "opisanie" file is a .pdf with more detail than above and pretty pictures.

Note

The above was translated from the Roolite page Tch. Личная рубрика.

Links

Issues

  • This OXP may be broken by the newer versions of Oolite!