branchsbox-gunfight/maincancel
846 Commits over 639 Days - 0.06cph!
Fixed UI issues where players weren't transmitting
Add facepunch.prison as supported map
Fixed loadouts being inconsistent, don't let new loadout be the same as old
Updated use of hitgroups
Merge branch 'hitboxes-suck'
Don't serialize some loadout properties, added a couple more loadouts to Gunfight gamemode
Slide: Don't stop sliding when releasing key
Loadout Panel rewritten in Razor
Updated some UI elements to use Razor (#6)
- New chatbox UI
- Rewritten scoreboard
- InputHint is now a one-file utility that people can grab for their own projects without any faff
Changed loadout defs, added attachments to loadout panel https://files.facepunch.com/devultj/1b1611b1/sbox-dev_y4Pvo00hLF.png
Gamemodes can define what teams are available, scoreboard simply iterates through that
New scoreboard style for team-vs-team setup
Add LoadoutPanel that displays while the round is starting
Played around with ScreenEffects https://files.facepunch.com/devultj/1b2911b1/sbox-dev_IrBJraNekh.mp4
Temporary Player.RenderHud workaround
Trying to pin down why I'm crashing
Fixed compile, replaced StandardPostProcess with ScreenEffects
Don't try to update firemode if new result is the same as last
Fixed CycleFireMode not listening to the weapon's supported modes
Fixed enemy dead color on status panel
Add Spectator HUD https://files.facepunch.com/devultj/1b2811b1/sbox-dev_kpcvdu0e9Y.png
Don't display weapon hud if we have no weapon
Game post process refers to camera target as well
Add GunfightPlayerCamera sets target locally
Replaced most hud pawn references with camera target
Add GunfightSpectatorCamera
Space bar while in death camera to spectate
Added Gamemode.AllowSpectating
Moved cycle fire mode to InputButton.View
Added GunfightDeathCamera
New Main HUD, added firemode switch panel
Redone score panel style
Update vignette color
Saturate player's view based on health, removed health hud
Support Laser for 1911, updated aim offsets
Make first weapon active alwayas
Add Gamemode.CanPlayerRegenerate
Restyled score panel https://files.facepunch.com/devultj/1b2611b1/sbox-dev_7pfMkeGIb8.png
Fix NRE in LaserSIght.UpdateEyeTrace
Redo laser sight attachment tracing code
Fix laser sights persisting when weapon isn't drawing
Updated FAMAS aim offsets, including Laser
Allow ADS while reloading
Add Weapon.HasAttachment<T>
Add gunfight_crosshair_always_show debug convar
Updated how ADS is done
Don't render crosshair if dev camera is active
Decreased laser radius
Fixed Famas world laser spot
Decreased laser dot sprite size
Laser shouldn't follow eye position if it's not the local player
Fixed Laser dot not showing
Fixed strange behavior with laser sight transforms
Added AimAttachmentStyle, first draft for overriding ADS with a laser sight
https://files.facepunch.com/devultj/1b2411b1/sbox-dev_OI67deE338.mp4
Change laser direction if sprinting / sliding
Add WeaponAttachment.Mirror( VIewModel )
Fixed players not running FrameSimulate on ActiveChild