Add FLAMEGUY.
This commit is contained in:
@@ -28,7 +28,9 @@ namespace OpenRA.Mods.Common.Lint
|
|||||||
if (!animations.Any())
|
if (!animations.Any())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
var deathTypes = animations.SelectMany(x => x.DeathTypes.Select(y => y.Key)).ToList();
|
var deathAnimationDeathtypes = animations.SelectMany(x => x.DeathTypes.Select(y => y.Key)).ToList();
|
||||||
|
var spawnActorDeathtypes = actorInfo.Value.TraitInfos<SpawnActorOnDeathInfo>().Where(s => !string.IsNullOrEmpty(s.DeathType)).Select(a => a.DeathType);
|
||||||
|
var deathTypes = deathAnimationDeathtypes.Concat(spawnActorDeathtypes).Distinct();
|
||||||
if (!deathTypes.Any())
|
if (!deathTypes.Any())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
@@ -51,7 +53,7 @@ namespace OpenRA.Mods.Common.Lint
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (!warhead.DamageTypes.Overlaps(deathTypes))
|
if (!warhead.DamageTypes.Overlaps(deathTypes))
|
||||||
emitError("Actor type `{0}` does not define a death animation for weapon `{1}`!"
|
emitError("Actor type {0} doesn't define a death animation or spawn an actor on death for weapon {1}!"
|
||||||
.F(actorInfo.Key, weaponInfo.Key));
|
.F(actorInfo.Key, weaponInfo.Key));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,6 +17,10 @@ WEEDGUY:
|
|||||||
LocalOffset: 85,0,384
|
LocalOffset: 85,0,384
|
||||||
AttackFrontal:
|
AttackFrontal:
|
||||||
Voice: Attack
|
Voice: Attack
|
||||||
|
-SpawnActorOnDeath@FLAMEGUY:
|
||||||
|
WithDeathAnimation@fire:
|
||||||
|
DeathTypes:
|
||||||
|
FireDeath: 5
|
||||||
|
|
||||||
UMAGON:
|
UMAGON:
|
||||||
Inherits: ^Soldier
|
Inherits: ^Soldier
|
||||||
@@ -235,6 +239,10 @@ DOGGIE:
|
|||||||
WanderMoveRadius: 2
|
WanderMoveRadius: 2
|
||||||
MinMoveDelayInTicks: 25
|
MinMoveDelayInTicks: 25
|
||||||
MaxMoveDelayInTicks: 45
|
MaxMoveDelayInTicks: 45
|
||||||
|
-SpawnActorOnDeath@FLAMEGUY:
|
||||||
|
WithDeathAnimation@fire:
|
||||||
|
DeathTypes:
|
||||||
|
FireDeath: 5
|
||||||
|
|
||||||
VISC_SML:
|
VISC_SML:
|
||||||
Inherits: ^Visceroid
|
Inherits: ^Visceroid
|
||||||
|
|||||||
@@ -279,7 +279,9 @@
|
|||||||
BulletDeath: 1
|
BulletDeath: 1
|
||||||
SmallExplosionDeath: 2
|
SmallExplosionDeath: 2
|
||||||
HeadshotDeath: 3
|
HeadshotDeath: 3
|
||||||
FireDeath: 5
|
SpawnActorOnDeath@FLAMEGUY:
|
||||||
|
Actor: FLAMEGUY
|
||||||
|
DeathType: FireDeath
|
||||||
WithDeathAnimation@explosion:
|
WithDeathAnimation@explosion:
|
||||||
DeathSequencePalette: effect
|
DeathSequencePalette: effect
|
||||||
DeathPaletteIsPlayerPalette: False
|
DeathPaletteIsPlayerPalette: False
|
||||||
|
|||||||
@@ -67,3 +67,31 @@ ENGINEER:
|
|||||||
nod: engineer.nod
|
nod: engineer.nod
|
||||||
Selectable:
|
Selectable:
|
||||||
Priority: 5
|
Priority: 5
|
||||||
|
|
||||||
|
FLAMEGUY:
|
||||||
|
Inherits@1: ^ExistsInWorld
|
||||||
|
Inherits@2: ^SpriteActor
|
||||||
|
Mobile:
|
||||||
|
Speed: 71
|
||||||
|
SharesCell: true
|
||||||
|
TerrainSpeeds:
|
||||||
|
Clear: 45
|
||||||
|
Road: 50
|
||||||
|
Rail: 45
|
||||||
|
DirtRoad: 50
|
||||||
|
Rough: 40
|
||||||
|
Tiberium: 45
|
||||||
|
BlueTiberium: 45
|
||||||
|
Veins: 25
|
||||||
|
HiddenUnderFog:
|
||||||
|
WithInfantryBody:
|
||||||
|
IdleSequences: run
|
||||||
|
Health:
|
||||||
|
HP: 160
|
||||||
|
SelfHealing:
|
||||||
|
Step: -10
|
||||||
|
HealIfBelow: 101
|
||||||
|
ScaredyCat:
|
||||||
|
WithDeathAnimation:
|
||||||
|
FallbackSequence: die
|
||||||
|
UseDeathTypeSuffix: false
|
||||||
|
|||||||
@@ -60,10 +60,6 @@ e1.gdi:
|
|||||||
Length: 2
|
Length: 2
|
||||||
Facings: 8
|
Facings: 8
|
||||||
ShadowStart: 552
|
ShadowStart: 552
|
||||||
die5: flameguy # TODO: walking animation unused
|
|
||||||
Start: 42
|
|
||||||
Length: 104
|
|
||||||
ShadowStart: 190
|
|
||||||
die6: electro
|
die6: electro
|
||||||
Length: *
|
Length: *
|
||||||
icon: sidebar-gdi|e1icon
|
icon: sidebar-gdi|e1icon
|
||||||
@@ -130,10 +126,6 @@ e1.nod:
|
|||||||
Length: 2
|
Length: 2
|
||||||
Facings: 8
|
Facings: 8
|
||||||
ShadowStart: 552
|
ShadowStart: 552
|
||||||
die5: flameguy # TODO: walking animation unused
|
|
||||||
Start: 42
|
|
||||||
Length: 104
|
|
||||||
ShadowStart: 190
|
|
||||||
die6: electro
|
die6: electro
|
||||||
Length: *
|
Length: *
|
||||||
icon: sidebar-nod|e1icon
|
icon: sidebar-nod|e1icon
|
||||||
@@ -201,10 +193,6 @@ e2:
|
|||||||
Length: 2
|
Length: 2
|
||||||
Facings: 8
|
Facings: 8
|
||||||
ShadowStart: 552
|
ShadowStart: 552
|
||||||
die5: flameguy # TODO: walking animation unused
|
|
||||||
Start: 42
|
|
||||||
Length: 104
|
|
||||||
ShadowStart: 190
|
|
||||||
die6: electro
|
die6: electro
|
||||||
Length: *
|
Length: *
|
||||||
icon: e2icon
|
icon: e2icon
|
||||||
@@ -273,10 +261,6 @@ e3:
|
|||||||
Length: 2
|
Length: 2
|
||||||
Facings: 8
|
Facings: 8
|
||||||
ShadowStart: 552
|
ShadowStart: 552
|
||||||
die5: flameguy # TODO: walking animation unused
|
|
||||||
Start: 42
|
|
||||||
Length: 104
|
|
||||||
ShadowStart: 190
|
|
||||||
die6: electro
|
die6: electro
|
||||||
Length: *
|
Length: *
|
||||||
icon: e4icon
|
icon: e4icon
|
||||||
@@ -409,10 +393,6 @@ medic:
|
|||||||
Start: 292
|
Start: 292
|
||||||
Length: 14
|
Length: 14
|
||||||
ShadowStart: 599
|
ShadowStart: 599
|
||||||
die5: flameguy # TODO: walking animation unused
|
|
||||||
Start: 42
|
|
||||||
Length: 104
|
|
||||||
ShadowStart: 190
|
|
||||||
die6: electro
|
die6: electro
|
||||||
Length: *
|
Length: *
|
||||||
icon: mediicon
|
icon: mediicon
|
||||||
@@ -471,10 +451,6 @@ engineer.gdi:
|
|||||||
Length: 2
|
Length: 2
|
||||||
Facings: 8
|
Facings: 8
|
||||||
ShadowStart: 552
|
ShadowStart: 552
|
||||||
die5: flameguy # TODO: walking animation unused
|
|
||||||
Start: 42
|
|
||||||
Length: 104
|
|
||||||
ShadowStart: 190
|
|
||||||
die6: electro
|
die6: electro
|
||||||
Length: *
|
Length: *
|
||||||
icon: sidebar-gdi|engnicon
|
icon: sidebar-gdi|engnicon
|
||||||
@@ -533,10 +509,6 @@ engineer.nod:
|
|||||||
Length: 2
|
Length: 2
|
||||||
Facings: 8
|
Facings: 8
|
||||||
ShadowStart: 552
|
ShadowStart: 552
|
||||||
die5: flameguy # TODO: walking animation unused
|
|
||||||
Start: 42
|
|
||||||
Length: 104
|
|
||||||
ShadowStart: 190
|
|
||||||
die6: electro
|
die6: electro
|
||||||
Length: *
|
Length: *
|
||||||
icon: sidebar-nod|engnicon
|
icon: sidebar-nod|engnicon
|
||||||
@@ -605,10 +577,6 @@ umagon:
|
|||||||
Length: 2
|
Length: 2
|
||||||
Facings: 8
|
Facings: 8
|
||||||
ShadowStart: 552
|
ShadowStart: 552
|
||||||
die5: flameguy # TODO: walking animation unused
|
|
||||||
Start: 42
|
|
||||||
Length: 104
|
|
||||||
ShadowStart: 190
|
|
||||||
die6: electro
|
die6: electro
|
||||||
Length: *
|
Length: *
|
||||||
icon: umagicon
|
icon: umagicon
|
||||||
@@ -677,10 +645,6 @@ ghost:
|
|||||||
Length: 2
|
Length: 2
|
||||||
Facings: 8
|
Facings: 8
|
||||||
ShadowStart: 552
|
ShadowStart: 552
|
||||||
die5: flameguy # TODO: walking animation unused
|
|
||||||
Start: 42
|
|
||||||
Length: 104
|
|
||||||
ShadowStart: 190
|
|
||||||
die6: electro
|
die6: electro
|
||||||
Length: *
|
Length: *
|
||||||
icon: gosticon
|
icon: gosticon
|
||||||
@@ -746,10 +710,6 @@ jumpjet:
|
|||||||
Length: 2
|
Length: 2
|
||||||
Facings: 8
|
Facings: 8
|
||||||
ShadowStart: 711
|
ShadowStart: 711
|
||||||
die5: flameguy # TODO: walking animation unused
|
|
||||||
Start: 42
|
|
||||||
Length: 104
|
|
||||||
ShadowStart: 190
|
|
||||||
die6: electro
|
die6: electro
|
||||||
Length: *
|
Length: *
|
||||||
icon: jjeticon
|
icon: jjeticon
|
||||||
@@ -818,10 +778,6 @@ mhijack:
|
|||||||
Length: 2
|
Length: 2
|
||||||
Facings: 8
|
Facings: 8
|
||||||
ShadowStart: 552
|
ShadowStart: 552
|
||||||
die5: flameguy # TODO: walking animation unused
|
|
||||||
Start: 42
|
|
||||||
Length: 104
|
|
||||||
ShadowStart: 190
|
|
||||||
die6: electro
|
die6: electro
|
||||||
Length: *
|
Length: *
|
||||||
icon: chamicon
|
icon: chamicon
|
||||||
@@ -890,10 +846,6 @@ chamspy:
|
|||||||
Length: 2
|
Length: 2
|
||||||
Facings: 8
|
Facings: 8
|
||||||
ShadowStart: 552
|
ShadowStart: 552
|
||||||
die5: flameguy # TODO: walking animation unused
|
|
||||||
Start: 42
|
|
||||||
Length: 104
|
|
||||||
ShadowStart: 190
|
|
||||||
die6: electro
|
die6: electro
|
||||||
Length: *
|
Length: *
|
||||||
icon: chamicon
|
icon: chamicon
|
||||||
@@ -947,10 +899,6 @@ cyc2:
|
|||||||
Length: 6
|
Length: 6
|
||||||
Facings: 8
|
Facings: 8
|
||||||
ShadowStart: 568
|
ShadowStart: 568
|
||||||
die5: flameguy # TODO: walking animation unused
|
|
||||||
Start: 42
|
|
||||||
Length: 104
|
|
||||||
ShadowStart: 190
|
|
||||||
die6: electro
|
die6: electro
|
||||||
Length: *
|
Length: *
|
||||||
emp-overlay: emp_fx01
|
emp-overlay: emp_fx01
|
||||||
@@ -1088,10 +1036,6 @@ mutant:
|
|||||||
Length: 2
|
Length: 2
|
||||||
Facings: 8
|
Facings: 8
|
||||||
ShadowStart: 552
|
ShadowStart: 552
|
||||||
die5: flameguy # TODO: walking animation unused
|
|
||||||
Start: 42
|
|
||||||
Length: 104
|
|
||||||
ShadowStart: 190
|
|
||||||
die6: electro
|
die6: electro
|
||||||
Length: *
|
Length: *
|
||||||
icon: mutcicon
|
icon: mutcicon
|
||||||
@@ -1161,10 +1105,6 @@ mwmn:
|
|||||||
Length: 2
|
Length: 2
|
||||||
Facings: 8
|
Facings: 8
|
||||||
ShadowStart: 552
|
ShadowStart: 552
|
||||||
die5: flameguy # TODO: walking animation unused
|
|
||||||
Start: 42
|
|
||||||
Length: 104
|
|
||||||
ShadowStart: 190
|
|
||||||
die6: electro
|
die6: electro
|
||||||
Length: *
|
Length: *
|
||||||
icon: mutcicon
|
icon: mutcicon
|
||||||
@@ -1234,10 +1174,6 @@ mutant3:
|
|||||||
Length: 2
|
Length: 2
|
||||||
Facings: 8
|
Facings: 8
|
||||||
ShadowStart: 552
|
ShadowStart: 552
|
||||||
die5: flameguy # TODO: walking animation unused
|
|
||||||
Start: 42
|
|
||||||
Length: 104
|
|
||||||
ShadowStart: 190
|
|
||||||
die6: electro
|
die6: electro
|
||||||
Length: *
|
Length: *
|
||||||
icon: mutcicon
|
icon: mutcicon
|
||||||
@@ -1307,10 +1243,6 @@ tratos:
|
|||||||
Length: 2
|
Length: 2
|
||||||
Facings: 8
|
Facings: 8
|
||||||
ShadowStart: 552
|
ShadowStart: 552
|
||||||
die5: flameguy # TODO: walking animation unused
|
|
||||||
Start: 42
|
|
||||||
Length: 104
|
|
||||||
ShadowStart: 190
|
|
||||||
die6: electro
|
die6: electro
|
||||||
Length: *
|
Length: *
|
||||||
icon: mutcicon
|
icon: mutcicon
|
||||||
@@ -1380,10 +1312,6 @@ oxanna:
|
|||||||
Length: 2
|
Length: 2
|
||||||
Facings: 8
|
Facings: 8
|
||||||
ShadowStart: 552
|
ShadowStart: 552
|
||||||
die5: flameguy # TODO: walking animation unused
|
|
||||||
Start: 42
|
|
||||||
Length: 104
|
|
||||||
ShadowStart: 190
|
|
||||||
die6: electro
|
die6: electro
|
||||||
Length: *
|
Length: *
|
||||||
|
|
||||||
@@ -1452,10 +1380,6 @@ slav:
|
|||||||
Length: 2
|
Length: 2
|
||||||
Facings: 8
|
Facings: 8
|
||||||
ShadowStart: 552
|
ShadowStart: 552
|
||||||
die5: flameguy # TODO: walking animation unused
|
|
||||||
Start: 42
|
|
||||||
Length: 104
|
|
||||||
ShadowStart: 190
|
|
||||||
die6: electro
|
die6: electro
|
||||||
Length: *
|
Length: *
|
||||||
|
|
||||||
@@ -1587,10 +1511,6 @@ civ1:
|
|||||||
Length: 6
|
Length: 6
|
||||||
Facings: 8
|
Facings: 8
|
||||||
ShadowStart: 456
|
ShadowStart: 456
|
||||||
die5: flameguy # TODO: walking animation unused
|
|
||||||
Start: 42
|
|
||||||
Length: 104
|
|
||||||
ShadowStart: 190
|
|
||||||
die6: electro
|
die6: electro
|
||||||
Length: *
|
Length: *
|
||||||
|
|
||||||
@@ -1644,10 +1564,6 @@ civ2:
|
|||||||
ShadowStart: 451
|
ShadowStart: 451
|
||||||
Tick: 800
|
Tick: 800
|
||||||
ZOffset: -511
|
ZOffset: -511
|
||||||
die5: flameguy # TODO: walking animation unused
|
|
||||||
Start: 42
|
|
||||||
Length: 104
|
|
||||||
ShadowStart: 190
|
|
||||||
die6: electro
|
die6: electro
|
||||||
Length: *
|
Length: *
|
||||||
|
|
||||||
@@ -1706,9 +1622,21 @@ civ3:
|
|||||||
Length: 6
|
Length: 6
|
||||||
Facings: 8
|
Facings: 8
|
||||||
ShadowStart: 456
|
ShadowStart: 456
|
||||||
die5: flameguy # TODO: walking animation unused
|
|
||||||
Start: 42
|
|
||||||
Length: 104
|
|
||||||
ShadowStart: 190
|
|
||||||
die6: electro
|
die6: electro
|
||||||
Length: *
|
Length: *
|
||||||
|
|
||||||
|
flameguy:
|
||||||
|
Defaults:
|
||||||
|
Facings: 8
|
||||||
|
Tick: 80
|
||||||
|
ShadowStart: 148
|
||||||
|
idle:
|
||||||
|
stand:
|
||||||
|
run:
|
||||||
|
Length: 6
|
||||||
|
die:
|
||||||
|
Start: 44
|
||||||
|
Facings: 1
|
||||||
|
Length: 104
|
||||||
|
ShadowStart: 192
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user