Jump to content
Sign in to follow this  
zeotrope

Default Initial Camera - Gamemaster

Recommended Posts

Found a solution to custom maps using GAMEMASTER where the initial camera can be set when the Terrain Loads. This prevents the camera being anywhere but where you need it. ie: Out to sea with no land in sight !

First load up EDEN_GM and have a close look at the entity Gamemode_GameMaster.
You will notice a component labeled, "SCR_EditorCameraDefaultsComponent"
You will also notice there are around 8 or so different camera angles (SCR_CameraCoordinates) associated with this component. These seem to ideal camera angles set up for EDEN when you load up GAMEMASTER

Copy and add this Gamemaster Entity to your map. Obviously delete your current one first.
Now select the Gamemaster entity and Delete (minus) all but 1 of the SCR_CameraCoordinates. If you are happy with only 1 camera angle then no need to add more.... add as many as you want.

To get your current camera position (x,y,z) and angle, click the CAMERA Tab located at the top of your main world window. Camera position and angles are shown. Use these parameters (once you have found a nice view angle) and copy them into the SCR_CameraCoordinates, one by one.

As you add camera angles etc, you should see PINK Vectors Planes on your map showing their relative view angles. These represent your newly created camera angles.

Tested this in workshop with one or more angles and it works just fine.

The next thing I would like to do is add a Cinematic Camera to the initial view....but that may not yet be possible.

Anyway, I hope this helps someone. It puzzled me until I had a logical look into some of the Entity properties.

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×