Overhaul sand worm rendering and attacking.

This commit is contained in:
Paul Chote
2016-01-02 19:26:15 +00:00
parent 8ce274ed79
commit 47c97735ed
7 changed files with 171 additions and 122 deletions

BIN
mods/d2k/bits/sandtrail.shp Normal file

Binary file not shown.

View File

@@ -69,8 +69,20 @@ sandworm:
Spice: 100
Targetable:
TargetTypes: Ground
WithFacingSpriteBody:
WithAttackOverlay:
WithSpriteBody:
WithIdleAnimation:
Interval: 160
Sequences: lightninga, lightningb, lightningc, lightningd, lightninge, lightningf
UpgradeTypes: attacking
UpgradeMaxEnabledLevel: 0
AmbientSound:
SoundFile: WRMSIGN1.WAV
Interval: 160
UpgradeTypes: attacking
UpgradeMaxEnabledLevel: 0
WithAttackOverlay@mouth:
Sequence: mouth
WithAttackOverlay@sand:
Sequence: sand
HiddenUnderFog:
AppearsOnRadar:
@@ -88,6 +100,16 @@ sandworm:
PingRadar: True
RevealsShroud:
Range: 5c0
LeavesTrails:
Image: sandtrail
Sequences: traila, trailb, trailc
Palette: effect
Type: CenterPosition
TerrainTypes: Sand, Dune, SpiceSand, Spice
MovingInterval: 3
UpgradeTypes: attacking
UpgradeMaxEnabledLevel: 0
UpgradeManager:
sietch:
Inherits: ^Building

View File

@@ -481,10 +481,35 @@ sandworm:
Length: 20
Tick: 100
idle: DATA.R8
Start: 3586
Length: 35
Tick: 180
BlendMode: Additive
burrowed: DATA.R8
Start: 39
lightninga: DATA.R8
Start: 3591
Length: 5
Tick: 80
BlendMode: Additive
lightningb: DATA.R8
Start: 3596
Length: 5
Tick: 80
BlendMode: Additive
lightningc: DATA.R8
Start: 3601
Length: 5
Tick: 80
BlendMode: Additive
lightningd: DATA.R8
Start: 3606
Length: 5
Tick: 80
BlendMode: Additive
lightninge: DATA.R8
Start: 3611
Length: 5
Tick: 80
BlendMode: Additive
lightningf: DATA.R8
Start: 3616
Length: 5
Tick: 80
BlendMode: Additive
icon: wormicon.shp

View File

@@ -109,6 +109,17 @@ laserfire:
BlendMode: Additive
ZOffset: 511
sandtrail:
Defaults:
Length: 8
Tick: 200
ZOffset: -512
traila: sandtrail.shp
trailb: sandtrail.shp
Frames: 2, 6, 4, 5, 0, 1, 3, 7
trailc: sandtrail.shp
Frames: 7, 4, 6, 5, 2, 0, 3, 1
pips:
groups: DATA.R8
Start: 17