[Mod] torches [torches]
[Mod] torches [torches]
I've brushed up Blockmen's excellent 3D torch mod, and re-released it, with the following modifications:
This mod is part of minetest_game 0.4.15!
With exception of the wieldlight, this mod is part of the default game. The current code here is kept for archival purposes.
I may end up breaking out the wieldlight into a separate mod for use with 0.4.15. If that happens I'll insert a link here.
~~~~~~
- added wield light - hold a torch in your hands and light up your surroundings!
- drop-in replacement for standard minetest_game torches
- drop-in replacement for torches versions from before version 4.
- no configuration options
- entirely cleaned up mesh, re-did the mesh model from scratch
- model now works better with animated textures due to texture placement and alignment
- wallmounted torches flames go up, not sideways up
- no particles
- uses an LBM (meaning, you need a new minetest) to reposition hanging torches
- upside down torches enabled by default (again, there are no config options or settings anymore)
Download: https://github.com/minetest-mods/torche ... master.zip
Dependencies: none (default)
github: https://github.com/minetest-mods/torches
License: CC-BY-3.0, LGPL-2.1+
Wieldlight demo video: https://youtu.be/mzvTZ45vgjw
Credits to Blockmen for making this excellent mod. Let's keep it alive.
This mod is part of minetest_game 0.4.15!
With exception of the wieldlight, this mod is part of the default game. The current code here is kept for archival purposes.
I may end up breaking out the wieldlight into a separate mod for use with 0.4.15. If that happens I'll insert a link here.
~~~~~~
- added wield light - hold a torch in your hands and light up your surroundings!
- drop-in replacement for standard minetest_game torches
- drop-in replacement for torches versions from before version 4.
- no configuration options
- entirely cleaned up mesh, re-did the mesh model from scratch
- model now works better with animated textures due to texture placement and alignment
- wallmounted torches flames go up, not sideways up
- no particles
- uses an LBM (meaning, you need a new minetest) to reposition hanging torches
- upside down torches enabled by default (again, there are no config options or settings anymore)
Download: https://github.com/minetest-mods/torche ... master.zip
Dependencies: none (default)
github: https://github.com/minetest-mods/torches
License: CC-BY-3.0, LGPL-2.1+
Wieldlight demo video: https://youtu.be/mzvTZ45vgjw
Credits to Blockmen for making this excellent mod. Let's keep it alive.
Last edited by sofar on Thu Dec 08, 2016 01:31, edited 3 times in total.
Re: [mod]torches[torches]
Very great, this mod is very cool!
I like that models, the textures are great!
+10000
I like that models, the textures are great!
+10000
Have a nice day! :D
Re: [mod]torches[torches]
You can get the texture pack converted from minecraft with mcresconvert (see my resource pack converter) - it's "AD Reforged 19v1". Unfortunately the license doesn't allow me to redistribute, so you need to download and convert it yourself.MineYoshi wrote:Very great, this mod is very cool!
I like that models, the textures are great!
- benrob0329
- Member
- Posts: 1341
- Joined: Thu Aug 06, 2015 22:39
- GitHub: Benrob0329
- IRC: benrob0329
- In-game: benrob03
- Location: Michigan
- Contact:
Re: [mod]torches[torches]
I like it! I like it a lot!!
Re: [mod]torches[torches]
Well done. Now the torches are shown by the identify mod if you point on them. But you need to add damage
damage_per_second = 1,
And the reload from inftweak still doesn't work. But I have no idea why
damage_per_second = 1,
And the reload from inftweak still doesn't work. But I have no idea why
Re: [mod]torches[torches]
Why? Just make a mod that overrides the node properties. Minetest_game torches don't damage players either, and I don't intend to stray far away from that when it comes to gameplay aspects.burli wrote:damage_per_second = 1
The mod makes a fake itemstack and places an item from that, so that it can place either the normal or wallmounted version.burli wrote:And the reload from inftweak still doesn't work. But I have no idea why
Re: [mod]torches[torches]
Well, in the current dev they already do damagesofar wrote:Minetest_game torches don't damage players eitherburli wrote:damage_per_second = 1
Ah, ok. Maybe invtweak has to be modified to handle fake itemstackssofar wrote:The mod makes a fake itemstack and places an item from that, so that it can place either the normal or wallmounted version.
- Attachments
-
- screenshot_20160403_101124.jpg (79.74 KiB) Viewed 2754 times
Re: [mod]torches[torches]
Maybe in BlockMen's code they did, but I don't intend to retain that behavior.burli wrote:Well, in the current dev they already do damagesofar wrote:Minetest_game torches don't damage players eitherburli wrote:damage_per_second = 1
Re: [mod]torches[torches]
No, the default torch from minetest game. No other addon installedsofar wrote: Maybe in BlockMen's code they did, but I don't intend to retain that behavior.
Re: [mod]torches[torches]
I'm standing in a torch from minetest_game for like 3 minutes now, and no damage has happened.burli wrote:No, the default torch from minetest game. No other addon installedsofar wrote: Maybe in BlockMen's code they did, but I don't intend to retain that behavior.
You have a mod or something else that does it. There's no damage in the torch in minetest_game.
Just look at the code:
https://github.com/minetest/minetest_ga ... .lua#L1344
I don't see a damage_per_second in this file other than for lava.
- azekill_DIABLO
- Member
- Posts: 7507
- Joined: Wed Oct 29, 2014 20:05
- GitHub: azekillDIABLO
- In-game: azekill_DIABLO
- Location: OMICRON
- Contact:
Re: [Mod] torches [torches]
it's so nice!!!!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
DMs are always open if you want to get in touch!
Re: [mod]torches[torches]
You are right. But I have no idea why the default tourch makes damage in my casesofar wrote: I don't see a damage_per_second in this file other than for lava.
Re: [Mod] torches [torches]
I've added a "Wield" light to this mod, similar to what the "walking_light" mod does. The implementation should be more robust, though, than walking_light. Check the video out: https://youtu.be/mzvTZ45vgjw
Re: [Mod] torches [torches]
Well done sofar. Also invtweak works now for whatever reason
Re: [Mod] torches [torches]
Excellent work. Added to our server.
Re: [Mod] torches [torches]
FYI if you previously ran v3.0.1, then today's git version seamlessly converts the old torches to the new versions.
Re: [Mod] torches [torches]
invtweak is only working if I place torches on the ground and on the ceiling. Wall monted torches are ignored by invtweak and my overwrite for damage also doesn't workburli wrote:Well done sofar. Also invtweak works now for whatever reason
Re: [Mod] torches [torches]
What ever these mods are doing, they should consider "default:torch" and "default:torch_wall" in the same way.burli wrote:invtweak is only working if I place torches on the ground and on the ceiling. Wall monted torches are ignored by invtweak and my overwrite for damage also doesn't workburli wrote:Well done sofar. Also invtweak works now for whatever reason
-
- New member
- Posts: 5
- Joined: Tue Apr 12, 2016 05:15
- Location: Russian Federation
- Contact:
Re: [Mod] torches [torches]
My new nickname:is Oleg720 | E-mail: contact@oleg720.ru
Re: [Mod] torches [torches]
You need a newer minetest version. This mod uses features that are in the nightly builds by e.g. sfan5 or krock, or you can build from git. Note that this is listed in the topic above.Star_Gamer wrote::(
http://skrinshoter.ru/s/120416/sQEFRZ?a
Re: [Mod] torches [torches]
Invtweak get's the name oft the placed node and compares the name with the inventory. The name oft a wall mounted torch is default:torch_wall, the name oft torches in The inventory is default:torch.sofar wrote:What ever these mods are doing, they should consider "default:torch" and "default:torch_wall" in the same way.burli wrote:invtweak is only working if I place torches on the ground and on the ceiling. Wall monted torches are ignored by invtweak and my overwrite for damage also doesn't workburli wrote:Well done sofar. Also invtweak works now for whatever reason
I can fix this, but just quick & dirty. Maybe I find a better solution
Re: [Mod] torches [torches]
Hi ) What is name of texture pack used here ?
sofar wrote:
I am a noob. still yet. Not so noob ) [vml] WIP and a little proof for fun PlantedTorch )))
MT Strike 78a36b468554d101e0be3b0d1f587a555f396452 Great! Somebody have found it )
"My english isn't well" I know. I'm sorry )
MT Strike 78a36b468554d101e0be3b0d1f587a555f396452 Great! Somebody have found it )
"My english isn't well" I know. I'm sorry )
Re: [Mod] torches [torches]
Just to reiterate - this code (sans wieldlight) is now part of minetest_game and will be part of the 0.4.15 release.
- AccidentallyRhine
- Member
- Posts: 252
- Joined: Sun Aug 02, 2015 05:43
Re: [Mod] torches [torches]
Awesome that this is merged with minetest_game. These are the kinds of things Minetest needs be default. Sofar, at least some portions of your crops mod should also be added to farming ... in my honest opinion.
Who is online
Users browsing this forum: No registered users and 35 guests