Skip to content

Buildable-upon OverlayTypes#2105

Open
Starkku wants to merge 2 commits intoPhobos-developers:developfrom
Starkku:feature/build-on-overlays
Open

Buildable-upon OverlayTypes#2105
Starkku wants to merge 2 commits intoPhobos-developers:developfrom
Starkku:feature/build-on-overlays

Conversation

@Starkku
Copy link
Contributor

@Starkku Starkku commented Feb 13, 2026

Buildable-upon OverlayTypes

  • It is now possible to make OverlayTypes allow buildings to be placed on them by setting CanBeBuiltOn to true. This still requires the tile's landtype (which is changed to overlay's land type unless OverlayType has NoUseTileLandType=false) to allow buildings to be placed.
    • If CanBeBuiltOn.Remove=true, the overlay will be removed upon the building being placed. If this is not set to true, buildings with Wall=true cannot be placed on the overlay and neither does overlay with Wall=true allow buildings to be placed on itself regardless of other settings.

In rulesmd.ini:

[SOMEOVERLAY]             ; OverlayType
CanBeBuiltOn=false        ; boolean
CanBeBuiltOn.Remove=true  ; boolean

- Also add doc section for OverlayTypes and move existing changes there from the misc. list
@Starkku Starkku force-pushed the feature/build-on-overlays branch from 959c796 to 0b2cbfb Compare February 13, 2026 11:39
@github-actions
Copy link

github-actions bot commented Feb 13, 2026

Nightly build for this pull request:

This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.

@Coronia
Copy link
Contributor

Coronia commented Feb 14, 2026

it seems that ore overlay can't be built on even with CanBeBuiltOn and CanBeBuiltOn.Remove set

@Starkku
Copy link
Contributor Author

Starkku commented Feb 14, 2026

it seems that ore overlay can't be built on even with CanBeBuiltOn and CanBeBuiltOn.Remove set

Tiberium LandType has Buildable=false normally.

@Coronia
Copy link
Contributor

Coronia commented Feb 15, 2026

changing Tiberium to Buildable=yes still can't allow it to be built

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments