DRG-Femboy-Voice/Source/FSD/Private/LMGGuntoweModule.cpp
2025-04-15 12:39:31 -07:00

36 lines
1.3 KiB
C++
Executable file

#include "LMGGuntoweModule.h"
#include "Components/AudioComponent.h"
#include "Components/SceneComponent.h"
#include "DamageComponent.h"
#include "HitscanComponent.h"
#include "Net/UnrealNetwork.h"
void ALMGGuntoweModule::ShowShot(const FVector& Location) {
}
void ALMGGuntoweModule::OnRep_IsFiresoundPlaying() {
}
void ALMGGuntoweModule::GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeProps) const {
Super::GetLifetimeReplicatedProps(OutLifetimeProps);
DOREPLIFETIME(ALMGGuntoweModule, IsFiresoundPlaying);
}
ALMGGuntoweModule::ALMGGuntoweModule() {
this->HitScanComp = CreateDefaultSubobject<UHitscanComponent>(TEXT("HitComponent"));
this->DamageComp = CreateDefaultSubobject<UDamageComponent>(TEXT("DMGComponent"));
this->AimAtWhenNoTarget = CreateDefaultSubobject<USceneComponent>(TEXT("AimAtWhenNoTarget"));
this->FireAudio = CreateDefaultSubobject<UAudioComponent>(TEXT("FiringAudioComponent"));
this->TracerEffect = NULL;
this->MuzzleEffect = NULL;
this->ShootTailSound = NULL;
this->BurstSize = 8;
this->MaxAimOffset = 300.00f;
this->IdleAimRotationSpeed = 10.00f;
this->TimeBetweenShots = 0.25f;
this->TimeBetweenBursts = 1.00f;
this->AimSpeed = 3.00f;
this->IsFiresoundPlaying = false;
}