G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FPerceptionSightSettings Struct Reference

Public Member Functions

Functions
void SetFarRangeFractionModifier (float32 Modifier)
void SetCloseRangeFractionDistance (float32 Distance)
void SetCloseRangeFractionModifier (float32 Modifier)
void SetFarRangeFraction (float32 Distance, float32 DistanceModifier)
void SetFarRangeFractionDistance (float32 Distance)
void SetCloseRangeFraction (float32 Distance, float32 DistanceModifier)
void SetMidRangeFraction (float32 Distance, float32 DistanceModifier)
void SetMidRangeFractionDistance (float32 Distance)
void SetMidRangeFractionModifier (float32 Modifier)
void SetWeatherModifier (float32 RainLevel1, float32 RainLevel2, float32 RainLevel3, float32 Sunny=0.000000, float32 Cloudy=0.000000)
FPerceptionSightSettings & opAssign (FPerceptionSightSettings Other)

Public Attributes

PerceptionSightSettings
bool LoseAwarenessWithExcludingTags
FCoffinSenseShape OuterCoffin
FSixthSenseShape SixthSense
float32 MinLightIntensity
 Modifiers for different Light conditions.
float32 MaxLightIntensity
float32 MinLightModifier
float32 MaxLightModifier
TMap< FGameplayTag, float32 > MovementModifier
 Modifiers for different Movement.
TMap< FGameplayTag, float32 > MovementModeModifier
 Modifiers for different Types of Movement.
float32 MovementModeDefaultModifier
TMap< FGameplayTag, float32 > TargetOwnedTagModifiers
 Modifiers that are applied when the Target Character has the given tag.
TMap< FGameplayTag, float32 > SensingOwnedTagModifiers
 Modifiers that are applied when the Sensing Character has the given tag.
FGameplayTagContainer ExcludingTags
 When Agent has one of these Tags he cant see anything.
FCoffinSenseShape InnerCoffin
float32 SenseModifier
 A bonus wich is applied when the Target Character is already detected with another sense.
float32 SenseModifierThreshold
 How high has the awareness to be to apply a bonus on sight.
float32 AwarenessWearoffFactorNoLineOfSight
 How much Awareness is lost per second when we don't have a line of sight to the target.
float32 AwarenessWearoffFactorOutOfShape
 How much Awareness is lost per second when the target isn't in any visionShape.
bool bRequiresFreeLineOfSight
 If true, require that a raycast can be made between Self and Target without obstruction.
float32 PeripheralHalfAngle
 When the target is not insight the peripheral field of vision the perception sight cone just goes forward.
float32 MiniMalFocusDistance
 When the target is too close the perception sight cone just goes forward.
float32 HeightParabolAlpha
 Parameters for the parabola function that sets the maximal height.
float32 HeightParabolOffsetY
float32 HeightParabolOffsetZ
float32 ParabolMultiplier
FGameplayTagContainer BlockAwarenessWearOffWithSensorTags
FGameplayTagContainer BlockAwarenessWearOffWithSensedTags

Member Function Documentation

◆ opAssign()

◆ SetCloseRangeFraction()

void SetCloseRangeFraction ( float32 Distance,
float32 DistanceModifier )

◆ SetCloseRangeFractionDistance()

void SetCloseRangeFractionDistance ( float32 Distance)

◆ SetCloseRangeFractionModifier()

void SetCloseRangeFractionModifier ( float32 Modifier)

◆ SetFarRangeFraction()

void SetFarRangeFraction ( float32 Distance,
float32 DistanceModifier )

◆ SetFarRangeFractionDistance()

void SetFarRangeFractionDistance ( float32 Distance)

◆ SetFarRangeFractionModifier()

void SetFarRangeFractionModifier ( float32 Modifier)

◆ SetMidRangeFraction()

void SetMidRangeFraction ( float32 Distance,
float32 DistanceModifier )

◆ SetMidRangeFractionDistance()

void SetMidRangeFractionDistance ( float32 Distance)

◆ SetMidRangeFractionModifier()

void SetMidRangeFractionModifier ( float32 Modifier)

◆ SetWeatherModifier()

void SetWeatherModifier ( float32 RainLevel1,
float32 RainLevel2,
float32 RainLevel3,
float32 Sunny = 0.000000,
float32 Cloudy = 0.000000 )

Member Data Documentation

◆ AwarenessWearoffFactorNoLineOfSight

float32 AwarenessWearoffFactorNoLineOfSight

How much Awareness is lost per second when we don't have a line of sight to the target.

◆ AwarenessWearoffFactorOutOfShape

float32 AwarenessWearoffFactorOutOfShape

How much Awareness is lost per second when the target isn't in any visionShape.

◆ BlockAwarenessWearOffWithSensedTags

FGameplayTagContainer BlockAwarenessWearOffWithSensedTags

◆ BlockAwarenessWearOffWithSensorTags

FGameplayTagContainer BlockAwarenessWearOffWithSensorTags

◆ bRequiresFreeLineOfSight

bool bRequiresFreeLineOfSight

If true, require that a raycast can be made between Self and Target without obstruction.

◆ ExcludingTags

FGameplayTagContainer ExcludingTags

When Agent has one of these Tags he cant see anything.

◆ HeightParabolAlpha

float32 HeightParabolAlpha

Parameters for the parabola function that sets the maximal height.

◆ HeightParabolOffsetY

float32 HeightParabolOffsetY

◆ HeightParabolOffsetZ

float32 HeightParabolOffsetZ

◆ InnerCoffin

FCoffinSenseShape InnerCoffin

◆ LoseAwarenessWithExcludingTags

bool LoseAwarenessWithExcludingTags

◆ MaxLightIntensity

float32 MaxLightIntensity

◆ MaxLightModifier

float32 MaxLightModifier

◆ MiniMalFocusDistance

float32 MiniMalFocusDistance

When the target is too close the perception sight cone just goes forward.

◆ MinLightIntensity

float32 MinLightIntensity

Modifiers for different Light conditions.

◆ MinLightModifier

float32 MinLightModifier

◆ MovementModeDefaultModifier

float32 MovementModeDefaultModifier

◆ MovementModeModifier

TMap<FGameplayTag,float32> MovementModeModifier

Modifiers for different Types of Movement.

◆ MovementModifier

TMap<FGameplayTag,float32> MovementModifier

Modifiers for different Movement.

◆ OuterCoffin

FCoffinSenseShape OuterCoffin

◆ ParabolMultiplier

float32 ParabolMultiplier

◆ PeripheralHalfAngle

float32 PeripheralHalfAngle

When the target is not insight the peripheral field of vision the perception sight cone just goes forward.

◆ SenseModifier

float32 SenseModifier

A bonus wich is applied when the Target Character is already detected with another sense.

◆ SenseModifierThreshold

float32 SenseModifierThreshold

How high has the awareness to be to apply a bonus on sight.

◆ SensingOwnedTagModifiers

TMap<FGameplayTag,float32> SensingOwnedTagModifiers

Modifiers that are applied when the Sensing Character has the given tag.

◆ SixthSense

FSixthSenseShape SixthSense

◆ TargetOwnedTagModifiers

TMap<FGameplayTag,float32> TargetOwnedTagModifiers

Modifiers that are applied when the Target Character has the given tag.