branchrust_reboot/main/respawn_changescancel
38 Commits over 0 Days - ∞cph!
Fix bag quota counting too many bags
Added toast when you assign a bag to another player
Resend respawn info to the client when a bag is renamed
Fix wiretool showing sleeping bag quota
merge from main -> respawn_changes
Fixed sleeping bags not actually being assigned to other players
Ensure sleeping bag quota is counted across server restart as well as when placed down
Disable DeleteButton in prefab & remove SetActive(false) from OnEnable()
Fix NRE when opening map with sleeping bag on it
max sleeping bags 10 -> 15
thumb_up
15
thumb_down
42
Enable correct options tab
Merge from respawn_changes/block
Restored RequestRespawnInformation RPC on player - this is still used when campers are in a players respawn list to update their position in real time
Added a button on the layer widget on the right to toggle respawn options on/off on the map screen
Fix bag quota not updating when unclaming camper bed
Fix visual bag quota not updating when you unclaim your bed on the map
Fix sleeping bag item amount not updating if you are holding bag while unclaiming another bag
Add analytics of "how much bag quota" used when sleeping bag/bed is placed
Enable showing bag quota for bed & towel items too
Cache list of sleeping bags per player on the server & network to clients
Show current bag quota in item amount when placing bag
Can disable showing bag quota in item amount by setting `bag_quota_item_amount` false
Can set `max_sleeping_bags` to -1 to disable the toasts & bag limit
Codegen
https://files.facepunch.com/jakerich/1b1711b1/oarP1RLiz1Kwy2D1.mp4
thumb_up
21
thumb_down
44
Merge from main -> respawn_changes
Also change sleeping bag cluster delete icon
Make sleeping bag icon darken while held instead of lighten
Applied click and hold behaviour to clusters
Reworked into a press and hold button
First pass on a confirmation prompt for deleting sleeping bags on map screen
merge from main -> respawn_changes
Fix sleeping bag markers reseting cooldown every time the map is opened
Default to max 10 beds + bags
Configure limit via `max_sleeping_bags` convar
Change hardcore gamemode to use convar instead of gamemode code
thumb_up
68
thumb_down
255
Unclaim bags instead of deleting them when unclaiming on map
Remove "send list of bags every 60s"
Ensure that list of sleeping bags are sent out to old & new owner every time a sleeping bag is assigned
Only make bed public when unclaimed on map if the bed was set to public mode
Destroy bed with gibs enabled when unclaimed
Allow deleting bags that are still on cooldown
Use existing FindForPlayer method incase one gets changed in the future
Sleeping bag now notifies players involved when ownership changes (so client side bag info is up to date)
Initial implementation of showing respawn options on map screen