243,507 Commits over 3,898 Days - 2.60cph!
Introduced IsVisibleAndCanSeeLegacy, an old version of IsVisibleAndCanSee with prior behaviour. Applied it to ItemModProjectileRadialDamage to fix explosive ammo damage to construction
Merge from tutorial_island
Manually add the CodeStripping scene to the build script process rather than the editor build settings
Fix visual studio not opening to the file & line on first launch
Open new vs instances at given file & line
Save users.cfg after adding or removing ownerid / moderatorid
Re-enabled gametips for tutorial, but added a CanShowInTutorial property that is false by default so we can manually enable relevant tips
Added a PlayerIsInTutorial property to BaseTip for easy access
Re-enabled how to shoot bows, build options, ore and tree minigame tips
PS_InitFinalCombiner( PS_INPUT ) -> PS_InitFinalCombiner() so it works without COMMON_PS_INPUT_DEFINED - this is just for default values anyway
PS_CommonTransformNormal should be wrapped in COMMON_PS_INPUT_DEFINED too
Material shading API can be used without common PixelInput
Internals rewritten to remove reliance on a commonly defined PixelInput
instead every function just takes what it needs.
The only public methods you may have been using were changed like so:
```diff
- float3 TransformNormal( const PixelInput i, float3 vNormalTs )
+ float3 TransformNormal( float3 vNormalTs, float3 vGeometricNormalWs, float3 vTangentUWs, float3 vTangentVWs )
- float3 NormalWorldToTangent( PS_INPUT i, float3 vNormalWs )
+ float3 NormalWorldToTangent( float3 vNormalWs, float3 vGeometricNormalWs, float3 vTangentUWs, float3 vTangentVWs )
```
Material::From( PixelInput ... ), ShadingModelStandard::Shade( PixelInput ... )
stil exist but are wrapped in ifdef COMMON_PS_INPUT_DEFINED, so only work
with the common PixelInput include.
Material::Init() added to initialize a Material with default values
Geometric normals are now distinctive from normals in Material too, this
is important for the lighting model: https://files.facepunch.com/matt/1b1711b1/beforeafter.png
And a lot of tool vis modes were fixed too.
Material.AmbientOcclusion float3 -> float
ShaderGraph fixes
Fix
Fixed airfield black tiles when running in low shader quality
WIP Create Custom Node in context menu
Re-enable resource harvest multiplier for tutorial, set at x3 for now
Move chickens closer to player, near the washed up container and fixed some chickens spawning on the ocean floor
Explicitly mention that you need to destroy barrels to get scrap and metal blades
Mention using Floor blocks to build a roof
Media greybox scene tweak
Disable Sequences package for now
Merge from tutorial_island
Fixed storage barrel collision being more complex than necessary, not convex, and breaking Tugboats
Extra debug drawing.
Convars.
Disabled ability to place Twitch Rivals desk on Tugboat (was causing PhysX errors + collision mesh is too insane to convert to primitives/convex)
Can't set fps.limit lower than 20 on the client (doesn't apply to editor or server)
Fix some LOD not being increase to 150m on blue siren light
Decrease lethal range of radiation a bit but increase max radiation to 100m increase range of radiation but increase falloff too (so you start getting rads slowly instead of blasted by max)
Disabled radiation alarm sound when hackable crate is unlocked & chinook starts flying towards oil rig
Keep radiation alarm sound when radiation starts on oil rig
Adjusted HAB parent trigger volume due to reports of players falling out
Fix NRE when IO entity is null and radiation sphere is turning on lights
Add `radiation_alarm_far` sound definition
Change radiation alarm to play the farther audio range (100m -> 350m)
Fix small oil rig scene heirarchy of radiation sphere
Fix directional light farz https://files.facepunch.com/sam/1b2111b1/Jn16Ruj0ub.png
Apply a test change from earlier
Change green lights to blue on small oil rig
merge from wanted_poster_typo
merge from advent_mgl_fix & snowball_reload_fix
merge from building_skins_4
merge from 0_cost_repair_fix
Increase LOD distance of blue siren light from 65m to 150m (only affects the one used on oil rig) so it can be seen further away
Change green light with blue lights
Changed to a single radiation alarm sound but bigger radius
Fix radiation animation curve minutes calculation wrong
▄▌▅▇ ▊█▄▅▍▊ ▇▅▌▋▌▇▋ ▄▆▍▍▌▄▌ ▅▍▊▋▋▊ & ▍▆▊▋▊▄
▌▄▅▍▅▌▋▊ ▍█▊█▉▆▌ ▄▊▋▇▅
merge from main -> oil_rig_radiation
Add spinning siren light blue manually
Applied some shelved changes
▌▄▍▄ ▍▆▇ ▅▅█ ▌█▊▊▊▊, ▆▇▄ ▊▅▇ ▄▋▉ ▅▉▄▄▌▋ ▋▆▊ ▉▌▌▍ ▄▉▉▅ ▆▍▌▆▉▇▍▉▅
▇▆▉▅▉ ▄▅▉▌▋▆▄▇▋▅▅▄▄▋▋ (▆▆▉▅▍▄▄▍▇ ▉▅▄▉ ▋██▋█▄▋)
▊█▆: ▌▆▅▍▆▊▄ █▆▅▋▌▅▋ █▆█ ▄▆▅▇▉▅ █▊▇▋ █▊▍▄ (▄▌▍▊▌▋▅▋▇ ▇▄▍▍ ▌▌▆▋▇▅▊)
! ▋█▆ ▍▇▄▊ ▆▍▍▉▌ ▆▅▊▍ ▅▄
Fog lights support, remove second buffer that's meant for fog lights, remove bullshit code to support old directional light from it that was just meant to be tools-only, all light types just works now https://files.facepunch.com/sam/1b2111b1/C3pY5Q7jq9.png
All breakable meshes and LOD setup
All textures updated for correct tinting, custom LODs for all mugs, gib pieces for all mugs, all collision adjusted
vm legacy bow - set up viewmodel renderer
changed bow fabric mat from fade to cutout