branchrust_reboot/main/vehiclescancel

1,903 Commits over 2,191 Days - 0.04cph!

5 Years Ago
Put all vehicles mats on 0 detail colour alpha by default (representing the 100% health look). Also switched to Rust/Standard shader.
5 Years Ago
Import MeshBaker plugin (minus Examples directory)
5 Years Ago
New vehicle spawn presets that use the two new modules (1m storage, 2m passenger)
5 Years Ago
fix missing reference/ wip LOD
5 Years Ago
Updated texture array creator (fixes + sort on drop)
5 Years Ago
Added base layer + detail mask texture array path w/ instanced per-material index Added "rust/standard indexed" shader set
5 Years Ago
Wheel mat rename again
5 Years Ago
Fix spawnable script setup
5 Years Ago
Nuked custom 2d texture array inspector (unity now has built-in)
5 Years Ago
Some more health fixes. Fixes repairs.
5 Years Ago
Revert some health changes from my #39974, so overrides are used correctly.
5 Years Ago
Fix BuildingBlock health display bug. Health on BuildingBlock upgrades is actually sent to the client before the new upgrade state is sent. My code was clamping set health values to MaxHealth(), meaning the new value was clamped to the pre-upgrade max. Reverted the change to let health be set to "impossible" values again. Also now checking MaxHealth() instead of _maxHealth in health property, allowing for overrides.
5 Years Ago
hidding LOD on chassis
5 Years Ago
more LOD
5 Years Ago
Changed detail color to instanced properties
5 Years Ago
Added detail layer blending control via detail color on rust/std shader set
5 Years Ago
Adjust WheelRay mask to better match what the vehicle movement layer actually hits.
5 Years Ago
Remove the collisionLayerMask. Vehicle collisions will already only detect hits on the Vehicle Movement layer anyway, and it should be fine to consider all of those as collision hits.
5 Years Ago
Code review: Moved WheelRayMask into Defines.cs as WheelRay
5 Years Ago
Code review: Remove unused method.
5 Years Ago
Remove left-over uses of numSubComponents
5 Years Ago
Code review: Use PreProcess for module validation instead of OnValidate
5 Years Ago
Code review: Don't bother with caching numSubComponents
5 Years Ago
Code review: Another SetParent to go before Spawn, + remove unnecessary value assignments
5 Years Ago
Switch velocity to using GetWorldVelocity again.
5 Years Ago
Wheel name fix
5 Years Ago
Code review: Use PreProcess instead of OnValidate/DoPrepare, use [HideInInspector] instead of [ReadOnly], serialize vals as zero in the prefabs.
5 Years Ago
Code review: Convert VehicleSnapZone to use TriggerBase. Renamed to TriggerMagnetSnapZone.
5 Years Ago
Fix TriggerBase entity list bug. Entities with multiple colliders could get into the following situation: - Collider A enters the trigger. The base entity is added to the entityContents HashSet. - Collider B enters the trigger (same entity). - Collider A leaves the trigger. The base entity is removed from the entityContents HashSet. But the entity's Collider B is still in the trigger. This fix keeps the entity around until all colliders on it have left the trigger.
5 Years Ago
Fix build compile error
5 Years Ago
more LOD
5 Years Ago
fix missing transform NRE
5 Years Ago
Chassis LOD
5 Years Ago
Code review: Add "== this" check with || before EqualNetID check
5 Years Ago
Code review: Call SetParent before calling Spawn
5 Years Ago
Code review: Add null check on created
5 Years Ago
Code review: André says "UnityEvent uses reflection and is slow as balls. Better to get rid." Changed the generic TriggerStay to CarGarageTiggerStay which specifically calls a ModularCarGarage method directly.
5 Years Ago
Code review: Add entity creation null check.
5 Years Ago
Line endings
5 Years Ago
Code review: Move IsNull from CollectionEx to ObjectEx
5 Years Ago
Storage module now fully functional + manifest rebuild again
5 Years Ago
Put prevent building chassis colliders back on the correct Prevent Building layer
5 Years Ago
Var rename
5 Years Ago
Module editor null check
5 Years Ago
Add storage component to storage module + manifest rebuild
5 Years Ago
more
5 Years Ago
module panel health setup
5 Years Ago
Removed storage system from flatbed modules
5 Years Ago
Set up 2module_passengers entity
5 Years Ago
Increase fuel tank health