CryMovie is the central point for managing camera and sequence related things in CRYENGINE. It offers a simple interface that is already used by other engine components such as flowgraph, viewports and the new trackview tool plugin. It allows you to easily animate certain values of an object like position or rotation data.
flag name | purpose |
---|---|
PlayOnReset | Automatically starts the sequence on game reset/game start |
OutOfRangeLoop | Defines if the sequence is played in a loop between start- and end time |
CutScene | Defines if the sequence is a cutscene |
NoUI | Disables all UI during playback (toggles sys_flash cvar) |
NoPlayer | Disables the drawing of the player entity (must be implemented by game code) |
NoSeek | Disables seek functionality in sequence |
NoAbort | Disables the "abort" action during sequence playback |
cvar name | expected value |
---|---|
capture_file_format | Set the file format extension (default is "tga", currently supported file formats are "jpg" and "tga") |
capture_frame_once | Defines if a single frame is going to be captured (screenshot) (default is "0" for sequence capturing) |
capture_folder | Defines the folder within your game project (will be created if it doesn't exist already, data will be overwritten!) |
t_FixedStep | Defines the timestep for the renderer (default is 0,033333 for 30 fps) |
capture_file_prefix | Defines the prefix within the file name |
capture_frames | Enables/Disables frame capturing, make sure all other values are set correctly before setting this to "1" |
General camera parameters
You can set and get the camera parameters for the currently active camera. Those parameters include:
parameter name | purpose |
---|---|
Camera Id | set/get the current camera entity id |
Fov | fov setting of the currently active camera |
Game Camera Influence | set/get the current game camera influence (implemented in gamecode) |
NearZ | set/get the current NearZ value of the camera (default is 0.25) |