Simplify weapon yaml definitions

This commit is contained in:
Gustas
2023-02-17 21:57:50 +02:00
committed by Matthias Mailänder
parent 4dec79a5fb
commit d77fd5c13e
10 changed files with 23 additions and 49 deletions

View File

@@ -164,15 +164,9 @@ YAK:
RevealsShroud@GAPGEN:
Range: 9c0
Type: GroundPosition
Armament@PRIMARY:
Armament:
Weapon: ChainGun.Yak
LocalOffset: 256,-213,0
MuzzleSequence: muzzle
PauseOnCondition: !ammo
Armament@SECONDARY:
Name: secondary
Weapon: ChainGun.Yak
LocalOffset: 256,213,0
LocalOffset: 256,-213,0, 256,213,0
MuzzleSequence: muzzle
PauseOnCondition: !ammo
AttackAircraft:
@@ -383,17 +377,11 @@ HIND:
RevealsShroud@GAPGEN:
Range: 8c0
Type: GroundPosition
Armament@PRIMARY:
Armament:
Weapon: ChainGun
LocalOffset: 85,-213,-85, 85,213,-85
MuzzleSequence: muzzle
PauseOnCondition: !ammo
Armament@SECONDARY:
Name: secondary
Weapon: ChainGun
LocalOffset: 85,213,-85, 85,-213,-85
MuzzleSequence: muzzle
PauseOnCondition: !ammo
AttackAircraft:
FacingTolerance: 80
PersistentTargeting: false
@@ -507,17 +495,11 @@ MH60:
RevealsShroud@GAPGEN:
Range: 8c0
Type: GroundPosition
Armament@PRIMARY:
Armament:
Weapon: ChainGun
LocalOffset: 85,-213,-85, 85,213,-85
MuzzleSequence: muzzle
PauseOnCondition: !ammo
Armament@SECONDARY:
Name: secondary
Weapon: ChainGun
LocalOffset: 85,213,-85, 85,-213,-85
MuzzleSequence: muzzle
PauseOnCondition: !ammo
AttackAircraft:
FacingTolerance: 80
PersistentTargeting: false

View File

@@ -427,9 +427,6 @@ E7:
Armament@PRIMARY:
Weapon: Colt45
LocalOffset: 0,0,0, 0,0,0
Armament@SECONDARY:
Weapon: Colt45
LocalOffset: 0,0,0, 0,0,0
Armament@GARRISONED:
Name: garrisoned
Weapon: Colt45

View File

@@ -771,7 +771,7 @@ DTRK:
DamageSource: Killer
AttackFrontal:
FacingTolerance: 512
Armament@PRIMARY:
Armament:
Weapon: DemoTruckTargeting
GrantConditionOnAttack:
Condition: triggered
@@ -812,14 +812,10 @@ CTNK:
RevealGeneratedShroud: False
RevealsShroud@GAPGEN:
Range: 4c0
Armament@PRIMARY:
Armament:
Weapon: APTusk
LocalOffset: -160,-276,232
LocalYaw: 60
Armament@SECONDARY:
Weapon: APTusk
LocalOffset: -160,276,232
LocalYaw: -60
LocalOffset: -160,-276,232, -160,276,232
LocalYaw: 60, -60
AttackFrontal:
FacingTolerance: 0
PortableChrono: