Merge pull request #12770 from reaperrr/polish-d2k-weapons

Polish D2k weapons and add wall explosion
This commit is contained in:
Paul Chote
2017-02-17 22:04:16 +00:00
committed by GitHub
6 changed files with 36 additions and 31 deletions

View File

@@ -610,9 +610,6 @@ wall:
BuildDuration: 54 BuildDuration: 54
BuildDurationModifier: 40 BuildDurationModifier: 40
Description: Stop units and blocks enemy fire. Description: Stop units and blocks enemy fire.
SoundOnDamageTransition:
DamagedSounds:
DestroyedSounds: EXPLSML4.WAV
Valued: Valued:
Cost: 20 Cost: 20
CustomSellValue: CustomSellValue:
@@ -630,7 +627,7 @@ wall:
TopLeft: -512, -512 TopLeft: -512, -512
BottomRight: 512, 512 BottomRight: 512, 512
Armor: Armor:
Type: none Type: wall
RevealsShroud: RevealsShroud:
Range: 2c768 Range: 2c768
Crushable: Crushable:
@@ -649,10 +646,13 @@ wall:
Sellable: Sellable:
SellSounds: CHUNG.WAV SellSounds: CHUNG.WAV
Guardable: Guardable:
Explodes:
Weapon: WallExplode
EmptyWeapon: WallExplode
ThrowsShrapnel: ThrowsShrapnel:
Weapons: Debris, Debris3 Weapons: Debris2, Debris3
Pieces: 2, 2 Pieces: 1, 1
Range: 2c0, 4c0 Range: 1c512, 2c768
medium_gun_turret: medium_gun_turret:
Inherits: ^Defense Inherits: ^Defense

View File

@@ -52,6 +52,11 @@ explosion:
Start: 430 Start: 430
Length: 12 Length: 12
Tick: 1600 Tick: 1600
wall_explosion: DATA.R8
Start: 4130
Length: 8
Tick: 120
BlendMode: Alpha
large_trail: large_trail:
idle: DATA.R8 idle: DATA.R8
@@ -66,6 +71,7 @@ small_trail:
Start: 3988 Start: 3988
Length: 4 Length: 4
Tick: 80 Tick: 80
BlendMode: Additive
ZOffset: 1023 ZOffset: 1023
small_trail2: small_trail2:
@@ -73,6 +79,7 @@ small_trail2:
Start: 3793 Start: 3793
Length: 4 Length: 4
Tick: 80 Tick: 80
BlendMode: Additive
ZOffset: 1023 ZOffset: 1023
bazooka_trail: bazooka_trail:

View File

@@ -2,13 +2,14 @@ Debris:
ReloadDelay: 60 ReloadDelay: 60
Range: 2c768 Range: 2c768
Projectile: Bullet Projectile: Bullet
Speed: 32, 96 Speed: 32, 64
Blockable: false Blockable: false
LaunchAngle: 30, 90 LaunchAngle: 128, 192
Inaccuracy: 1c256 Inaccuracy: 1c256
Image: shrapnel Image: shrapnel
BounceCount: 2 Shadow: true
BounceRangeModifier: 10 BounceCount: 3
BounceRangeModifier: 20
Warhead@1Dam: SpreadDamage Warhead@1Dam: SpreadDamage
Spread: 320 Spread: 320
Falloff: 100, 60, 30, 15, 0 Falloff: 100, 60, 30, 15, 0
@@ -29,16 +30,15 @@ Debris:
SmudgeType: SandCrater SmudgeType: SandCrater
InvalidTargets: Vehicle, Structure InvalidTargets: Vehicle, Structure
Warhead@3Eff: CreateEffect Warhead@3Eff: CreateEffect
Explosions: small_explosion Explosions: tiny_explosion
ImpactSounds: EXPLLG5.WAV
Debris2: Debris2:
Inherits: Debris Inherits: Debris
Projectile: Bullet Projectile: Bullet
Image: shrapnel2 Image: shrapnel2
TrailImage: bazooka_trail TrailImage: small_trail
TrailPalette: effect75alpha TrailPalette: effect75alpha
TrailInterval: 2 TrailInterval: 1
Warhead@1Dam: SpreadDamage Warhead@1Dam: SpreadDamage
Damage: 250 Damage: 250
Versus: Versus:
@@ -54,15 +54,13 @@ Debris2:
harvester: 25 harvester: 25
DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath
Warhead@3Eff: CreateEffect Warhead@3Eff: CreateEffect
Explosions: med_explosion Explosions: small_napalm
ImpactSounds: EXPLLG5.WAV
Debris3: Debris3:
Inherits: Debris2 Inherits: Debris2
Projectile: Bullet Projectile: Bullet
Image: shrapnel3 Image: shrapnel3
TrailImage: large_trail TrailImage: small_trail2
TrailInterval: 1
Warhead@1Dam: SpreadDamage Warhead@1Dam: SpreadDamage
Damage: 150 Damage: 150
@@ -71,6 +69,3 @@ Debris4:
Projectile: Bullet Projectile: Bullet
Image: shrapnel4 Image: shrapnel4
TrailImage: large_trail TrailImage: large_trail
TrailInterval: 1
Warhead@3Eff: CreateEffect
Explosions: large_explosion

View File

@@ -30,7 +30,6 @@
InvalidTargets: Vehicle, Structure InvalidTargets: Vehicle, Structure
Warhead@3Eff: CreateEffect Warhead@3Eff: CreateEffect
Explosions: tiny_explosion Explosions: tiny_explosion
ImpactSounds: EXPLSML1.WAV
^Missile: ^Missile:
Inherits: ^Rocket Inherits: ^Rocket
@@ -47,7 +46,7 @@
VerticalRateOfTurn: 10 VerticalRateOfTurn: 10
Image: MISSILE2 Image: MISSILE2
TrailImage: large_trail TrailImage: large_trail
Speed: 320 Speed: 288
Warhead@1Dam: SpreadDamage Warhead@1Dam: SpreadDamage
Spread: 256 Spread: 256
Damage: 480 Damage: 480
@@ -63,6 +62,7 @@
harvester: 50 harvester: 50
Warhead@3Eff: CreateEffect Warhead@3Eff: CreateEffect
Explosions: small_explosion Explosions: small_explosion
ImpactSounds: EXPLSML1.WAV
Bazooka: Bazooka:
Inherits: ^Rocket Inherits: ^Rocket
@@ -72,7 +72,7 @@ Rocket:
ReloadDelay: 30 ReloadDelay: 30
Range: 3c512 Range: 3c512
Projectile: Bullet Projectile: Bullet
Speed: 343 Speed: 352
Warhead@1Dam: SpreadDamage Warhead@1Dam: SpreadDamage
Spread: 160 Spread: 160
Damage: 250 Damage: 250
@@ -110,7 +110,6 @@ mtank_pri:
Range: 6c0 Range: 6c0
ValidTargets: Ground, Air ValidTargets: Ground, Air
Projectile: Missile Projectile: Missile
Speed: 281
Inaccuracy: 96 Inaccuracy: 96
RangeLimit: 7c204 RangeLimit: 7c204
Warhead@1Dam: SpreadDamage Warhead@1Dam: SpreadDamage
@@ -123,7 +122,6 @@ DeviatorMissile:
Range: 5c0 Range: 5c0
Report: MISSLE1.WAV Report: MISSLE1.WAV
Projectile: Missile Projectile: Missile
Speed: 281
RangeLimit: 6c0 RangeLimit: 6c0
Image: MISSILE Image: MISSILE
TrailImage: deviator_trail TrailImage: deviator_trail
@@ -146,6 +144,7 @@ DeviatorMissile:
Explosions: deviator Explosions: deviator
ExplosionPalette: deviatorgas ExplosionPalette: deviatorgas
UsePlayerPalette: true UsePlayerPalette: true
-ImpactSounds:
Warhead@4OwnerChange: ChangeOwner Warhead@4OwnerChange: ChangeOwner
Range: 512 Range: 512
Duration: 375 Duration: 375

View File

@@ -160,13 +160,18 @@ BuildingExplode:
Warhead@1Eff: CreateEffect Warhead@1Eff: CreateEffect
Explosions: building, self_destruct, large_explosion Explosions: building, self_destruct, large_explosion
WallExplode:
Warhead@1Eff: CreateEffect
Explosions: wall_explosion
ImpactSounds: EXPLHG1.WAV
grenade: grenade:
ReloadDelay: 50 ReloadDelay: 50
Range: 4c0 Range: 4c0
Projectile: Bullet Projectile: Bullet
Speed: 256 Speed: 160
Blockable: false Blockable: false
LaunchAngle: 75 LaunchAngle: 128
Inaccuracy: 416 Inaccuracy: 416
Image: grenade Image: grenade
Shadow: true Shadow: true
@@ -188,7 +193,7 @@ grenade:
InvalidTargets: Vehicle, Structure InvalidTargets: Vehicle, Structure
Warhead@3Eff: CreateEffect Warhead@3Eff: CreateEffect
Explosions: med_explosion Explosions: med_explosion
ImpactSounds: EXPLLG5.WAV ImpactSounds: EXPLMD2.WAV
GrenDeath: GrenDeath:
Warhead@1Dam: SpreadDamage Warhead@1Dam: SpreadDamage

View File

@@ -29,7 +29,6 @@ Fremen_S:
Report: FREMODD1.WAV Report: FREMODD1.WAV
Warhead@2Eff: CreateEffect Warhead@2Eff: CreateEffect
Explosions: small_explosion Explosions: small_explosion
ImpactSounds: EXPLSML2.WAV
M_LMG: M_LMG:
Inherits: ^MG Inherits: ^MG