1 (edited by VanessaE 2012-09-02 22:30:14)

Topic: [Mod] Animated torches [20120621][animatedtorches]

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.

Dependencies: just the default stuff.

License: GPL for the code, WTFPL for the textures.

Download:  https://github.com/VanessaE/animatedtor … all/master
...or browse the code:  https://github.com/VanessaE/animatedtorches

Install: Unzip the file, rename the resultant VanessaE-animatedtorches-blahblah folder to just "animatedtorches", and move it into Minetest's mods folder.

What it looks like:

http://digitalaudioconcepts.com/vanessa/hobbies/minetest/screenshots/animated-torch.gif

(GIF, scaled up to make it more visible)

Re: [Mod] Animated torches [20120621][animatedtorches]

Nice but sometimes glitchy. It sometimes has a texture with random red squares around it.

Check out my Diamonds Mod. This adds diamonds that can be mined as well as tools.

Click here to be enlightened by the Blue Devils.

Re: [Mod] Animated torches [20120621][animatedtorches]

Update your copy of minetest - that glitch was fixed very recently.

Re: [Mod] Animated torches [20120621][animatedtorches]

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"

Uber Texture Pack
Mods:Immersive Sounds
Cylinders in Multinode
Phonics donate: 1jTbc5MR3dmMWriRA98RgwWdfPR1qTzsn

Re: [Mod] Animated torches [20120621][animatedtorches]

You have to be using a copy from git, rather than the 20120606 build (believe it or not, it's too old :-)  ).

6 (edited by Neuromancer 2012-06-25 19:15:43)

Re: [Mod] Animated torches [20120621][animatedtorches]

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.

Uber Texture Pack
Mods:Immersive Sounds
Cylinders in Multinode
Phonics donate: 1jTbc5MR3dmMWriRA98RgwWdfPR1qTzsn

Re: [Mod] Animated torches [20120621][animatedtorches]

I've seen it, but doesn't work too well for me (performance issues)

Re: [Mod] Animated torches [20120621][animatedtorches]

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!

If you dont like something in minetest, you can remove it.....

Re: [Mod] Animated torches [20120621][animatedtorches]

I like the idea of this mod! Great work! 8)
VanessaE, you make lots of great mods for Minetest, I find them very usable.

Re: [Mod] Animated torches [20120621][animatedtorches]

Thanks :-)

Re: [Mod] Animated torches [20120621][animatedtorches]

awesome mod...

Visit my homepage: www.chyper.com

Re: [Mod] Animated torches [20120621][animatedtorches]

Great mod, this mods should be merge with the minetest build!

Re: [Mod] Animated torches [20120621][animatedtorches]

hi there !
im kind of a noob in minetest, can anyone tell me what is a git pull ?

nyan nyan nyan :D

Re: [Mod] Animated torches [20120621][animatedtorches]

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.

The Mesecons Laboratory, a site dedicated to the art of Mesecons circuitry!

Latest article: Mesecons Basics.

Re: [Mod] Animated torches [20120621][animatedtorches]

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).

16 (edited by Neuromancer 2012-08-16 20:09:20)

Re: [Mod] Animated torches [20120621][animatedtorches]

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.

Uber Texture Pack
Mods:Immersive Sounds
Cylinders in Multinode
Phonics donate: 1jTbc5MR3dmMWriRA98RgwWdfPR1qTzsn

Re: [Mod] Animated torches [20120621][animatedtorches]

See my 64px photorealistic texture pack.  64px equivalents are present in there.

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

Re: [Mod] Animated torches [20120621][animatedtorches]

VanessaE wrote:

See my 64px photorealistic texture pack.  64px equivalents are present in there.

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

Awesome!  Thanks!

Uber Texture Pack
Mods:Immersive Sounds
Cylinders in Multinode
Phonics donate: 1jTbc5MR3dmMWriRA98RgwWdfPR1qTzsn

Re: [Mod] Animated torches [20120621][animatedtorches]

Love this mod. It's simple, but effective. It's one of my default mods on my private world. Thanks! :D

Re: [Mod] Animated torches [20120621][animatedtorches]

As far as I'm concerned, everyone should install all my mods, especially animated torches :-)

Re: [Mod] Animated torches [20120621][animatedtorches]

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.

Re: [Mod] Animated torches [20120621][animatedtorches]

I think so anyway :-)

Re: [Mod] Animated torches [20120621][animatedtorches]

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. :-)

Re: [Mod] Animated torches [20120621][animatedtorches]

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

Uber Texture Pack
Mods:Immersive Sounds
Cylinders in Multinode
Phonics donate: 1jTbc5MR3dmMWriRA98RgwWdfPR1qTzsn

Re: [Mod] Animated torches [20120621][animatedtorches]

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.

Current Projects: MineToon | PixelBOX
Gambit's Checkmate Server - 43.65.296.232 - port: 30001