branchrust_reboot/main/Workcartcancel
674 Commits over 273 Days - 0.10cph!
Added t-junctions and 4-way junctions Created test prefabs for procedural generation Some mesh fixes - Added t-junctions and 4-way junctions Created test prefabs for procedural generation Some mesh fixes
GenerateDungeon initial version to generate tunnel networks (see dungeon_grid_test scene)
Merge WorkcartRotation -> Workcart
Improved data index system for the world splines. Fixes new data getting generated sometimes by re-scanning for existing data. Also allows different prefabs with the exact same spline data to share the same data.
Added profiling for train code.
Merge /Workcart/SharedSplineData -> /Workcart
Fixed 72m trail tunnel stop spline not going all the way
Extended train_tunnel_stop_b to 72 meters
Fix colliding train not moving after side collision train moves away
WorkCart now handles side-on collisions with other trains at crossings
Minor edits to collision handling
Increase collision damage, remove unused var
Set up a perpendicular rail crossing on my test map
Fixed track splines on large curves / added missing coliders to some prefabs / cleaned up the train test scene
Added 108m curve pieces / tweaked double tunnels geometry
Apply the effect of gravity on sloped track
-Only allow mounting WorkCart when already standing on its platform (prevent drive-by mounting by jumping at the right moment)
-Fix bounds.Contains use, since it's AABB only, not rotated (Unity pls)
Add mount passthrough on WorkCart glass entity, so the player can still mount when looking at the windows.
Adjust train engine speeds
Another go at accounting for secondary forces on kinematic trains - e.g. a train hitting a car that's up against a wall. Better result this time, so putting this one in officially.
Tweaking static obstacle handling
WorkCart audio, don't play oneshot sounds if far away
WorkCart audio, use blended loop for the engine loop
- Removed no-longer-used WorkCart destroyed damage FX
- Updated damage effects for light/medium/severe damage
Workcart Gibs missing faces fix
also reduced number of gibs
Potential fix for workcart gibs mega wheel bug
needs checking
Replace workcart placeholder gibs model with the real one
Trains tunnels test scene extra workcarts
Add parenting volumes to the WorkCart ladders, making the ladders usable while the train is moving
- Stop WorkCart if there's no-one on it
- Fix monitor display bug
- Add glass break effect
- Adjust glass protection
Respawn glass after thirty minutes, dependent on no players being nearby
Workcart Update
Removed extra plane of glass (wasn't needed if glass is going to have the damage pass)
updated materials as a result
also updated prefab entity.
Fixed glass colliders, add glass protection type
Initial work moving WorkCart glass to a separate sub-entity
Adjust collision damage forces
Train protection values edit
New handling for collisions between kinematic trains
Workcart Mesh update
separated out the glass for damage pass
updated prefab
Initial setup for train better collision handling
Refactored train collisions trigger, working on improving train collision physics forces
Speed calculation fix + throttle adjust
Fix near desired speed calculation
Comment notes and a minor change to train audio