branchrust_reboot/main/map_improvementscancel
209 Commits over 122 Days - 0.07cph!
Fixed MapView IsOpen accessor making every view active
Cleaned up GetUnusedID
Fixed compass markers not using correct colours
Refactor notes system
Separate server and client notes lists
Load notes form server in on enable if local player
Limit all RPC's to local player
Store team notes in the team data, don't access the player
Fix player position not being updated in real-time
Custom marker for team leader markers
Merge cleanup
Tweak hackable crate and shop marker icon sizes
Don't show map markers on respawn screen
Run a map scale update immediately to fix the marker popping
Enforce id's for notes for colour consistency
Serialise MapNotes properly
Added a horizontal gradient to end of sleeping bag scroll view when there are more bags than can fit in
Sizing tweaks
Interest point drop shadow
Hook up new point of interest icons on map + compass
More colour alignment with concepts
Fixed cluster button sizing
Styling on map cluster icon
Fixed sleeping bag cluster open/close animation
Size tweaks
Backup for some future prefabbing
First pass on new fade in animations
More descriptive tooltips (used the text from the old screen)
Show different icons for sleeping bags/beds
Fixed respawnType field in respawn options protobuf never being assigned
Fixed sleeping bag icons appearing outside of death screen
Fixed sleeping bag clusters not properly forming when there are more than 3 bags
Hooked up background assets on sleeping bag cluster
Fixed map scaling issues on sleeping bag cluster
WIP time lock states
New UI assets
Hooked up death skull, gradient circle and death marker assets
Made all new map markers scale independent
Improved ImagePosToWorldPos calculation
Added support for multiple sprites for points of interest (not just colour changes)
Most map markers are now pre allocated on the map view, removes most instantiations
Use in-built drop shadow component on info boxes
Exposed some sound definition slots for adding and removing map markers
Show the source of damage if no player is responsible for a death (falling/hunger/cold/radiation/etc)
Assign correct colours to sleeping bag cluster options
Quick tween for open and closing sleeping bag cluster
Show killed by weapon name and icon on game over screen
Add attacker distance field to death info, expose on death screen
Fixed steam avatar of killer not appearing
Better scroll behaviour on respawn buttons
WIP sleeping bag cluster system
Detect multiple nearby sleeping bags and merge them into one widget on the death screen
Respawn button colours (map and rectangle buttons)
First pass layout of new respawn screen
Better sleeping bag button processing
Update LifeInfographicStat to use TextMeshPro
Reworked RMB click detection for point of interest markers
Can click on sleeping bag to respawn
Add world position of sleeping bag to respawn info
Add lock time to sleeping bag icon
Abstract the map into two classes: MapInterface and MapView
MapView handles displaying map, updating markers, etc
MapInterface handles input logic like adding markers
Need to do this in order to use map on other UI panels
Replace previous death marker when dying
WIP sleeping bags on map
Don't process RMB clicks if player drags on map
Better tooltip on death marker
Better map to world calculation (still not perfect)