Generalise AttackMove to support anything with IMove and AutoTarget.

Also removes the unnecessary JustMove parameter.
This commit is contained in:
Paul Chote
2014-01-14 21:13:44 +13:00
parent e07453bb7f
commit 99cb698424
37 changed files with 33 additions and 83 deletions

View File

@@ -166,7 +166,6 @@ ENGINEER:
CaptureTypes: building
-AutoTarget:
AttackMove:
JustMove: true
-RenderInfantry:
RenderInfantryProne:
IdleAnimations: idle1,idle2
@@ -294,7 +293,6 @@ CHAMSPY:
Types: Cash, SupportPower, Exploration
-AutoTarget:
AttackMove:
JustMove: true
-RenderInfantry:
RenderSpy:
IdleAnimations: idle1,idle2

View File

@@ -7,3 +7,4 @@ waypoint:
Waypoint:
RenderEditorOnly:
BodyOrientation:

View File

@@ -1 +1,2 @@
Player:

View File

@@ -40,3 +40,4 @@ Player:
Shroud:
BaseAttackNotifier:
PlayerStatistics:

View File

@@ -96,3 +96,4 @@ World:
ValidateOrder:
DebugPauseState:
ScreenShaker:

View File

@@ -94,7 +94,6 @@ HARV:
RevealsShroud:
Range: 4
AttackMove:
JustMove: yes
-GainsExperience:
RenderSprites:
RenderVoxels:
@@ -190,7 +189,6 @@ TRUCKB:
SupplyTruck:
Payload: 500
AttackMove:
JustMove: yes
RenderSprites:
RenderVoxels:
WithVoxelBody:
@@ -215,7 +213,6 @@ LPST:
RevealsShroud:
Range: 10
AttackMove:
JustMove: yes
RenderSprites:
RenderVoxels:
WithVoxelBody:
@@ -246,7 +243,6 @@ ICBM:
RevealsShroud:
Range: 7
AttackMove:
JustMove: yes
RenderSprites:
RenderVoxels:
WithVoxelBody:
@@ -280,7 +276,6 @@ REPAIR:
AttackMedic:
Cursor: repair
AttackMove:
JustMove: true
RenderSprites:
RenderVoxels:
WithVoxelBody:
@@ -305,7 +300,6 @@ ART2:
RevealsShroud:
Range: 9
AttackMove:
JustMove: yes
RenderSprites:
RenderVoxels:
WithVoxelBody:
@@ -337,7 +331,6 @@ WEED:
RevealsShroud:
Range: 4
AttackMove:
JustMove: yes
-GainsExperience:
RenderSprites:
RenderVoxels:
@@ -451,7 +444,6 @@ GGHUNT:
Range: 7
RenderUnit:
AttackMove:
JustMove: yes
DemoTruck:
Explodes:
Weapon: SuicideBomb