Walkers detect vehicles while walking.
Improvements in the settings
This commit is contained in:
parent
1529a5a5f6
commit
fa436b1fb8
|
@ -14,24 +14,24 @@ TransitionMap=/Game/Maps/Town01.Town01
|
|||
|
||||
[/Script/Engine.RendererSettings]
|
||||
r.DefaultFeature.MotionBlur=False
|
||||
r.AllowStaticLighting=False
|
||||
r.AllowStaticLighting=True
|
||||
r.DiscardUnusedQuality=True
|
||||
r.DefaultFeature.Bloom=False
|
||||
r.DefaultFeature.AmbientOcclusion=False
|
||||
r.DefaultFeature.AmbientOcclusion=True
|
||||
r.DefaultFeature.AmbientOcclusion=0
|
||||
r.AmbientOcclusionLevels=0
|
||||
r.DefaultFeature.AmbientOcclusionStaticFraction=False
|
||||
r.DefaultFeature.AutoExposure=False
|
||||
r.DefaultFeature.AmbientOcclusionStaticFraction=0
|
||||
r.DefaultFeature.AutoExposure=0
|
||||
r.CustomDepth=3
|
||||
r.RHICmdBypass=0
|
||||
r.DefaultFeature.AntiAliasing=2
|
||||
r.Streaming.PoolSize=2000
|
||||
r.HZBOcclusion=0
|
||||
r.EarlyZPass=2
|
||||
r.EarlyZPassMovable=1
|
||||
r.MinScreenRadiusForLights=0.01
|
||||
r.SeparateTranslucency=0
|
||||
r.FinishCurrentFrame=1
|
||||
r.MotionBlurQuality=0
|
||||
r.PostProcessAAQuality=3
|
||||
r.PostProcessAAQuality=1
|
||||
r.BloomQuality=1
|
||||
r.SSR.Quality=0
|
||||
r.DepthOfFieldQuality=0
|
||||
|
@ -43,10 +43,13 @@ r.LensFlareQuality=0
|
|||
r.SceneColorFringeQuality=0
|
||||
r.FastBlurThreshold=0
|
||||
r.SSR.MaxRoughness=0.1
|
||||
r.AllowOcclusionQueries=True
|
||||
r.AllowOcclusionQueries=1
|
||||
r.SSR=0
|
||||
r.StencilForLODDither=True
|
||||
r.EarlyZPassOnlyMaterialMasking=True
|
||||
r.StencilForLODDither=1
|
||||
r.EarlyZPass=1
|
||||
r.EarlyZPassMovable=1
|
||||
r.Foliage.DitheredLOD=0
|
||||
r.ForwardShading=False
|
||||
|
||||
[/Script/AIModule.AISense_Sight]
|
||||
bAutoRegisterAllPawnsAsSources=False
|
||||
|
|
|
@ -224,6 +224,12 @@ void AWalkerAIController::SenseActors(const TArray<AActor *> Actors)
|
|||
}
|
||||
}
|
||||
|
||||
void AWalkerAIController::TrySetMovement(bool paused)
|
||||
{
|
||||
if(paused) TryPauseMovement(false);
|
||||
else TryResumeMovement();
|
||||
}
|
||||
|
||||
void AWalkerAIController::TryResumeMovement()
|
||||
{
|
||||
if (Status != EWalkerStatus::Moving) {
|
||||
|
|
|
@ -41,6 +41,7 @@ public:
|
|||
|
||||
virtual void OnMoveCompleted(FAIRequestID RequestID, const FPathFollowingResult &Result) override;
|
||||
|
||||
|
||||
UFUNCTION(BlueprintCallable)
|
||||
void SenseActors(TArray<AActor *> Actors);
|
||||
|
||||
|
@ -49,6 +50,9 @@ public:
|
|||
return Status;
|
||||
}
|
||||
|
||||
UFUNCTION(BlueprintCallable)
|
||||
void TrySetMovement(bool paused);
|
||||
|
||||
private:
|
||||
|
||||
void TryResumeMovement();
|
||||
|
@ -63,4 +67,5 @@ private:
|
|||
|
||||
UPROPERTY(VisibleAnywhere)
|
||||
EWalkerStatus Status = EWalkerStatus::Unknown;
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue