11,005 Commits over 1,950 Days - 0.24cph!
Update death screen after merge
Merge from workcart_deathscreen
Fixed players with the same name as a prefab displaying as the prefab instead of the player
Merge from answering_ui_fixes
Update spraycan inventory
Fixed speargun not appearing in players hands when equipped (wasn't just an NPC issue)
Merge from spraycan_merge2
Fix rotation while in orbit mode
Potential solution for camlerp while parented, movement feels slightly different but it might be good enough
Fixed mag drop effect (also needed to be in local space)
Fixed rifle shell eject effects appearing in wrong place (several emitters were in world space, somewhat counterintuitively all of these emitters need to be in local space)
Fixed spray duration convars incorrectly using hours instead of seconds
Possible fix for missing text on pickup notices
Saved camera states now store the parent entity and bone name, will attempt to restore the parent and local space position/rotation if the entity can be found
Fixes "Return to start position" option when recording a shot while parented not working
Added blockRectTransformChange bool to TMPro labels, when true the label will no longer react to RectTransform changes (itself or parent)
Enable this on item pickup notices while processing the layout on the vitals UI, as adjusting the position of the parent UI root was triggering a full layout rebuild of all text inside the pickup notices
Merge from spraycan_merge2
Better attempt at fixing the layout fps drop when items are picked up/dropped:
-Remove layout component, manually layout the components in Update
-Remove RectMask2D on pickup widgets so they can all be batched
-Remove tween usage, animate widgets via a central update in NoticeArea driven by curves (result looks slightly different)
-Fixed pickup widgets not pooling
Removes all GC and reduces frame time from 8-9ms to 0.7-0.5ms in worse case scenario
More work on shot compatibility, fixing stuttering and incorrect offsets when exiting shots
Fix demos UI public variables inside CLIENT blocks
Hook up world animator field so weapon animations play
Copy eject shell effect over to ensure effects are playing correctly
Merge from spraycan_merge2 (NRE fix)
Fixed not being able to set camBone by name
Potentially fixed camera rotation input while parented to a nested transform
Fixed camera position/rotation changing when cycling through bones
Show bone name on demo UI when parented to a bone (won't show if parented to the root of an entity)
Test demos, on right branch this time
Merge from global_broadcast_fix (HABs and helicopters should no longer broadcast globally when they are idle)
Disable global broadcast on HAB, mini and scrap transport helicopters (this is now enabled as needed at runtime)
Merge from spraycan_merge2
Added new IAnimationEventReceiver that can intercept events from AnimationEvents component without needing to access the held entity. This works in regular gameplay as well as spectating.
Reworked spray can to use new component for viewmodel spraying animations
Fix demo NRE when scrubbing while freehand sprays are created
Don't play world spray fx in first person
Item/Prefab setup and Id's
Merge from spraycan_merge2
Merge from spraycan_merge2/decal_refactor