255,783 Commits over 3,990 Days - 2.67cph!
Editor: add ability to define launch arguments for new game instances, resolves Facepunch/sbox-issues#6095
Merge: from main
Tests: none
Added front door and drawbridge to the siege tower
Resolve Facepunch/sbox-issues#5844 - Input.ReleaseAction/Actions should work across contexts
Implemented a proper death state
Added Ruby Chunks
Moved death state from Player class to Entity, added Death FX
Planters now use the same outside check as water catchers.
Reworked planter rainfall logic.
Added planterbox.outsidetestdistance server convar to control distance check.
Highlight player if obscured
RMR toggles gasblock, fixed some logic to make this work
Update Facepunch.ActionGraphs
Moved all new rock placements into prefabs to make future merge conflicts easier to re-apply
Update: enable sound pooling by default
If something goes derp, can be disabled via audio.enablesoundpooling 0
Tests: was explicitly enabled over last 3 days while running all recent changes
Stopped icesheets from spawning around lakes
Fix side effects from serializing exposed properties
Merge: from main
Tests: ran around on craggy with logs
Added Burnt Trees
Enemies now deal contact damage, swinging their held weapon if they have one
Added convars:
'radiation.water_loot_damage'
'radiation.water_inventory_damage'
'radiation.materialToRadsRatio'
Bugfix: don't leak looping sounds when quick-switching
It's possible that equipped items with sound effects (setup via sound player) can enable-then-disable across 2 frames, before SoundManager picks up the pending play request. If it's a looping sound(like torches burn loop) it would stay alive forever. Now we cleanup the pending requests on disable of sound player.
Tests: mousewheel quickswitched between rock and a torch and observed numbers in audio.printsounds - the burn loop is no longer accumulating.
Add FPS mode, so you can see what the weapon looks like from first-person
Reset jiggle state when we swap from first-person to third, add toggle button to gunsmith, adjust angles
Smoothed vendor entry and exit to spline
Added Sandstone and Sandstone Ores
Added Ice and Ice Rocks
Updated Rock Item Drop to differentiate it from the Tile
Bradley much less likely to enter a spline when turning or facing a target from behind
Update: SoundManager pools internal lists
The pooling effect is minimal, but it achieves 2 small improvements:
- we don't hold lists in memory for sounds that don't reapper for a while - those can be reused in other parts of the code
- audio.printsounds no longer reports 0 active sounds per definintion
Tests: On craggy quickswitched between equipped items. Saw the various sounds appear and disapper in the logs.
Disable arms now that gunsmith weapons just use the pure view model prefab
Health + Damage effect
Cube reset buttons
Update: microphone drops any sounds it has accumulated on destroy
Tests: tested by playing the flute when exploding the microphone stand connected to a speaker
Update: MiningQuarry drops sound assets when destoyed (though it's invulnerable)
Tests: none, trivial change (same type of changes as previous)
▋▋▅▇▉▇ █▋ ▆▇▍ ▍▌█▅▊ ▍▊▄█▉▅▉▉ ▊▉▅▆▊▄ ▄▉▌▉▇▄▆▍▇▍▊ ▋▍█▊▌▄▍▋▊▄ ▊▉ ▆▄ ▊▆▊▋ ▍▅▆▄▆▇ █▅ ▆▄▅ █▄▆▄▌▋▅▄, ▌▋ █▅▉▍ ▄▇ ▄▊ ▉▋▌▊ ▅█▌█▊ ▋▄▆▋▌▌ ▊▆▄▇▉█▆█
- ▅▋▍█▍▊▅▅▍ ▇█▊▇▇▌▌▌ ▆▇▅▇▄▉▍▊▇ ▍▋▄▍▉ ▆▇▆▋ ▌▆▍▌▋▉▊ ▄▍▆ ▅▉▆█▆▉▆▄▅ ▅▄▆▄▌▊ ▋█▅▄ ▌▆▇▄ ▊▄▊▌█
Api update
Fix triggerteleport NRE
Update: modular car's engine drops all sound resources on disable
Tests: blew up a modular car
▊▉▇█▋ ▌▋▋▋ ▍▄_▌▄▇▇_▅▆▅▍▍▍▅▌▅
Move project cookies to .sbox/
Move asset thumbnails to .sbox/
Fix some cloud package thumbnails getting unnecessarily downloaded
Stick cloud/local asset thumbnail cache on different paths so these can't conflict
Update: AmbianceWaveSounds recycles sounds on disable
Tests: none targetted(same type of change as before), but have been live on my branch for 2d while testing and working on other changes.
Add GameObject.GetLocalBounds()
Add GameObject.WorldTransform, WorldPosition, WorldRotation, WorldScale
Add Component.WorldTransform, WorldScale, WorldPosition, WorldRotation
Mark Transform.LocalPosition, LocalScale, LocalRotation, Scale obsolete
Mark .Transform.Rotation obsolete now .WorldRotation
Mark .Transform.Position obsolete, now WorldPosition
Run the update process on a fresh version of the animator from main, fixes all overrides
Leaderboard backup, run #
14380
Update animator script upgrader to replace the animations on the walk and crouch blend trees with their new versions, fixes overrides losing their data when we update from main
scrap
hover text
pick up items
remove RotationController
Switched player_model to use standard animator (it was getting set to this at runtime anyway)
Removed some test animator controllers
Fix Molotov not spawning fire nodes. When a node is extinguished, give some time for its particle emitters to die nicely. Add new fire effects stolen and tweaked from Walker.
Remove the mention of floating bottles on the load screen tips
Disable two scroll rects in the inventory when the inventory is closed, should save about 0.02ms (big gains)
▌▇▊▅▋▆ ▋▅% █▌ ▍▆█ ▊▊▆▊▇▊▊▉█▍▆ ▅▍▆▍ ▉▍ █▊▌▆▅▇▋▊▌█▅▉█▋▋▊▍ ▋▆▋▆▌▊▅▄█▇ ▇▍▌▍ ▋▊█▇ ▇█▆▉'▇ █▍ ▉▅▉▍▄ ▆█ █▍▉ ▊▋▊▊▍▊ (▅.▊▄█▋ ▍▉ ▇.▌▍▇█ ▆▊▆ ▍▆▇ ▇█▊▄█▄▌▉▌█ ▄▌▋ ▋▇ ▋▄▌▆▄)
▆▉▊▅ ▄▄▍▄▆ ▆▇▋ ▉▇▆█▄▅ ▆▍▉▅▄▄▆▄ ▆ ▉▅█▉▇ ▋ ▅▅▌▌█▍ ▇▅▌▆▊▅▇ ▇▇ ▉▌▋▍▊ ▇▉▄█▉ ▌▄▋▇ ▌▋▊ ▍▍█▆▇▊ ▉▅▌'▌ ▊▍ █▍▌▊▌
▄▆▋▉ ▋█▊▅█▆▊ ▍▉▋▄ █▍▅ ▇▌▅▅▆ ▆▌▋▉▌ ▅▄▊ ▍▇▍▇▉▄ ▄▆▉▋ ▅▍▇▍ ▅▆▄▊ ██▋█▌▊▌ ▄▉▋▍▍ ▌▍█▊▊▉ ▊███ ▍▍▌▄▄ ▅▌▆▊█
▇▄▍▌▆▇ ▇▊▆ █▅█▌▄ ▍▊▅▋ ▉▆▇▅▋▍ ▄▆▇▇▆▅ ▅▇█▅▋▇▍ ▍▊▍▇▆▌▉▆ ▋▊▋▅▉▅ █▍ ▍▌▅ ▆▄▌▄▍▍█▅ ▇▌▄▊ ▇▊ ▊ ▅▄▊▌▅▇ (▆▊▆▊▊▅.▊▄▊██▇▉▅▍▅▊▍█▌▋▆█▋▄▇▉▌▍▇, ▆▄▋▌▄▇▊ ▇▆▋)
▌▋▆▊▌ █▌▅ ▅▅█ ▋▅▉▆▄▋▄▉ ▌▆▍▊▉▍▊▉▋ ▍▇▋▄▄ ▅█ ▆▅▇ █▇▊▄▆█▋▍ ▆▊▄█▄ ▍▅▋ ▊▌▄▊▋▆ ▍▅▆▋▇▇▊▍▅▍▍█▊▆ ▆▆ ▊▅▌▄▇ ▌▊▉▇▋▍▆▉ ▉▆█▉▆▇█▋
█▅▇▆▇▉▅▉▊▇▍ █▇ ▆▍▌▋▌▅█▋█▊███▊▋ (█▌▇▌▋ █▆▄█▌▍▇ ▉▍▋▇▍▌ ▅▇▆▊▌ ▇▆▄ ▄▍█▍▌▍ ▌▇▅▋▄▅)
▊▍▄▌▇ ▍▌▋ ▍▋▋▆ ▉▊ ▆▇▉▋▄▍▉▋█▆▉▉ ▍▄ █▆▌▍ ▇▌▅▆▆▇▆ ▍██ ▄▆▆▆▇ ▆▊▉▋▇ ▋▄ ▉▍'█▋ ▇▌▍▌▇▊ (▍▋▌ ▋█▄▄▅█ ▄.▉▄▋ ▅▍▆▅▋█ ▍█▉▆ ▇▆▆▋ █▄█ ▄▊▅▇▇█)
█▊▋▉█▊▌ ▊▉▉ ▅▇▌ ▄▊▅▇█▆▇█ ██▆▆▉▅▍ ▄▌▌▇▋▉▌█ ▄▌█▌ ▊▊▌▊▄▇▊▍ ▌▍▇ ▋▅▄▍▍▅█▆ ▌█▌▊
▋▊▌▊ ▇ ▆▅▄█▍▇▋ ▌▊▌▆▍▍ ▆▅▅▉▅▆▋▉ ▌▆ ▊▉▊ █▌▄▅▍▅▋▇ ▋▊▌▌ ▌▋▆▅▇▇ ▅▇'▍ ▆▋▉▅▉▊▍▋ ▇▍ ▇▍ ▆▍▌▌▉▌ ▄▆, ▉██▆▊ ▇████▍ █▆▊▅▅▉▍ █▉▋▊▇ ▋█ ▌▉▋ █▇▌▉▄▅█▋ ▆▆▉▅▅ ▉▇▍▄▍▋ ▊▋ ▋▆▉▇▉█▍▅▋ ▋▋▋▊▄ ▄▊██▄▆█▍▆