108,270 Commits over 3,867 Days - 1.17cph!
DangerInfo classes are now more generic.
Adding raw and cooked rabbit models, textures, and prefabs
Optimized deep water checks.
Removed unused animal controllers.
Copied prefab resources from animal-survival.
Copied Behave-Rust from animal-survival.
Copied item resources from animal-survival.
Copied scripts from animal-survival.
Merged changes from main.
Fixed building gibs
Improved network update queue with different channels
added another running attack for the bear;
added a random variable so the standing attacks will choose from 3 different attack animations
Calories and hydration may now be configured with a lost per day value.
Cleaner way to turn maincamera off during loading
On listenserver we now create seperate client and server prefabs, instead of using one and trying to simulate networking like a dummy
Fixed a bunch of issues with this branch that didn't show up because of the lack of network gap
baseanimal is now a basecombatentity
basecombatentity tries to work with skinnedmeshcollision (and fails to)
Added protection system and multiple damagetypes per hitinfo
Animals now avoid water using TerrainMeta.Math.
Locomotion now handles destroyed move targets gracefully.
Fixed outdated RustNative
Terrain shaders now affected by specularity stored in atlas; specular is still disabled/black in terrain mats, however
* Animals now trot and gallop instead of run.
* Animal attack range is now calculated as the space between the two colliders.
* Animals now deal extra damage to each other.
* Wolves now gallop closer to their real life speed.
added a running attack for the bear.
Reverted Content to main.
Forgot to include the LODs for the ribs yesterday. Duh!
Moved some materials to the correct folder
Merged changes from main.
Updated terrain normal atlas to include specularity
Updated atlas gen to handle missing maps; added default values
Made terrain extensions never rely on TerrainMeta since that's kind of a circlejerk
Organizing splats into separate folders
Since we have to keep normal+height for now: removed normal-only maps (unused); removed height maps (atlas will just get it from the n+h)
Added TerrainCollision to procedural terrain again
Fixed weapon still active after dying on listenserver
Extended TerrainAtlasGenerator to smoothness and specularity; refactored code to reduce redundancy
Updated shaders to show Specularity instead of Specular properties
Removed TestLevel_PVT
Restored normal+height and _generated maps; still used by TestLevel and Menuscene1
Let's try not to slaughter poor CPU cycles with Mathf.Pow(x, 2)
Fixed that TerrainMath would initialize with all-zero terrain dimensions on non-procedural terrains
Merged changes from main.
Made TreeMesh fall back to placeholder meshes if the terrain doesn't support batching (i.e. is missing the component)
Rebuilt all scene prefabs after all that chaos and destruction
Storage box now uses BaseCombatEntity
BaseCombatEntity uses lifestate
Added missing SERVER blocks.
Reapplied changes up to commit 4026