beyond-all-reason / Beyond-All-Reason

Main game repository for Beyond All Reason.
https://www.beyondallreason.info/
Other
1.64k stars 269 forks source link

Snap-to-Deposit buildings sometimes are terrain incompatible at snap location #3299

Open Brian-Catcow-B opened 1 month ago

Brian-Catcow-B commented 1 month ago

Description

First time I saw this was with geothermal in the following clip:

https://youtu.be/JjfcURmweBQ?t=23m20s

Expected Behaviour

The snap location should be tested to make sure it can actually be built at the location and moved to the next nearest location, tested, moved if it can't place, repeat until a valid location

All this for both metal extractors of all types and geothermal of all types

Actual Behaviour

The player must find a valid build location for the deposit

Reproduction steps

Play on the map LostDeadMan was playing in the video (I forget the name) and explicitly select a geothermal (probably works with any type, but Cerberus was what he was trying to build in the video). Notice that there are lots of places it can't be set.

It might be required to deform the terrain a little bit first. In which case, make a Tzar or Fatboy to ground fire around the area.

Other

No response

Brian-Catcow-B commented 1 month ago

Or better expected result: restore the area first if applicable, then do what is suggested in the issue

sprunk commented 1 month ago

restore won't help if the terrain was naturally that way