Use strafing for RA Yak

This is done by modifying the target offset by a value matching the Yak's
speed * BurstDelay, to sync the offsets with the actor speed.
This commit is contained in:
reaperrr
2017-06-17 16:33:01 +02:00
committed by abcdefg30
parent afa8d3522c
commit 6212b82f6d
2 changed files with 14 additions and 6 deletions

View File

@@ -164,12 +164,12 @@ YAK:
Range: 9c0 Range: 9c0
Type: GroundPosition Type: GroundPosition
Armament@PRIMARY: Armament@PRIMARY:
Weapon: ChainGun.Yak Weapon: ChainGun.Yak.Left
LocalOffset: 256,-213,0 LocalOffset: 256,-213,0
MuzzleSequence: muzzle MuzzleSequence: muzzle
Armament@SECONDARY: Armament@SECONDARY:
Name: secondary Name: secondary
Weapon: ChainGun.Yak Weapon: ChainGun.Yak.Right
LocalOffset: 256,213,0 LocalOffset: 256,213,0
MuzzleSequence: muzzle MuzzleSequence: muzzle
AttackPlane: AttackPlane:

View File

@@ -201,16 +201,24 @@ ChainGun:
Versus: Versus:
None: 120 None: 120
ChainGun.Yak: ChainGun.Yak.Right:
Inherits: ^HeavyMG Inherits: ^HeavyMG
ReloadDelay: 3 Burst: 5
Range: 5c0 FirstBurstTargetOffset: -684,213,0
MinRange: 3c0 FollowingBurstTargetOffset: 342,0,0
BurstDelay: 2
ReloadDelay: 10
Range: 5c6
MinRange: 3c420
Projectile: Bullet Projectile: Bullet
Blockable: false Blockable: false
Warhead@1Dam: SpreadDamage Warhead@1Dam: SpreadDamage
Damage: 40 Damage: 40
ChainGun.Yak.Left:
Inherits: ChainGun.Yak.Right
FirstBurstTargetOffset: -684,-213,0
Pistol: Pistol:
Inherits: ^LightMG Inherits: ^LightMG
ReloadDelay: 7 ReloadDelay: 7