Merge pull request #9357 from UberWaffe/LineImpactProjectile

Added a LineImpactProjectile (Attempt 2)
This commit is contained in:
Matthias Mailänder
2015-12-05 18:09:12 +01:00
13 changed files with 457 additions and 28 deletions

View File

@@ -290,6 +290,8 @@ sonic_tank:
Actor: sonic_tank.husk
AttractsWorms:
Intensity: 600
Targetable:
TargetTypes: Ground, Vehicle, C4, Sonictank
devastator:
Inherits: ^Tank

View File

@@ -530,25 +530,44 @@ Sound:
ReloadDelay: 90
Range: 5c0
Report: SONIC1.WAV
Projectile: LaserZap
BeamWidth: 10
BeamDuration: 8
UsePlayerColor: true
Projectile: AreaBeam
Speed: 0c128
Duration: 4 # Has a length of 0c512
DamageInterval: 3 # Travels 0c384 between impacts, will hit a target roughly three times
Width: 0c512
Falloff: 100, 100, 50
Range: 0, 6c0, 11c0
BeyondTargetRange: 1c0
Color: 00FFFFC8
Warhead@1Dam: SpreadDamage
Spread: 256
Falloff: 100, 100, 0
Damage: 500 #80 D2k but damages through all in path
Range: 0, 32
Falloff: 100, 100
Damage: 150
AffectsParent: false
ValidStances: Neutral, Enemy
Versus:
wall: 50
building: 60
heavy: 60
invulnerable: 0
cy: 20
harvester: 50
cy: 20
harvester: 50
DamageTypes: Prone50Percent, TriggerProne, SoundDeath
Warhead@2Dam: SpreadDamage
Range: 0, 32
Falloff: 50, 50 # Only does half damage to friendly units
Damage: 150
InvalidTargets: Sonictank # Does not affect friendly sonic tanks at all
AffectsParent: false
ValidStances: Ally
Versus:
wall: 50
building: 60
heavy: 60
invulnerable: 0
cy: 20
harvester: 50
DamageTypes: Prone50Percent, TriggerProne, SoundDeath
Warhead@3Eff: CreateEffect
ImpactSound: SONIC3.WAV
Delay: 10
Heal:
ReloadDelay: 160

View File

@@ -207,6 +207,8 @@ SONIC:
Queue: Vehicle
BuildPaletteOrder: 70
Prerequisites: ~gaweap, gatech
Targetable:
TargetTypes: Ground, Vehicle, Repair, Disruptor
Mobile:
ROT: 4
Speed: 56

View File

@@ -2,14 +2,35 @@ LtRail:
ReloadDelay: 60
Range: 6c0
Report: BIGGGUN1.AUD
Projectile: LaserZap
Speed: 1c682
BeamWidth: 1
BeamDuration: 10
Projectile: AreaBeam
Speed: 20c0
Duration: 3
DamageInterval: 2
Width: 0c128
BeyondTargetRange: 0c64
Blockable: true
Color: 0080FFC8
Warhead@1Dam: SpreadDamage
Spread: 42
Range: 0, 32
Falloff: 100, 100
Damage: 150
InfDeath: 6
AffectsParent: false
ValidStances: Neutral, Enemy
Versus:
None: 100
Wood: 130
Light: 150
Heavy: 110
Concrete: 5
DamageTypes: Prone100Percent, TriggerProne, SmallExplosionDeath
Warhead@2Dam: SpreadDamage
Range: 0, 32
Falloff: 50, 50 # Only does half damage to friendly units
Damage: 150
InfDeath: 6
AffectsParent: false
ValidStances: Ally
Versus:
None: 100
Wood: 130
@@ -24,9 +45,14 @@ MechRailgun:
Burst: 2 # for alternating muzzle offsets, dmg/s identical to original
BurstDelay: 60
Report: RAILUSE5.AUD
Projectile: LaserZap
Projectile: AreaBeam
Speed: 20c0
Duration: 3
DamageInterval: 2
Width: 0c128
BeyondTargetRange: 0c64
Blockable: true
Color: 00FFFFC8
BeamWidth: 3
Warhead@1Dam: SpreadDamage
Spread: 42
Damage: 200
@@ -39,21 +65,39 @@ MechRailgun:
DamageTypes: Prone100Percent, TriggerProne, FireDeath
SonicZap:
ReloadDelay: 120
ReloadDelay: 180
Range: 6c0
Charges: yes
Report: SONIC4.AUD
Projectile: LaserZap
Projectile: AreaBeam
Speed: 0c128
Duration: 90
DamageInterval: 5 # Roughly 18 impacts.
Width: 0c384
BeyondTargetRange: 0c256
Blockable: true
Color: 00FFFFC8
BeamWidth: 12
BeamDuration: 50
Warhead@1Dam: SpreadDamage
Spread: 42
Damage: 100
Range: 0, 32
Falloff: 100, 100
Damage: 8
AffectsParent: false
ValidStances: Neutral, Enemy
Versus:
Heavy: 80
Concrete: 60
DamageTypes: Prone50Percent, TriggerProne, FireDeath
DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath
Warhead@2Dam: SpreadDamage
Range: 0, 32
Falloff: 50, 50
Damage: 8
InvalidTargets: Disruptor # Does not affect friendly disruptors at all
AffectsParent: false
ValidStances: Ally
Versus:
Heavy: 80
Concrete: 60
DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath
CyCannon:
ReloadDelay: 50