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

@@ -283,7 +283,8 @@
ScriptTriggers:
ConditionManager:
Health:
Shape: Rectangle
HitShape:
Type: Rectangle
LocalYaw: 128
TopLeft: -512, -512
BottomRight: 512, 512
@@ -306,8 +307,6 @@
DrawLineToTarget:
Health:
HP: 50
Shape: Circle
Radius: 128
Armor:
Type: None
Valued:
@@ -382,6 +381,9 @@
RevealOnFire:
EntersTunnels:
Voice: Move
HitShape:
Type: Circle
Radius: 128
^RegularInfantryDeath:
WithDeathAnimation@normal:
@@ -568,6 +570,7 @@
RevealOnFire:
EntersTunnels:
Voice: Move
HitShape:
^Tank:
Inherits: ^Vehicle
@@ -641,6 +644,7 @@
RenderVoxels:
WithVoxelBody:
RevealOnFire:
HitShape:
^Helicopter:
Inherits: ^Aircraft
@@ -673,6 +677,7 @@
Spins: true
Moves: true
Velocity: 86
HitShape:
^Visceroid:
Inherits@1: ^ExistsInWorld
@@ -681,9 +686,6 @@
Huntable:
DrawLineToTarget:
Health:
Shape: Circle
Radius: 256
VerticalTopOffset: 512
Armor:
Type: Light
Mobile:
@@ -715,6 +717,10 @@
RevealOnFire:
EntersTunnels:
Voice: Move
HitShape:
Type: Circle
Radius: 256
VerticalTopOffset: 512
^BlossomTree:
Inherits@1: ^SpriteActor
@@ -854,6 +860,7 @@
Weapons: SmallDebris
Pieces: 3, 7
Range: 2c0, 5c0
HitShape:
^TerrainOverlay:
AlwaysVisible:
@@ -898,11 +905,6 @@
Cost: 250
Health:
HP: 350
Shape: Rectangle
LocalYaw: 128
TopLeft: -512, -512
BottomRight: 512, 512
VerticalTopOffset: 768
Armor:
Type: Heavy
LineBuildNode:
@@ -924,13 +926,16 @@
BlocksProjectilesHeight: 768
Buildable:
Description: Automated barrier that opens for allied units.
HitShape:
Type: Rectangle
LocalYaw: 128
TopLeft: -512, -512
BottomRight: 512, 512
VerticalTopOffset: 768
^Gate_A:
Inherits: ^Gate
Health:
Shape: Rectangle
TopLeft: -512, -1536
BottomRight: 512, 1536
Gate:
Dimensions: 3,1
Footprint: xxx
@@ -938,13 +943,14 @@
WallConnections: -1,0, 3,0
LineBuildNode:
Connections: -1,0, 1,0
HitShape:
Type: Rectangle
TopLeft: -512, -1536
BottomRight: 512, 1536
^Gate_B:
Inherits: ^Gate
Health:
Shape: Rectangle
TopLeft: -1536, -512
BottomRight: 1536, 512
Gate:
Dimensions: 1,3
Footprint: x x x
@@ -952,6 +958,10 @@
WallConnections: 0,-1, 0,3
LineBuildNode:
Connections: 0,-1, 0,1
HitShape:
Type: Rectangle
TopLeft: -1536, -512
BottomRight: 1536, 512
^HealsOnTiberium:
DamagedByTerrain: