branchsbox-hc1/pawn-refactorcancel
22 Commits over 0 Days - ∞cph!
Append (disconnected) to dc'd players
PlayerState cleans up after a certain amount of time after disconnect
Add playerstate cleanup time game rule, default to immediate
Show disconnected players in the scoreboard distinctly
Just use Property for PlayerBody.Player, instead of fetching OnStart
Equipment renderer adjustments
Don't destroy playerstate when orphaning. When connecting, look for a candidate playerstate that matches our SteamId and is unowned, so we can re-claim it
I don't think we need this stuff
Fix NRE when shooting
Better logic for player marker vis
Removed a bunch of code we don't need on the Drone anymore
Cleanup, removed unused stuff
Use PlayerPawn in BuyMenu, not PlayerState
Support Buy Menu items again
Kill bots playerstates as well as their pawn
Vitals UI works for any pawn
When possessing a pawn, set its PlayerState
Can deploy drone by using left mouse button, removed dev menu debug for it
Chat system also uses player states, for now if we have a pawn, check zone that way. Needs a rethink, because we'll want to grab zones from possessed pawns, like the drone.
Voice is on PlayerState, Kill Feed, Voice panel all use PlayerState
Moved PlayerScore to PlayerState, scoreboard uses PlayerStates instead of relying on an active Pawn
Work in progress Pawn refactor