Merge pull request #11974 from abc013/SecondWeaponAnimation

Add support for multiple fire animations in WithInfantryBody
This commit is contained in:
abcdefg30
2016-10-15 12:49:41 +02:00
committed by GitHub
14 changed files with 81 additions and 51 deletions

View File

@@ -303,7 +303,7 @@
Weapon: Pistol
AttackFrontal:
WithInfantryBody:
AttackSequence: shoot
DefaultAttackSequence: shoot
^Ship:
Inherits@1: ^ExistsInWorld

View File

@@ -37,7 +37,7 @@ DOG:
Targetable:
TargetTypes: Ground, Infantry
WithInfantryBody:
AttackSequence: shoot
DefaultAttackSequence: shoot
StandSequences: stand
IgnoresDisguise:
DetectCloaked:
@@ -68,7 +68,7 @@ E1:
MuzzleSequence: garrison-muzzle
AttackFrontal:
WithInfantryBody:
AttackSequence: shoot
DefaultAttackSequence: shoot
ProducibleWithLevel:
Prerequisites: barracks.upgraded
@@ -98,7 +98,7 @@ E2:
FireDelay: 15
AttackFrontal:
WithInfantryBody:
AttackSequence: throw
DefaultAttackSequence: throw
Explodes:
Weapon: UnitExplodeSmall
Chance: 50
@@ -123,6 +123,7 @@ E3:
Weapon: RedEye
LocalOffset: 0,0,555
Armament@SECONDARY:
Name: secondary
Weapon: Dragon
LocalOffset: 0,0,555
Armament@GARRISONED:
@@ -130,7 +131,7 @@ E3:
Weapon: Dragon
AttackFrontal:
WithInfantryBody:
AttackSequence: shoot
DefaultAttackSequence: shoot
ProducibleWithLevel:
Prerequisites: barracks.upgraded
@@ -157,7 +158,7 @@ E4:
Weapon: Flamer
AttackFrontal:
WithInfantryBody:
AttackSequence: shoot
DefaultAttackSequence: shoot
ProducibleWithLevel:
Prerequisites: barracks.upgraded
@@ -287,7 +288,7 @@ E7:
MuzzleSequence: garrison-muzzle
AttackFrontal:
WithInfantryBody:
AttackSequence: shoot
DefaultAttackSequence: shoot
StandSequences: stand
AnnounceOnBuild:
AnnounceOnKill:
@@ -323,7 +324,7 @@ MEDI:
AttackFrontal:
WithInfantryBody:
StandSequences: stand
AttackSequence: heal
DefaultAttackSequence: heal
Voiced:
VoiceSet: MedicVoice
@@ -360,7 +361,7 @@ MECH:
CaptureTypes: husk
PlayerExperience: 25
WithInfantryBody:
AttackSequence: repair
DefaultAttackSequence: repair
StandSequences: stand
Voiced:
VoiceSet: MechanicVoice
@@ -509,7 +510,7 @@ SHOK:
Guard:
Voice: Move
WithInfantryBody:
AttackSequence: shoot
DefaultAttackSequence: shoot
Voiced:
VoiceSet: ShokVoice
ProducibleWithLevel:
@@ -544,7 +545,7 @@ SNIPER:
MuzzleSequence: garrison-muzzle
AttackFrontal:
WithInfantryBody:
AttackSequence: shoot
DefaultAttackSequence: shoot
Cloak:
InitialDelay: 250
CloakDelay: 120
@@ -579,7 +580,7 @@ Zombie:
ScanRadius: 5
AttackFrontal:
WithInfantryBody:
AttackSequence: bite
DefaultAttackSequence: bite
IdleSequences: idle1
Armament:
Weapon: claw
@@ -617,7 +618,7 @@ Ant:
ScanRadius: 5
AttackFrontal:
WithInfantryBody:
AttackSequence: bite
DefaultAttackSequence: bite
Armament:
Weapon: mandible
Targetable: