Add crushable infantry support, enabled in C&C.

This commit is contained in:
Paul Chote
2011-07-10 17:57:52 +12:00
parent 7173d193cf
commit e9bd03b686
6 changed files with 118 additions and 15 deletions

View File

@@ -33,7 +33,7 @@
^Tank:
AppearsOnRadar:
Mobile:
Crushes: wall, crate
Crushes: wall, crate, infantry
TerrainSpeeds:
Clear: 80
Rough: 70
@@ -124,6 +124,7 @@
ActorLostNotification:
Notification: unitlost.aud
SpawnViceroid:
CrushableInfantry:
^CivInfantry:
Inherits: ^Infantry

View File

@@ -18,7 +18,8 @@ E1:
AttackFrontal:
PrimaryWeapon: M16
RenderInfantryProne:
IdleAnimations: idle1,idle2,idle3,idle4
IdleAnimations: idle1,idle2,idle3,idle4
E2:
Inherits: ^Infantry
Valued:

View File

@@ -47,6 +47,9 @@ c1:
Start: 182
Length: 4
Tick: 80
die-crushed: squish
Start: 0
Length: 1
c2:
stand:
Start: 0
@@ -96,7 +99,9 @@ c2:
Start: 182
Length: 4
Tick: 80
die-crushed: squish
Start: 0
Length: 1
c3:
stand:
Start: 0
@@ -146,7 +151,9 @@ c3:
Start: 182
Length: 4
Tick: 80
die-crushed: squish
Start: 0
Length: 1
c4:
stand:
Start: 0
@@ -196,7 +203,9 @@ c4:
Start: 182
Length: 4
Tick: 80
die-crushed: squish
Start: 0
Length: 1
c5:
stand:
Start: 0
@@ -246,7 +255,9 @@ c5:
Start: 182
Length: 4
Tick: 80
die-crushed: squish
Start: 0
Length: 1
c6:
stand:
Start: 0
@@ -296,7 +307,9 @@ c6:
Start: 182
Length: 4
Tick: 80
die-crushed: squish
Start: 0
Length: 1
c7:
stand:
Start: 0
@@ -346,7 +359,9 @@ c7:
Start: 182
Length: 4
Tick: 80
die-crushed: squish
Start: 0
Length: 1
c8:
stand:
Start: 0
@@ -396,7 +411,9 @@ c8:
Start: 182
Length: 4
Tick: 80
die-crushed: squish
Start: 0
Length: 1
c9:
stand:
Start: 0
@@ -446,7 +463,9 @@ c9:
Start: 182
Length: 4
Tick: 80
die-crushed: squish
Start: 0
Length: 1
c10:
stand:
Start: 0
@@ -495,4 +514,7 @@ c10:
die6:
Start: 182
Length: 4
Tick: 80
Tick: 80
die-crushed: squish
Start: 0
Length: 1

View File

@@ -103,6 +103,9 @@ e1:
Start: 366
Length: 11
Tick: 80
die-crushed: squish
Start: 0
Length: 1
e2:
stand:
Start: 0
@@ -183,6 +186,9 @@ e2:
Start: 494
Length: 11
Tick: 80
die-crushed: squish
Start: 0
Length: 1
e3:
stand:
Start: 0
@@ -263,6 +269,9 @@ e3:
Start: 382
Length: 11
Tick: 80
die-crushed: squish
Start: 0
Length: 1
e4:
stand:
Start: 0
@@ -343,11 +352,13 @@ e4:
Start: 494
Length: 10
Tick: 80
die-crushed: squish
Start: 0
Length: 1
muzzle: flame
Start: 0
Length: 13
Facings: 8
e5:
stand:
Start: 0
@@ -428,11 +439,13 @@ e5:
Start: 494
Length: 10
Tick: 80
die-crushed: squish
Start: 0
Length: 1
muzzle: chem
Start: 0
Length: 13
Facings: 8
e6:
stand:
Start: 0
@@ -505,7 +518,9 @@ e6:
Start: 130
Length: 4
Tick: 80
die-crushed: squish
Start: 0
Length: 1
rmbo:
stand:
Start: 0
@@ -589,4 +604,7 @@ rmbo:
die6:
Start: 308
Length: 4
Tick: 80
Tick: 80
die-crushed: squish
Start: 0
Length: 1