Tuesday, June 24, 2025

Custom Event Editor: Camera Step

Camera step is to tell the game where the view point is and what view angle should it takes.

The default waiting type is "Auto", but it could change to "Camera Pan" depends on settings.

  

Camera

(1) Camera Position, (2) Target Position, (3) Angles, (4) Camera Distance.
These four values are to control how the camera should be placed and where should it looks at. You should not update these four values manually. Instead capture these values from Loader and paste them.

Please scroll to the bottom for details of capturing camera data.


(5) Smooth Camera Movement. 

If you check this checkbox, the camera will move to the destination gradually.
If you leave this checkbox uncheck, the camera will be set instantly. 

Note that changing this value will update the waiting type too. You do not have to do extra setting on the waiting type or else the problem may occur.


(6) Duration

Only available if "Smooth Camera Movement" is checked. Determine the number of seconds that the camera movement is going to take. 

Default value is 2 seconds.


(7) Lock Camera 

You can change the status of camera to block or unblock the user from using the mouse wheel to move the camera. 


(8) Blur Effect

You can apply a blur effect to the camera if you need.


(9) Camera Data Parser.

This part is for parse the camera data and copy it into (1)-(4) so that the creator is not required to do the copy and paste 4 times. 

 

How do I capture the camera data?

Press the F1 to open the Configuration Manager. You can set the keyboard hotkey for "Print Camera Info Key". This hot key is used for capturing camera data in the game. The default key is "C".

Go to the studio mode and setup your scene. Move your camera by mouse wheel and right click dragging until you are satisfied with the view angle. Press the hotkey set above.
Go to the console window, you can see that there are a few lines added there (red area in the screenshot above).

Now you have 2 ways to copy the values to the editor.

1. You can copy the first 4 lines "Camera Pos", "Camera Target Pos", "Camera angle" and "Camera Distance" and paste it to the textbox (1)-(4) respectively. Be sure to exclude the brackets.

Or

2. Copy the last line "For Camera Data Parser" and paste it to the textbox (9) Camera Data Parser. Click the "Parse" button and the editor will automatically copy the 4 values to (1)-(4). Again exclude the brackets, you only need the numbers inside.
 

 

 

 

 

No comments:

Post a Comment

Custom Event Editor: Evaluate Step

Evaluate Step is to let use the parameters or variables in the game to do some computations and stored it in a result variable. It could...