Add hit-shape defaults to TD
Plus some resulting cleanup of defaults.yaml.
This commit is contained in:
@@ -14,6 +14,34 @@
|
|||||||
AutoSelectionSize:
|
AutoSelectionSize:
|
||||||
RenderSprites:
|
RenderSprites:
|
||||||
|
|
||||||
|
^1x1Shape:
|
||||||
|
HitShape:
|
||||||
|
UseOccupiedCellsOffsets: true
|
||||||
|
Type: Rectangle
|
||||||
|
TopLeft: -512, -512
|
||||||
|
BottomRight: 512, 512
|
||||||
|
|
||||||
|
^2x1Shape:
|
||||||
|
HitShape:
|
||||||
|
UseOccupiedCellsOffsets: true
|
||||||
|
Type: Rectangle
|
||||||
|
TopLeft: -1024, -512
|
||||||
|
BottomRight: 1024, 512
|
||||||
|
|
||||||
|
^2x2Shape:
|
||||||
|
HitShape:
|
||||||
|
UseOccupiedCellsOffsets: true
|
||||||
|
Type: Rectangle
|
||||||
|
TopLeft: -1024, -1024
|
||||||
|
BottomRight: 1024, 1024
|
||||||
|
|
||||||
|
^3x2Shape:
|
||||||
|
HitShape:
|
||||||
|
UseOccupiedCellsOffsets: true
|
||||||
|
Type: Rectangle
|
||||||
|
TopLeft: -1536, -1024
|
||||||
|
BottomRight: 1536, 1024
|
||||||
|
|
||||||
^GainsExperience:
|
^GainsExperience:
|
||||||
GainsExperience:
|
GainsExperience:
|
||||||
Conditions:
|
Conditions:
|
||||||
@@ -576,6 +604,7 @@
|
|||||||
^Building:
|
^Building:
|
||||||
Inherits@1: ^ExistsInWorld
|
Inherits@1: ^ExistsInWorld
|
||||||
Inherits@2: ^SpriteActor
|
Inherits@2: ^SpriteActor
|
||||||
|
Inherits@shape: ^1x1Shape
|
||||||
Huntable:
|
Huntable:
|
||||||
SelectionDecorations:
|
SelectionDecorations:
|
||||||
WithSpriteControlGroupDecoration:
|
WithSpriteControlGroupDecoration:
|
||||||
@@ -583,10 +612,10 @@
|
|||||||
Priority: 3
|
Priority: 3
|
||||||
Targetable:
|
Targetable:
|
||||||
TargetTypes: Ground, C4, Structure
|
TargetTypes: Ground, C4, Structure
|
||||||
HitShape:
|
|
||||||
UseOccupiedCellsOffsets: true
|
|
||||||
Armor:
|
Armor:
|
||||||
Type: Wood
|
Type: Wood
|
||||||
|
Health:
|
||||||
|
HP: 400
|
||||||
Building:
|
Building:
|
||||||
Dimensions: 1,1
|
Dimensions: 1,1
|
||||||
Footprint: x
|
Footprint: x
|
||||||
@@ -639,8 +668,6 @@
|
|||||||
^CivBuilding:
|
^CivBuilding:
|
||||||
Inherits: ^Building
|
Inherits: ^Building
|
||||||
-ConditionManager:
|
-ConditionManager:
|
||||||
Health:
|
|
||||||
HP: 400
|
|
||||||
Tooltip:
|
Tooltip:
|
||||||
GenericName: Civilian Building
|
GenericName: Civilian Building
|
||||||
GenericStancePrefix: false
|
GenericStancePrefix: false
|
||||||
@@ -706,6 +733,7 @@
|
|||||||
|
|
||||||
^Wall:
|
^Wall:
|
||||||
Inherits@1: ^SpriteActor
|
Inherits@1: ^SpriteActor
|
||||||
|
Inherits@shape: ^1x1Shape
|
||||||
CombatDebugOverlay:
|
CombatDebugOverlay:
|
||||||
AppearsOnRadar:
|
AppearsOnRadar:
|
||||||
Building:
|
Building:
|
||||||
@@ -735,10 +763,6 @@
|
|||||||
ScriptTriggers:
|
ScriptTriggers:
|
||||||
Health:
|
Health:
|
||||||
HP: 100
|
HP: 100
|
||||||
HitShape:
|
|
||||||
Type: Rectangle
|
|
||||||
TopLeft: -512, -512
|
|
||||||
BottomRight: 512, 512
|
|
||||||
|
|
||||||
^Tree:
|
^Tree:
|
||||||
Inherits@1: ^SpriteActor
|
Inherits@1: ^SpriteActor
|
||||||
@@ -882,6 +906,7 @@
|
|||||||
UseClassicFacingFudge: True
|
UseClassicFacingFudge: True
|
||||||
|
|
||||||
^Bridge:
|
^Bridge:
|
||||||
|
Inherits@shape: ^1x1Shape
|
||||||
AlwaysVisible:
|
AlwaysVisible:
|
||||||
Tooltip:
|
Tooltip:
|
||||||
Name: Bridge
|
Name: Bridge
|
||||||
@@ -897,7 +922,6 @@
|
|||||||
ScriptTriggers:
|
ScriptTriggers:
|
||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
QuantizedFacings: 1
|
QuantizedFacings: 1
|
||||||
HitShape:
|
|
||||||
|
|
||||||
^Crate:
|
^Crate:
|
||||||
Inherits@1: ^SpriteActor
|
Inherits@1: ^SpriteActor
|
||||||
|
|||||||
Reference in New Issue
Block a user