branchSandboxGame/mastercancel
3,194 Commits over 944 Days - 0.14cph!
Block tool uses active material
Editable mesh supports multiple materials. Added ghetto material picker UI.
Offset multiple faces at the same time so only distinct vertices are offset
Fix translate gizmo snapping to 0 when moving cursor outside window
Cleaned up shift copy code
Merge branch 'master' of github.com:Facepunch/SandboxGame
Dragging translate gizmo offsets faces while in face edit mode, shift drag extrudes
Update bindinggen to fix some bad casts
Add option for setting attenuation on local sounds
Binding sound attenuation stuff
Shift dragging selection gizmo will make a copy of the selection
Fix runtime mesh occlusion check when using custom depth stencil
Add moved event to translate gizmo. Calculate selection bounds on change instead of on tick. Position gizmo at the selection bounds center.
Block tool can cancel block with delete key
Added selection modes. Face selection extrudes face on addition modifier down and left click.
Only draw bounds for items for the current selection mode
Face selection. Drawing face selection bounds.
Adjustable grid snap sizes. Block selection with bounding box calculation.
Delete selectables
Block tool uses mouse position for picking ray
Block tool uses world origin plane when picking ray fails to hit something
Take editable mesh rotation into consideration when generating UV basis, this gives desirable results regardless of plane orientation the block is created on.
Fix attachment transform replication issues. Keep attaching pants every tick to make sure they don't fall off.
Only create clothing on client for now (Player model attachments aren't getting replicated properly, means you'll be naked when playing as a listen server tho)
Add FinishedSpawn to BaseEntity. Add assert "Player trying to control an entity that hasn't spawned yet"
Control player after spawning it, not before.
Hacky fixes for weapon throwing and attaching
Added extrusion step to block tool
Fixed block tool not creating blocks with correct orientation when created on non axial planes.
Don't set owner in possess
Add option to play sounds without broadcasting it (needed for things like footsteps, client determines when to play sounds but listen servers also want to play without broadcasting it)
Replicate IsGrounded to fix player footsteps. Fix footsteps on listen server.
Give player weapons in OnFinishSpawn instead of initialize
Fix client side player model initialization. Try to keep weapon world model at player models attachment point at all times.
Protect against ensure in DetachFromComponent for static meshes (gives warning instead)
Always allow client to call client RPC
Throw when calling client RPC and owner is null
Fix NRE on server when placing tripmine
Autocomplete for ingame console
Webcon fixes
Scroll to bottom when running a command
Key binds system, bind, unbindall, exec, binds, writebinds
Only weld physics simulated entities. Physgun adds selection outline to every entity in the hierarchy
Weld root entity in parent hierarchy
Sandbox player noclip
Prefix sandbox ui elements for now to fix vue errors
Fixed physgun freeze/unfreeze not working on welded entities. Added welder weapon.
Added "reload" command
Reloading map assets will reload the map brushes too
Merge branch 'master' of SandboxGame
Made sandbox player a weapon controllable. Added scoreboard and weapon selection. Gave physgun.
Lights set defaults in constructors
Fix promise crashes in sound generator, update bindinggen
Move SineSound test to sandbox gamemode
Moved hl1 specific spawn point entities to hl1 addon. Added simple player to sandbox gamemode.
Comment out useless bullshit in sound generator that stops the game from building