Add Devastator reactor overload upon deployment

This commit is contained in:
Matthias Mailänder
2017-08-21 20:21:04 +02:00
committed by reaperrr
parent 370ee0841f
commit d64a9e6afc
5 changed files with 51 additions and 1 deletions

View File

@@ -109,7 +109,7 @@ Container@PLAYER_WIDGETS:
DisableKeyRepeat: true DisableKeyRepeat: true
DisableKeySound: true DisableKeySound: true
TooltipText: Deploy TooltipText: Deploy
TooltipDesc: Selected units will perform their default deploy activity\n - MCVs will unpack into a Construction Yard\n - Thumpers will start or stop attracting worms\n\nActs immediately on selected units. TooltipDesc: Selected units will perform their default deploy activity\n - MCVs will unpack into a Construction Yard\n - Thumpers will start or stop attracting worms\n - Devastators will become immobilized and explode\n\nActs immediately on selected units.
TooltipContainer: TOOLTIP_CONTAINER TooltipContainer: TOOLTIP_CONTAINER
Children: Children:
Image@ICON: Image@ICON:

View File

@@ -316,6 +316,7 @@ devastator:
TurnSpeed: 3 TurnSpeed: 3
Speed: 31 Speed: 31
Crushes: crate, infantry, spicebloom, wall Crushes: crate, infantry, spicebloom, wall
RequiresCondition: !overload
RevealsShroud: RevealsShroud:
Range: 4c768 Range: 4c768
Armament: Armament:
@@ -328,8 +329,26 @@ devastator:
Explodes: Explodes:
Weapon: UnitExplodeLarge Weapon: UnitExplodeLarge
EmptyWeapon: UnitExplodeLarge EmptyWeapon: UnitExplodeLarge
RequiresCondition: !overload
SpawnActorOnDeath: SpawnActorOnDeath:
Actor: devastator.husk Actor: devastator.husk
Explodes@OVERLOAD:
Weapon: PlasmaExplosion
EmptyWeapon: PlasmaExplosion
RequiresCondition: meltdown
GrantConditionOnDeploy@REACTOR:
DeployedCondition: overload
CanUndeploy: false
WithIdleOverlay@OVERLOAD:
Sequence: active
RequiresCondition: overload
WithIdleOverlay@OVERLOAD2:
Sequence: active-2
RequiresCondition: overload
KillsSelf@MELTDOWN:
Delay: 240
RequiresCondition: overload
GrantsCondition: meltdown
AttractsWorms: AttractsWorms:
Intensity: 700 Intensity: 700
SelectionDecorations: SelectionDecorations:

View File

@@ -57,6 +57,10 @@ explosion:
Length: 8 Length: 8
Tick: 120 Tick: 120
BlendMode: Alpha BlendMode: Alpha
devastator: DATA.R8
Start: 3947
Length: 17
Tick: 120
large_trail: large_trail:
idle: DATA.R8 idle: DATA.R8

View File

@@ -199,6 +199,16 @@ devastator:
Tick: 80 Tick: 80
Facings: -32 Facings: -32
BlendMode: Additive BlendMode: Additive
active: DATA.R8
Start: 3839
Length: 14
Tick: 130
BlendMode: Additive
active-2: DATA.R8
Start: 4152
Length: 12
Tick: 110
BlendMode: Additive
icon: DATA.R8 icon: DATA.R8
Start: 4289 Start: 4289
Offset: -30,-24 Offset: -30,-24

View File

@@ -306,3 +306,20 @@ BloomExplosion:
harvester: 25 harvester: 25
DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath
AffectsParent: true AffectsParent: true
PlasmaExplosion:
Warhead@1Dam: SpreadDamage
Spread: 2c0
Falloff: 100, 37, 0
Damage: 2000
Versus:
None: 100
Wood: 100
Light: 100
Heavy: 100
Concrete: 60
DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath
Warhead@2Smu: LeaveSmudge
SmudgeType: SandCrater
Warhead@3Eff: CreateEffect
Explosions: devastator