115,320 Commits over 3,959 Days - 1.21cph!
Split into multiple classes
Remove ability to modify vanilla items
- instead create a new custom item that is the same as the vanilla item
- having to revert every single vanilla item introduced possibility of normal assets staying modified
Exposed ItemModEntity
Added testrunner.getlastresult command
returns the last test result json
merge from hackweek_automatedtesting
Fixed rocket tests false negatives
Scene
Update protobuf code generator tool
Default UI scale set to 1920x1080, fix menu scaler, break store pages more with hackweek designs
Update debug custom items
Set custom ItemDefinition GameObject name
Refactored code slightly.
Character limit only needs to be changed in one place now.
merge from hackweek_modding_improvements -> custom_items
merge from main -> hackweek_modding_improvements
merge from replicated_convar_warning -> main
Show [SERVER] beside server & replicated convars in F1 menu, show [CLIENT] beside client only convars
Print warning when a replicated convar is set from the client to server, indicating it will be changed for all other players on the server
Added the test scene to the scene menu
Added a new scene for automated tests
Reset scroll view position to the top of the list when changing item categories
Setup item list scroll view for propper scrolling.
Resized item window slightly so that long lists don't cover the search bar at the bottom.
Forward item icon drag events to main scroll view so that you can drag scroll properly even over an item icon.
merge from jungle foliage
strangler fig wall decal textures/mat and decal prefab
some materials decal layers changes
launch site trees set dressing++
merge from hackweek_automatedtesting
Fixed RocketTests assert throw
Trumpet tree / manual SSS tweaks / added AO
merge from triangle_planter
Update triangle planter repair and pickup
merge from hackweek_automatedtesting
XORSwitch tests
Another attempt at fixing list loading
merge from fix_write_varuint32 -> main
Fix the length of NetWrite not being updated when writing a VarUInt32
- caused packet to get clamped to lower length later causing RPC errors if the last thing written was a VarUInt32
First pass adding armour slot item mod to Jackets/shirts/suits/vests
merge from hackweek_automatedtesting
Test list loading fix attempt
Refactor to fix save/load CanAcceptItem bug
Started hackweek trying to investigate why standing underneath a bear rug gives you 100% comfort but standing on top of one only gives you 25% comfort. Discovered that the very old CalculateComfort code gave you the most comfort at the edge of the comfort trigger, so moving away from a comfort deployable gave you more comfort - that didn't make sense.
- Comfort is calculated from your closest position to the comfort deployable trigger, not your feet
- Comfort is calculated as a SmoothStep based on the distance you are from the center of the trigger, with minComfortRange forgiveness
- Increased rug.bear trigger size from 1.1 -> 3, base comfort (solo comfort) from 0.25 -> 0.5 on both bear rug comfort trigger spheres
Going further with this branch will likely mean reviewing all comfort deployables and making some comfortSource tweaks. Would like to explore adding up different nearby comfort sources instead of taking max but wary of performance concerns of generating a data structure every ServerUpdate
Added changeset number, branch name and UTC time to the test results
Can now control if crafted or all versions of an item can have armor slots.
runcategory command can take multiple categories
cherrypicking
112936 Fixed RidableHorse2.VehicleFixedUpdate server NRE
Drone range increased to 600m, max control range 750m
Drone HP 100HP -> 200HP
Add ability to modify crafting recipe of custom items too
- explicitly expose what ItemMods can be modified for now
added a "what uses this in this prefab?" that's only accessible from a prefab view but is way faster than unity's "Find References in Scene"
- prints the whole GameObject.Component.PropertyPath name to make it easier to find in the component as well
merge from hackweek_automatedtesting