642 Commits over 976 Days - 0.03cph!
"getpos" runs clientside, uses Camera.Position, Camera.Rotation - fixes inaccurate values being reported. Removed cl_showpos
Local.PlayerId -> Local.SteamId
Rip the bandaid off and stop looking for "GameSettings" meta, only "PackageSettings"
Update ProjectConfig.Ident MinLength to 2
Updated game.minimal template to fix Input so people creating new projects won't be greeted with errors
Fixed server not correctly setting correct values for game settings
Allow to add non-forbidden headers to Http requests, we should replace this whole class soon
Removed SteamVRImport as it was unused
Updated to .NET 7.0 and C#11
Please update Visual Studio if you're experiencing issues with it. Read more about what's new here: https://devblogs.microsoft.com/dotnet/announcing-dotnet-7/
UI2: Hook up "not-allowed" cursor type
Give QMenu a minimum width
Generator: Replace ConCmd.Server|Admin attribute to include method signature (when needed), supports having two ConCmds with the same method name. Fixes sboxgame/issues/issues/2577
PackageSelector: Re-added #local to local packages
Documented BaseItemWidget Actions, added ItemDeselected, ItemsSelectedTo
Remove AddonProperty, replaced usage with PackageSelectorProperty, added defaultSelection to PackageSelector, added placeholder UI to see current selection https://files.facepunch.com/devultj/1b2011b1/devenv_OUH7xVz5AK.mp4
Menu: Open video settings navlink by default
PackageSelector uses Package.FindAsync Api
Added multi-select support to Hammer's Entity Tool selector https://files.facepunch.com/devultj/1b1911b1/sbox_6eFNVff4fk.mp4
Removed GameSelectorDialog, renamed AddonSelectorDialog to PackageSelector
Solves #621
Validate AddonSelectorDialog org thumb - we've got 3 panels doing the same thing here, I'll unify them in the next couple of days
Validate organization thumbnails for asset.party selectors
Launcher: when adding local game config, append game ident with #local, fixes not loading into the correct games
Launcher: first draft for selecting addons for game configurations https://files.facepunch.com/devultj/1b1611b1/sbox_pbcF7SRE4R.mp4
Always record voice when in VR - we'll probably want an option for this in the future
Hitbox Tags (#562)
- Added Hitbox, Hitbox.HasTag, Hitbox.HasAllTags, Hitbox.HasAnyTags, Hitbox.GetName
- Added TraceResult.Hitbox, DamageInfo.Hitbox
- Obsoleted DamageInfo.HitboxIndex, DamageInfo.WithHitbox, ModelEntity.GetHitboxGroup
You'll have to update your code to get hitboxes to work again (headshots, etc) - check the wiki page @ https://wiki.facepunch.com/sbox/Hitboxes
Remove nullable from AssetList icon, fixed an error I was getting on editor launch
Re-enabled translucent screenspace effects
Cleaned up lobby rich presence, fixed presence not updating when lobby gets made, update documentation
Support `steam_player_group` rich presence for lobbies
https://files.facepunch.com/devultj/1b3011b1/Discord_tPmoEckwdL.png
Fixed MenuOverlay popup pointer events, fixes lobby invites being inaccessible
Made Global.IsDedicatedServer obsolete
Sandbox.Engine: Added Dedicated Server launch config
Fixed concommands being omitted when run through dedicated server console
Restored Asset.GetCompiledFile, fixes broken addon uploads
Deleting assets leaves the compiled file as junk currently. This will be fixed.
Asset.GetCompiledFile simply appends Source file with _c, mark as deleted when Delete is ran
AssetBrowser: Filter out marked for delete assets
AssetBrowser: Add "Delete Asset" option
https://files.facepunch.com/devultj/1b1911b1/2C4lP0lDqV.png
Revert "Eliminate GameSettings convar & json stuff.. store and use it as is"
This reverts commit 85991377b0a33b6f16d197da3aa2af00b4516b06.
Eliminate GameSettings convar & json stuff.. store and use it as is
Update AddonProperty value on Blur
Moved AssetList "New Folder" down to be consistent with the asset list's tree context menu.
Add current directory shortcut to asset folder node context menu
Update asset browser when refreshing/making new folders, add Refresh option to folder context menu
Hide template list even if there's just one template. It'll be auto-selected anyway.
Hide project template list if there aren't any to use. Added a few comments.
Killed old C++ filter code, added Game.ShouldConnect
- Gutted out network filter code in favor of controlling incoming connections in C#.
- Commands removed: `banid, banip, removeip, writeid, writeip, listip, removeip, sv_filterban, sv_banid_enabled, sv_banid_dev_enabled, sv_logbans` - probably a few more too.
- Added `bool Game.ShouldConnect( long playerId )` - returning false here will reject the incoming connection before the client entity is created.
Only grab the server's replicated convar if we're clientside
Fixed replicated convars not saving the correct value
Fixed game window not being resizable when switching to windowed mode
Fixes #413
VR: Attempt to fix Index Controller joystick button input
Only assign and evaluate ConsoleSystem.Caller for console commands
Fixes convar assignment while game loop is starting up. Fixes sbox-issues/issues/2158 and paves way for @kurozael's lobby settings.
Fix project settings physics grabbing the wrong metadata
When disabling an addon, dispose of it in ServerAddons
Update ErrorList to display specific and nonspecific diagnostic counts
https://files.facepunch.com/devultj/1b0911b1/sbox_uORyp1b7BG.png
Add ScenePanel.ForceUpdate()
Closes sbox-issues/issues/2151
Obsolete CameraMode.DoFPoint, DoFBlurSize