branchrust_reboot/main/rail_network_2cancel
38 Commits over 0 Days - ∞cph!
Updated work cart mesh / added full bone setup to the coupler / mirrored front coupler to fix alignment issues
Merge NewModels -> Rail Network 2
Merge Main -> Rail Network 2
Added a variant of the workcart model with new bogies and couplers
Added modular train wagon models
Avoid sharp angles when branching off side rails
PathFinder supports custom directional algorithm that avoids tight turns
Better rail / road ring generation corner / start / end point search
WorkCart power adjustment
Fixed spawned wagons not working correctly due to missing serialized parameters. I swear every time I make a new vehicle there's one confusing difference between placed and spawned versions of the same entity, and it's a different thing every time!
Set up hurt triggers to work correctly again
Don't couple train cars together if the velocity difference is >5m/s, or the angle is too big.
Fixed RPC_WantsUncouple check not working correctly when the player was parented
Wagons explode when destroyed
Assigned temp gibs to all the wagons
Made the wagons destroyable again
Merge Main -> Rail Network 2
Merge Rail Network -> Rail Network 2
When collating train track splines, split multi-node splines up first if any node on them meets the ends of other splines. Lets above-ground rail junctions link up correctly
Reverted world size to default
Re-add the CollateTrainTracks script to ProceduralMapTesting
Rail branching start and end points are exactly on a spline node (for billb)
Improved all types of intersections (more work to do)
Resolved some issues with the base spline for billb
Copy the rail path tangents array as well
Moved roadside / railside foliage to decor system (this can be cherry picked to main with a network++)
Better rail /rail and road / road intersections
Smoother rail branching transitions and rail / road intersections
Roads, rails and rivers are now resampled after smoothing
Roads, rails and rivers are now considered splines (resulting in smoother meshes)
Rail branching progress, path resampling experiments