Skip to content

Commit

Permalink
Infantry burned death use no actor, as it is buggy on block actor pat…
Browse files Browse the repository at this point in the history
…h when moving
  • Loading branch information
dnqbob committed Oct 5, 2023
1 parent 7e2719d commit 6326065
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 29 deletions.
18 changes: 11 additions & 7 deletions mods/sp/rules/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1713,9 +1713,13 @@
CargoCondition: ascargo
QuantizeFacingsFromSequence:
Sequence: stand
SpawnActorOnDeath@FLAMEGUY:
Actor: FLAMEGUY
DeathType: FireDeath
SpawnSmokeParticleOnDeath@FLAMEGUY:
Image: flameguy
Sequences: run-all
EndSequences: die
Duration: 19
Palette: player
DeathTypes: FireDeath
GrantRandomCondition@tiberium:
Conditions: visc, zombie
SpawnActorOnDeath@tiberium1:
Expand Down Expand Up @@ -1887,7 +1891,7 @@
-PauseOnCondition:
-TakeCover:
-WithDeathAnimation@tib:
-SpawnActorOnDeath@FLAMEGUY:
-SpawnSmokeParticleOnDeath@FLAMEGUY:
Armor:
Type: Heavy
Targetable:
Expand Down Expand Up @@ -1940,7 +1944,7 @@
CrushedSequencePalette: playerscrin
CrushedPaletteIsPlayerPalette: true
-DamagedByTerrain:
-SpawnActorOnDeath@FLAMEGUY:
-SpawnSmokeParticleOnDeath@FLAMEGUY:
Mobile:
Locomotor: TibInmuneInfantry
WithDeathAnimation@body:
Expand Down Expand Up @@ -2032,7 +2036,7 @@
-WithDeathAnimation@explosion:
-WithDeathAnimation@energy:
-WithDeathAnimation@body:
-SpawnActorOnDeath@FLAMEGUY:
-SpawnSmokeParticleOnDeath@FLAMEGUY:
-GrantRandomCondition@tiberium:
-SpawnActorOnDeath@tiberium1:
-SpawnActorOnDeath@tiberium2:
Expand Down Expand Up @@ -2110,7 +2114,7 @@
-WithDeathAnimation@tib:
-WithDeathAnimation@explosion:
-WithDeathAnimation@energy:
-SpawnActorOnDeath@FLAMEGUY:
-SpawnSmokeParticleOnDeath@FLAMEGUY:
-GrantRandomCondition@tiberium:
-SpawnActorOnDeath@tiberium1:
-SpawnActorOnDeath@tiberium2:
Expand Down
18 changes: 0 additions & 18 deletions mods/sp/rules/dummies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -332,21 +332,3 @@ SCRINESSENCESMALL:
EmptyWeapon: EssenceSmall
LoadedChance: 100
Chance: 100

FLAMEGUY:
Inherits@1: ^ExistsInWorld
Inherits@2: ^SpriteActor
Inherits@3: ^WithDeathEffects
Mobile:
Speed: 80
Locomotor: Infantry
HiddenUnderFog:
WithFacingSpriteBody:
Sequence: run
KillsSelf@TimedLife:
Delay: 19
Wanders:
WithDeathAnimation:
FallbackSequence: die
UseDeathTypeSuffix: false

4 changes: 2 additions & 2 deletions mods/sp/rules/infantry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1265,7 +1265,7 @@ MUTFIEND:
ScanRadius: 8 #PREF: save trait looks up and scan armaments
-TakeCover:
-WithDeathAnimation@tib:
-SpawnActorOnDeath@FLAMEGUY:
-SpawnSmokeParticleOnDeath@FLAMEGUY:
SpawnActorOnDeath@conversion:
Actor: cybdog
SpawnActorOnDeath@conversionUpg:
Expand Down Expand Up @@ -2263,7 +2263,7 @@ SWARMLING:
-WithDeathAnimation@explosion:
-WithDeathAnimation@energy:
-WithDeathAnimation@body:
-SpawnActorOnDeath@FLAMEGUY:
-SpawnSmokeParticleOnDeath@FLAMEGUY:
-SpawnActorOnDeath@conversion:
-SpawnActorOnDeath@conversionUpg:
-WithDeathAnimation@blood1:
Expand Down
20 changes: 20 additions & 0 deletions mods/sp/rules/unused/zunused assets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1228,6 +1228,26 @@ WEASAUBLUE2:
RenderSprites:
Image: weasaublue2


FLAMEGUY:
Inherits@1: ^ExistsInWorld
Inherits@2: ^SpriteActor
Inherits@3: ^WithDeathEffects
Mobile:
Speed: 80
Locomotor: Infantry
HiddenUnderFog:
WithFacingSpriteBody:
Sequence: run
KillsSelf@TimedLife:
Delay: 19
Wanders:
WithDeathAnimation:
FallbackSequence: die
UseDeathTypeSuffix: false



FIREFLY.Husk:
Inherits: ^AircraftHusk
Inherits@RENDER: ^CabRender
Expand Down
10 changes: 8 additions & 2 deletions mods/sp/sequences/creepsseq.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
flameguy:
Defaults:
Filename: flameguy.shp
Facings: 8
Tick: 80
Tick: 60
ShadowStart: 148
IgnoreWorldTint: true
idle:
Facings: 8
stand:
Facings: 8
run:
Facings: 8
Length: 6
die:
Start: 44
Facings: 1
Length: 104
ShadowStart: 192
run-all:
Start: 0
ShadowStart: 148
Length: 48

tibcloud: ## Notice: this used for pariticle only
Defaults:
Expand Down

0 comments on commit 6326065

Please sign in to comment.