diff --git a/EndlessVendetta/Content/FirstPerson/Blueprints/BP_FirstPersonCharacter.uasset b/EndlessVendetta/Content/FirstPerson/Blueprints/BP_FirstPersonCharacter.uasset index 878519c3..5c5ae231 100644 --- a/EndlessVendetta/Content/FirstPerson/Blueprints/BP_FirstPersonCharacter.uasset +++ b/EndlessVendetta/Content/FirstPerson/Blueprints/BP_FirstPersonCharacter.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f377cbc17912b30552d21ef737c005fdb56653496dc5e04ca129810b0f7cf544 -size 853827 +oid sha256:6598750f3e0230b46fd64eadab3a59a34bfcd517f6f89767fb10af1e32034a6c +size 855791 diff --git a/EndlessVendetta/Content/FirstPerson/Blueprints/BP_MainCharacter.uasset b/EndlessVendetta/Content/FirstPerson/Blueprints/BP_MainCharacter.uasset index 765d07b3..902e4d2e 100644 --- a/EndlessVendetta/Content/FirstPerson/Blueprints/BP_MainCharacter.uasset +++ b/EndlessVendetta/Content/FirstPerson/Blueprints/BP_MainCharacter.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d36b158f701a6104069875b85b6c4fe3c05d5eaa8b8fc085a5fcc92793010fac -size 1621595 +oid sha256:bb16db2dfce90a941f6a5e92a9ae4d6f44507095a0daa573e22b145fb1f936b5 +size 1593270 diff --git a/EndlessVendetta/Content/FirstPerson/Blueprints/BaseWeapons/AssaultRifles/Assault_Rifle/Animations/Arms/FP_Rifle_Reload_Montage.uasset b/EndlessVendetta/Content/FirstPerson/Blueprints/BaseWeapons/AssaultRifles/Assault_Rifle/Animations/Arms/FP_Rifle_Reload_Montage.uasset index 38f6cace..a01e7d35 100644 --- a/EndlessVendetta/Content/FirstPerson/Blueprints/BaseWeapons/AssaultRifles/Assault_Rifle/Animations/Arms/FP_Rifle_Reload_Montage.uasset +++ b/EndlessVendetta/Content/FirstPerson/Blueprints/BaseWeapons/AssaultRifles/Assault_Rifle/Animations/Arms/FP_Rifle_Reload_Montage.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:265021c990e9b355dd065cbdbe3310c3eb5b0c67286ab78d4be0c82c5598e6e4 +oid sha256:6e22279302395f233b2c798980ada04ef5f5a6798d0832d672a3286555c91552 size 10192 diff --git a/EndlessVendetta/Content/FirstPerson/Blueprints/BaseWeapons/AssaultRifles/Assault_Rifle/Animations/Rifle/AssaultRifle_Anims_Reload.uasset b/EndlessVendetta/Content/FirstPerson/Blueprints/BaseWeapons/AssaultRifles/Assault_Rifle/Animations/Rifle/AssaultRifle_Anims_Reload.uasset index bab1e15d..8d4060c9 100644 --- a/EndlessVendetta/Content/FirstPerson/Blueprints/BaseWeapons/AssaultRifles/Assault_Rifle/Animations/Rifle/AssaultRifle_Anims_Reload.uasset +++ b/EndlessVendetta/Content/FirstPerson/Blueprints/BaseWeapons/AssaultRifles/Assault_Rifle/Animations/Rifle/AssaultRifle_Anims_Reload.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6dc960cb1ee3668f56b26778a2122ba1961c421cab1819698665f8f8f6550c2c -size 271592 +oid sha256:f085c2b96bc490ab1956d5794745331a7bc84b5d4669276aaad2634fa332f5bd +size 33908 diff --git a/EndlessVendetta/Content/FirstPerson/Blueprints/BaseWeapons/AssaultRifles/Assault_Rifle/BP_AssaultRifle.uasset b/EndlessVendetta/Content/FirstPerson/Blueprints/BaseWeapons/AssaultRifles/Assault_Rifle/BP_AssaultRifle.uasset index 30beff45..423d22a5 100644 --- a/EndlessVendetta/Content/FirstPerson/Blueprints/BaseWeapons/AssaultRifles/Assault_Rifle/BP_AssaultRifle.uasset +++ b/EndlessVendetta/Content/FirstPerson/Blueprints/BaseWeapons/AssaultRifles/Assault_Rifle/BP_AssaultRifle.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4b1d08215ff193ef0bc4949423e0301d2a64506e039b7b11015e0ab2a0269175 -size 146510 +oid sha256:5b86e89395e8516d6bc4007084f4c04f231b30b48e411258b3b0629f6ead1f71 +size 146164 diff --git a/EndlessVendetta/Content/FirstPerson/Blueprints/BaseWeapons/Pistols/AnimatedPistol/ArmsAnimations/ABP_Arms.uasset b/EndlessVendetta/Content/FirstPerson/Blueprints/BaseWeapons/Pistols/AnimatedPistol/ArmsAnimations/ABP_Arms.uasset index 510c52cd..a1259493 100644 --- a/EndlessVendetta/Content/FirstPerson/Blueprints/BaseWeapons/Pistols/AnimatedPistol/ArmsAnimations/ABP_Arms.uasset +++ b/EndlessVendetta/Content/FirstPerson/Blueprints/BaseWeapons/Pistols/AnimatedPistol/ArmsAnimations/ABP_Arms.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b7122ccd26a3ff4b9b55825c94ecfcbd1c2f0c9cb27bb57b83d70b7c5391cf77 -size 424792 +oid sha256:950d05b4775e7f472dfbbc912757292db35cba787d326dba3f25b2b189748f38 +size 430641 diff --git a/EndlessVendetta/Content/FirstPerson/Blueprints/BaseWeapons/Pistols/Pistol_Assets/BP_HandGun_Projectile.uasset b/EndlessVendetta/Content/FirstPerson/Blueprints/BaseWeapons/Pistols/Pistol_Assets/BP_HandGun_Projectile.uasset index e2462b4d..43e62eed 100644 --- a/EndlessVendetta/Content/FirstPerson/Blueprints/BaseWeapons/Pistols/Pistol_Assets/BP_HandGun_Projectile.uasset +++ b/EndlessVendetta/Content/FirstPerson/Blueprints/BaseWeapons/Pistols/Pistol_Assets/BP_HandGun_Projectile.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:22e3a43db9a4e236a445dac48ec1a74ce7859ee1ac0fd50d7215912cab06514e -size 92131 +oid sha256:6b599f7add7a160c01e7800a4c556bbdc21ed3025443f8c01376b07b57e5c8da +size 95047 diff --git a/EndlessVendetta/Content/FirstPerson/Blueprints/WBP_Crosshair.uasset b/EndlessVendetta/Content/FirstPerson/Blueprints/WBP_Crosshair.uasset index 7fb4e960..2675c47c 100644 --- a/EndlessVendetta/Content/FirstPerson/Blueprints/WBP_Crosshair.uasset +++ b/EndlessVendetta/Content/FirstPerson/Blueprints/WBP_Crosshair.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a6fa70ec527ae07c0f2af76d40ce714aa3b3bf6f367dbed5b23b3919bd1bbb0d -size 222225 +oid sha256:3d25222e0cb52c771f26f91d07f63e43b1689f61cce94be23150b2936d222e3b +size 240191 diff --git a/EndlessVendetta/Content/FirstPersonArms/Character/Mesh/SK_Mannequin_Arms_Skeleton.uasset b/EndlessVendetta/Content/FirstPersonArms/Character/Mesh/SK_Mannequin_Arms_Skeleton.uasset index 36e8f689..1de59575 100644 --- a/EndlessVendetta/Content/FirstPersonArms/Character/Mesh/SK_Mannequin_Arms_Skeleton.uasset +++ b/EndlessVendetta/Content/FirstPersonArms/Character/Mesh/SK_Mannequin_Arms_Skeleton.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:139c9f278e15595ea0d436b333d315c729f4b2473db2dff4b643151f5492794f -size 24002 +oid sha256:b5ad25afb09b20f85b5ed2ba1993ee52d442cbd2541171db23e3fe02b6ca73f2 +size 24105 diff --git a/EndlessVendetta/Content/__ExternalActors__/Levels/MovementTest/D/OU/O2HH4HR7YM08QPG8R3YF3R.uasset b/EndlessVendetta/Content/__ExternalActors__/Levels/MovementTest/D/OU/O2HH4HR7YM08QPG8R3YF3R.uasset index f287ac72..57c781f0 100644 --- a/EndlessVendetta/Content/__ExternalActors__/Levels/MovementTest/D/OU/O2HH4HR7YM08QPG8R3YF3R.uasset +++ b/EndlessVendetta/Content/__ExternalActors__/Levels/MovementTest/D/OU/O2HH4HR7YM08QPG8R3YF3R.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6d0cbafab0a0302236982c6bf2541fa4df78ba03c7fdb0bfae5fab0485a4ffb2 -size 6680 +oid sha256:4d275b234c79aa804e8361c3d01478a13d0d7c10750d2932972bc368b96c5b76 +size 6603 diff --git a/EndlessVendetta/Source/EndlessVendetta/EndlessVendettaCharacter.cpp b/EndlessVendetta/Source/EndlessVendetta/EndlessVendettaCharacter.cpp index 8efec37a..e7316d1a 100644 --- a/EndlessVendetta/Source/EndlessVendetta/EndlessVendettaCharacter.cpp +++ b/EndlessVendetta/Source/EndlessVendetta/EndlessVendettaCharacter.cpp @@ -108,6 +108,7 @@ void AEndlessVendettaCharacter::ReloadAnimationComplete() { if (IsValid(PrimaryWeapon)) { + if (!bIsReloading) return; PrimaryWeapon->WeaponReload(); } if (IsValid(SecondaryWeapon)) @@ -760,7 +761,8 @@ void AEndlessVendettaCharacter::GunReload() if (IsValid(PrimaryWeapon)) { if (PrimaryWeapon->currentAmmoCount == PrimaryWeapon->MagazineSize) return; - PrimaryWeapon->ReloadTimer(); + StartReload.Broadcast(); + //PrimaryWeapon->ReloadTimer(); bIsReloading = true; } else if (IsValid(SecondaryWeapon)) @@ -889,7 +891,7 @@ bool AEndlessVendettaCharacter::UpdateGadgetType(TSubclassOf NewGad if (NewGadgetClass.GetDefaultObject()->IsA(AReconGadget::StaticClass())) ToggleRecon(); else if (NewGadgetClass.GetDefaultObject()->IsA(ACombatGadget::StaticClass())) ToggleCombat(); - + return true; } diff --git a/EndlessVendetta/Source/EndlessVendetta/WeaponSystem/BaseWeaponClass.cpp b/EndlessVendetta/Source/EndlessVendetta/WeaponSystem/BaseWeaponClass.cpp index 69a8497a..05707c3e 100644 --- a/EndlessVendetta/Source/EndlessVendetta/WeaponSystem/BaseWeaponClass.cpp +++ b/EndlessVendetta/Source/EndlessVendetta/WeaponSystem/BaseWeaponClass.cpp @@ -200,7 +200,8 @@ void ABaseWeaponClass::Fire() GetWorld()->LineTraceSingleByObjectType(outHit, traceStart, traceEnd, ObjectQueryParams, collisionParams); WeaponFired.Broadcast(); playerControllerRef->PlayerCameraManager->StartCameraShake(CameraShakeClass, 1); - endlessVendettaChar->PawnNoiseEmitterComp->MakeNoise(endlessVendettaChar, 1, traceStart); //LITERALLY CHANGE THIS FOR SUPPRESSOR AND IT SHOULD WORK LOL + endlessVendettaChar->PawnNoiseEmitterComp->MakeNoise(endlessVendettaChar, 1, traceStart); + //LITERALLY CHANGE THIS FOR SUPPRESSOR AND IT SHOULD WORK LOL currentAmmoCount -= 1; GenerateRecoilVector(); ClickDetectionTimer();