HomeJavaModsCPCameraStudioReborn - Smooth Cinematic Movement!
CPCameraStudioReborn - Smooth Cinematic Movement!
ModsJava

CPCameraStudioReborn - Smooth Cinematic Movement!

⬇ Download on Spigot
CPCameraStudioRebornLogoOverWithCamera5000.png
Introducing an Updated Version of the CPCameraStudio plugin!
The CPCameraStudioReborn plugin allows you to create smooth cinematic transitions between a number of points using a few simple commands.

Using the /cam p command you can set waypoints at the position you're currently at. You are going to travel to these waypoints when executing the /cam start command.
Then you specify the duration of your travelling using the /cam start command and the Plugin will smoothly move you between the specified points within the given time. Also, the Plugin automatically calculates the distance between the points to adjust the camera speed.

Example: /cam start 1m30s will take 1 minute and 30 seconds to travel.

Available Commands:
Config File:

F.A.Q.:
Q: The camera mouvement is jittery! Why?

A: The plugin works by teleporting you every Minecraft tick. Since one second only has 20 ticks the teleporting doesn't look that good. We are working however on ways to improve this! If you want smoother movement however, make sure you are not changing the position of your head using your mouse but only use the WASD keys to move as it causes the least jitter. Also, due to the the 20 teleports per second limit, it is best that you set large amounts of time for the travelling.
Q: The plugin is made by CrushedPixel! How dare you decompile the plugin?
A: I have full permission for releasing this plugin: https://goo.gl/photos/C37kBQxJ1V5Ky7D2A
Q: I want to disable the message when I join.
A: You can disable it in the config!
Q: I have an idea? Can I tell you?
A: Hell yeah! Tell me in the Discussion tab and I'll try implementing it!



API for Developers:
Spoiler: Click to see API method
Start by making a list of the Locations you want to send the player to.
Then call CameraStudio.travel. First variable is the player, second the list with your locations, third the number of ticks you want the travel to be (You can also call CameraStudio.parseTimeString tp do it like in game), fourth is the message you will get if the travel fails, fifth is the message you get when the travel is done.

Example:
Code (Text):
List<Location> locations = new ArrayList<Location>();

locations.add(new Location(Bukkit.getWorld("WorldName"), 3014.5, 86, 2986.5, 49.5F, 31.3F));
locations.add(new Location(Bukkit.getWorld("WorldName"), 2995.5, 74, 2988.5, -40.8F, -5.0F));

try {
       CameraStudio.travel(player, locations, CameraStudio.parseTimeString("1m20s"), "FAIL", "DONE");
} catch (ParseException e) {
       player.sendMessage("Error with time parsing");
}
There is also the CameraStudio#isTravelling() method that returns a boolean of whether the player is travelling or not.

Lastly, you can use the CameraStudio#stop() method that will stop the specified player if he is travelling.

Source Code on Github:
https://github.com/chrismin13/CPCameraStudioReborn/

BEFORE POSTING A REVIEW:
If you have a bug - go to the Discussion and report it.

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

CPCameraStudioReborn - Smooth Cinematic Movement! is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 14,137 times (via Spigot). Download it and open it directly in the game.

Explore more