Repository navigation
Commands 03 Observer camera
Descriptions for commands that are modifiable through the OPTIONS -> CLASSICS PATCH -> Observer camera & photo mode menu.
These commands are a part of the observer camera system (OCAM) for detaching camera from the player for flying around the world.
-
ocam_bActive- Dynamic toggling of free-fly camera during demo playback, while observing multiplayer games or while dead in Cooperative mode. -
ocam_bPosingMode- Toggle between player model posing and free-fly movement in photo mode. -
ocam_iShowInfo- Display properties and controls of the observer camera (1by default).-
-1- Fully disabled, including the header with tips about toggling different modes -
0- Hidden -
1- Shown -
2- Shown with console commands next to the associated properties and controls
-
-
ocam_bPlaybackSpeedControl- Allow camera to change demo playback speed during recording playback (OFF by default). -
ocam_bSmoothPlayback- Make camera during recording playback move smoothly along a curve instead of stiffly shifting from one position to another. -
ocam_fSmoothTension- Tension value for smooth movement during recording playback. Values up to1.0control how much the camera will ease-in and ease-out from positions (0.0by default). -
ocam_fSpeed- Free-fly camera speed multiplier. -
ocam_fTiltAngleMul- Tilt angle multiplier for instant rotation or speed factor for smooth rotation (1.0by default). -
ocam_fFOV- Current camera FOV during free-fly movement (90.0by default). -
ocam_fFOVChangeMul- Multiply speed for changing the FOV using "Zoom in" and "Zoom out" controls (1.0by default). -
ocam_fSmoothMovement- Factor for smooth camera movement.1.0and above make the camera move instantly without any acceleration or deceleration (1.0by default). -
ocam_fSmoothRotation- Factor for smooth camera rotation.1.0and above make the camera rotate instantly without any acceleration or deceleration (1.0by default). -
ocam_iFocusPlayer- Toggle focus mode for the currently selected player. Useful for tracking player movement (0by default).-
0- Off -
1- Camera angle locked onto the player -
2- Orbiting around the player at a distance specified inocam_fFocusDist(reset to6.0if the distance is below zero)
-
-
ocam_fFocusDist- Values starting from0.0keep the camera close to the currently selected player no further than the specified distance (-1.0by default). -
ocam_bGrid- Display the rule of thirds grid over the camera view (OFF by default). -
ocam_iScreenshotW- Resolution width for taking high quality screenshots (1920by default). -
ocam_iScreenshotH- Resolution height for taking high quality screenshots (1080by default).
Tip
When taking global/Steam screenshots while in "photo mode" (F12 key by default), it saves a high quality screenshot from the camera's point of view with custom resolution specified by these commands.
-
ocam_iPose- Selected pose for the player model (-1by default).-
-1- Current player appearance with no pose -
0- Copy of the current player animations with custom items and offsetting -
1and higher - Specific player pose in the list
-
-
ocam_iPoseItemL- Selected item model for the left hand of the player model while posing (-1by default).-
-1- Current hand attachments -
0- No item -
1and higher - Specific item model in the list
-
-
ocam_iPoseItemR- Selected item model for the right hand of the player model while posing (-1by default).-
-1- Current hand attachments -
0- No item -
1and higher - Specific item model in the list
-
-
ocam_fPoseBodyH- Additional "Heading" angle for the body rotation of the current pose (0.0by default). -
ocam_fPoseBodyP- Additional "Pitch" angle for the body rotation of the current pose (0.0by default). -
ocam_fPoseBodyB- Additional "Banking" angle for the body rotation of the current pose (0.0by default).
Relevant functionality that isn't usable or configurable via these options.
-
ocam_ReloadPoses()- Reload available poses for the photo mode from INI configs. -
ocam_ReloadItems()- Reload available items for the photo mode from AMC configs. -
ocam_bCustomPoses- Developer command for entering the mode for creating custom poses (OFF by default).- Allows customization of the player pose by using the commands below or by pressing the numpad keys.
-
ocam_iPoseLegsAnim- Developer command for creating custom poses by setting the legs animation (-1by default).- Changed by pressing Num 8 (previous animation) and Num 2 (next animation).
-
ocam_iPoseLegsFrame- Developer command for creating custom poses by setting a specific frame of the legs animation (0by default).- Changed by pressing Num 1 (previous frame) and Num 3 (next frame).
-
ocam_iPoseBodyAnim- Developer command for creating custom poses by setting the body animation (-1by default).- Changed by pressing Num 4 (previous animation) and Num 6 (next animation).
-
ocam_iPoseBodyFrame- Developer command for creating custom poses by setting a specific frame of the body animation (0by default).- Changed by pressing Num 7 (previous frame) and Num 9 (next frame).
Designed and developed by Dreamy Cecil since 2022