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:
@@ -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:
|
||||
|
||||
@@ -336,6 +336,8 @@
|
||||
VisibilityType: CenterPosition
|
||||
Targetable:
|
||||
TargetTypes: Ground, C4, Structure
|
||||
HitShape:
|
||||
UseOccupiedCellsOffsets: true
|
||||
Building:
|
||||
Dimensions: 1,1
|
||||
Footprint: x
|
||||
|
||||
@@ -497,6 +497,8 @@
|
||||
Priority: 3
|
||||
Targetable:
|
||||
TargetTypes: Ground, C4, DetonateAttack, Structure
|
||||
HitShape:
|
||||
UseOccupiedCellsOffsets: true
|
||||
Building:
|
||||
Dimensions: 1,1
|
||||
Footprint: x
|
||||
@@ -853,6 +855,7 @@
|
||||
Type: Concrete
|
||||
AutoTargetIgnore:
|
||||
ScriptTriggers:
|
||||
BodyOrientation:
|
||||
HitShape:
|
||||
|
||||
^Rock:
|
||||
|
||||
@@ -135,6 +135,8 @@
|
||||
Priority: 3
|
||||
Targetable:
|
||||
TargetTypes: Ground, Building, C4
|
||||
HitShape:
|
||||
UseOccupiedCellsOffsets: true
|
||||
Building:
|
||||
Dimensions: 1,1
|
||||
Footprint: x
|
||||
|
||||
Reference in New Issue
Block a user