Add TargetableOffsets to HitShape

And remove ITargetablePositions from Building.
Also, added UseFootprintOffsets to replicate the old Building behavior for easier setup of TargetablePositions for buildings.
This commit is contained in:
reaperrr
2017-05-23 22:51:04 +02:00
parent 7fd0a3aa58
commit 82758a8bef
9 changed files with 63 additions and 19 deletions

View File

@@ -565,6 +565,8 @@
Priority: 3
Targetable:
TargetTypes: Ground, C4, Structure
HitShape:
UseOccupiedCellsOffsets: true
Armor:
Type: Wood
Building:
@@ -878,6 +880,7 @@
DamagedSounds: xplos.aud
DestroyedSounds: xplobig4.aud
ScriptTriggers:
BodyOrientation:
HitShape:
^Crate: