branchsbox-gunfight/maincancel
846 Commits over 639 Days - 0.06cph!
Create a class list is horizontal instead
ClassCard creates two WeaponViewers to show primary & secondary at a glance
Moved Create New Class button to be separate from the class list
More UI position adjusting, xp bar width, opacity, blend-mode
Moved hints around so they don't clash with each other
Improved cover aim eye height
Refactor Ammo component to accept a weapon property. Remove unused actions, add SwitchWeapon action
Remove old loadout system, replace with custom classes, gamemodes can define default class
Experiment: Use gamepad gyro for aiming (will probably make this handheld only but we'll see)
Adjust Steam Deck game scale, still high but not as insane as before
Keep Deck main menu scale the same as PC for now, server browser is totally unusable currently
Restyle weapon hud
https://files.facepunch.com/tony/1b3111b1/sbox-dev_0sWCOYcgcH.jpg
Create new class button adds new class and opens it instead of erroring out
Add WeaponCard, refactor WeaponViewer to self-handle attachments, implement save/delete methods
Matchmaking map list sorts by most popular
Players can view Settings from Pause Menu, add blur if ingame
Changed main menu style, added settings page for rebinding inputs
Hide Create A Class behind the editor for now
NotificationManager supports parsing Input Hints using a pattern https://files.facepunch.com/tony/1b3011b1/sbox-dev_zC1LT7iTAi.png
Up MP5 holster time to match @MaxLebled's new anim
Reference weapon packages in sbproj, create a class can use proper models from WeaponDefinition again
Refactor attachment system so it's not tied to components
Menu attachment toggle test
Position WeaponViewer using model bounds, and can now edit attachments on either weapons
Group attachments by category, give them friendly names
Testing out WeaponViewer w/ ScenePanel
Start framing out ClassModal
Hook it all together, create new class makes a new class and saves it
Start writing persistence for custom classes
Add Attachment.IsUnlocked()
Start framing out Create A Class page in GameMenu
Docs, make WeaponAttachmentComponent abstract
Disable unsupported attachments instead
WIP Attachment Mods -> USP RMR, USP Suppressor, MP5 Rail
Add UIGlobals, UIGlobals.MenuScale and UIGlobals.GameScale. Scale up respective root panels on Steam Deck
Update InputHint when device changes, fixes controller glyphs
Update input action binds for gamepad
Better value for attack_hold
Remove debug log :frowning:
Hook up b_jump
Remove AimFireDelay
MP5: Hook up dry fire anim
Re-add holster times (but now per weapon)
https://files.facepunch.com/tony/1b2411b1/sbox-dev_fd4S1u2qx7.mp4
Hooked up move_groundspeed, deploy unset, move firing mode to be on cycle instead of all the time
Set up FiringModeParameter
Store player levels at the time too
Add team group header with the team's total score, add player levels to match modal
Span style adjustments
Use proper team names, not just their enum string
Remove pointer-events from some elements
Changed icon for lobby owner
Store team scores and per-player score in match data
Add MatchModal.GetData with fallback
Order player entries by score descending
Show game version in GameServerFrame
New icons, new main menu bg image
Fixed match time being incorrect in MatchCard (just didn't implement it)
Add MapName and Gamemode to MatchCard update
Add DialogModal, pop up a dialog warning user about outdated server when trying to join
Update style and content for match modal again
Use correct gamemode name
Proper flex wrap on MatchCard
MatchModal - Sort by teams https://files.facepunch.com/tony/1b2011b1/sbox-dev_7F90V5Sh36.png