431 {
432
433
434
435
436
438 if (optics)
439 {
441 {
443 }
444 else if (m_isEntering)
445 {
447 m_isEntering = false;
448 }
449 else
450 {
452
453 }
455 }
456 else
457 {
458
459 return 0.6;
460 }
461 }
override EntityAI GetCurrentSightEntity()
proto native float GetCurrentStepFOV()
returns fov value at current index, or 'OpticsInfo.opticsZoomInit' config value (non-zooming optics)
float m_fFovAbsolute
fov absolute value override - -1.0 default, if set - overrides absolute fov setting
const float DZPLAYER_CAMERA_FOV_EYEZOOM
FOV (vertical angle/2) in radians. Take care to modify also in "basicDefines.hpp".
static proto float SmoothCD(float val, float target, inout float velocity[], float smoothTime, float maxVelocity, float dt)
Does the CD smoothing function - easy in | easy out / S shaped smoothing.