DayZ 1.26
DayZ Explorer by KGB
|
Структуры данных | |
class | DayZPlayerCameraBase |
this is main camera class Подробнее... | |
class | DayZPlayerCamera3rdPersonErc |
class | DayZPlayerCamera3rdPersonErcRaised |
class | DayZPlayerCamera3rdPersonCrouch |
class | DayZPlayerCamera3rdPersonProneBase |
void DayZPlayerCamera3rdPerson | ( | DayZPlayer | pPlayer, |
HumanInputController | pInput ) |
class DayZPlayerCamera3rdPersonJump extends DayZPlayerCamera3rdPersonErc DayZPlayerCamera3rdPersonClimb | ( | DayZPlayer | pPlayer, |
HumanInputController | pInput ) |
Используется в DayZPlayerCameras::RegisterCameras().
void DayZPlayerCamera3rdPersonCrouch | ( | DayZPlayer | pPlayer, |
HumanInputController | pInput ) |
Перекрестные ссылки m_CameraOffsetLS, m_CameraOffsetMS, m_fDistance и m_fShoulderWidth.
class DayZPlayerCamera3rdPerson extends DayZPlayerCameraBase DayZPlayerCamera3rdPersonErc | ( | DayZPlayer | pPlayer, |
HumanInputController | pInput ) |
Перекрестные ссылки CONST_LR_MAX, CONST_LR_MIN, CONST_UD_MAX и CONST_UD_MIN.
class DayZPlayerCamera3rdPersonErcSpr extends DayZPlayerCamera3rdPersonErc DayZPlayerCamera3rdPersonErcRaised | ( | DayZPlayer | pPlayer, |
HumanInputController | pInput ) |
void DayZPlayerCamera3rdPersonErcSpr | ( | DayZPlayer | pPlayer, |
HumanInputController | pInput ) |
Используется в DayZPlayerCameras::RegisterCameras().
void DayZPlayerCamera3rdPersonJump | ( | DayZPlayer | pPlayer, |
HumanInputController | pInput ) |
runtime config
runtime values
Перекрестные ссылки m_CameraOffsetMS, m_fDistance, m_fPredictCollisionRadius и m_iBoneIndex.
Используется в DayZPlayerCameras::RegisterCameras().
void DayZPlayerCamera3rdPersonProne | ( | DayZPlayer | pPlayer, |
HumanInputController | pInput ) |
Перекрестные ссылки m_CameraOffsetLS, m_CameraOffsetMS, m_fDistance, m_fShoulderWidth и m_iBoneIndex.
Используется в DayZPlayerCameras::RegisterCameras().
|
protected |
Используется в DayZPlayerCameras::RegisterCameras().
override void OnActivate | ( | DayZPlayerCamera | pPrevCamera, |
DayZPlayerCameraResult | pPrevCameraResult ) |
override void OnUpdate | ( | float | pDt, |
out DayZPlayerCameraResult | pOutResult ) |
update angles from input
base bone pos
apply shoulder dist
store distance
basically -> transform up vector (0,1,0) and read x coord -> and set is as roll
prev update
movement height
prev update
update angles from input
this is actually negative to yaw
base bone pos
apply shoulder dist
store distance
lr angle
Перекрестные ссылки HumanInputController::CameraIsFreeLook(), HumanInputController::GetAimChange(), Limit(), m_bForceFreeLook, m_fLRAngleVel, m_LookAtLRAngle, m_pInput, Math::RAD2DEG и Math::SmoothCD().
class DayZPlayerCamera3rdPersonErcRaisedMelee extends DayZPlayerCamera3rdPersonErcRaised CONST_CAMERAMOVEMENTHEIGH = 0.4 |
|
protected |
|
protected |
|
protected |
|
protected |
true - shoulder is in local space
Используется в DayZPlayerCameraBase::OnUpdate().
|
protected |
local space offset
Используется в DayZPlayerCamera3rdPersonCrouch(), DayZPlayerCamera3rdPersonCrouch::DayZPlayerCamera3rdPersonCrouchRaised(), DayZPlayerCamera3rdPersonErc::DayZPlayerCamera3rdPersonErcSpr(), DayZPlayerCamera3rdPersonProneBase::DayZPlayerCamera3rdPersonProne() и DayZPlayerCamera3rdPersonProne().
|
protected |
model space offset
Используется в DayZPlayerCamera3rdPersonCrouch(), DayZPlayerCamera3rdPersonCrouch::DayZPlayerCamera3rdPersonCrouchRaised(), DayZPlayerCamera3rdPersonErc::DayZPlayerCamera3rdPersonErcSpr(), DayZPlayerCamera3rdPersonJump(), DayZPlayerCamera3rdPersonProneBase::DayZPlayerCamera3rdPersonProne(), DayZPlayerCamera3rdPersonProne() и DayZPlayerCamera3rdPersonVehicle().
|
protected |
|
protected |
|
protected |
shoulder offsets
Используется в DayZPlayerCameraBase::DayZPlayerCamera3rdPerson() и DayZPlayerCameraBase::OnUpdate().
|
protected |
float m_fDamping |
Используется в DayZPlayerCamera3rdPersonErc::DayZPlayerCamera3rdPersonJump().
float m_fDelay |
runtime config
Используется в DayZPlayerCamera3rdPersonErc::DayZPlayerCamera3rdPersonJump() и DayZPlayerCamera3rdPersonErc::OnUpdate().
float m_fDelayTimer |
runtime values
Используется в DayZPlayerCamera3rdPersonErc::OnUpdate().
|
protected |
distance from start
Используется в DayZPlayerCamera3rdPersonCrouch().
float m_fJumpOffset |
float m_fJumpStartY |
|
protected |
shift on leaning
Используется в DayZPlayerCameraBase::DayZPlayerCamera3rdPerson().
|
protected |
left right angle in rad (in freelook only)
|
protected |
left right angle in rad (in freelook only)
|
protected |
collision prediction
|
protected |
camera roll (deprecated)
|
protected |
shoulder camera widths
Используется в DayZPlayerCamera3rdPersonCrouch(), DayZPlayerCamera3rdPersonCrouch::DayZPlayerCamera3rdPersonCrouchRaised(), DayZPlayerCamera3rdPersonErc::DayZPlayerCamera3rdPersonErcSpr(), DayZPlayerCamera3rdPersonProneBase::DayZPlayerCamera3rdPersonProne(), DayZPlayerCamera3rdPersonProne() и DayZPlayerCameraBase::OnUpdate().
|
protected |
|
protected |
runtime values
up down angle in rad
|
protected |
up down angle in rad
|
protected |
runtime config
main bone
|
protected |
Используется в DayZPlayerCamera3rdPersonErc::DayZPlayerCamera3rdPersonErcSpr().
float m_jumpOffsetVelocity[1] |
|
protected |
Используется в UpdateLRAngleLookAt().
|
protected |
movement state
Используется в DayZPlayer::AimingModel(), ManBase::BrokenLegForceProne(), ManBase::BrokenLegWalkShock(), DayZPlayer::CameraHandler(), DayZPlayer::CanClimb(), DayZPlayer::CanJump(), DayZPlayer::CommandHandler(), ManBase::CommandHandler(), InjurySoundHandlerBase::DetermineInjuryZone(), DayZPlayer::EvaluateDamageHit(), DayZPlayer::EvaluateDamageHitAnimation(), ManBase::GetFeetDamageMoveModifier(), DayZPlayer::HandleADS(), DayZPlayer::HandleView(), DayZPlayer::HandleWeapons(), DayZPlayer::HeadingModel(), ManBase::HeadingModel(), ManBase::IsClimbing(), DayZPlayer::IsClimbingLadder(), ManBase::IsFalling(), DayZPlayer::IsFireWeaponRaised(), ManBase::IsInProne(), ManBase::IsInRasedProne(), DayZPlayer::IsInVehicle(), ManBase::IsLeaning(), ManBase::IsSprinting(), DayZPlayer::IsSwimming(), ManBase::IsUnconscious(), ManBase::OnCommandHandlerTick(), DayZPlayer::OnMovementChanged(), DayZPlayerCameraBase::OnUpdate() и ManBase::UpdateBrokenLegs().