433 {
434
435
436
437
438
440 if (optics)
441 {
443 {
445 }
446 else if (m_isEntering)
447 {
449 m_isEntering = false;
450 }
451 else
452 {
454
455 }
457 }
458 else
459 {
460
461 return 0.6;
462 }
463 }
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.