Adds muzzle flash to all vehicles and ships with cannons.

Muzzle animation is a customized version of the original gunfire.shp. Not using all frames for light tank, flak truck and flak cannon is intentional.
This commit is contained in:
reaperrr
2013-08-04 18:27:10 +02:00
parent f10e4a562e
commit 78b4f17baf
7 changed files with 50 additions and 0 deletions

BIN
mods/ra/bits/gunfire2.shp Normal file

Binary file not shown.

View File

@@ -174,12 +174,16 @@ CA:
Recoil: 171 Recoil: 171
RecoilRecovery: 34 RecoilRecovery: 34
Armament@SECONDARY: Armament@SECONDARY:
Name: secondary
Turret: secondary Turret: secondary
Weapon: 8Inch Weapon: 8Inch
LocalOffset: 213,-171,0, 213,171,0 LocalOffset: 213,-171,0, 213,171,0
Recoil: 171 Recoil: 171
RecoilRecovery: 34 RecoilRecovery: 34
AttackTurreted: AttackTurreted:
WithMuzzleFlash@PRIMARY:
WithMuzzleFlash@SECONDARY:
Armament: secondary
Selectable: Selectable:
Bounds: 44,44 Bounds: 44,44
RenderUnit: RenderUnit:
@@ -253,6 +257,7 @@ PT:
Armament@SECONDARY: Armament@SECONDARY:
Weapon: DepthCharge Weapon: DepthCharge
AttackTurreted: AttackTurreted:
WithMuzzleFlash@PRIMARY:
Selectable: Selectable:
Bounds: 32,32 Bounds: 32,32
RenderUnit: RenderUnit:

View File

@@ -336,8 +336,12 @@ AGUN:
Armament@PRIMARY: Armament@PRIMARY:
Weapon: ZSU-23 Weapon: ZSU-23
Armament@SECONDARY: Armament@SECONDARY:
Name: secondary
Weapon: ZSU-23 Weapon: ZSU-23
AttackTurreted: AttackTurreted:
WithMuzzleFlash@PRIMARY:
WithMuzzleFlash@SECONDARY:
Armament: secondary
AutoTarget: AutoTarget:
IronCurtainable: IronCurtainable:
-RenderBuilding: -RenderBuilding:
@@ -733,6 +737,7 @@ GUN:
Armament: Armament:
Weapon: TurretGun Weapon: TurretGun
AttackTurreted: AttackTurreted:
WithMuzzleFlash:
AutoTarget: AutoTarget:
IronCurtainable: IronCurtainable:
-RenderBuilding: -RenderBuilding:

View File

@@ -55,6 +55,7 @@ V2RL:
Recoil: 85 Recoil: 85
RecoilRecovery: 25 RecoilRecovery: 25
AttackTurreted: AttackTurreted:
WithMuzzleFlash:
RenderUnit: RenderUnit:
WithTurret: WithTurret:
AutoTarget: AutoTarget:
@@ -93,6 +94,7 @@ V2RL:
Recoil: 128 Recoil: 128
RecoilRecovery: 38 RecoilRecovery: 38
AttackTurreted: AttackTurreted:
WithMuzzleFlash:
RenderUnit: RenderUnit:
WithTurret: WithTurret:
AutoTarget: AutoTarget:
@@ -134,6 +136,7 @@ V2RL:
RecoilRecovery: 38 RecoilRecovery: 38
LocalOffset: 0,85,0, 0,-85,0 LocalOffset: 0,85,0, 0,-85,0
AttackTurreted: AttackTurreted:
WithMuzzleFlash:
RenderUnit: RenderUnit:
WithTurret: WithTurret:
AutoTarget: AutoTarget:
@@ -177,11 +180,13 @@ V2RL:
Recoil: 171 Recoil: 171
RecoilRecovery: 30 RecoilRecovery: 30
Armament@SECONDARY: Armament@SECONDARY:
Name: secondary
Weapon: MammothTusk Weapon: MammothTusk
LocalOffset: -85,384,340, -85,-384,340 LocalOffset: -85,384,340, -85,-384,340
LocalYaw: -100,100 LocalYaw: -100,100
Recoil: 43 Recoil: 43
AttackTurreted: AttackTurreted:
WithMuzzleFlash@PRIMARY:
RenderUnit: RenderUnit:
WithTurret: WithTurret:
AutoTarget: AutoTarget:
@@ -223,6 +228,7 @@ ARTY:
Armament: Armament:
Weapon: 155mm Weapon: 155mm
AttackFrontal: AttackFrontal:
WithMuzzleFlash:
RenderUnit: RenderUnit:
Explodes: Explodes:
Weapon: UnitExplode Weapon: UnitExplode
@@ -675,6 +681,7 @@ FTRK:
Weapon: FLAK-23 Weapon: FLAK-23
Recoil: 85 Recoil: 85
AttackTurreted: AttackTurreted:
WithMuzzleFlash:
RenderUnit: RenderUnit:
WithTurret: WithTurret:
AutoTarget: AutoTarget:

View File

@@ -10,6 +10,9 @@ ca:
turret: turr turret: turr
Start: 0 Start: 0
Facings: 32 Facings: 32
muzzle: gunfire2
Start: 0
Length: 5
dd: dd:
idle: idle:
@@ -26,6 +29,9 @@ pt:
turret: mgun turret: mgun
Start: 0 Start: 0
Facings: 32 Facings: 32
muzzle: gunfire2
Start: 0
Length: 5
lst: lst:
idle: idle:

View File

@@ -263,6 +263,9 @@ gun:
damaged-recoil: damaged-recoil:
Start: 96 Start: 96
Facings: 32 Facings: 32
muzzle: gunfire2
Start: 0
Length: 5
agun: agun:
idle: idle:
@@ -280,6 +283,9 @@ agun:
damaged-recoil: damaged-recoil:
Start: 96 Start: 96
Facings: 32 Facings: 32
muzzle: gunfire2
Start: 1
Length: 4
sam: sam:
idle: idle:

View File

@@ -75,6 +75,9 @@ hhusk2:
turret: turret:
Start: 32 Start: 32
Facings: 32 Facings: 32
muzzle: gunfire2
Start: 0
Length: 2
2tnk: 2tnk:
idle: idle:
@@ -83,6 +86,9 @@ hhusk2:
turret: turret:
Start: 32 Start: 32
Facings: 32 Facings: 32
muzzle: gunfire2
Start: 0
Length: 5
3tnk: 3tnk:
idle: idle:
@@ -91,6 +97,9 @@ hhusk2:
turret: turret:
Start: 32 Start: 32
Facings: 32 Facings: 32
muzzle: gunfire2
Start: 0
Length: 5
4tnk: 4tnk:
idle: idle:
@@ -99,6 +108,9 @@ hhusk2:
turret: turret:
Start: 32 Start: 32
Facings: 32 Facings: 32
muzzle: gunfire2
Start: 0
Length: 5
v2rl: v2rl:
idle: idle:
@@ -118,6 +130,9 @@ arty:
idle: idle:
Start: 0 Start: 0
Facings: 32 Facings: 32
muzzle: gunfire2
Start: 0
Length: 5
jeep: jeep:
idle: idle:
@@ -187,6 +202,9 @@ ftrk:
turret: turret:
Start: 32 Start: 32
Facings: 32 Facings: 32
muzzle: gunfire2
Start: 0
Length: 2
dtrk: dtrk:
idle: idle:
@@ -197,3 +215,6 @@ ctnk:
idle: idle:
Start: 0 Start: 0
Facings: 32 Facings: 32
muzzle: gunfire2
Start: 0
Length: 5