branchrust_reboot/main/naval_update/deep_sea/networkingcancel
7 Commits over 0 Days - ∞cph!
Switch the deep sea island test prefab to only network to deep sea
Keep the `globalBroadcast` bool the same instead of switching to a "SpecialNetworkGroup" bool, instead make the enum "GlobalNetworkBehavior"
- switch between 3 network groups (global, main island, deep sea) based on the enum
- add the correct network group to subscriptions based on the bounds of the network group you are part of
- re-add tooltip to `globalBroadcast` we removed
Add multiple global network groups
- entire server
- main island only
- deep sea only
Set global network group ids as constants
Create enum to represent different types of global network groups
Add enum to BaseEnitty (but keep globalBroadcast bool)
update deep_sea/networking
Make single method to get all passengers: mounted in seats or standing on the boat parented
- ensures players standing on tugboat get shown a respawn screen
Teleport the tugboat if you are standing on one while running `enterdeepsea` (why did this work straight away??)
Make entering & exiting the deep sea work when you are inside a vehicle
- target the teleport on the vehicle instead of the player
- a bunch of debugging to get it doing the right order of switching groups without the vehicle being deleted on the client
- dismount player before teleport, remount after (may have to revisit network groups and add proper support to get it working when standing parented on a tugboat instead of mounted in a seat)