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

View File

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

View File

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

View File

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

View File

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

View File

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