diff --git a/Config/DefaultEngine.ini b/Config/DefaultEngine.ini index d05e43c..0c9d704 100644 --- a/Config/DefaultEngine.ini +++ b/Config/DefaultEngine.ini @@ -46,13 +46,13 @@ bUseManualIPAddress=False ManualIPAddress= [/Script/Engine.GameEngine] -+NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="OnlineSubsystemEOS.NetDriverEOS",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver") ++NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver") [OnlineSubsystem] -DefaultPlatformService=EOS +DefaultPlatformService=Steam [OnlineSubsystemSteam] -bEnabled=false +bEnabled=true SteamDevAppId=480 bInitServerOnClient=true @@ -60,7 +60,7 @@ bInitServerOnClient=true NetConnectionClassName="OnlineSubsystemSteam.SteamNetConnection" [OnlineSubsystemEOS] -bEnabled=true +bEnabled=false [/Script/OnlineSubsystemEOS.NetDriverEOS] bIsUsingP2PSockets=true @@ -106,6 +106,7 @@ NetServerMaxTickRate=120 +Profiles=(Name="Vehicle",CollisionEnabled=QueryAndPhysics,bCanModify=False,ObjectTypeName="Vehicle",CustomResponses=,HelpMessage="Vehicle object that blocks Vehicle, WorldStatic, and WorldDynamic. All other channels will be set to default.") +Profiles=(Name="UI",CollisionEnabled=QueryOnly,bCanModify=False,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="WorldStatic",Response=ECR_Overlap),(Channel="Pawn",Response=ECR_Overlap),(Channel="Visibility"),(Channel="WorldDynamic",Response=ECR_Overlap),(Channel="Camera",Response=ECR_Overlap),(Channel="PhysicsBody",Response=ECR_Overlap),(Channel="Vehicle",Response=ECR_Overlap),(Channel="Destructible",Response=ECR_Overlap)),HelpMessage="WorldStatic object that overlaps all actors by default. All new custom channels will use its own default response. ") +DefaultChannelResponses=(Channel=ECC_GameTraceChannel1,DefaultResponse=ECR_Block,bTraceType=False,bStaticObject=False,Name="SkeletalMesh") ++DefaultChannelResponses=(Channel=ECC_GameTraceChannel2,DefaultResponse=ECR_Ignore,bTraceType=False,bStaticObject=False,Name="HitBox") -ProfileRedirects=(OldName="BlockingVolume",NewName="InvisibleWall") -ProfileRedirects=(OldName="InterpActor",NewName="IgnoreOnlyPawn") -ProfileRedirects=(OldName="StaticMeshComponent",NewName="BlockAllDynamic") @@ -144,3 +145,5 @@ bMirrorPresenceToEAS=False bSubstepping=True MaxSubstepDeltaTime=0.008000 +[PacketSimulationSettings] +PktLag = 0 diff --git a/Content/Blueprints/Character/Animation/Swap.uasset b/Content/Blueprints/Character/Animation/Swap.uasset index 2b42c82..54c89e6 100644 Binary files a/Content/Blueprints/Character/Animation/Swap.uasset and b/Content/Blueprints/Character/Animation/Swap.uasset differ diff --git a/Source/Blaster/Weapon/HitScanWeapon.cpp b/Source/Blaster/Weapon/HitScanWeapon.cpp index bf13831..e1dd7b9 100644 --- a/Source/Blaster/Weapon/HitScanWeapon.cpp +++ b/Source/Blaster/Weapon/HitScanWeapon.cpp @@ -112,7 +112,7 @@ void AHitScanWeapon::WeaponTraceHit(const FVector& TraceStart, const FVector& Hi BeamEnd = OutHit.ImpactPoint; } - DrawDebugSphere(GetWorld(), BeamEnd, 16.f, 12, FColor::Orange, true); + // DrawDebugSphere(GetWorld(), BeamEnd, 16.f, 12, FColor::Orange, true); if (BeamParticles) {