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

@@ -106,6 +106,7 @@ TurretGun:
Inherits: ^Artillery
MinRange: 3c0
Report: tank5.aud
TargetActorCenter: true
Projectile: Bullet
ContrailLength: 30
@@ -116,6 +117,7 @@ TurretGun:
Range: 16c0
Burst: 2
Report: turret1.aud
TargetActorCenter: true
Projectile: Bullet
Inaccuracy: 2c938
ContrailLength: 30

View File

@@ -295,6 +295,7 @@ TorpTube:
SubMissile:
Inherits: ^SubMissileDefault
Range: 16c0
TargetActorCenter: true
-Projectile:
Projectile: Bullet
Speed: 162