DayZ 1.26
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
Файл humansettings.c

См. исходные тексты.

Структуры данных

class  SHumanGlobalSettings
 
class  SHumanCommandSwimSettings
 

Функции

class SHumanGlobalSettings SHumanCommandMoveSettings ()
 
void SHumanGlobalSettings ()
 
void ~SHumanGlobalSettings ()
 
void ~SHumanCommandMoveSettings ()
 
class SHumanCommandSwimSettings SHumanCommandClimbSettings ()
 
void SHumanCommandSwimSettings ()
 
void ~SHumanCommandSwimSettings ()
 
void ~SHumanCommandClimbSettings ()
 

Переменные

float m_fPhysMoveMaxTracedDistance
 when actual phys step is lower than this -> distance is traced, otherwise it's just set

 
float m_fRunSpringTimeout
 filter span value [s]
 
float m_fRunSpringMaxChange
 filter speed value [val/s]
 
float m_fDirFilterTimeout
 direction filter timeout [s]
 
float m_fDirFilterSprintTimeout
 sprint direction filter timeout [s]
 
float m_fDirFilterSpeed
 direction filter max rot speed [rad/s]
 
float m_fMaxSprintAngle
 max sprint angle [rad]
 
float m_fTurnAngle
 when character starts to turn (45 deg default)
 
float m_fTurnEndUpdateNTime
 when turn values are not updated anymore (normalized time)
 
float m_fTurnNextNTime
 when next turn is started from previous turn
 
float m_fSlidingPoseAngle
 angle (0.707 * PI) - when angle is bigger - sliding pose is done (rad)
 
float m_fSlidingPoseTrackTime
 time change of angle is tracked in the past (sec)
 
float m_fSlidingPoseRepTime
 not to do sliding pose after another sliding pose (sec)
 
float m_fHeadingChangeLimiterIdle
 
float m_fHeadingChangeLimiterWalk
 
float m_fHeadingChangeLimiterRun
 
float m_fLeaningSpeed
 
float m_fWaterLevelSpeedRectrictionLow
 Water level (in meters) - m_iMaxSpeedNormal_WaterLevelLow and m_iMaxSpeedFast_WaterLevelLow are applied when character is deeper.
 
float m_fWaterLevelSpeedRectrictionHigh
 Water level (in meters) - m_iMaxSpeedNormal_WaterLevelHigh and m_iMaxSpeedFast_WaterLevelHigh are applied when character is deeper.
 
int m_iMaxSpeedNormal_WaterLevelLow
 Max movement speed for m_fWaterLevelSpeedRectrictionLow when character doesn't want to sprint (-1 means no change)
 
int m_iMaxSpeedFast_WaterLevelLow
 Max movement speed for m_fWaterLevelSpeedRectrictionLow when character wants to sprint (-1 means no change)
 
int m_iMaxSpeedNormal_WaterLevelHigh
 Max movement speed for m_fWaterLevelSpeedRectrictionHigh when character doesn't want to sprint (-1 means no change)
 
int m_iMaxSpeedFast_WaterLevelHigh
 Max movement speed for m_fWaterLevelSpeedRectrictionHigh when character wants to sprint (-1 means no change)
 
float m_fAlignIdleTimeout
 
float m_fAlignIdleMaxChanged
 align filters in idle, slow, fast
 
float m_fAlignSlowTimeout
 
float m_fAlignSlowMaxChanged
 
float m_fAlignFastTimeout
 
float m_fAlignFastMaxChanged
 
float m_fMovementSpeed
 
float m_fMovementSpeedFltTime
 
float m_fMovementSpeedFltMaxChange
 
float m_fWaterLevelSwim
 when swimming - entity position depth (1.4 m)
 
float m_fWaterLevelIn
 when entering water - what level cases swimming (1.5m)
 
float m_fWaterLevelOut
 what water level causes to stop swimming (1.2m)
 
float m_fToCrouchLevel
 when to crouch
 
float m_fToErectLevel
 when to stand
 
float m_fCharHeight
 generic settings
 
float m_fCharWidth
 forward pass
 
float m_fFwMinHeight
 
float m_fFwMaxHeight
 
float m_fFwMaxDistance
 
float m_fStepFreeSpace
 forward step
 
float m_fStepPositionAfterEdge
 must be a space to step there
 
float m_fStepDownRadius
 
float m_fStepMinNormal
 
float m_fStepVariation
 
float m_fStepMinWidth
 
float m_fClimbOverMaxWidth
 
float m_fClimbOverMinHeight
 
float m_fBackwardsCheckDist
 absolute distance for backwards check if necessary
 

Функции

◆ SHumanCommandClimbSettings()

class SHumanCommandSwimSettings SHumanCommandClimbSettings ( )
private

◆ SHumanCommandMoveSettings()

class SHumanGlobalSettings SHumanCommandMoveSettings ( )
12{}

Используется в DayZPlayerTypeUtils::DayZPlayerTypeInitMovement().

◆ SHumanCommandSwimSettings()

void SHumanCommandSwimSettings ( )
private
75{}

◆ SHumanGlobalSettings()

void SHumanGlobalSettings ( )
private
13{}

◆ ~SHumanCommandClimbSettings()

75{}

◆ ~SHumanCommandMoveSettings()

13{}

◆ ~SHumanCommandSwimSettings()

◆ ~SHumanGlobalSettings()

void ~SHumanGlobalSettings ( )
private

Переменные

◆ m_fAlignFastMaxChanged

float m_fAlignFastMaxChanged
private

◆ m_fAlignFastTimeout

float m_fAlignFastTimeout
private

◆ m_fAlignIdleMaxChanged

float m_fAlignIdleMaxChanged
private

align filters in idle, slow, fast

◆ m_fAlignIdleTimeout

float m_fAlignIdleTimeout
private

◆ m_fAlignSlowMaxChanged

float m_fAlignSlowMaxChanged
private

◆ m_fAlignSlowTimeout

float m_fAlignSlowTimeout
private

◆ m_fBackwardsCheckDist

float m_fBackwardsCheckDist
private

absolute distance for backwards check if necessary

◆ m_fCharHeight

float m_fCharHeight
private

generic settings

◆ m_fCharWidth

float m_fCharWidth
private

forward pass

◆ m_fClimbOverMaxWidth

float m_fClimbOverMaxWidth
private

◆ m_fClimbOverMinHeight

float m_fClimbOverMinHeight
private

◆ m_fDirFilterSpeed

float m_fDirFilterSpeed
private

direction filter max rot speed [rad/s]

◆ m_fDirFilterSprintTimeout

float m_fDirFilterSprintTimeout
private

sprint direction filter timeout [s]

◆ m_fDirFilterTimeout

float m_fDirFilterTimeout
private

direction filter timeout [s]

◆ m_fFwMaxDistance

float m_fFwMaxDistance
private

◆ m_fFwMaxHeight

float m_fFwMaxHeight
private

◆ m_fFwMinHeight

float m_fFwMinHeight
private

◆ m_fHeadingChangeLimiterIdle

float m_fHeadingChangeLimiterIdle
private

◆ m_fHeadingChangeLimiterRun

float m_fHeadingChangeLimiterRun
private

◆ m_fHeadingChangeLimiterWalk

float m_fHeadingChangeLimiterWalk
private

◆ m_fLeaningSpeed

float m_fLeaningSpeed
private

◆ m_fMaxSprintAngle

float m_fMaxSprintAngle
private

max sprint angle [rad]

◆ m_fMovementSpeed

float m_fMovementSpeed
private

◆ m_fMovementSpeedFltMaxChange

float m_fMovementSpeedFltMaxChange
private

◆ m_fMovementSpeedFltTime

float m_fMovementSpeedFltTime
private

◆ m_fPhysMoveMaxTracedDistance

float m_fPhysMoveMaxTracedDistance
private

when actual phys step is lower than this -> distance is traced, otherwise it's just set

◆ m_fRunSpringMaxChange

float m_fRunSpringMaxChange
private

filter speed value [val/s]

◆ m_fRunSpringTimeout

float m_fRunSpringTimeout
private

filter span value [s]

◆ m_fSlidingPoseAngle

float m_fSlidingPoseAngle
private

angle (0.707 * PI) - when angle is bigger - sliding pose is done (rad)

◆ m_fSlidingPoseRepTime

float m_fSlidingPoseRepTime
private

not to do sliding pose after another sliding pose (sec)

◆ m_fSlidingPoseTrackTime

float m_fSlidingPoseTrackTime
private

time change of angle is tracked in the past (sec)

◆ m_fStepDownRadius

float m_fStepDownRadius
private

◆ m_fStepFreeSpace

float m_fStepFreeSpace
private

forward step

◆ m_fStepMinNormal

float m_fStepMinNormal
private

◆ m_fStepMinWidth

float m_fStepMinWidth
private

◆ m_fStepPositionAfterEdge

float m_fStepPositionAfterEdge
private

must be a space to step there

◆ m_fStepVariation

float m_fStepVariation
private

◆ m_fToCrouchLevel

float m_fToCrouchLevel
private

when to crouch

◆ m_fToErectLevel

float m_fToErectLevel
private

when to stand

◆ m_fTurnAngle

float m_fTurnAngle
private

when character starts to turn (45 deg default)

◆ m_fTurnEndUpdateNTime

float m_fTurnEndUpdateNTime
private

when turn values are not updated anymore (normalized time)

◆ m_fTurnNextNTime

float m_fTurnNextNTime
private

when next turn is started from previous turn

◆ m_fWaterLevelIn

float m_fWaterLevelIn
private

when entering water - what level cases swimming (1.5m)

◆ m_fWaterLevelOut

float m_fWaterLevelOut
private

what water level causes to stop swimming (1.2m)

◆ m_fWaterLevelSpeedRectrictionHigh

float m_fWaterLevelSpeedRectrictionHigh
private

Water level (in meters) - m_iMaxSpeedNormal_WaterLevelHigh and m_iMaxSpeedFast_WaterLevelHigh are applied when character is deeper.

◆ m_fWaterLevelSpeedRectrictionLow

float m_fWaterLevelSpeedRectrictionLow
private

Water level (in meters) - m_iMaxSpeedNormal_WaterLevelLow and m_iMaxSpeedFast_WaterLevelLow are applied when character is deeper.

◆ m_fWaterLevelSwim

float m_fWaterLevelSwim
private

when swimming - entity position depth (1.4 m)

◆ m_iMaxSpeedFast_WaterLevelHigh

int m_iMaxSpeedFast_WaterLevelHigh
private

Max movement speed for m_fWaterLevelSpeedRectrictionHigh when character wants to sprint (-1 means no change)

◆ m_iMaxSpeedFast_WaterLevelLow

int m_iMaxSpeedFast_WaterLevelLow
private

Max movement speed for m_fWaterLevelSpeedRectrictionLow when character wants to sprint (-1 means no change)

◆ m_iMaxSpeedNormal_WaterLevelHigh

int m_iMaxSpeedNormal_WaterLevelHigh
private

Max movement speed for m_fWaterLevelSpeedRectrictionHigh when character doesn't want to sprint (-1 means no change)

◆ m_iMaxSpeedNormal_WaterLevelLow

int m_iMaxSpeedNormal_WaterLevelLow
private

Max movement speed for m_fWaterLevelSpeedRectrictionLow when character doesn't want to sprint (-1 means no change)