Skip to content

High cover granted by destructible objects is bugged #1199

@Iridar

Description

@Iridar

Example

Same bug happens with several Templar Pillars spawned in a row. Example.

X2Effect_Pillar is based on X2Effect_SpawnDestructible, so it stands to reason that cover granted by Pillars works the same way as cover granted by cars, as they are destructible objects as well.

In both cases units can see and shoot through high cover as if it's not even there.

Interestingly, this doesn't happen with several Bulwark SPARKs in a row. Example.

In that case, the soldier steps out from behind the middle SPARK and shoots through one of the side SPARKs.

Speculation on the cause

The problem seems to be tied specifically to how destructible objects grant cover. Perhaps, the problem is that each individual tile occupied by a destructible object is treated as an independent source of cover, which creates a conflict of sorts, potentially somehow associated with the cover peek system.

Speculation on the fix

Since destructibles have their own state objects, which contain the information about what tiles are occupied by the object, it may be feasible to identify potentially bugged cover tiles and fix them somehow.

One such potential fix - however dumb that sounds - is spawning invisible units with the Bulwark-like ability on those tiles, though it wouldn't fix the line of sight.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions