Different Levels of Solidness for Buildings

Registered by AlexB

This feature makes it possible to distinguish between solid buildings a warhead cannot shoot through and solid buildings a warhead should try to shoot through, first destroying the building and then the real target behind it. Only enemy buildings' solidity will be considered. Units will not try to fire through allied buildings.

[BuildingType]SolidLevel= (integer, defaults to 1)
The solidity of this building.

[Warhead]SolidLevel= (integer, defaults to 0)
The highest level of solidity this warhead will consider as easily destructible when targeting. If a solid building with this solidity level or lower is in the way to the actual target, the unit will fire anyhow, first destroying all obstacles in its way. If is is lower than the building's level, then the unit cannot fire and has to reposition itself first.

Blueprint information

Status:
Complete
Approver:
AlexB
Priority:
Low
Drafter:
AlexB
Direction:
Approved
Assignee:
AlexB
Definition:
Approved
Series goal:
Accepted for 0.a
Implementation:
Implemented
Milestone target:
milestone icon 0.a
Started by
AlexB
Completed by
AlexB

Related branches

Sprints

Whiteboard

15.349.109, everything appears to work fine.
SolidLevel higher on the building makes the unit move around and shoot only when nothing is blocking it (works for infantry, vehicles and aircrafts alike). It might sometimes hit an angle and damage the building, but otherwise will avoid damaging it.
Lower on the building makes it try to shoot through and destroy it, like units trying to shoot through walls.

Also, player's units do avoid shooting through solid buildings he owns. - mevitar

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.