branchsbox-hc1/pawn-refactorcancel

40 Commits over 0 Days - ∞cph!

3 Months Ago
Append (disconnected) to dc'd players
3 Months Ago
Kill feed works again
3 Months Ago
Prefer Player.CurrentEquipment over Inventory.Current
3 Months Ago
Clients shouldn't be trying to set PlayerId stuff
3 Months Ago
Improved handling for CurrentEquipment being invalid
3 Months Ago
Prevent hosts from controlling (/accidentally firing) as bots in spectate
3 Months Ago
Catch NRE from ragdoll
3 Months Ago
Fix not entering freecam at last view pov Show spectate ui when in freecam
3 Months Ago
Start spectate in POV cam
3 Months Ago
Fix naked men
3 Months Ago
Bring back deathcam, re/spawn fixes
3 Months Ago
ammo NRE fix
3 Months Ago
PlayerState cleans up after a certain amount of time after disconnect Add playerstate cleanup time game rule, default to immediate
3 Months Ago
Show disconnected players in the scoreboard distinctly
3 Months Ago
Work in progress Pawn refactor Moved PlayerScore to PlayerState, scoreboard uses PlayerStates instead of relying on an active Pawn Voice is on PlayerState, Kill Feed, Voice panel all use PlayerState 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. Can deploy drone by using left mouse button, removed dev menu debug for it When possessing a pawn, set its PlayerState Vitals UI works for any pawn Kill bots playerstates as well as their pawn Support Buy Menu items again Use PlayerPawn in BuyMenu, not PlayerState Cleanup, removed unused stuff Removed a bunch of code we don't need on the Drone anymore Fix NRE when shooting Better logic for player marker vis Another NRE fix 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 Equipment renderer adjustments Just use Property for PlayerBody.Player, instead of fetching OnStart Fix team assignment Use GameUtils.LocalPlayerState where we can Spectating works again Fix player nameplate conditions More sensible accessors for local/viewer PlayerStates Rename CurrentPlayerPawn->PlayerPawn, use rather than casting Pawn in a bunch of places (so we actually get what we're expecting) Network client respawn event properly Use PlayerState.Local.PlayerPawn directly Fix not depossessing current pawn Simplify pawn stuff a bit Can now freely destroy/respawn player pawns Tidy PlayerState a bit, streamline flow for spawning/possession Don't enter spectate when respawning, do immediate spawns for joiners where we can Add PlayerState.IsConnected Fix non-host players sometimes spawning in incorrect locations Fix error when no PlayerState.Viewer Don't send team chat messages to bot connections
3 Months Ago
Add PlayerState.IsConnected Fix non-host players sometimes spawning in incorrect locations Fix error when no PlayerState.Viewer Don't send team chat messages to bot connections
3 Months Ago
Tidy PlayerState a bit, streamline flow for spawning/possession Don't enter spectate when respawning, do immediate spawns for joiners where we can
3 Months Ago
Can now freely destroy/respawn player pawns
3 Months Ago
Simplify pawn stuff a bit
3 Months Ago
Use PlayerState.Local.PlayerPawn directly Fix not depossessing current pawn
3 Months Ago
More sensible accessors for local/viewer PlayerStates Rename CurrentPlayerPawn->PlayerPawn, use rather than casting Pawn in a bunch of places (so we actually get what we're expecting) Network client respawn event properly
3 Months Ago
Use GameUtils.LocalPlayerState where we can Spectating works again Fix player nameplate conditions
3 Months Ago
Fix team assignment
3 Months Ago
Just use Property for PlayerBody.Player, instead of fetching OnStart
3 Months Ago
Equipment renderer adjustments
3 Months Ago
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
3 Months Ago
Another NRE fix
3 Months Ago
Fix NRE when shooting Better logic for player marker vis
3 Months Ago
Removed a bunch of code we don't need on the Drone anymore
3 Months Ago
Cleanup, removed unused stuff
3 Months Ago
Use PlayerPawn in BuyMenu, not PlayerState
3 Months Ago
Support Buy Menu items again
3 Months Ago
Kill bots playerstates as well as their pawn
3 Months Ago
Vitals UI works for any pawn
3 Months Ago
When possessing a pawn, set its PlayerState
3 Months Ago
Can deploy drone by using left mouse button, removed dev menu debug for it
3 Months Ago
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.
3 Months Ago
Voice is on PlayerState, Kill Feed, Voice panel all use PlayerState
3 Months Ago
Moved PlayerScore to PlayerState, scoreboard uses PlayerStates instead of relying on an active Pawn
3 Months Ago
Work in progress Pawn refactor