userMartyn Chapmancancel

1,097 Commits over 426 Days - 0.11cph!

4 Months Ago
Fix a bunch of SetFlag usages which were potentially doing multiple unnecessary SendNetworkUpdate invokes Add a disposable struct to be able to define a scope in which we want to listen for flag changes and then do a network update at the end of the scope if flags changed
4 Months Ago
Update SetFlag to accept a specific update/send type. Makes it less easy to make the mistake of doing multiple send network updates in one go and allows for some neater one-line invokes Added some SetFlags methods that accept multiple flag set arguments, allows setting multiple flag values in one go before doing a single send and avoids multiple invokes of OnFlagsChanged
4 Months Ago
Update colliders on industrial garage door to exactly match those on original door
4 Months Ago
Enable stopOnParentDestroy on bandage and syringe sounds to stop them from being audible after holstering
4 Months Ago
Restore checking for playermodel persist anim next frame, current frame is too early for the animator states to have been updated Adjust clear playermodel anims to be slightly before the end of the bandage and syringe anims as they weren't being invoked at the very end
4 Months Ago
HeldEntity sends RPC to client notifying it is going to be destroyed because its item has been spent. Use that to determine if we should persist the animation or not Fixes the animations persisting on syringes and bandages when they shouldn't be
4 Months Ago
Fix server.useLegacyWorkbenchInteraction always opening worbench upgrade panel
4 Months Ago
Expose options for recyclers to turn off without an online powergrid and have different efficiency/duration stats with an online powergrid Update recycler loot panel UI to pull from current stats to populate the text field, also optimise its update method
4 Months Ago
Adjust door chainlink colliders to overlap like they do on original garage door
4 Months Ago
Setup various things on the door prefab for the new skinned mesh renderer
4 Months Ago
Merge from main
4 Months Ago
Merge from 3p_spectator_improvements
4 Months Ago
Fix fucked up local playermodel if respawning after having changed to third person view whilst the local player is dead
4 Months Ago
Merge from main
4 Months Ago
Initial commit Basic setup and boilerplate stuff to turn on powerplant using new fuse like item, feeds power into a global powergrid which can be plugged into at IO access points. ✨𝘴𝘶𝘣𝘫𝘦𝘤𝘵 𝘵𝘰 𝘤𝘩𝘢𝘯𝘨𝘦™✨
4 Months Ago
Setup anim events for toggling visibility of arrows on worldmodel
4 Months Ago
Merge from main
4 Months Ago
Merge from 3p_spectator_improvements
4 Months Ago
Viewmode fixes: - Now need to press shift+F3 to set additional viewmodes. Just pressing F3 will only toggle between standard 1st and 3rd person. - SpectatePlayer should now return the correct currentViewMode during both spectate and demo playback. Removed hack for getting the viewmode - Can now switch between all viewmodes during demo playback - Fix SpectatorMode.Update not being called in third person during demo playback
4 Months Ago
Merge from 3p_spectator_improvements
4 Months Ago
Codegen
4 Months Ago
Merge from main
4 Months Ago
- Smoothed the zooming in and out in third person camera view - Fixed third person camera zoom being inverted. Added client.'invertthirdpersoncamzoom' convar for the sickos that prefer it the old way
4 Months Ago
- Fix connections potentially being added more than once in RpcTarget.FromFlags - Fix spectated player name and health text being invisible when spectating in third person - Add LocalPlayer.GetLocalOrDemoPlayer() to cleanup some usages for retrieving the local player. Consequently fixed a few incorrect usages of GetLocalOrSpectatePlayer()
4 Months Ago
- Fix metabolism values on other players not being recorded in demos - Add RpcTarget.FromFlags to easier construct who we want to send an RPC to - Fix full server snapshots not being sent if running client+server
4 Months Ago
Merge from 3p_spectator_improvements
4 Months Ago
Fix potential NRE when starting debug camera
4 Months Ago
Merge from viewmodel_early_disable_fix
4 Months Ago
Move viewmodel clear config file
4 Months Ago
Merge from viewmodel_early_disable_fix
4 Months Ago
Fix issues with third person anims still stopping early on molotov, bandage and syringe
4 Months Ago
Merge from main
4 Months Ago
Merge from heldentity_preprocess_fix
4 Months Ago
Fix NRE in HeldEntity.PreProcess
4 Months Ago
Merge from 3p_spectator_improvements
4 Months Ago
Merge from main
4 Months Ago
Merge from viewmodel_early_disable_fix
4 Months Ago
Applied to other grenade types, bandage and medical syringe
4 Months Ago
Fix issues with camera reset lerp
4 Months Ago
- HeldEntity and BaseViewModel now find and cache which anim clips are valid for persisting in PreProcess rather than in DoPrepare and being serialized to each prefab. Makes it easier to quickly test in editor and no prefab diffs - General cleanup of the code - Fix not checking if the animation controller playable is valid in PlayerModel.IsGoingToPlayClearHoldTypeAnim - Remove some garbage allocs in AnimationEvents - In AnimationEvents.TryCacheEventReceivers always check its parent for any other IAnimationEventReceiver. No current viewmodel for which this would have been a problem for, but because it can support more than one event receiver felt like a bug waiting to happen
4 Months Ago
Merge from main
4 Months Ago
Fix exhaust VFX not playing correctly on chainsaw viewmodels
4 Months Ago
Merge from chainsaw_exhaust_vfx_fix
4 Months Ago
Rename FirstPersonSpectatorMode to SpectatorMode and invoke it when spectating in the third person camera Fixes a few things only working in the first person spectate camera
4 Months Ago
Fix third person player sounds not working correctly in spectator mode Fix previous commit breaking the cycling order of the camera viewmodes
4 Months Ago
Compile fix UIPrisonerHoodOverlay
4 Months Ago
Merge from main
4 Months Ago
Replace LocalOrSpectatePlayer property with GetLocalOrSpectatePlayer() that will always prefer to return the currently spectated player regardless of current camera viewmode Replaced property with getter method to make it clearer that we should prefer to cache the player rather than repeatedly fetching Checked and replaced all the previous usages. Many files touched, many minor bugs fixed due to the spectate player value having been wrong. Definitely* no new bugs introduced
4 Months Ago
Metabolism values should now immediately update to latest values upon spectating a player
4 Months Ago
Merge from main