Added audio feedback for firing and reloading
This commit is contained in:
parent
c5d2d9da0d
commit
936a9bccd2
BIN
Content/Legumix/Weapon/Revolver/BP_Revolver.uasset
(Stored with Git LFS)
BIN
Content/Legumix/Weapon/Revolver/BP_Revolver.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Legumix/Weapon/Shotgun/BP_Shotgun.uasset
(Stored with Git LFS)
BIN
Content/Legumix/Weapon/Shotgun/BP_Shotgun.uasset
(Stored with Git LFS)
Binary file not shown.
@ -17,7 +17,7 @@ void ALMRevolver::PrimaryFire()
|
|||||||
if (!Player)
|
if (!Player)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
PlaySound(FireSound);
|
PlaySound(FireSound, true);
|
||||||
PlayAnimation(PrimaryFireAnimation);
|
PlayAnimation(PrimaryFireAnimation);
|
||||||
|
|
||||||
const FVector Origin = Player->GetWeaponFiringOrigin();
|
const FVector Origin = Player->GetWeaponFiringOrigin();
|
||||||
|
@ -18,7 +18,7 @@ void ALMShotgun::PrimaryFire()
|
|||||||
if (!Player)
|
if (!Player)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
PlaySound(FireSound);
|
PlaySound(FireSound, true);
|
||||||
PlayAnimation(PrimaryFireAnimation);
|
PlayAnimation(PrimaryFireAnimation);
|
||||||
|
|
||||||
FVector Origin = Player->GetWeaponFiringOrigin();
|
FVector Origin = Player->GetWeaponFiringOrigin();
|
||||||
|
Reference in New Issue
Block a user