branchSandboxGame/mastercancel
3,194 Commits over 944 Days - 0.14cph!
Hide weapon models on holster. Only give weapon if it's unique
Place weapon instead of throwing it if surface is flat and near us
Throw weapon with some angular velocity
Only play weapon viewmodel sounds if there's an owner
Set weapons owner to null on drop
Remove weapon from inventory when dropping weapon
Have weapon create it's own pickup
Throw weapon with some velocity
Disable replication on weapon model. Only trigger weapon pickup on server
Add view shake to shooter base
Allow weapons to update owners view (zoom in and out)
Add weapon model entity (weapons world model, client side only)
Add virtual OnEquip and OnHolster to BaseWeapon, called on weapon change
Play view model animation on equip by default, override Weapon.OnEquip to do something different
Add WeaponPickup
Give weapon to pickup trigger activator, destroy pickup if activator can put the weapon in their inventory
Add thirdperson camera collision back
Merge branch 'master' of github.com:Facepunch/SandboxGame
Make enumerating the filesystem fast again
Fix cross-browser CSS, skip hotload on webfs stuff
Reduce the amount of webfs checks that hit the network
Make scrolling in webcon fast again (no more downscroll stuff)
Move Gamemode.FindSpawnPoint to Engine addon, no reason to make this an internal function
Turn off skeletal animations properly without T-posing it when in ragdoll
Only rotate player model with yaw angle when controllable is alive
Fix exception in vpk reading
Catch exceptions in file change event
Handle exceptions that are thrown when logging an exception
Keep reading bsp entity lump if a line fails
Remove test code from webcon
Maybe improve webcon performance a bit
Asset server index file so clients don't need to make a million requests to find things
Don't throw away addons that still exist when refreshing, fixes the map disappearing on subsequent loads
Remove some uneeded logging
View next player if target leaves
Add some authority asserts for safety
Don't change spectator mode if there's no target. Move spectator to thirdperson camera when switching to null target (no targets left to spectate)
Allow spectator movement if there's no target
Only use thirdperson camera as spectator if in that mode or target is ragdoll
Set spectator view target when target respawns
Merge
Merge branch 'master' of github.com:Facepunch/SandboxGame
Progress on loading things from the asset server
Fix weapon viewmodel swinging around when first spectating
Don't do spectator eye input when in firstperson mode
Only do spectator movement when in free mode
Set spectator view target back to itself unless switching to firstperson mode and there's a target, just incase there's a situation where mode is changed from firstperson to free.
Add spectator free mode back, move it to where the thirdperson camera would be so it looks like we just detach from the target nice and clean
Rename ControllingViewTarget to ControllingTarget to distinguish between the actual view target, target is just a way of player having an entity of interest (example: don't remove ragdoll while player is targeting it)
Simplify player spectating by only setting view target server side for firstperson, calculate thirdperson camera client side in OnUpdateView
Remove client side thirdperson camera in DeathControllable, calculate view in OnUpdateView instead
Player.ViewTarget requires authority
Add Player.ControllingViewTarget, override Controllable.GetViewTarget to use it. (This is useful for getting a target entity from local player)
Fix Player.Controllable to work both server and client side
Spectators target player model if it's in ragdoll mode, switch back when player respawns.
This line is not only for asset servers
Add a flag to turn asset server feature on, default off for now
Properly cleanup old addons
Allow disabiling authentication for remote requests, refresh addon list after setting fallback FS
Automatically start asset server, make clients automatically connect and register the FS
Fixed some web server issues, also fixed webcon not sending history when connecting
Add World.ServerNetworkAddress
Safer ragdoll cleanup without using async, only destroy after not being viewed for ragdoll_fade_time
Merge branch 'master' of github.com:Facepunch/SandboxGame
Merge branch 'master' of github.com:Facepunch/SandboxGame
Add Player.ServerIPAddress
Fix dispose exception when closing the game