13,600 Commits over 2,710 Days - 0.21cph!
Add the ability for a container spawn point to limit how many containers are spawned at that point
Adjusted container spawn points to ensure that it's likely for top containers to be accessible
Added some pallets around the container spawn points to make them more climbable
Affects both harbors
Disable saving on the hobo barrel in Tunnel_Dwelling_A, fixes barrels leaking to world origin on server restart
Possibly fixed editor based player inventory loadouts not getting included in builds (now derives from BaseScriptableObject which should get picked up in our asset bundle builds)
Switch using GetConnectionsWithin in IndustrialConveyor ReceiveItemTransferDetails RPC to a new GetCloseConnections method that iterates over the subscribers of the local network group instead of all of the players on the server
▉▆▋ ▉▍▅▄ █▋█▌▌ ▌▄▉█▄▊ ▉█▌▍█▅ ▊▌ ▄▇▅ ▋▅▅██▆▉▆▌▉ ▍▄▌▇▍▍█▅ █▌ ▍▅▆▊ ▄▋▊ ▋ ▊▌▄▄▋ ▆▍▇▋ ▇▇ ▋▍ ▅▆ ▄▉▇▍▉█▅ ▅▋▉▉ ▅▊▌ ██▋▊▌▊▍ ▉▍ ▇▊ █▊▅▅▋ ▊▌▋▍▆▅ ▊▌ - ▅▇ █▋▆█ ▆▄ ▇█▇▍▉▅ ▅▉ ▆█▊▄ ▆▄ ▋▍▄▄ ▌▊▇▊ ▊▆▋ ▍██▆ ▆▆ █▅ ▉▄▅▌▅▅ ▉▋ ▆▊▋▉
▊▉▄▉█ ▊▆▉ ▉▊▊▌▄ ▅▊▊▊▆▄▆▅▍▋▄ ▉▅▍▌▇▌ ▅▄ ▍▋▅█ █▍ ▋▉▄ ▌▉▌▇▇▋▍▉▌▅ ▍▊▉▇▊▋▍ ▍▆▋▇▆▋▉ ▊▍▇ ▄▆▆▋▉▉▅▇ █▌ ▊▆▇▍▇▉▊
Added root bones to playing cards viewmodel, fixes viewmodel renderer not working
Set up EffectParents for UI elements
Toolgun viewmodel now uses viewmodel camera, UI is setup as an effect parent
Update Cache process on vms_missing_renderer_scripts to automatically consider any materials using the hair shader as a transparent pass
Fixed dying during harvest mission objectives in the tutorial resulting in pings appearing for completed objectives after respawning
Change default value of BasePlayer.filterSpectateMapTeamID to -1 so it shows the team of the currently spectated player by default (setting this value to 0 will show all teams if global.toggleSpectateTeamInfo is true, not usually useful on live servers)
Fixed shotgun traps going off once if an authed player was in front of them when a TC is reskinned
ReApply after merge conflicts
Implementation of Unity's ScrollRect, including a Mask & ChildCanvas for better performance
Added Scrollbar support, allowing the customization of color, thickness
Added mask softness for RectMask2D added in Unity 2019.4.20
Added Update support for Scrollviews
Added enable support for scrollbars
no Selective Update support for individual Scrollbars as they are in a sub json object, could be added by replicating the ShouldUpdateField with the sub object
revert offsetmax fix
reversed offsetmax fix because alot of UIs rely on it
Fixes after validating code within Client
this PR addresses issues i identified while modding this PR into the game for testing, other than these changes it works as expected with the test JSON provided (after it is updated)
Updated example
updated scroll example to actually look the part in the client
really appreciating whoever put Assets/Icons/rust.png instead of Assets/Content/UI/UI.Background.Tile.psd as the default sprite for RawImages btw
Reduce needless recursion
retains the same functionality
Fix FindPanel issues due to ghost scrollview entries
if a scrollview was indirectly destroyed its entry would remain causing subsequent lookups for the same name to not return anything.
disabled the scrollview redirect when looking for a panel to update, this allows the code to correctly find and update the GameObject containing the scrollview instead of its content
Merge branch 'master' into pr/54
Moved the test into it's own folder
Will be better for future tests
Remove mask.softness reference
Unsure what unity version this was added in but we don't currently support this property
Merge pull request #54 from Kulltero/ScrollView
Adding Support for Scrollable Containers
Add a new tests folder to the community UI directory to store future tests
Include ScrollTest
Implement Community UI PR - Adding Support for Scrollable Containers #54
Update from main rust repo
New RPC syntax
▌▉▅▍▇ ▌▋▋▆ ▅█▄▇█ ▌▇▉▍▋▆ ▇▅▇▌▋ ▍▆▋▆█ ▌▉ ▌▍▍▆ ▊▄ ▆▊█▌▊▉▋ ▉▋▌▍▊█▋▆ █▉ ▊▆▆▆█▊▄█ ▌▇▍▅ ██▉ ▋▉▋▅▌▉▉▋ ▅▆▅▇▋
▊▄▄'▆ ▇█▇▄ ▇▋▌▍█ ▇▋▅▋▇▇▇ ▇▌▌▄▅▊▍ ▅█▅▄▆ ▇▆▌▌▆▋▋▄▅▉ █▌▌▅▇ ▆▋▊█▌ ▌▍█▋ ▅▄▄ ▋█ ▅▉▅▋▊▊▆▉ ▍▍▍▊▇▆
Adjust priority of blocked by clothing prompt when wearing the chicken costume so it appears underneath prompts to open vehicle storage/push/etc
Fixed blocked by clothing prompt appearing when the mount menu isn't visible, only affected mountables where we allow mounting while looking at specific colliders (eg. trains)
Added a proper localized string and icon when the player is killed by the moving shipping containers
Modify the map marker for the cargo ship so players can tell if it has already docked
The map marker tooltip will now read "A Cargo Ship - Docking" while it is docked and "A Cargo Ship - Already Docked" once it has departed the harbor
Spawn the containers to be picked up when the cargo ship starts it's docking approach rather than when it docks, giving more time for players to get into the containers
Apply to chicken corpses as well
Don't allow harvesting of animals on the tutorial islands with weapons that don't preoduce any resource (eg. hitting a bear corpse with a spear will now do nothing rather than destroying the bear corpse and leaving the player with no resources)
▅▅▌ ▇▋█ ▆▆▇▇ ▍ ▇▉ █▆ ▆▇▆▋▍▋▄▍▋ ▉▆▄▄▍ █ ▌▄▄█▍▇ ▋▍▆ █▋ ▄▅▌▉, ▅▇▆▌▆ ▋█ ▋▋▌▄ ▅▄ ▌ ▉█▅▆▍█ ▍▇▄▉ ▍▉█▍▆
Minor performance improvement for UpdatePushLiquidTargets (code review)
Fix minigun backpack not appearing when a player first equips the minigun (held entity client init happens in a different sequence in separate client/server mode which led to this issue)
Fixed cargo ship getting stuck while docked if all of it's loot rounds had already spawned by the time it docks (in this case, no further loot will spawn)
Play the cargo ship horn 60s before departure
Add a 3m radius line of sight check from the start node of the cargo docking path to each ocean patrol path point when determining which patrol path point should be the harbor approach node
If a point has something solid between it at the patrol point the distance is multiplied by 20 - not ruling it out entirely but making any non blocked paths more likely
Added an extra container to spawn on docking (when possible)
Container cranes will now wait 5-10% of the dock_time convar before they start moving containers
Added an additional 5-10% wait for subsequent cranes, so there's less overlapping movement
Added some fallback logic in case the ship leaves before the containers are loaded, in this case any yet to be delivered containers will be deleted
Harbor crane support arms now update as the arm moves
Will need a S2P to work, parking on a branch for next month
Trigger the standard cargo ship interval loot refresh on arrival at the harbor, spawns a locked crate, elite crate, 4x military crates and 4x junk crates as long as there are still vacant places to spawn crates
Counts as one of the loot rounds for the CargoShip.loot_rounds convar
Can be disabled via CargoShip.refresh_loot_on_dock (enabled by default)
Add Position and Rotation offset to ViewmodelCameraAnimation component, works around any strange offsets coming out of maya
Set up appropriate offset on minigun and disabled the FadeInTime
Add a ladder volume to harbor_crane_static
S2P both harbors
Add new HideInPlayerPreview toggle on Wearable, enabled on minigun backpack
Fix top elevator opening it's doors incorrectly when the elevator is called to the bottom floor and is already on that floor (again)
Potential fix for some elevator doors in NMS not working after a server restart
Don't spawn the child door in ServerInit if Rust.Application.isLoadingSave, this is likely due to recent monument entity serialization changes
This was resulting in a new, overlapping door getting spawned every time a server saves/loads
Add ViewmodelCameraAnimation component to the minigun viewmodel
Add a FadeInTime to property to that component that fades in the effect over a given time, softens the impact of the starting offset in the source animation clip
Add a parent volume to the mesh ladder on the rotating cranes, prevents players falling off if they are on the ladder while it rotates
Adjusted rotation of static crane on harbor_2
Fix for spawn.cargoshipdockingtest command with parameters not working when multiple harbors are in the world
Fix for "Look rotation viewing vector is zero" warning during crane movement after a server restart
Fix starting rotation not being saved properly resulting in crane making strange movements when resetting after placing a container after a server has been saved and loaded
In the event that this was not saved (staging saves) a crane will copy the rotation of the docking cargo ship as it's starting rotation which should mostly fix the issue
Make all LODs on cranes dynamic
S2P both harbors
Merge from save248/crane_lods
Discard changes on this branch to harbor_crane_dynamic_pickup and harbor_crane_dynamic_rotate, they were unable to be merged with the changes that happened on save248 after this was branched
Reimplement LODs on all renderers on both cranes, updated decals
Fix minigun backpack visual not being removed if player drops minigun item
Added a prefab information to CargoShipTest so it can appear localised and with an icon on the death screen
It's currently missing an icon
Fixed cranes picking up containers not properly aligning their coliders on the server, leading to flyhacks and bad movement