Page 1 of 1

[Mod] Animated torches [20120621][animatedtorches]

PostPosted: Thu Jun 21, 2012 19:03
by VanessaE
This simple mod uses a bit of code cobbled together from the default torches and from the recently-introduced animated lava to create proper, animated torches. All existing torches (wall, ceiling, floor) will be displayed with the new animated texture, but no nodes are being replaced. Inventory/wield image uses a frame from the on-floor texture. All textures by me (derived from a rendered torch and an actual burning flame).

As of 2012-09-02, this mod is part of the 'default' mod in minetest_game.

For those using older builds, this mod requires a build or git pull of Minetest dated June 17, 2012 or later, and the stuff below applies as before.

What it looks like:

Image

License: N/A
Download: N/A

(GIF, scaled up to make it more visible)

PostPosted: Thu Jun 21, 2012 19:17
by InfinityProject
Nice but sometimes glitchy. It sometimes has a texture with random red squares around it.

PostPosted: Thu Jun 21, 2012 19:31
by VanessaE
Update your copy of minetest - that glitch was fixed very recently.

PostPosted: Sat Jun 23, 2012 20:23
by Neuromancer
VanessaE wrote:Update your copy of minetest - that glitch was fixed very recently.

I'm pretty sure I'm using the latest git minetest-0.4.dev-20120606-win32.zip, but while the torch looks ok in my hand, when I place it, I get "unknown block"

PostPosted: Sun Jun 24, 2012 01:52
by VanessaE
You have to be using a copy from git, rather than the 20120606 build (believe it or not, it's too old :-) ).

PostPosted: Sun Jun 24, 2012 14:13
by Neuromancer
VanessaE wrote:You have to be using a copy from git, rather than the 20120606 build (believe it or not, it's too old :-) ).

Thanks much. I've got it from git, but I'm assuming that the only way to do this is to compile it myself, right? (following the instructions in the readme ) Or is the latest compiled version also in git?

So close and yet so far. I fixed this error:
4>..\..\minetest\src\camera.cpp(252) : error C2065: 'M_PI' : undeclared identifier

Working on this one:
\Documents\GitHub\libvorbisfile.dll : fatal error LNK1107: invalid or corrupt file: cannot read at 0x2B8


Sorry for the noob questions. P.S. did you see the 3-D furniture created on the other languages forum yet? It looks awesome and something you might be able to use in your homedecor mod.

PostPosted: Fri Jun 29, 2012 18:06
by VanessaE
I've seen it, but doesn't work too well for me (performance issues)

PostPosted: Tue Jul 03, 2012 03:17
by Josh
Very nice mod VanessaE maybe we could ask celeron55 if he could put this in the vanilla game & then add a flame sound to it!

PostPosted: Sun Jul 08, 2012 19:13
by mrtux
I like the idea of this mod! Great work! 8)
VanessaE, you make lots of great mods for Minetest, I find them very usable.

PostPosted: Sun Jul 08, 2012 22:31
by VanessaE
Thanks :-)

PostPosted: Thu Jul 12, 2012 17:56
by cHyper
awesome mod...

PostPosted: Sun Jul 15, 2012 03:27
by theniceguy
Great mod, this mods should be merge with the minetest build!

PostPosted: Wed Jul 18, 2012 16:04
by nyancrafter
hi there !
im kind of a noob in minetest, can anyone tell me what is a git pull ?

PostPosted: Wed Jul 18, 2012 16:37
by Temperest
Git is a version control system. "pulling" is an action wherein a local repository is updated with the changes from the remote repository (essentially). In this case, `git pull` refers to getting the source code directly from the MineTest repository and compiling it yourself, as opposed to using one of the binary builds occasionally provided at the MineTest development blog.

You can also use a nightly build available on the forums, most are recent enough to support this mod.

PostPosted: Wed Jul 18, 2012 17:45
by VanessaE
minetest 0.4 is distributed from a site called github, using a transfer protocol and source code management system called git. A 'git pull' means to download the code from the github repository. "latest git" means to make sure the code you downloaded is the very latest revision (which is usually the case if you don't explicitly go looking for older revisions).

PostPosted: Thu Aug 16, 2012 20:08
by Neuromancer
Feature Request: 64x64 animated torches alternative option. How hard would this be to do? I tried using Paint.Net to increase the size, but the colors blurred and it looked horrible. It would have to be done using your original technique I think.

PostPosted: Thu Aug 16, 2012 21:25
by VanessaE
See my 64px photorealistic texture pack. 64px equivalents are present in there.

https://github.com/VanessaE/64px-realistic-textures

PostPosted: Thu Aug 16, 2012 23:28
by Neuromancer
VanessaE wrote:See my 64px photorealistic texture pack. 64px equivalents are present in there.

https://github.com/VanessaE/64px-realistic-textures

Awesome! Thanks!

PostPosted: Fri Aug 17, 2012 00:23
by Blackthorne
Love this mod. It's simple, but effective. It's one of my default mods on my private world. Thanks! :D

PostPosted: Fri Aug 17, 2012 02:20
by VanessaE
As far as I'm concerned, everyone should install all my mods, especially animated torches :-)

PostPosted: Fri Aug 17, 2012 03:05
by Blackthorne
VanessaE wrote:As far as I'm concerned, everyone should install all my mods, especially animated torches :-)

I would agree. :D The torches just add this ambiance to everything. I'm still toying with your other mods, too.

PostPosted: Fri Aug 17, 2012 04:10
by VanessaE
I think so anyway :-)

PostPosted: Sun Aug 19, 2012 12:50
by VanessaE
I've submitted a request to celeron55's github repository to include this mod in the mainline game. It is now up to him to accept or refuse. :-)

PostPosted: Sun Aug 19, 2012 19:55
by Neuromancer
VanessaE wrote:I've submitted a request to celeron55's github repository to include this mod in the mainline game. It is now up to him to accept or refuse. :-)

+1

PostPosted: Mon Aug 20, 2012 02:47
by Gambit
If only inkscape could animate, then I could make an animated torch for MineToon.

I guess I'll have to do it the hard way then.

PostPosted: Mon Aug 20, 2012 03:27
by VanessaE
if you take say the 64px version in my photorealistic texture pack, maybe scale it down a little to make it more blocky, and then run it through inkscape's "trace bitmap" feature, it might get you close.

PostPosted: Sun Sep 02, 2012 22:26
by VanessaE
Woohoo! As of 2012-09-02, this mod is part of the minetest_game git repository!

PostPosted: Sun Sep 02, 2012 22:52
by Temperest
Whoa awesome!

This new GitHub notification system is a bit confusing, looks like I'll have to re-watch a bunch of things again.