IceReaper / OpenKrush

A KKnD and KKnD2 mod on OpenRA engine.
https://kknd-game.com
GNU General Public License v3.0
100 stars 6 forks source link

Buildings can be built around Drill Rigs. #139

Closed Dzierzan closed 3 years ago

Dzierzan commented 3 years ago

As title says. However, I did some investigation. In the past, Drill Rig inherited Oilpatch footprint, but it was a hack. At first I thought that Drill Rigs just require the same footprint as Oilpatch, however there's an issue. Apparently, they already have the same footprint, that is dimention.

    Building:
        LocalCenterOffset: 0,512,0
        Dimensions: 5,5
        Footprint: ===== ==x== =xxx= =x=== =====

But somehow, it doesn't work when derrick deploys.

In the picture below, derrick was deployed and you can build around it.

image

On the other hand, on this picture, the Drill Rig was built using debug mode and as you can see, its footprint works correctly.

image