Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
PPERequester_GameplayBase Class Reference

base, not to be used directly, would lead to layering collisions! More...

Protected Member Functions

float FadeColourMult (float x, float y, float deltaT)
float FadeColourMult (float x, float y, float deltaT)
void FadeOutEffect (float targetTime)
void FadeOutEffect (float targetTime=FADING_TIME_DEFAULT)
void OnStart (Param par=null)
void OnStart (Param par=null)
void OnStart (Param par=null)
void OnStart (Param par=null)
void OnStart (Param par=null)
void OnStart (Param par=null)
void OnStart (Param par=null)
void OnStart (Param par=null)
void OnStart (Param par=null)
void OnStart (Param par=null)
void OnStart (Param par=null)
void OnStart (Param par=null)
void OnStart (Param par=null)
void OnStart (Param par=null)
void OnStart (Param par=null)
void OnStart (Param par=null)
void OnStop (Param par=null)
void OnStop (Param par=null)
void OnStop (Param par=null)
override void OnStop (Param par=null)
void OnStop (Param par=null)
override void OnStop (Param par=null)
void OnStop (Param par=null)
void OnUpdate (float delta)
void OnUpdate (float delta)
void OnUpdate (float delta)
void OnUpdate (float delta)
void OnUpdate (float delta)
void OnUpdate (float delta)
void ProcessFading (float delta)
void ProcessFading (float delta)
void ProcessSimulation (float delta)
void ReSampleChannels (float time)
void SampleChannels (float time)
void SetFlashbangIntensity (float intensity, float daytime_toggle)
void SetNVMode (int mode)
void SetPulseProgress (float progress)
void SetStamina01 (float stamina01)
void SetUndergroundExposureCoef (float coef)

Protected Attributes

const float B_TARGET = 0.44
const float FADE_TIME = 3
const float FADING_TIME_DEFAULT = 3.0
const float G_TARGET = 0.15
float m_AccumulatedTime = 0
ref array< floatm_ChannelWeights = { 0, 0, 0, 0 }
ref array< floatm_ColorMod = { 1, 1, 1, 1 }
int m_CurrentMode
float m_ElapsedTime
float m_Exposure
bool m_FadeIn = false
bool m_FadeOut = false
float m_FadeoutStartIntensity
float m_FadeOutTimeTarget
float m_FadingProgress
float m_FadingTimeElapsed
float m_Gauss
float m_Intensity
ref array< floatm_OverlayColor
float m_OverlayFactor
bool m_PulseActive
float m_PulseProgress
vector m_StartRGB = vector.Zero
bool m_StopNext
bool m_Stopping
float m_UGExposureCoef = 1.0
float m_Value
float m_VignetteIntensity
const float R_TARGET = 0.142

Private Member Functions

void SetBloodLossLevel (float level)
void SetEffectProgress (float progress)
void SetEyeAccommodation (float value)
void SetFeverIntensity (float intensity)
void SetHitIntensity (float intensity)
void SetInitialLenseOffset (float offsetAngle, float offsetDistance=0.5)
void SetRadialBlur (float power_x, float power_y, float offset_x, float offset_y, float pixel_scale=0.5)
void SetValuesIronsights (out array< float > DOF_array)
void SetValuesOptics (out array< float > mask_array, out array< float > lens_array, float gauss=0.0)

Private Attributes

const float DISTORT_MAX = -0.8
const float DISTORT_MIN = 0
const float EXPOSURE_MAX = 50
const float INTENSITY_MULT = 6.0
float m_CurveValue
float m_CurveValueClamped
float m_EffectPhase = 0
float m_Frequency = 5
float m_LenseOffsetAngle
float m_LenseOffsetDist
float m_Magnitude = 0
float m_MaxMagnitude = 0.3
float m_MinMagnitude = 0.3
float m_ProgressAngle
float m_Stamina01
const float VAL_FACTOR = 0.85
const float WAVE_AMPLITUDE_COEF = 0.7
const float WAVE_PROGRESS_MAX = Math.PI
const float WAVE_PROGRESS_MIN = 0
const float WAVE_TILT = -0.12

Static Private Attributes

static const int NV_DAYTIME_OPTICS = 5
static const int NV_DEFAULT_GLASSES = 2
static const int NV_DEFAULT_OPTICS = 1
static const int NV_NO_BATTERY = 0
static const int NV_PUMPKIN = 3
static const int NV_TRANSITIVE = 4

Detailed Description

base, not to be used directly, would lead to layering collisions!

Definition at line 1 of file pperbloodloss.c.

Member Function Documentation

◆ FadeColourMult() [1/2]

float FadeColourMult ( float x,
float y,
float deltaT )
inlineprotected

Definition at line 77 of file ppercontaminated.c.

References Easing::EaseInOutSine(), Math::Lerp(), x, and y.

Referenced by OnUpdate().

◆ FadeColourMult() [2/2]

float FadeColourMult ( float x,
float y,
float deltaT )
inlineprotected

Definition at line 77 of file pperspooky.c.

References Easing::EaseInOutSine(), Math::Lerp(), x, and y.

◆ FadeOutEffect() [1/2]

void FadeOutEffect ( float targetTime)
inlineprotected

Definition at line 137 of file pperhmpghosts.c.

References m_FadeOutTimeTarget, m_FadingTimeElapsed, and m_Stopping.

◆ FadeOutEffect() [2/2]

◆ OnStart() [1/16]

◆ OnStart() [2/16]

void OnStart ( Param par = null)
inlineprotected

Definition at line 73 of file ppercameranv.c.

References SetNVMode().

◆ OnStart() [3/16]

◆ OnStart() [4/16]

void OnStart ( Param par = null)
inlineprotected

◆ OnStart() [5/16]

void OnStart ( Param par = null)
inlineprotected

Definition at line 10 of file pperdrowningeffect.c.

References m_EffectPhase, and m_Magnitude.

◆ OnStart() [6/16]

void OnStart ( Param par = null)
inlineprotected

Definition at line 8 of file pperflashbangeffects.c.

References g_Game, and m_IsRunning.

◆ OnStart() [7/16]

◆ OnStart() [8/16]

◆ OnStart() [9/16]

◆ OnStart() [10/16]

◆ OnStart() [11/16]

◆ OnStart() [12/16]

void OnStart ( Param par = null)
inlineprotected

◆ OnStart() [13/16]

◆ OnStart() [14/16]

◆ OnStart() [15/16]

◆ OnStart() [16/16]

◆ OnStop() [1/7]

void OnStop ( Param par = null)
inlineprotected

Definition at line 18 of file pperburlapsack.c.

References g_Game.

◆ OnStop() [2/7]

void OnStop ( Param par = null)
inlineprotected

Definition at line 53 of file ppercameraads_opt.c.

References g_Game.

◆ OnStop() [3/7]

void OnStop ( Param par = null)
inlineprotected

Definition at line 81 of file ppercameranv.c.

◆ OnStop() [4/7]

override void OnStop ( Param par = null)
inlineprotected

Definition at line 62 of file ppercontaminated.c.

References Class::CastTo(), m_AccumulatedTime, m_FadeIn, and m_FadeOut.

◆ OnStop() [5/7]

void OnStop ( Param par = null)
inlineprotected

Definition at line 19 of file pperflashbangeffects.c.

References g_Game, m_Exposure, and m_Intensity.

◆ OnStop() [6/7]

override void OnStop ( Param par = null)
inlineprotected

Definition at line 62 of file pperspooky.c.

References Class::CastTo(), m_AccumulatedTime, m_FadeIn, and m_FadeOut.

◆ OnStop() [7/7]

void OnStop ( Param par = null)
inlineprotected

Definition at line 24 of file pperunconeffects.c.

References m_FadingProgress, m_StopNext, and m_Stopping.

◆ OnUpdate() [1/6]

◆ OnUpdate() [2/6]

◆ OnUpdate() [3/6]

void OnUpdate ( float delta)
inlineprotected

Definition at line 30 of file pperflashbangeffects.c.

References g_Game, and m_Intensity.

◆ OnUpdate() [4/6]

void OnUpdate ( float delta)
inlineprotected

◆ OnUpdate() [5/6]

◆ OnUpdate() [6/6]

void OnUpdate ( float delta)
inlineprotected

◆ ProcessFading() [1/2]

void ProcessFading ( float delta)
inlineprotected

Definition at line 123 of file pperhmpghosts.c.

References m_FadeOutTimeTarget, m_FadingProgress, m_FadingTimeElapsed, and m_StopNext.

Referenced by OnUpdate(), and ProcessSimulation().

◆ ProcessFading() [2/2]

◆ ProcessSimulation()

◆ ReSampleChannels()

void ReSampleChannels ( float time)
inlineprotected

◆ SampleChannels()

void SampleChannels ( float time)
inlineprotected

Definition at line 102 of file pperhmpghosts.c.

References m_ChannelWeights, Math::PI_HALF, and Math::Sin().

Referenced by ProcessSimulation().

◆ SetBloodLossLevel()

void SetBloodLossLevel ( float level)
inlineprivate

◆ SetEffectProgress()

◆ SetEyeAccommodation()

void SetEyeAccommodation ( float value)
inlineprivate

◆ SetFeverIntensity()

void SetFeverIntensity ( float intensity)
inlineprivate

◆ SetFlashbangIntensity()

◆ SetHitIntensity()

void SetHitIntensity ( float intensity)
inlineprivate

◆ SetInitialLenseOffset()

void SetInitialLenseOffset ( float offsetAngle,
float offsetDistance = 0.5 )
inlineprivate

Definition at line 19 of file pperhmp_lvl3.c.

References Math::Clamp(), m_LenseOffsetAngle, and m_LenseOffsetDist.

◆ SetNVMode()

◆ SetPulseProgress()

void SetPulseProgress ( float progress)
inlineprotected

Definition at line 131 of file pperhmpghosts.c.

References m_PulseActive, and m_PulseProgress.

◆ SetRadialBlur()

void SetRadialBlur ( float power_x,
float power_y,
float offset_x,
float offset_y,
float pixel_scale = 0.5 )
inlineprivate

◆ SetStamina01()

void SetStamina01 ( float stamina01)
inlineprotected

Definition at line 37 of file pperdrowningeffect.c.

References m_Stamina01.

◆ SetUndergroundExposureCoef()

void SetUndergroundExposureCoef ( float coef)
inlineprotected

Definition at line 86 of file ppercameranv.c.

References m_CurrentMode, m_IsRunning, m_UGExposureCoef, and SetNVMode().

◆ SetValuesIronsights()

◆ SetValuesOptics()

Field Documentation

◆ B_TARGET

const float B_TARGET = 0.44
protected

Definition at line 13 of file ppercontaminated.c.

Referenced by OnUpdate().

◆ DISTORT_MAX

const float DISTORT_MAX = -0.8
private

Definition at line 9 of file pperhmp_lvl3.c.

Referenced by SetEffectProgress().

◆ DISTORT_MIN

const float DISTORT_MIN = 0
private

Definition at line 8 of file pperhmp_lvl3.c.

Referenced by SetEffectProgress().

◆ EXPOSURE_MAX

const float EXPOSURE_MAX = 50
private

Definition at line 4 of file pperflashbangeffects.c.

Referenced by SetFlashbangIntensity().

◆ FADE_TIME

const float FADE_TIME = 3
protected

Definition at line 9 of file ppercontaminated.c.

Referenced by OnUpdate().

◆ FADING_TIME_DEFAULT

const float FADING_TIME_DEFAULT = 3.0
protected

Definition at line 3 of file pperunconeffects.c.

Referenced by FadeOutEffect().

◆ G_TARGET

const float G_TARGET = 0.15
protected

Definition at line 12 of file ppercontaminated.c.

Referenced by OnUpdate().

◆ INTENSITY_MULT

const float INTENSITY_MULT = 6.0
private

Definition at line 3 of file pperhealthhit.c.

◆ m_AccumulatedTime

float m_AccumulatedTime = 0
protected

Definition at line 5 of file ppercontaminated.c.

Referenced by OnStart(), OnStop(), and OnUpdate().

◆ m_ChannelWeights

ref array<float> m_ChannelWeights = { 0, 0, 0, 0 }
protected

Definition at line 6 of file pperhmpghosts.c.

Referenced by ProcessSimulation(), ReSampleChannels(), and SampleChannels().

◆ m_ColorMod

ref array<float> m_ColorMod = { 1, 1, 1, 1 }
protected

Definition at line 7 of file pperhmpghosts.c.

Referenced by OnStart().

◆ m_CurrentMode

int m_CurrentMode
protected

Definition at line 10 of file ppercameranv.c.

Referenced by SetNVMode(), and SetUndergroundExposureCoef().

◆ m_CurveValue

float m_CurveValue
private

Definition at line 14 of file pperhmp_lvl3.c.

Referenced by SetEffectProgress().

◆ m_CurveValueClamped

float m_CurveValueClamped
private

Definition at line 15 of file pperhmp_lvl3.c.

Referenced by SetEffectProgress().

◆ m_EffectPhase

float m_EffectPhase = 0
private

Definition at line 3 of file pperdrowningeffect.c.

Referenced by OnStart(), and OnUpdate().

◆ m_ElapsedTime

float m_ElapsedTime
protected

Definition at line 14 of file pperhmpghosts.c.

Referenced by OnStart(), and ProcessSimulation().

◆ m_Exposure

float m_Exposure
protected

Definition at line 5 of file pperflashbangeffects.c.

Referenced by OnStop(), and SetFlashbangIntensity().

◆ m_FadeIn

bool m_FadeIn = false
protected

Definition at line 6 of file ppercontaminated.c.

Referenced by OnStart(), OnStop(), and OnUpdate().

◆ m_FadeOut

bool m_FadeOut = false
protected

Definition at line 7 of file ppercontaminated.c.

Referenced by OnStart(), OnStop(), and OnUpdate().

◆ m_FadeoutStartIntensity

float m_FadeoutStartIntensity
protected

Definition at line 6 of file pperunconeffects.c.

Referenced by FadeOutEffect(), and ProcessFading().

◆ m_FadeOutTimeTarget

float m_FadeOutTimeTarget
protected

Definition at line 11 of file pperhmpghosts.c.

Referenced by FadeOutEffect(), FadeOutEffect(), and ProcessFading().

◆ m_FadingProgress

float m_FadingProgress
protected

Definition at line 13 of file pperhmpghosts.c.

Referenced by OnStart(), OnStop(), ProcessFading(), and ReSampleChannels().

◆ m_FadingTimeElapsed

float m_FadingTimeElapsed
protected

Definition at line 12 of file pperhmpghosts.c.

Referenced by FadeOutEffect(), FadeOutEffect(), OnStart(), and ProcessFading().

◆ m_Frequency

float m_Frequency = 5
private

Definition at line 7 of file pperdrowningeffect.c.

Referenced by OnUpdate().

◆ m_Gauss

float m_Gauss
protected

Definition at line 3 of file ppershockhit.c.

Referenced by OnStart().

◆ m_Intensity

float m_Intensity
protected

◆ m_LenseOffsetAngle

float m_LenseOffsetAngle
private

Definition at line 16 of file pperhmp_lvl3.c.

Referenced by SetEffectProgress(), and SetInitialLenseOffset().

◆ m_LenseOffsetDist

float m_LenseOffsetDist
private

Definition at line 17 of file pperhmp_lvl3.c.

Referenced by SetEffectProgress(), and SetInitialLenseOffset().

◆ m_Magnitude

float m_Magnitude = 0
private

Definition at line 4 of file pperdrowningeffect.c.

Referenced by OnStart(), and OnUpdate().

◆ m_MaxMagnitude

float m_MaxMagnitude = 0.3
private

Definition at line 6 of file pperdrowningeffect.c.

Referenced by OnUpdate().

◆ m_MinMagnitude

float m_MinMagnitude = 0.3
private

Definition at line 5 of file pperdrowningeffect.c.

Referenced by OnUpdate().

◆ m_OverlayColor

ref array<float> m_OverlayColor
protected

Definition at line 6 of file ppershockhit.c.

Referenced by OnStart().

◆ m_OverlayFactor

float m_OverlayFactor
protected

Definition at line 5 of file ppershockhit.c.

Referenced by OnStart().

◆ m_ProgressAngle

float m_ProgressAngle
private

Definition at line 13 of file pperhmp_lvl3.c.

Referenced by SetEffectProgress().

◆ m_PulseActive

bool m_PulseActive
protected

Definition at line 3 of file pperhmpghosts.c.

Referenced by ProcessSimulation(), and SetPulseProgress().

◆ m_PulseProgress

float m_PulseProgress
protected

Definition at line 4 of file pperhmpghosts.c.

Referenced by ProcessSimulation(), ReSampleChannels(), and SetPulseProgress().

◆ m_Stamina01

float m_Stamina01
private

Definition at line 8 of file pperdrowningeffect.c.

Referenced by OnUpdate(), and SetStamina01().

◆ m_StartRGB

vector m_StartRGB = vector.Zero
protected

Definition at line 4 of file ppercontaminated.c.

Referenced by OnUpdate().

◆ m_StopNext

bool m_StopNext
protected

Definition at line 10 of file pperhmpghosts.c.

Referenced by OnStart(), OnStop(), OnUpdate(), and ProcessFading().

◆ m_Stopping

bool m_Stopping
protected

◆ m_UGExposureCoef

float m_UGExposureCoef = 1.0
protected

Definition at line 11 of file ppercameranv.c.

Referenced by SetNVMode(), and SetUndergroundExposureCoef().

◆ m_Value

float m_Value
protected

Definition at line 3 of file pperdeathdarkening.c.

Referenced by OnStart().

◆ m_VignetteIntensity

float m_VignetteIntensity
protected

Definition at line 4 of file ppershockhit.c.

Referenced by OnStart().

◆ NV_DAYTIME_OPTICS

const int NV_DAYTIME_OPTICS = 5
staticprivate

Definition at line 8 of file ppercameranv.c.

Referenced by SetNVMode().

◆ NV_DEFAULT_GLASSES

const int NV_DEFAULT_GLASSES = 2
staticprivate

Definition at line 5 of file ppercameranv.c.

Referenced by SetNVMode().

◆ NV_DEFAULT_OPTICS

const int NV_DEFAULT_OPTICS = 1
staticprivate

Definition at line 4 of file ppercameranv.c.

Referenced by SetNVMode().

◆ NV_NO_BATTERY

const int NV_NO_BATTERY = 0
staticprivate

Definition at line 3 of file ppercameranv.c.

Referenced by SetNVMode().

◆ NV_PUMPKIN

const int NV_PUMPKIN = 3
staticprivate

Definition at line 6 of file ppercameranv.c.

Referenced by SetNVMode().

◆ NV_TRANSITIVE

const int NV_TRANSITIVE = 4
staticprivate

Definition at line 7 of file ppercameranv.c.

Referenced by SetNVMode().

◆ R_TARGET

const float R_TARGET = 0.142
protected

Definition at line 11 of file ppercontaminated.c.

Referenced by OnUpdate().

◆ VAL_FACTOR

const float VAL_FACTOR = 0.85
private

Definition at line 3 of file pperflashbangeffects.c.

◆ WAVE_AMPLITUDE_COEF

const float WAVE_AMPLITUDE_COEF = 0.7
private

Definition at line 5 of file pperhmp_lvl3.c.

Referenced by SetEffectProgress().

◆ WAVE_PROGRESS_MAX

const float WAVE_PROGRESS_MAX = Math.PI
private

Definition at line 4 of file pperhmp_lvl3.c.

Referenced by SetEffectProgress().

◆ WAVE_PROGRESS_MIN

const float WAVE_PROGRESS_MIN = 0
private

Definition at line 3 of file pperhmp_lvl3.c.

Referenced by SetEffectProgress().

◆ WAVE_TILT

const float WAVE_TILT = -0.12
private

Definition at line 6 of file pperhmp_lvl3.c.

Referenced by SetEffectProgress().


The documentation for this class was generated from the following files: