56 Commits over 184 Days - 0.01cph!
Update InputHint to Razor
Update Scoreboard to Razor to try to unfuck remote version
Upgrade SettingsMenu to Razor
Put this back, might fix camera effects playing from other players POV.. this is hard to test
Moved where weapon FOV adjustments get set, removed another point where Viewmodel FOV was being set
Tentative fix for camera fov being applied wrongly applied on other clients
Use s&box preference for FOV, don't switch space to vertical
Boomer compiles again, crosshairs are temporarily gone, as is score submission and a specific DebugOverlay
Killed obsolete hitbox code, replaced with hitbox tags
Set random player color on player ctor, should fix strange color mismatching
Added Client.IsFriend
Make sure IsTeamPlayEnabled doesn't error out
Add entity hudmarker system
Hook up hudmarker to players, only applicable in team play
Merge branch 'main' of sbox-boomer
Only display damage / armor hints if the damage was inflicted
Fixed up friendly fire damage expression to also cover invalid attacker
Don't try to evaluate friendly fire if the attacker is us
Fix Enum.TryParse compiler error
Start work on Teams, Team Manager
Add TeamComponent, Client.GetTeam, Client.SetTeam
Set up team where needed on client join / left, inform team component of team changes.
Gamemodes can define their own team sorting. This might not be needed.
Add Friendly Fire convar, checks teams on damage
Only check for friendly fire if team play is enabled
Add Friendly Fire to lobby settings
Set up player colors to match their team if applicable
Forgot to rename these
Set Pawn before player.Respawn, fixed team balancer
Temporary way to sort by team in the scoreboard
Add DisableOnGamepad to InputHint, don't display input hints for inventory icons on gamepad.
Add InputButton.SlotPrev/SlotNext support (gamepad)
Add Input Glyphs to inventory items
Fixed visual bug when switching to an invalid weapon
Add some comments to explain wtf I'm doing here
Rewritten weapon selection code
Can click a player on the scoreboard as a spectator to target them
Add Camera Speed multiplier for run/duck, default to free mode if no spectator target. Also removed input.Clear() from free camera, wasn't necessary.
Force update camera rotation when switching target / freecam
Can toggle spectator widget on/off with Slot1 while spectating
Fixed your current spectator target being invisible while in freemode
Input hint style modifications
Group previous & next input hints on the same line
Add InputHint widget from Spire
Add input hints for spectator controls
Add BoomerSpectatorCamera, can switch targets with Left, Right
Add free camera, use Jump to toggle, Menu & Use to switch targets now.
Refactored BoomerCamera, moved all of it into spectator cam, fixed up VMs for freecam
Merge branch 'main' of sbox-boomer
Add chatbox messages for when players join/leave spectator
Apply TimeSinceLastDamage for purely armour damage
Add armour damage numbers
Fixed error spam if no players as spectator
Add "spectating" ui widget
Fixed another null error
Don't show nametags for camera targets
Squashed commit of the following:
commit 4d054f8a62047c5ee6907054002acee5809d35a0
Author: Tony <devultj@gmail.com>
Date: Tue Aug 2 15:28:12 2022 +0100
Support weapon switching for spectator viewmodels
commit 987a201c1ffe09826343123e8cae7cd25a4c2a7e
Author: Tony <devultj@gmail.com>
Date: Tue Aug 2 15:03:43 2022 +0100
Fixed viewmodel error on first target switch
commit 523297742993bbaa71220c376fbabece10ce391d
Author: Tony <devultj@gmail.com>
Date: Mon Aug 1 18:03:46 2022 +0100
Hacky test for showing spectator viewmodels
commit b847b0e150eb4d8ec5f7ba81ab95f2d685ede892
Author: Tony <devultj@gmail.com>
Date: Mon Aug 1 17:47:25 2022 +0100
Lerp camera rotation if we're not locally controlled
commit 50ca19d7c58501647e8f890b195a11bb299f1fb8
Author: Tony <devultj@gmail.com>
Date: Mon Aug 1 17:39:39 2022 +0100
Spawn camera, try to find camera target, works but rough
commit 461b9361ffab0d6cfdb920f27731c3b80881a0ba
Author: Tony <devultj@gmail.com>
Date: Mon Aug 1 17:13:22 2022 +0100
Added ability to toggle between spectator pawn & regular player
commit 5d8d7720824187cba570ae9a3b4b127d3f1ad3f2
Author: Tony <devultj@gmail.com>
Date: Mon Aug 1 14:45:03 2022 +0100
Big spring clean
commit 220f9783d7282f5525065c0b60672c159cbbd897
Author: Tony <devultj@gmail.com>
Date: Mon Aug 1 14:19:58 2022 +0100
Our camera can define a target, allowed vitals to update based on target
Disable scoring system if a bot connects
Push a bunch of compiled assets
Use BindClass instead for ammo transitions
Sometimes isn't dirtying the style properly, investigating
Animate when you gain ammo, only if it's your current ammo type
Added convars to modify game state lengths
Renamed Ammo to AmmoVital, fixed ammo take anim
Save starting weapon presets as resource, support giving initial ammo through it
Weapons can define Starting Ammo, which is given on Inventory.Add
First weapon added to the inventory will become active