Space Engineers

Space Engineers

Realistic Thrusters (offset forces, NPCs unaffected)
Näytetään 1–10 / 12
< 1  2 >
Päivitys: 12.5.2024 klo 20.05

- Improved NPC detection by also checking if faction has AllowHumans off (or IsEveryoneNpc() from before).

Päivitys: 11.5.2024 klo 8.38

- Added list of NPC and player factions to this mod's log for server or singleplayer side only, used for debugging.

Päivitys: 22.6.2021 klo 3.00

- Fixed wrong grid data being discarded when multiple grids get marked for close in the same tick.
- Small optimizations.

Päivitys: 2.11.2020 klo 17.48

- Added a way to force realistic thrust on specific NPC grids by adding "force-realistic-thrust" to any ship controller's custom data on that grid. The ship controller must be owned by the major owner on the grid for it to work (prevents players from exploiting NPCs flight by placing a cockpit/RC with that tag).

- Also added "force-realistic-thrust" for NPC factions, write it in that faction's private info to force all their owned ships to use realistic thrust.

Päivitys: 2.11.2020 klo 17.20

(see next one)

Päivitys: 2.11.2020 klo 16.57

(see next one)

Päivitys: 28.5.2020 klo 12.41

- Removed DroneAI check.
Because blocks could have that AI but not actually work because they're owned by players and would've disabled realistic thrust.

Päivitys: 23.5.2020 klo 5.34

Realistic thrust now gets disabled for ships being NPC controlled... most of the time.
Due to control spaghetti and lack of access, it's not 100% accurate.

So how it works:
All tests are per-grid, so thrusters on rotors/pistons/connectors are separate grids that are independently checked.
So the tests are as follows in priority order (if a step does something, next steps do not execute)
1. any RC that has DroneAI (not autopilot) turns realistic OFF.
2. any player controlling the flying cockpit/RC turns realistic ON.
3. any player controlling a turret while also in a cockpit both on the same grid turns realistic ON.
4. grid unowned turns realistic ON.
5. first major owner is in a NPC-only faction turns realistic OFF.

And hopefully that works fine, please report any specific edge cases where it doesn't work as expected that were not mentioned here.

Päivitys: 7.3.2019 klo 14.22

- Fixed original thrust not being properly cancelled by applying it at grid-group CoM instead of grid CoM.
- Fixed forces being applied 1 update frame late.

Päivitys: 1.6.2017 klo 13.16

- Changed to non-entity update (to prevent issues in v1.181).