1,542 Commits over 1,705 Days - 0.04cph!
Removed silence from the start of the combat knife deploy sound so that it doesn't sound like you're scraping it on your head
Fixed missing deploy sound for combat knife (missing animation event)
If an attempted spawn by the spawn handler fails (e.g. due to something being in the way), don't count that as a filled spawn - let it try again unless numToTry is exhausted as well
If destroying a train car during spawn, wait one frame. Prevents NRE when the spawn also involves a network group switch.
More early exits for when trains are destroyed during update ticks, and more checks for disposed CompleteTrains (since we free the train car list when disposing, we can't reference it afterwards). Fixes the root cause of the NREs that were fixed in
71430.
Fixed a couple of CompleteTrain NREs
Fix attempt for SprayCanSpray_Freehand NRE
Fixed spray can pie menu sound playing even when players don't have the store item that enables it, and fixed all pie menus playing their cancel sound together with their open sound when first opened (introduced in 3572 - despite millions of pie menu activations, this went unnoticed for 7½ years!).
Reverted GetItem to the older version without GetCachedItem. GetCachedItem is now only used in DelayedModsChanged.
Null check to prevent BaseLiquidVessel NRE
Fixed coupled train cars not loading in the train cars next to them (from save)
EngineUI prefab commit, it seems to want to commit some more info about font colour. Maybe this will stop Unity refreshing it so much.
Bugfix, handle train coupling changing before server init
Removed hudcomponenttoggle, replaced it with just using hudcomponent with no second parameter
[Paddy requests]
- Added select all and select none options to the HUD Tools menu
- Added a toggle version of hudcomponent
- HUD toggles now support enabling and disabling HUD components that don't have their own canvas (e.g. Vitals)
- Crosshair sub-components are now manually included in the tools list as available to toggle (can also be toggled via convar)
[For Paddy] Admin client convar for HUD component toggles. Format: hudcomponent BeltBar t
It is, unfortunately, case sensitive.
Apply the 50% minimum distance to SprayLineDecal as well
Fixed decals disappearing very early at low Object Quality settings
Disabled head bob while flying
Added ability to toggle the error text component
Added HUD components to the admin tools menu. Allows for enabling and disabling individual components of the HUD
Potential brake sparks fix
Added world colliders for the end railings on the wagons
Re-disabled vehicles parenting to other vehicles for now (was recently enabled on train wagons, flatbeds, scrap heli). There are issues around velocity when entering and leaving the triggers that I don't have the time to solve right now. It would be nice to support minicopters being carried on train flatbeds among other things, so I'll enter this as a task for the future.
Fixed a couple of bugs with vehicle trigger parenting
ScrapTransportHelicopter terrain collision proxy script
Updated the scrap transport heli server-side world collider setup to include the gap at the back, so that other vehicles can plausibly be loaded in.
Removed train wagons from my test map
Revert the wearable LOD4 commit. Not going to be worth it with the fixed LOD ranges we have for all wearables.
Added support for LOD 4 in Wearable and SkeletonSkinLod
Adjusted flatbed parenting triggers
Lowered modular car flatbed world colliders
Enabled vehicle parenting on other vehicles as well: Modular car flatbeds, and the scrap transport heli. If you can get a vehicle in there, might as well let you carry it.
- Added support for vehicles to enter the parent triggers of other vehicles (somehow we've never needed this before!).
- Now that we support it, added parenting to trains so that e.g minicopters can land on trains without sliding off.
- Cleaned up BaseMountable a little, removed some very old commented-out code.
Wait one frame in TriggerParent when killing the player. Fixes the player not being able to respawn properly after falling asleep and dying in the same frame
Fixed train-to-rigidbody collision sometimes bringing the train to a stop
Fixed the TriggerTrainCollisions invalid object rejection, re-enabled it
Disabled my train collision rejection code until I solve its issues
Updated vehicle collision effect code, fixed the warnings re SubmarineDuo
Merge WorkCartUpdate -> Main
▅▊▍▊▋ ▊ █▊▅▉▍▄▄▇▍▍▋▊▉█ ▍▋▆▍ ▊▉ ▇▄▉▉▅▄▍▄▄▆▉▊▉, ▄▋▆▋▋ ▄█▆▋▇▇█▋ ▌█ ▆█▇▍ (▄▅▆ █▄▊ ▇▌▅▄▇▊█▅▄). █▊▊▄▉ ▍▆▇▊▋▆▄█ ▆█▌'▊ ▍▉▊▇ ▌▇▆ ▅▇▅ ▆▆█▊▌▇ ▋█▌▉ █▌▄▌▌ ▊▊▋▉▍▊▊ ▆▊▋, ▍▉▊▉▆ █▍▆ ▋▍▄▅ ▄█▋▊ ▋▊▆ ▆▅▉▌▉▆▊█ ▉▇ ▉▊▄▌▍▍▌ ▄▌▉▄▉▉▆▌ ▋█▊▇▌▇ ▌▍▍█▉ ▇▋▅▇ ▊▍▇▍ ▆▇▄▇▄▉▌▉ ▍▅▅▋ ▉▆▍▋▋▄. ▅▋▍▊▊▅█ ▇▉▅ ▍█▍▅▅▊▄█ ▋▅▉ ▌▍▋▍ ▌▋▊▄▅▋▇▊▊▋▊▍▉▋ ▌▌▋ ▍▋ ▊█▆▄▉, ▌▅█ ▍▉█▇▋▆ ▊▌▇▋▇▇█ ▉▌▇▇█▋ █▋ ▌ ▆▌▌▆▄▉▉ ▋▅▅▄ ▆▇ ▄▅█▍▊▍▍▉▅█ ▊▇▄▉▍ ▊▄▅▊▋▄▆▉▉ █▅▅▆▊▊ ▅▇▅▅▋ ▅▍ ▉▄▉-▌▇▅ █▆ ▍ ▄▍▉▄▄▄▇ ▉▇▋▉▍. █▉ ▌▊ ▌▉▆▆▅▌▋▌ ▋▉▅▄▌ ▋▅▅ ▆▉ ▅▅▊▉▊, ▅▍▊ ▌▄▉▄▄▉▋ ▆█ ▊▆▍▋▆▅.
▇▋▌▍▍▆ ▊▄▉▋▇▍▄ ▊▌▌▇▉▅▇▆ ▉▄█▇▆▆▄▍▄▇▊▋▋▉▋▋▌▇▋▋▊▆ ▆▅▍▌▉▄▉▍ ▍█ ▌▊▌ ▋█▉▊▄▊ ▅█ █▋▆▇▄ ▅▅▉▆█▉▉ ▆▌ ▆█▇▊▍▇ ▅█▆ ▍▄▋▍▇▆ ▊▊ ▅▉▌ ▌█▋██▍█ █▋ ▍▆▄▉▍ ▅▅▆█▋. ▋▇▍█▇ ▇▇▅ ▋▆▉▌█▄█▍▋ ▊▍▅▍▍ ▊ ▋▆▊▄▅▄▅▅▇▆ █▌█▌▍ █▅▅ ▌▊▅▅▅▋ ▄▅▍█ █▇▆ ▋▋▋▅ ▆▊ ▆ ▆▄▊▅▅▉▍▅ ▄▄▋ ▆▌▄▅ ▆█ ▉▅▍▍▄▅▋▊▄▍▋▄ ▋▋▋▌ ▌▍▋ ▄▄▄▉▋▍▄▌ ▊▆▉▆▉▉▆.
Fixed solar panels pointing to the sun's location in the server's central sky dome instead of the suns true direction. Light angle on solar panels now always matches visible sun position.
Hid MC Repair, Hab Repair, and ScrapTransportHeliRepair items
Fixed WorkCart movement audio playing when it shouldn't be in certain situations
Fixed a couple of bugs with the WorkCart monitor changes