@camzoommax is a deprecated (BHVR_DEPRECATED, but not a plain synonym) command that RLVa maps onto the field-of-view clamp used by @setcam_fovmax. The option is a zoom multiplier m. RLVa converts it to an angle of DEFAULT_FIELD_OF_VIEW / m (the default vertical FOV is 60°, about 1.047 radians) and adds that as a maximum FOV.
A maximum FOV caps how far you can zoom out: @camzoommax:0.5=n keeps the FOV at 120° or less. Despite the name, then, camzoommax limits minimum zoom.
@camzoommax=<n|add|y|rem>
@camzoommax:<multiplier>=<n|add|y|rem>
RLV_BHVR_CAMZOOMMAX and RLV_BHVR_SETCAM_FOVMAX are reference-counted. So @getstatus-style checks and @getcam_fovmax see an active FOV clamp, but the user's FOV is not saved and restored the way it is with @setcam_fovmax. Releasing it may leave the camera at the clamped angle.CompMin (the smallest maximum wins). If an object holds @setcam, only its values count.llOwnerSay("@camzoommax:0.5=n");
// Preferred modern form (angle in radians):
llOwnerSay("@setcam_fovmax:2.094=n");
RlvBehaviourProcessor<RLV_BHVR_CAMZOOMMAX, RlvBehaviourCamZoomMinMaxHandler>("camzoommax", BHVR_DEPRECATED) (rlvhelper.cpp:227).DEFAULT_FIELD_OF_VIEW / nMult on RLV_MODIFIER_SETCAM_FOVMAX, adjusts m_Behaviours[RLV_BHVR_SETCAM_FOVMAX] by hand, and sets fRefCount = true.@setcam_fovmax handler (rlvhandler.cpp:2354-2385) is bypassed. FOV clamping happens through RlvActions::getCameraFOVLimits() (rlvactions.cpp:109-121).This command works differently from RLV's @camzoommax; see the comparison.