4,187 Commits over 884 Days - 0.20cph!
Set up player colors to match their team if applicable
Add Friendly Fire to lobby settings
Only check for friendly fire if team play is enabled
Add Friendly Fire convar, checks teams on damage
Gamemodes can define their own team sorting. This might not be needed.
Set up team where needed on client join / left, inform team component of team changes.
Add TeamComponent, Client.GetTeam, Client.SetTeam
Start work on Teams, Team Manager
Respawn Timer Particle
Merge branch 'main' into pickups
Rename RespawnImmediately to SpawnImmediate - fix draw on startup
Re-enable if Disabled = false, disallow pickup
Added BasePickup.Disabled
Armor pickup feed message uses armor granted value
Refactor Ammo pickups to use BasePickup
Add BasePickup.OnPickupAction, delete armor pickups when they're used if dropped by a player
No need to null out the model
Add BasePickup, made ArmorPickup and converted ArmorShard to use it.
Edited the velocity reflection to be a bit more arcadey
This is an odd take, but alter the timescale a bit
Remove blur from menu, doesn't seem to work in Vr
Give the point to the other team if the serve hits the opponent's side on the first bounce.
Actually remove the failed serve sound
Game Loop rewrite to account for correct serving rules
Started work on menu widget, instead of going straight into client preferences.
https://files.facepunch.com/devultj/1b1611b1/sbox_n0LKi4Seg7.jpg
Improve menu widget style
Give players a camera outside of VR, fake WorldInput outside of VR
Give menu widget avatars a nice box shadow based on team
Can open client prefs from menu widget
Added Menu Widget toggle
Unset active page if disabling menu
Don't play the failed serve sound for now
New Menu (left joystick down)
Don't play the failed serve sound for now
Only grab the server's replicated convar if we're clientside
Unset active page if disabling menu
Can open client prefs from menu widget
Give menu widget avatars a nice box shadow based on team
Give players a camera outside of VR, fake WorldInput outside of VR
Fixed replicated convars not saving the correct value
Improve menu widget style
Started work on menu widget, instead of going straight into client preferences.
https://files.facepunch.com/devultj/1b1611b1/sbox_n0LKi4Seg7.jpg
For debugging, positionthe player's hands manually in non-VR
Game loop cleanup, fixed losing score not being submitted.
Non-VR players get chucked into spectators, unless the host is running in tools.
Fixed game window not being resizable when switching to windowed mode
Fixes #413
Fixed LeaderboardType being inverted
Decreased distribution of elo rank brackets
Added shitty failed serve sound
Only show serve failure helper 5 times
Add GameState.FailedServe, don't instantly reset the serving state.
Add ReleaseGripToServe to client preferences
Added straight forward helper hint system
Changed serve grip behavior, now you hold then release, instead of just gripping.
Fixed game end not actually resetting state
If the paddle is hit by a player, and the ball hasn't bounced yet - award the serving team a point.
Better scoremaking decision for illegal shots
Use SetGameResult to send win/loss metrics
Fixed up Score Widget anchor for Red team
Fixed VrAnchor relativity