Introduce Weapon.TargetActorCenter and adapt projectiles

This also fixes issues with attackers that don't have their own Attack
trait.
This commit is contained in:
reaperrr
2017-06-18 22:27:27 +02:00
committed by Paul Chote
parent 6b3c04a584
commit edffaa4987
15 changed files with 20 additions and 31 deletions

View File

@@ -98,6 +98,7 @@ RPGTower:
Inherits: ^ArtilleryWeapon
ReloadDelay: 110
Range: 18c0
TargetActorCenter: true
Projectile: Bullet
Speed: 384
LaunchAngle: 165
@@ -117,6 +118,7 @@ Jugg90mm:
BurstDelay: 3
-Report:
StartBurstReport: jugger1.aud
TargetActorCenter: true
Projectile: Bullet
Speed: 384
LaunchAngle: 165

View File

@@ -200,8 +200,8 @@ TurretLaserFire:
Damage: 30
LaserFence:
TargetActorCenter: true
Projectile: InstantHit
TargetCenterPosition: true
Warhead@1Dam: TargetDamage
DebugOverlayColor: FF0000
Damage: 99999

View File

@@ -3,8 +3,8 @@
Range: 2c849
Report: healer1.aud
ValidTargets: Infantry
TargetActorCenter: true
Projectile: InstantHit
TargetCenterPosition: true
Warhead@1Dam: TargetDamage
DebugOverlayColor: 00FF00
Damage: -50

View File

@@ -28,6 +28,7 @@ Bomb:
Burst: 5
BurstDelay: 6
Range: 2c512
TargetActorCenter: true
Projectile: GravityBomb
Velocity: 72, 0, -90
Acceleration: 0, 0, -8