Decompose RenderInfantry into WithInfantryBody and RenderSprites.

This commit is contained in:
Paul Chote
2015-03-10 20:08:07 +00:00
parent fa0264a73c
commit 4ea55809ca
25 changed files with 288 additions and 203 deletions

View File

@@ -193,7 +193,8 @@
Voice: InfantryVoice
TargetableUnit:
TargetTypes: Ground
RenderInfantry:
RenderSprites:
WithInfantryBody:
TakeCover:
WithDeathAnimation:
AutoTarget:

View File

@@ -99,8 +99,8 @@ medic:
AttackMedic:
Cursor: ability
OutsideRangeCursor: ability
RenderInfantry:
AttackAnimation: heal
WithInfantryBody:
AttackSequence: heal
Passenger:
PipType: Blue
-AutoTarget:
@@ -166,8 +166,8 @@ grenadier:
FireDelay: 15
AttackFrontal:
TakeCover:
RenderInfantry:
IdleAnimations: idle
WithInfantryBody:
IdleSequences: idle
Explodes:
Weapon: UnitExplodeSmall
Chance: 100
@@ -228,3 +228,4 @@ saboteur:
-AutoTarget:
AttractsWorms:
Intensity: 120