Slim down D2k missile weapons via inheritance

This commit is contained in:
reaperrr
2016-12-28 13:52:34 +01:00
parent dc4073009d
commit 983047f78a

View File

@@ -1,16 +1,15 @@
Bazooka: ^Rocket:
ReloadDelay: 40 ReloadDelay: 40
Range: 3c0 Range: 3c0
Report: ROCKET1.WAV Report: ROCKET1.WAV
Projectile: Missile Projectile: Bullet
Blockable: false
Speed: 281 Speed: 281
Inaccuracy: 256 Inaccuracy: 256
Image: RPG Image: RPG
HorizontalRateOfTurn: 1
TrailImage: bazooka_trail2 TrailImage: bazooka_trail2
TrailPalette: effect75alpha TrailPalette: effect75alpha
TrailInterval: 1 TrailInterval: 1
RangeLimit: 3c614
Warhead@1Dam: SpreadDamage Warhead@1Dam: SpreadDamage
Spread: 192 Spread: 192
Falloff: 100, 50, 25, 0 Falloff: 100, 50, 25, 0
@@ -21,6 +20,7 @@ Bazooka:
building: 40 building: 40
wood: 45 wood: 45
light: 70 light: 70
heavy : 100
invulnerable: 0 invulnerable: 0
cy: 20 cy: 20
harvester: 50 harvester: 50
@@ -32,52 +32,14 @@ Bazooka:
Explosions: tiny_explosion Explosions: tiny_explosion
ImpactSounds: EXPLSML1.WAV ImpactSounds: EXPLSML1.WAV
Rocket: ^Missile:
ReloadDelay: 30 Inherits: ^Rocket
Range: 3c512
Report: ROCKET1.WAV
Projectile: Missile
Inaccuracy: 256
Image: RPG
HorizontalRateOfTurn: 0
TrailImage: bazooka_trail2
TrailPalette: effect75alpha
TrailInterval: 1
Speed: 343
RangeLimit: 4c204
Warhead@1Dam: SpreadDamage
Spread: 160
Falloff: 100, 50, 25, 0
Damage: 250
Versus:
none: 25
building: 50
wood: 65
heavy: 50
invulnerable: 0
cy: 20
harvester: 50
DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath
Warhead@2Smu: LeaveSmudge
SmudgeType: SandCrater, RockCrater
InvalidTargets: Vehicle, Structure
Warhead@3Eff: CreateEffect
Explosions: rocket_explosion
ExplosionPalette: effect75alpha
ImpactSounds: EXPLSML1.WAV
TowerMissile:
ReloadDelay: 60 ReloadDelay: 60
Burst: 2
BurstDelay: 60
Range: 5c512 Range: 5c512
MinRange: 1c0 MinRange: 0c512
Report: ROCKET1.WAV
ValidTargets: Ground, Air
Projectile: Missile Projectile: Missile
Blockable: false
Shadow: true Shadow: true
HorizontalRateOfTurn: 1 HorizontalRateOfTurn: 3
RangeLimit: 6c614 RangeLimit: 6c614
Inaccuracy: 384 Inaccuracy: 384
CruiseAltitude: 1c0 CruiseAltitude: 1c0
@@ -85,94 +47,89 @@ TowerMissile:
VerticalRateOfTurn: 10 VerticalRateOfTurn: 10
Image: MISSILE2 Image: MISSILE2
TrailImage: large_trail TrailImage: large_trail
TrailInterval: 1
Speed: 320 Speed: 320
Warhead@1Dam: SpreadDamage Warhead@1Dam: SpreadDamage
Spread: 256 Spread: 256
Falloff: 100, 50, 25, 0
Damage: 480 Damage: 480
ValidTargets: Ground, Air
Versus: Versus:
none: 15 none: 15
wall: 75 wall: 75
building: 60 building: 60
wood: 65 wood: 65
light: 90 light: 90
heavy: 100
invulnerable: 0 invulnerable: 0
cy: 30 cy: 30
harvester: 50 harvester: 50
DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath
Warhead@2Smu: LeaveSmudge
SmudgeType: SandCrater, RockCrater
InvalidTargets: Vehicle, Structure
Warhead@3Eff: CreateEffect Warhead@3Eff: CreateEffect
Explosions: small_explosion Explosions: small_explosion
ImpactSounds: EXPLSML1.WAV
Bazooka:
Inherits: ^Rocket
Rocket:
Inherits: ^Rocket
ReloadDelay: 30
Range: 3c512
Projectile: Bullet
Speed: 343
Warhead@1Dam: SpreadDamage
Spread: 160
Damage: 250
Versus:
none: 25
wall: 100
building: 50
wood: 65
light: 100
heavy: 50
invulnerable: 0
cy: 20
harvester: 50
Warhead@3Eff: CreateEffect
Explosions: rocket_explosion
ExplosionPalette: effect75alpha
TowerMissile:
Inherits: ^Missile
ReloadDelay: 60
Burst: 2
BurstDelay: 60
ValidTargets: Ground, Air
Projectile: Missile
HorizontalRateOfTurn: 1
Warhead@1Dam: SpreadDamage
ValidTargets: Ground, Air
DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath
mtank_pri: mtank_pri:
Inherits: ^Missile
ReloadDelay: 115 ReloadDelay: 115
Burst: 2 Burst: 2
BurstDelay: 115 BurstDelay: 115
Range: 6c0 Range: 6c0
Report: ROCKET1.WAV
ValidTargets: Ground, Air ValidTargets: Ground, Air
Projectile: Missile Projectile: Missile
Speed: 281 Speed: 281
RangeLimit: 7c204
HorizontalRateOfTurn: 3
Blockable: false
Shadow: true
CruiseAltitude: 1c0
MinimumLaunchAngle: 64
VerticalRateOfTurn: 10
Inaccuracy: 96 Inaccuracy: 96
Image: MISSILE2 RangeLimit: 7c204
TrailImage: large_trail
TrailInterval: 1
Warhead@1Dam: SpreadDamage Warhead@1Dam: SpreadDamage
Spread: 256
Falloff: 100, 50, 25, 0
Damage: 600 Damage: 600
ValidTargets: Ground, Air ValidTargets: Ground, Air
Versus:
none: 15
wall: 75
building: 60
wood: 65
light: 90
invulnerable: 0
cy: 30
harvester: 50
DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath
Warhead@2Smu: LeaveSmudge
SmudgeType: SandCrater, RockCrater
InvalidTargets: Vehicle, Structure
Warhead@3Eff: CreateEffect
Explosions: small_explosion
ImpactSounds: EXPLSML1.WAV
DeviatorMissile: DeviatorMissile:
Inherits: ^Missile
ReloadDelay: 160 ReloadDelay: 160
Range: 5c0 Range: 5c0
Report: MISSLE1.WAV Report: MISSLE1.WAV
Projectile: Missile Projectile: Missile
Speed: 281 Speed: 281
RangeLimit: 6c0 RangeLimit: 6c0
HorizontalRateOfTurn: 3
Blockable: false
Shadow: true
Inaccuracy: 384
CruiseAltitude: 1c0
MinimumLaunchAngle: 64
VerticalRateOfTurn: 10
Image: MISSILE Image: MISSILE
TrailImage: deviator_trail TrailImage: deviator_trail
TrailPalette: deviatorgas TrailPalette: deviatorgas
TrailUsePlayerPalette: true TrailUsePlayerPalette: true
TrailInterval: 1
Warhead@1Dam: SpreadDamage Warhead@1Dam: SpreadDamage
Spread: 256
Falloff: 100, 50, 25, 0
Damage: 500 Damage: 500
Versus: Versus:
none: 20 none: 20
@@ -184,12 +141,11 @@ DeviatorMissile:
invulnerable: 0 invulnerable: 0
cy: 10 cy: 10
harvester: 20 harvester: 20
DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath -Warhead@2Smu: LeaveSmudge
Warhead@3Eff: CreateEffect Warhead@3Eff: CreateEffect
Explosions: deviator Explosions: deviator
ExplosionPalette: deviatorgas ExplosionPalette: deviatorgas
UsePlayerPalette: true UsePlayerPalette: true
ImpactSounds: EXPLSML1.WAV
Warhead@4OwnerChange: ChangeOwner Warhead@4OwnerChange: ChangeOwner
Range: 512 Range: 512
Duration: 375 Duration: 375