Nitrox
Nitrox copied to clipboard
Sync leviathans gameplay
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 )
Would require some tests :)
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)
The latest Sea Dragons sync code wasn't tested because it's really hard without #2113