Upgrade rule for Health.Shape to HitShape.Type

This commit is contained in:
reaperrr
2017-05-21 14:12:34 +02:00
parent 43b55ae333
commit 7f81de2f8a
15 changed files with 119 additions and 44 deletions

View File

@@ -97,6 +97,7 @@ MNLYR:
Image: MNLY
Chronoshiftable:
ReturnToOrigin: false
HitShape:
FTUR:
Health:
@@ -164,6 +165,7 @@ MINVV:
Explodes:
Weapon: CrateNuke
EmptyWeapon: CrateNuke
HitShape:
T17:
Health:

View File

@@ -209,6 +209,7 @@
RequiresCondition: parachute
BodyOrientation:
UseClassicFacingFudge: True
HitShape:
^Tank:
Inherits: ^Vehicle
@@ -237,8 +238,6 @@
DrawLineToTarget:
Health:
HP: 25
Shape: Circle
Radius: 128
Armor:
Type: None
RevealsShroud:
@@ -324,6 +323,9 @@
OpeningSequence: open
Offset: 0,0,427
RequiresCondition: parachute
HitShape:
Type: Circle
Radius: 128
^Soldier:
Inherits: ^Infantry
@@ -412,6 +414,7 @@
Voiced:
VoiceSet: VehicleVoice
WithFacingSpriteBody:
HitShape:
^NeutralPlane:
Inherits@1: ^ExistsInWorld
@@ -463,6 +466,7 @@
MustBeDestroyed:
Voiced:
VoiceSet: GenericVoice
HitShape:
^Plane:
Inherits: ^NeutralPlane
@@ -592,7 +596,8 @@
FrozenUnderFogUpdatedByGps:
Health:
HP: 100
Shape: Rectangle
HitShape:
Type: Rectangle
TopLeft: -512, -512
BottomRight: 512, 512
@@ -618,6 +623,7 @@
OpeningSound: cashturn.aud
ClosingSound: cashturn.aud
TerrainTypes: Clear, Road
HitShape:
^TechBuilding:
Inherits: ^BasicBuilding
@@ -630,6 +636,7 @@
Name: Civilian Building
GenericVisibility: None
FrozenUnderFog:
HitShape:
^FakeBuilding:
Inherits: ^Building
@@ -649,6 +656,7 @@
ZOffset: 256
-EmitInfantryOnSell:
-MustBeDestroyed:
HitShape:
^InfiltratableFake:
Targetable:
@@ -678,6 +686,7 @@
Type: Light
Targetable:
TargetTypes: Ground, DetonateAttack
HitShape:
^CivBuilding:
Inherits: ^TechBuilding
@@ -748,6 +757,7 @@
ScriptTriggers:
EditorTilesetFilter:
ExcludeTilesets: INTERIOR
HitShape:
^TreeHusk:
Inherits@1: ^SpriteActor
@@ -773,6 +783,7 @@
AutoTargetIgnore:
ScriptTriggers:
WithFacingSpriteBody:
HitShape:
^Husk:
Inherits: ^BasicHusk
@@ -842,6 +853,7 @@
Type: Concrete
AutoTargetIgnore:
ScriptTriggers:
HitShape:
^Rock:
Inherits@1: ^SpriteActor
@@ -926,6 +938,7 @@
TargetTypes: Ground
Immobile:
OccupiesSpace: true
HitShape:
^DisabledOverlay:
WithColoredOverlay@IDISABLE:

View File

@@ -651,8 +651,6 @@ Ant:
VisualBounds: 30,30,0,-2
Health:
HP: 750
Shape: Circle
Radius: 469
Mobile:
Speed: 99
TurnSpeed: 12
@@ -671,3 +669,6 @@ Ant:
UseDeathTypeSuffix: false
Voiced:
VoiceSet: AntVoice
HitShape:
Type: Circle
Radius: 469