diff --git a/mods/cnc/bits/gunfire2.shp b/mods/cnc/bits/gunfire2.shp new file mode 100644 index 0000000000..c9facaf847 Binary files /dev/null and b/mods/cnc/bits/gunfire2.shp differ diff --git a/mods/cnc/rules/structures.yaml b/mods/cnc/rules/structures.yaml index e9ec07d07a..a17bacf5d4 100644 --- a/mods/cnc/rules/structures.yaml +++ b/mods/cnc/rules/structures.yaml @@ -536,6 +536,7 @@ GUN: Weapon: TurretGun LocalOffset: -71,0,85 AttackTurreted: + WithMuzzleFlash: AutoTarget: -RenderBuilding: -DeadBuildingState: @@ -690,6 +691,7 @@ ATWR: LocalOffset: 299,299,-85, 299,-299,-85 LocalYaw: -100,100 AttackTurreted: + WithMuzzleFlash: AutoTarget: BodyOrientation: QuantizedFacings: 8 diff --git a/mods/cnc/rules/vehicles.yaml b/mods/cnc/rules/vehicles.yaml index 0bf9367734..09acf1e0b0 100644 --- a/mods/cnc/rules/vehicles.yaml +++ b/mods/cnc/rules/vehicles.yaml @@ -151,6 +151,7 @@ ARTY: Weapon: ArtilleryShell LocalOffset: 299, 0, 128 AttackFrontal: + WithMuzzleFlash: RenderUnit: Explodes: Weapon: UnitExplode @@ -329,6 +330,7 @@ LTNK: RecoilRecovery: 17 LocalOffset: -128,0,85 AttackTurreted: + WithMuzzleFlash: RenderUnit: WithTurret: AutoTarget: @@ -366,6 +368,7 @@ MTNK: RecoilRecovery: 26 LocalOffset: 0,0,43 AttackTurreted: + WithMuzzleFlash: RenderUnit: WithTurret: AutoTarget: @@ -413,6 +416,7 @@ HTNK: LocalYaw: -100, 100 Recoil: 42 AttackTurreted: + WithMuzzleFlash@PRIMARY: RenderUnit: WithTurret: AutoTarget: diff --git a/mods/cnc/sequences/structures.yaml b/mods/cnc/sequences/structures.yaml index e1f52bbf02..91cc44e92f 100644 --- a/mods/cnc/sequences/structures.yaml +++ b/mods/cnc/sequences/structures.yaml @@ -338,6 +338,9 @@ gun: Start: 0 Length: * Tick: 80 + muzzle: gunfire2 + Start: 0 + Length: * sam: closed-idle: @@ -403,4 +406,7 @@ atwr: Start: 0 Length: * Tick: 80 + muzzle: gunfire2 + Start: 0 + Length: * diff --git a/mods/cnc/sequences/vehicles.yaml b/mods/cnc/sequences/vehicles.yaml index a165518150..fe19d9b4e7 100644 --- a/mods/cnc/sequences/vehicles.yaml +++ b/mods/cnc/sequences/vehicles.yaml @@ -87,6 +87,9 @@ mtnk: turret: Start: 32 Facings: 32 + muzzle: gunfire2 + Start: 0 + Length: * ltnk: idle: @@ -95,6 +98,9 @@ ltnk: turret: Start: 32 Facings: 32 + muzzle: gunfire2 + Start: 0 + Length: * htnk: idle: @@ -103,6 +109,9 @@ htnk: turret: Start: 32 Facings: 32 + muzzle: gunfire2 + Start: 0 + Length: * jeep: idle: @@ -175,6 +184,9 @@ arty: idle: Start: 0 Facings: 32 + muzzle: gunfire2 + Start: 0 + Length: * apc: idle: