511 Commits over 1,249 Days - 0.02cph!
Merge pull request #109 from Facepunch/procgen_fix_optims
Procgen optimisations: Run ocean flood fills as burst jobs and check the topology hierarchy when fading terrain height changes beside rivers
Fixed above-ground/below-ground rail links rarely spawning too close to lakes, causing the tunnel to be blocked by the cliffs and the cliff terrain backfaces being carved out - Added `TerrainPlacementBlocked` radii to the cliffs built in to each lake `ue_lake_[abc]`, mirroring the setup on autospawn cliffs/rocks
Merge remote-tracking branch 'origin/main' into procgen_fix_train_tunnel_overlaps
Added additional `TerrainHeightRaise` objects to underground train tunnel junction prefabs to fix rare issues with the `TerrainCollisionTrigger` overlapping seabed terrain - fixes players, dropped items and more dying at these spots
Merge pull request #85 from Facepunch/procgen_fixes_merge
Merge remote-tracking branch 'origin/procgen_fix_river_source_gap' into procgen_fixes_merge
Merge remote-tracking branch 'origin/procgen_fix_dont_raise_river_terrain' into procgen_fixes_merge
Merge remote-tracking branch 'origin/procgen_fix_underwater_grass_rocks' into procgen_fixes_merge
Merge remote-tracking branch 'origin/procgen_fix_missing_train_entrance' into procgen_fixes_merge
Merge remote-tracking branch 'origin/procgen_fix_inland_spawns' into procgen_fixes_merge
Merge remote-tracking branch 'origin/procgen_fix_waterpipes_on_road' into procgen_fixes_merge
Merge remote-tracking branch 'origin/procgen_fix_river_avoidance' into procgen_fixes_merge
Added a TerrainFootprint to cover the river source rock prefab to fix a small terrain gap sometimes occurring on the backside
* Modifies TerrainFootprint setup to allow for tilted prefabs
* Also apply the TerrainFootprint to roadside decor - water pipes have a TerrainFootprint but it was not being applied
Fixed coastal cliffs too close to rivers raising terrain over the river beds and ruining the river - `TerrainHeightSet` no longer overwrites terrain on river topology texels but instead fades into to make smooth terrain transitions still
Followup of `procgen_fix_underwater_grass` - don't paint grass or forest splat for coastal rocks/jutting cliffs in ocean/oceanside topology
Fixed train tunnel entrances rarely leading to the void and not being connected to the underground network; Fixed stations adjacent to canyons getting blocked, leading tracks to the void; Fixed above-ground ramp connections surfacing in a canyon and not getting connected to the above-ground network
* Train tunnel entrances can't spawn where the station wouldn't fit
* Stations orient themselves so they don't lead to dungeon grid blockers (canyons)
* Above-ground ramps are skipped when they cross a dungeon grid blocker (canyons)
Fixed dragging an item onto the Recycle Bin workbench upgrade showing "Container does not accept player items!" instead of swapping
Changeset:
169809 Modified procgen world setup to move `Caves` above `Power Line Layout` to prevent floating powerlines over caves. Cave terrain blend was lowering terrain under already placed powerlines.
Changeset:
169916 Made icelake placement much fairer so Ice Lake 4 isn't disproportionately spawning compared to the other 3 variants - larger icelakes now spawn more often.
Changeset:
170071 Draw monument gizmos when editing terrain to help line up painting blend/splat within the radius and topology bounds
Changeset:
169967 Fixed monument editor gizmo to ensure Radius is always centered correctly. Added a separate square to mark the topology footprint
Changeset:
169987 Don't paint grass or forest splat on ocean or oceanside terrain when placing monuments - fixes large monuments sometimes painting green patches under water
Changeset:
170006 Speculative fix for ocean water appearing inside canyons placed near the shore - extended Mountain topology on `ue_canyon_[abc]` to prevent Water topology where canyons dig below sea level. This required a small radius increase on `ue_canyon_b` & S2P
Changeset:
170386 Accompanying code changes to ensure the new rail gravel meshes are still placed with the pivot on the rail line so the extended mesh goes into the terrain
Changeset:
170299 Extended the Rail Lift stage to also fix any floating rails (pre-existing to cs170256), this could happen at a junction where one rail goes uphill but the lower rail sculpts terrain from underneath the other.
Changeset:
170256 Fixed railway tracks getting buried by terrain from TerrainHeightSet smoothing of cliff backfaces as well as rail terrain and road terrain stages - new World Setup stage 80 `Rail Lift` to look for buried rail and gently raise. Overlapping rails/junctions/sidings are lifted together so junctions line up.
Changeset:
170107 Fixed shore ice spawning over railway tracks - added a Rail TerrainFilter to `shore_ice_[abc]` to reject ice placement over rail topology. Existing checks at single points easily failed. Tested in editor, resolved.
Changeset:
170552 Fixed Nuclear Missile Silo terrain sometimes clipping over the doorway and underground tunnels, very fiddly to fix whilst preserving terrain auto-lowering. Tested on multiple 6000-sized maps to stress test terrain texel resolution
Hold F to 'give up' whilst wounded https://files.facepunch.com/jacob/2026/November/13_11_17-56-CloudyIndianabat.mp4
* 'Time Remaining' and 'Recovery Chance' drain speeds up the longer F is held
* Stop holding F locks the recovery chance in place and continues the time remaining from where it left off
Readded wounded timer resets when being revived by a teammate
Changed how reviving downed players works to fix griefing/trolling by attackers who just tap E on you to reset the timer, preventing you from dying or getting up and forcing you to F1 -> Kill.
* Starting to revive another player no longer resets their wounded timer
* If the wounded timer runs out mid-hold you can't die or get up until E is let go - a full revive hold still goes through
Made procgen naked beach spawns fairer to cover more areas of beach with less strict checks
* Also fixes party spawns not working on first spawn; reset pooled team spawn state
* Reduced monument check from 50m to 30m using painted topology, not boxes
* Allow spawning on jungle/desert coastline if it is 50m away from temperate/tundra
* Don't block spawning near swamps, substations or caves
* Fairer weighting so smaller beaches see more spawns (sqrt of area rather than just area)
* Opened up more coastline to spawning by allowing spawn within 5m of Oceanside texels
* Skip spawnpoints that are >0.5 underwater (fixes existing rare bugs)
* Before/After images below :
* https://files.facepunch.com/jacob/2026/November/12_11_16-34-GlassDobermanpinscher.png
* https://files.facepunch.com/jacob/2026/November/12_11_16-35-RapidFoxterrier.png
* https://files.facepunch.com/jacob/2026/November/12_11_16-35-BustlingBlackfish.png
* https://files.facepunch.com/jacob/2026/November/12_11_16-35-FavoriteGrasshopper.png
Merge remote-tracking branch 'origin/procgen_fix_inland_spawns' into hackweek_beach_spawn_improvements
Added an invisible collider and decorative buoys outside fishing village vendor docks to prevent griefing by modular boats
* https://files.facepunch.com/jacob/2026/November/10_11_14-48-WrathfulDonkey.jpg
* https://files.facepunch.com/jacob/2026/November/10_11_14-48-CoordinatedLeech.jpg
thumb_up
240
thumb_down
17
https://files.facepunch.com/jacob/2026/November/09_11_20-43-SturdyGecko.mp4 - added Minicopter Wrecks that spawn at monuments (2 per map, spawning not set up yet) that can be repaired for 10 gears, 400 metal fragments, 40 HQM and 1 random tier 2 modular car part
thumb_up
298
thumb_down
101
Added `BoatDockTrigger` to all 3 fishing village variants so vehicles parked in the vendor water docks don't get stuck at the edges, unable to be mounted. Vehicles are now gently dragged to the centre away from the walls.
Fixed Nuclear Missile Silo terrain sometimes clipping over the doorway and underground tunnels, very fiddly to fix whilst preserving terrain auto-lowering. Tested on multiple 6000-sized maps to stress test terrain texel resolution
Accompanying code changes to ensure the new rail gravel meshes are still placed with the pivot on the rail line so the extended mesh goes into the terrain
Fixed landlocked lakes near the spawn beach sometimes creating valid spawn points, players can now only spawn on true beaches. Also fixes lighthouses spawning inland and not off the beach.
PlaceMonuments and SpawnHandler both use an outside-in floodfill ocean check to distinguish inland ocean topology with real connected ocean.
Extended the Rail Lift stage to also fix any floating rails (pre-existing to cs170256), this could happen at a junction where one rail goes uphill but the lower rail sculpts terrain from underneath the other.
Fixed railway tracks getting buried by terrain from TerrainHeightSet smoothing of cliff backfaces as well as rail terrain and road terrain stages - new World Setup stage 80 `Rail Lift` to look for buried rail and gently raise. Overlapping rails/junctions/sidings are lifted together so junctions line up.
Tested 5 seeds in editor, observing better rail visuals and no issues using the workcart. 0.4s stage time
Fixed shore ice spawning over railway tracks - added a Rail TerrainFilter to `shore_ice_[abc]` to reject ice placement over rail topology. Existing checks at single points easily failed. Tested in editor, resolved.
Fixed roadside waterpipes sometimes spawning on top of a road at T-junctions - stage's SpawnFilter now excludes road topology during placement
Draw monument gizmos when editing terrain to help line up painting blend/splat within the radius and topology bounds
Speculative fix for ocean water appearing inside canyons placed near the shore - extended Mountain topology on `ue_canyon_[abc]` to prevent Water topology where canyons dig below sea level. This required a small radius increase on `ue_canyon_b` & S2P
Couldn't reproduce the original report.
Don't paint grass or forest splat on ocean or oceanside terrain when placing monuments - fixes large monuments sometimes painting green patches under water
Fixed monument editor gizmo to ensure Radius is always centered correctly. Added a separate square to mark the topology footprint
Made icelake placement much fairer so Ice Lake 4 isn't disproportionately spawning compared to the other 3 variants - larger icelakes now spawn more often.
Uses a new TerrainAnchorBlendGenerator to generate terrain anchors using the icelake's blend map so anchors are used more sparsely and only in the areas they are needed to make placement easier. The big disc anchors were too mean.
Manually reviewed all icelakes across 25 seeds and observed much more diverse placement.
Modified procgen world setup to move `Caves` above `Power Line Layout` to prevent floating powerlines over caves. Cave terrain blend was lowering terrain under already placed powerlines.
This was previously fixed in cs
82195 but later stomped in cs
84963