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
RecoilRecovery: 34
Armament@SECONDARY:
Name: secondary
Turret: secondary
Weapon: 8Inch
LocalOffset: 213,-171,0, 213,171,0
Recoil: 171
RecoilRecovery: 34
AttackTurreted:
WithMuzzleFlash@PRIMARY:
WithMuzzleFlash@SECONDARY:
Armament: secondary
Selectable:
Bounds: 44,44
RenderUnit:
@@ -253,6 +257,7 @@ PT:
Armament@SECONDARY:
Weapon: DepthCharge
AttackTurreted:
WithMuzzleFlash@PRIMARY:
Selectable:
Bounds: 32,32
RenderUnit:

View File

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

View File

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

View File

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

View File

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

View File

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