Skip to content

[New Feature] Tileset Restrictions #206

@CatTanker

Description

@CatTanker

Description:
Allow specific tilesets to block movements of specified units.
Examples: Indoor Tiles block movement of aircraft above the tile, Water Tile cannot have a specific amphibious unit enter the tileset.
INI Code:
;rulesmd
[SOMEUNIT]
TileBlockx=yes/no (def no)

;terrain file
[TileSetxxxx]
TileRestriction=yes/no (def no)
Tileset.Block=TileBlockx

This will allow greater control over tilesets and cause certain features to be implemented reasonably
The ability to block aircraft passing a cell is the main priority of this suggestion.

This feature may be better implemented on individual tiles, but tilesets will suffice.

Example of where it would be useful is included below.
https://user-images.githubusercontent.com/81521710/117548104-e9a5bc00-b02a-11eb-9e5e-fff13ecd8c16.mp4

REGARDING PATHFIINDING OF AIRCRAFT:
They should still fly over buildings, ect as normal but should not be able to pass any blocked terrain, and will either not enter the cell or will find an alternative route. Upon clicking an aircraft to go over a blocked cell, it should act similarly to a tank being told to go onto water-going near it but not over it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions