Cinema
Cinema
Animate pixel arts or whole scenes(also animate Gifs)
Version: v2.1.4
gif by AnAwesomeGuy
PLUGIN IS DISCONTINUED!
remember that free plugins wont buy me food :3Ever wanted to animate one of your pixel arts? Or perhaps you would like to make a building change in a more elaborate way? Even wanted to make 3d movies come to life on your server? These dreams can now come true with this plugin!
Cinema is a block moving plugin which makes scenes come to life in a full moving picture!
How Does it work?
Simple~ Have you ever drawn a scene on a piece of paper, then on the next sheet the next scene and so on~ by the end of it you flip through your book and you see a moving picture.
The same rules apply here! You select your "Stage", and then you begin to implement your first scene known as a frame. Each save is a frame of your cinema and in the end the cinema will go through the frames in a loop or one time (You Choose!).
Main tutorials/videos from the creator
http://www.youtube.com/watch?v=aiIDRNG6WMU
http://www.youtube.com/watch?v=hvC1qQ8dEgE
nice demovideo from metroid4
http://www.youtube.com/watch?v=_7msPjYPFnk
some other videos
http://www.youtube.com/watch?v=ObIb29a-LBY
http://www.youtube.com/watch?v=8Dh7VBNQm40
Step one!
Selecting your stage,
By using /cpos1 and /cpos2 you can select your stage much like using world edit to select your cuboid space. (Alternatively you can select the field with an x y z coordinate /cpos1 [x] [y] [z] [[world name if console]] )
Once your field is created you can move to step 2!
Step Two!
Creating your first frame,
You need to make your beginning piece of pixel art, or 3d scene
Once built you use the command /csave <File name>
(/csavedelta can be used to reduce the file size and serverload when playing the files, but editing these files can give unwanted results)
Step Three!
Making more Frames,
You can repeat step two until your animation is complete!!
Step Four!
Playing your cinema,
This command is rather long but each field is necessary~
/cplay <playername> <filename> <frame duration> <play count>
The playername IS NOT YOUR NAME!! It is the name the plugin needs to identify the player for various commands. You can use any text as a player name but again, it is not your name!
Frame Duration is in milliseconds, 1000 milliseconds = 1 second
(this is the time that the plugin waits until it shows the next frame)
Play count is the amount of times the animation will play, using 0 will make the animation loop endlessly
Here is an example of what your command should look like
/cplay Theater1 test1 400 1
This means the cinema will have the name Theater1; use the file test1; play only once; and use a 400 millisecond frame duration.
Commands in this plugin:
- /cpos1 [x] [y] [z] [[worldname if console]] : set the first corner of your cuboid, which should be saved. if you play a saved file, this will be the pos1 you used by saving. so save your pixelart where you want. and then set pos1 to the destination and play your animation. if no parameters were given, the position of the players feet is used(the block you are standing in) as player you can also specify the x, y and z. if you want to use this command from the console. you also have to specify the worldname
- /cpos2 [x] [y] [z] [[worldname if console]] : sets the second corner of your cuboid. is just used for saving. parameters are the same as in /cpos1
- /csavedelta <filename> [frameindex] : saves the frame selected by pos1 and pos2 to the specified file. you can optionally specify the index in the file the frame should be saved to. e.g. /csave test 1 would save the frame as second frame in the animation. 0 would be first frame. if index is out of file the frame will be saved last. delta means, that only the differences to the previous frame will be saved, which means less serverload for bigger animations, and also smaller file size.
- /csave <filename> [frameindex] : saves whole frames instead of just the differences.
- /cplay <ID> <filename> <framedurationInMillis> <playcount>: plays the given file under the given ID (needed to stop this player with cstop)(ID does not refer to your own player name, but to the name you give the playing animation. it also can be 213232123 or whatever. its just for identification purposes later) playcount is the amount of times the file will be played. it then calls stop by itself. playCount = 0 means it plays endlessy the frameduration is the amount of time it takes until the next frame is drawn in your world.
- /cstop <ID> : stops the player with the given ID. this refers to the ID used in /cplay
- /cinemainfo : shows you the current pos1 and pos2. Also shows current version and give you a note if there is a new version available
- /canimations : shows all currently playing cinemaplayers
- /cinemaremove <filename> : removes the file with the given name. this cant be undone
- /ceditopen <filename> : opens a cinema animation for editing
- /ceditremove <index> : removes the frame at position <index>. the first frame has index 0
- /ceditsave : saves the changes made to the animation
- /ceditclose : closes the editor and file. all unsaved progress will be lost
- /ceditinfo : shows you the current loaded file in the editor
- /ceditshow <index> : draws the given frame at pos1.
- /cinemagif <input file name(with extension)> <output animation name> <alignment> : converts the given image (preferably a GIF animated file) into a cinema animation. for alignment see /cinemagifalignment. input file has to be in plugins/cinema/files/
- /cinemagifalignment : Shows you the 5 available alignments (use the numbers or the text shown here as arguments in /cinemagif
- /creverse <ID> : reverses a given players playdirection. you can reverse a playing animation
this list is not complete. use the /help command on your server to see all commands
Permissions: there is only one permission node: Cinema.basic
Features:
- Saves/deletes and plays animated Pixel arts/ 3d Scenes
- notifies you if a new version is available (use /cinemainfo)
- restores playing Cinemas after shutdown of server
- converts GIF-files to cinema-animations
@chunkimunki1
well there is the command /cplayworld <ID> <filename> <x> <y> <z> <world> [framedurationInMillis=250] [playcount=0] which can also take the coordinates and world as origin. maybe that helps? i know that is not listed on this page, but it should show up in the /help command for my plugin
you can always donate via the donate button on the top right of this page :D
Just had a quick thought! Could I/We in any way Donate/pay/bribe you into making this or a parallel plugin to be used as described below? IE fixed/saved world positions+reset command all for map making projects? Its only a request from a Dad trying to make an awesome Adventure map for my kids and your skill with this project had me excited with all the equally awesome potential it held! Truly I feel like Mr Spielburg trying to get the soddin' shark to work for an amazing effect!! Anyhoo thanks for your efforts to date- if only I were clever enough to achieve the same results using command blocks/script/variable triggers or indeed create it off the back of your fab endeavors- sadly I am not! Much kudos CM1
I think the penny has dropped. Your direction for the plugin is to be able to create and play animations basically in front of yourself, anywhere in a world, for purely artistic pleasure whereas I want to be able to fix an animation to a specific place in the world so as to be activated by the players in an adventure map. Cut scenes if you will. Not setting co-ordinates relative to the world but to the player negates the use of this plugin as a creative tool for map making. Colour me gutted!!
@chunkimunki1
well in previous versions there was only one pos1 and pos2 set for everyone. so now every player has his own set. the positions are initialized to 0,0,0 and the world the player is currently in. it makes a few things easier.
why save the positions? if you have to restart the server you are surely not going to do that while you are recording a cinema right?
Sorry, I meant that in the previous versions text in chat stated cpos1/2 were not set. Will post vid probably in next couple of days.
@chunkimunki1
yeah a video would help me more. what is not shown anymore since 2.1.2?
Ah perhaps a more detailed explanation is required. Principally its been test in the design of a simple door mechanism ie to form an aperture in a wall that should open once- the animation is only 6-7 frames long. It functions perfectly until I try to 'reset' it closed as per a map requirement. It will reverse 2 or 3 frames then stop leaving a hole- the only time it does reset is if I catch the animation 2 possible 3 frames into it- then it does reverse completely. The new 2.1.2v still doesn't save positions between server restarts but this time no message appears to tell you. Would a short vid be better at seeing the plugin in action rather than a written proof ? I will begin making a variety of animations to further test the plugin. Cheers
@chunkimunki1
so if you tell it to play multiple times it just stops after the first??
It would be an honour to test out any fixes you have planned! As with the reset issue, on the 1.8 Spigot server I've made, the animation stops at the end frame and requires reversing to get it back to the start. I have tried earlier versions with earlier Spigot jars and seemingly get the same problems.
@chunkimunki1
well the thing with the reverse thing is, that i have to save the region before i start playing an animation. if the animation ends the data of how the region was before, is lost. so the animation resets it after ending. what exactly would this reset command do?
as for that saving issue. would you volunteer to be my testsubject when im trying to fix this? i need faster feedback so i can fix this. because usually it takes weeks until someones says "that doesnt work" and then doesnt provide any details
Man o man, this is a fantastic plugin. My mind reels at its potential to make an adventure map come alive! Two things, however stop my creativity running amok.. 1) Could we not have a reset command instead of fiddlin' with reverse one currently and 2) and this is the biggest... As stated below the plugin (vers. 2.1.1) refuses to save the cpos co-ordinates between server restarts making multiple animations on a map impracticable to say the least! Will an 1.8 tweaking be in the cards? Please don't get cheesed off with updating as it is truly an awesome endeavour!!!!
Is there any command to removed a saved frame?
Still some suggestions ;)
1,Fake animation: only show in client side , not affecting server world
2,OnlySetAir flag: only change blocks when target location is air block
3,Reduciton animation: being able to remove all blocks this animation affect, can act like a temporart field shield :)
@fredlllll
I mean it works and if the server restarts or something as an animation is playing it'll give me that message when I try to start it back up, but if I restart the server again it'll fix and let me type the command again.
Also it asks me to set the 2 corner positions again each time I want to play it again after server restarts is it supposed to do that? I really just wanted the plugin to run continuously without stopping or have a sign that allows you to stop it or play it anytime (which I can do through another plugin) but I can't do that if I have to set the 2 corners each time.
@Onewingseraphim
thats strange .. it works for me. i tested it multiple times. do you have access to the server console? does it display a error message? something with exception?
@fredlllll
2.1.1 I'm pretty sure.
It breaks everytime I restart the server.
@Onewingseraphim
what version did you use?
I got the "this command is broken O_o. please report that you got this message" after I restarted my server.
I created one animation and played it perfectly, but when I restarted my server the commands broke. :(
Wait so what goes in player name
Really glad to see you've update the plugin! :)With the 1.8 spigot release, you might be able to test it again.
And still some suggestion: playcount,framediration & blockchanges( that'll be saved) restriction based on perms. ;)