Add particle smoke effects.

This commit is contained in:
Matthias Mailänder
2023-03-23 10:50:14 +01:00
committed by Gustas
parent 069b7c5500
commit af2b32e7ba
7 changed files with 257 additions and 1 deletions

View File

@@ -256,6 +256,19 @@
SpeedMultiplier@HEAVYDAMAGE:
RequiresCondition: heavy-damage
Modifier: 75
FloatingSpriteEmitter@SMOKE:
RequiresCondition: heavy-damage
Palette: smoke3
Image: smoke3
Lifetime: 15, 20
Speed: 3
Gravity: 50
SpawnFrequency: 5, 10
RandomFacing: true
RandomRate: 4
Offset: 0, 0, 200
TurnRate: 3
Duration: 500
^Tank:
Inherits: ^Vehicle

View File

@@ -49,6 +49,10 @@
Name: shroud
Filename: DATA.R8
Frame: 38
PaletteFromEmbeddedSpritePalette@smoke3:
Name: smoke3
Filename: DATA.R8
Frame: 3747
D2kFogPalette@fog:
Name: fog
BasePalette: shroud

View File

@@ -111,7 +111,6 @@ harvester:
Margin: 1, 4
RequiresSelection: true
PipCount: 7
-GrantConditionOnDamageState@HEAVY:
-SpeedMultiplier@HEAVYDAMAGE:
trike:

View File

@@ -382,6 +382,16 @@ smoke_m:
Length: 3
BlendMode: Additive
smoke3:
particles:
Filename: DATA.R8
ZOffset: 511
Start: 3747
Length: 7
Tick: 120
BlendMode: Subtractive
HasEmbeddedPalette: True
bombs:
idle:
Filename: DATA.R8