Teardown

Teardown

Not enough ratings
Easy Camera Movement
   
Award
Favorite
Favorited
Unfavorite
Type: Content
Category: Tool
File Size
Posted
Updated
525.688 KB
Dec 9, 2021 @ 2:58pm
Dec 10, 2021 @ 5:48am
9 Change Notes ( view )

Subscribe to download
Easy Camera Movement

Description
Here you have a little helper script for camera movements.

It allows you to place locations, shapes or bodies that can be tagged in varoious ways to create either static camera angles ore moving camera flights as well as rotations.

Tags

Place the following tags on location, shape or body objects on the map:

EasyCamera_1, EasyCamera_2, ... EasyCamera_X

This sets the order in which cameras are activated. If you want to cycle between 3 cameras you need 3 objects with this tag counting up. So the first camera location will be EasyCamera_1. the second is EasyCamera_2 and so on.

movementType=next|fixed|follow (default = fixed)

This sets the movemen type of the camera. If the type is fixed, the camera will be fixed to the transform of its object until its duration is over. If the type is next, this camera will slowly move from its current position and rotation to the next cameras position and rotation making camera flights possible.When the type is next, the duration will determine how fast the camera is moving. The following option will follow a target given by the EasyCamera_Target tag. If no tag is given, the target is determined as the first object found when raycasting forward from the camera.

EasyCamera_Target={some other tag of an object}

This will be the target for a follower camera. The value must be a valid tag that can be found on the map. Once set, the camera will remember the relative position to the target. So if the target moves or turns, the camera will follow. Good for 3rd person cameras.

duration=5

This sets the duration for how long this camera will be actively shown. After this duration the script either moves to the next camera in line or stops, depending on the script parameters.


Script Parameters

maxCameraCount (integer - default = 1000)

Defines the maximum of different camera locations you can use under the script.

activeOnStart (bool - default = true)

Defines if this script is active from the beginning. If false, it has to be manually enabled by writing SetBool("EasyCamera{.id}.active",true), using the id given via the parameter. If no id was given then the default id is blank. So It will be SetBool("EasyCamera.active",true) then.

deactivateAfterOneCycle (bool - default = false)

Defines if the script will cycle endlessly throught the cameras or stop after one cycle. Use endless mode for title or end screens and deactivate the cycling for single usages like a short video sequence before the player can play again.

id (string - default = "" = Empty)

Defines a seperate id to use in the registry parameter to activate the script. This is usefull if you have different copies of this script in one map.


Camera Activators

If you want your camera or camera sequence to be activated by the player hitting "E" (interact) on some object or button, then just tag the object with:

EasyCamera_Activator=id if you have set an id to your script or simply EasyCamera_Activator if no id has been set.
Popular Discussions View All (1)
0
Apr 29, 2022 @ 12:27pm
Addon Suggestion: Object Transforming Device
Brainrotted
9 Comments
TipperScout Aug 4 @ 2:21pm 
WARNING! Carry on reading! Or you will die, even if you only looked at the word warning! Once there was a little boy called Joey, he was ten-years-old and he lived in a mental hospital because he posted a shitty copypasta onto a People Playground mod's comment section . He got so bad he went to kill all the staff in the hospital so the Feds decided that best idea was to get rid of him so they set up a special room to kill him, as inhumane as possible. And he sat there in agony for hours until he died. Now every week on the day of his death he returns to the person that reads this letter, on a monday night at 12:00 a.m. He creeps into your room and kills you slowly, by pegging you and watching you bleed to death. Now send this to ten other profiles on this one site, and he will haunt someone else who doesn't. This isn't fake. apparently if u copy and paste this to ten comments in the next ten minutes nothing will happen: sorry man i am not taking the risk
chantzpantz Aug 4, 2022 @ 1:01am 
HELP PLEASE
chantzpantz Aug 4, 2022 @ 12:28am 
I CANT ACTIVATE THE CAMRA
chantzpantz Aug 4, 2022 @ 12:26am 
I CANT ACTAVATE IT
jhothompson Jan 31, 2022 @ 7:19pm 
1011
Rubikow  [author] Dec 10, 2021 @ 3:13pm 
The cameras can look straight down, you only need to rotate the locations. They have a long lime green line that indicates the direction they are looking at. So straight down is no problem. Even in the following mode.
Catatonic Dec 10, 2021 @ 7:15am 
Now pls make a mod where you can look straight down. that'd be useful.
Rubikow  [author] Dec 10, 2021 @ 5:49am 
You're welcome!
TallTim Dec 9, 2021 @ 4:17pm 
Nice one - thanks for making this!