Filters are a great way to make high quality animations for your texture packs. They can provide a wide variety of effects, and can make your textures look truly amazing. They have one downside, however: the output of all animation filters is a layered image, with each frame in its own layer. All the frames must be copied over into another image before they can be used in Minecraft. This process can become extremely time-consuming, especially when you have twenty animations to do, with over three dozen frames each. This process is particularly a hassle when your're creating water or lava animations, as each frame must be tiled 2x2 as well as stacked. That is why I wrote these scripts, to automate an otherwise time-consuming process. This script takes all the layers of an image and stacks them vertically in a Minecraft-useable filmstrip. It essentially takes this:
and turns it into this:
Or with the liquids version, this:Installation Instructions:
Download the script and save it somewhere on your computer.
Navigate to wherever it was that you saved the script. Right click it, and click "copy."
Navigate to your GIMP folder (in Windows, this will be located under C:\Prgoram Files)
In the GIMP folder, navigate to share\gimp\2.0\scripts.
Right click on an empty space, click "paste," and you're done!
Operation Instructions:
Open GIMP, and open your layered image.
Make sure that the layers are in the right order. The first frame of the animation must be at the top, and the last frame at the bottom. If you find that your frames are in the wrong order (i.e. last frame on the top, first frame on the bottom), you can click Layer->Stack->Reverse Layer Order, and it will put your layers in the order they need to be in.
Click on File->Create->Minecraft Animatoin. If you want to create a flowing liquid animation, click the check box.
The script will create a new image with all the frames of your animation set up in the correct positions for a Minecraft animation.
This work is licensed under the GNU General Public License 3.0, meaning you're free to alter and distribute it as much as you like! Please leave feedback, including suggestions for other filters and projects! If this has helped you in any way, leave a comment and bump it back up to the top so people can find it!
I've uploaded a patch to get rid of the transparency issues, as well as adding some important information to the OP in the instructions section. I'm glad to see some people are already getting some use out of this!
Fixed. I use 2.8, and a lot of the API was changed in that release. Scripts that work for 2.8 may not work for 2.6, and vice-versa. I had to put up an alternate download for past versions, but it should work for everything past 1.0 now.
I would like versions of this script for Paint.NET and Photoshop, but I'll have to learn C# and Java before that will happen. It shouldn't be too hard, since I'm already familiar with C++, but it may take a while.
I've added something much better. I now have a version of the script that tiles the frames as well as stacks them (essentially creating a water or lava animation).
Thanks for replying. In was a little bit dumb on my side.
At first I want to say, thank you for making this epic script!
But I encountered a problem. Making normal animations works perfectly and I managed to make my own 256x256 still water but I can't get the flowing water to work. I used your 2x2 tile script but it did not work.
My mcmeta files look like this.
{
"animation": {}
}
They are named water_flow.png.mcmeta and water_still.png.mcmeta. I am 99% sure it is not the mcmeta file but I would like to know what the problem is. I did everything step-by-step. Do you mind taking a look at the files? Here I have a mediafire link. http://www.mediafire...p/The_water.zip
When you say it didn't work, do you mean that the script worked, but it didn't apply the texture right in the game? Or that there was a problem running the script?
The code looks good, that should be fine.
I don't know if it's this way in your pack or just the zip you posted, but you have your flowing water png named "water_flowing.png," when it should be "water_flow.png." Try changing the name, and see if it works.
I linked this to someone yesterday, so it was on my mind. I decided to do a few little updates, since my programming skills have improved a bit. (I only changed four or five lines, but still.)
I merged both scripts into a single file. When you activate the script, a little dialog will pop up. There's a checkbox you can click if you want to make a flowing liquid animation. I also moved in in the menu to Image->Create->Minecraft Animation. And finally, I made it work even with invisible layers. No more gaps in the filmstrip!
Hopefully this makes the filter a little easier to use!
It says that in the OP (in the "Installation" spoiler), but basically you find the folder that GIMP stores settings and such and put the downloaded file in the "scripts" folder.
Rollback Post to RevisionRollBack
"I'm an outsider by choice, but not truly.
It’s the unpleasantness of the system that keeps me out.
I’d rather be in, in a good system. That’s where my discontent comes from:
being forced to choose to stay outside.
My advice: Just keep movin’ straight ahead.
Every now and then you find yourself in a different place."
-George Carlin
Perhaps I am being stupid once again but I can't find your script in Gimp 2.8 when editing. I have installed it in C:\Program Files\GIMP 2\share\gimp\2.0\scripts which is, according to all my other scripts the right place.
When I look at Image I see this: (pardon me, I do not know how to make a spoiler.)
//i.imgur.com/tUUUISG.png" target="" data-ensure-absolute>http://i.imgur.com/tUUUISG.png" />
I have checked my filters but there too I only find all my other scripts.
Apparently, when I did that update a while ago, I changed the location of the script. It's now under File->Create->Minecraft Animation.
and turns it into this:
Or with the liquids version, this:Installation Instructions:
Your avatar?
Nice one, now just need a Photoshop Script/action
If GIMP can open PSDs, just export it there and back.
That is very true
Yes
I just made some Peyton grass using this script!
Can you make one for Paint.net also?
That's the most amazing!
THE MOST AMAZING.
EDIT:
Okay, I just used it to great effectiveness, but not for an animation, merely just for editing multiple images at once, like using the old terrain.png
I love this script. So simple, yet so effictive.
Oh, I'm using 2.6.
Fixed. I use 2.8, and a lot of the API was changed in that release. Scripts that work for 2.8 may not work for 2.6, and vice-versa. I had to put up an alternate download for past versions, but it should work for everything past 1.0 now.
I would like versions of this script for Paint.NET and Photoshop, but I'll have to learn C# and Java before that will happen. It shouldn't be too hard, since I'm already familiar with C++, but it may take a while.
Enjoy!
There are installation instructions in the OP, under the images.
When you say it didn't work, do you mean that the script worked, but it didn't apply the texture right in the game? Or that there was a problem running the script?
The code looks good, that should be fine.
I don't know if it's this way in your pack or just the zip you posted, but you have your flowing water png named "water_flowing.png," when it should be "water_flow.png." Try changing the name, and see if it works.
I linked this to someone yesterday, so it was on my mind. I decided to do a few little updates, since my programming skills have improved a bit. (I only changed four or five lines, but still.)
I merged both scripts into a single file. When you activate the script, a little dialog will pop up. There's a checkbox you can click if you want to make a flowing liquid animation. I also moved in in the menu to Image->Create->Minecraft Animation. And finally, I made it work even with invisible layers. No more gaps in the filmstrip!
Hopefully this makes the filter a little easier to use!
It says that in the OP (in the "Installation" spoiler), but basically you find the folder that GIMP stores settings and such and put the downloaded file in the "scripts" folder.
"I'm an outsider by choice, but not truly.
It’s the unpleasantness of the system that keeps me out.
I’d rather be in, in a good system. That’s where my discontent comes from:
being forced to choose to stay outside.
My advice: Just keep movin’ straight ahead.
Every now and then you find yourself in a different place."
-George Carlin
Apparently, when I did that update a while ago, I changed the location of the script. It's now under File->Create->Minecraft Animation.