Nitrox icon indicating copy to clipboard operation
Nitrox copied to clipboard

Sync leviathans gameplay

Open tornac1234 opened this issue 6 months ago • 3 comments

Creature sync:

  • [x] Sync Reaper Leviathans
  • [x] Sync Sea Dragons
  • [x] Sync Sea Treaders

Creature behaviours:

  • [x] Sync leviathans attacking cyclops
  • [x] Sync leviathans attacking a player or vehicle (seamoth or exosuit)

Weapon sync:

  • [x] Sync statis rifle
  • [x] Sync torpedos (better than current implementation)

Other related issues:

  • [x] Fix player vitals not showing a creative player's name
  • [x] Fix seamoth not spawning module inventory
  • [x] Adds an InfectedMixin and a LiveMixin on remote players to ensure they're potential targets

TODO when everything is done: ~~- [ ] Ensure crash fishes can target other players~~ POSTPONED to another PR (will be short but required both this one and #2101 )

tornac1234 avatar Jan 10 '24 19:01 tornac1234

Would require some tests :)

tornac1234 avatar Jan 10 '24 19:01 tornac1234

There's still the following to be looked into (but most of the code is ready for review):

  • ~~sometimes, move animation are chunky and you can see a small jump~~ (FIXED)
  • when another player gets eaten by a leviathan, they broadcast the related cinematic which is played on other players so a black screen appears as if they got eaten themselves by a leviathan (but they didn't)

tornac1234 avatar Jan 18 '24 21:01 tornac1234

The latest Sea Dragons sync code wasn't tested because it's really hard without #2113

tornac1234 avatar Feb 15 '24 10:02 tornac1234