[Mod] Alternative Trunks [0.1.6] [altertrunks]

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

[Mod] Alternative Trunks [0.1.6] [altertrunks]

by Mossmanikin » Mon May 27, 2013 15:22

aLTeRNaTiVe TRuNKS



Image

Description: A mod which turns the cubic trunks in to "cylindric" ones in a non-invasive way.
(If you disable this mod you got the normal cubic trunks in your map and no unknown_node-textures on it.)

Supports: conifers, default, riesenpilz, moreblocks, moretrees, sumpf & trees

To support these mods this mod is split in different parts which can be enabled/disabled in the menu;
altertrunks_conifers: Supports the trunks of Perlin conifers ongen.
• Dependencies: conifers
• Compatible with Minetest versions: 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.6dev, 0.4.7

altertrunks_default: Supports the default logs.
• Dependencies: default
• Compatible with Minetest versions: 0.4.1, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.6dev, 0.4.7

altertrunks_moreblocks: Supports the horizontal trunks of More Blocks.
• Dependencies: moreblocks
• Compatible with Minetest versions: 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.6dev, 0.4.7

altertrunks_moretrees: Supports More Trees!.
• Dependencies: moretrees
• Compatible with Minetest versions: 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.6dev, 0.4.7

altertrunks_riesenpilz: Supports the stems of Giant Mushroom/ Mushrooms.
• Dependencies: riesenpilz
• Compatible with Minetest versions: 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.6dev, 0.4.7

altertrunks_sumpf: Supports Swamps.
• Dependencies: sumpf
• Compatible with Minetest versions: 0.4.1, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.6dev, 0.4.7

altertrunks_trees: Supports Tiny Trees.
• Dependencies: trees
• Compatible with Minetest versions: 0.4.1, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.6dev, 0.4.7


As of 0.1.5 alterleaves is not included, but can still be downloaded separately.
alterleaves: Supports the leaves of default. Really kills fps. Don't think i'll continue this one.
• Dependencies: default
• Compatible with Minetest versions: 0.4.6dev


Known issue:
Sometimes the trunks are black.
You can fix this by placing or removing a node next to it.
That way the lighting will get recalculated.

Image

Nodes:
Image
-----------------------------------------------------------------------------------------------------------
Trunks
-----------------------------------------------------------------------------------------------------------
conifers: Conifer reversed trunk & Conifer trunk
default: Cactus, Jungle Tree & Tree
moreblocks: Horizontal Jungle Tree & Horizontal Tree
moretrees: Apple Tree Trunk, Beech Tree Trunk, Birch Tree Trunk, Douglas Fir Trunk, Oak Tree Trunk, Palm Tree Trunk, Pine Tree Trunk, Rubber Tree Trunk, Rubber Tree Trunk (Empty), Giant Sequoia Trunk, Spruce Tree Trunk & Willow Tree Trunk
riesenpilz: Giant Mushroom Stem, Giant Mushroom Stem Blue, Giant Mushroom Stem Brown
sumpf: Mossy Birch Trunk, Birch Trunk, Horizontal Birch Trunk
trees: Conifer trunk, mangrove Tree & palm Tree

-----------------------------------------------------------------------------------------------------------
Leaves
-----------------------------------------------------------------------------------------------------------
default: Jungle Leaves & Leaves

Image
The default logs and the horizontal ones from moreblocks and the trunks from conifers. Made the "cylinders" fit to the 16x16 textures and a new texture for the top of the default trunk.

Credits:
12Me21 - for feedback/tips,
Bas080 - for the Tiny Trees mod,
Calinou - for the More Blocks mod,
celeron55 - for Minetest,
Hybrid Dog - for the mods Giant Mushroom/ Mushrooms & Swamps,
Jeija - for the inspiring Irregular 3D Objects demo mod
kaeza - for helping me to support Tiny Trees,
paramat - for the Perlin conifers ongen mod,
sapier - for the inspiring mods growing cactus & growing trees,
VanessaE - for the More Trees! mod,
yves_de_beck - for the inspiring NonCubic Blocks Mod
and
all whom I forgot to mention, who made Minetest, modding and this mod possible.

Downloads:
Please tell me if one of these links doesn't work.
altertrunks-0.1.6.zip
altertrunks-0.1.5.zip
altertrunks-0.1.4.zip
altertrunks-0.1.3.zip
altertrunks-0.1.2.zip
altertrunks-0.1.1.zip
altertrunks-0.1.0.zip
altertrunks-0.0.9.zip
altertrunks-0.0.8.zip
---------------------
alterleaves-0.0.3.zip

License (code): WTFPL
License (texture): CC BY-SA

Image


Changelog:
0.1.6 Edited textures of sides to look less broken
0.1.5 Added support for Giant Mushroom/ Mushrooms, removed alterleaves
0.1.4 Added support for Swamps
0.1.3 Added support for More Trees
0.1.2 Added support for Tiny Trees
0.1.1 Partial support for trunks from Perlin conifers ongen mod & "spheric" leaves
0.1.0 New texture for Tree top
0.0.9 Added "cylindric" Cactus
0.0.8 First upload
0.0.7 Shapes changed: no more pixels cut in half
0.0.6 Shapes changed: less detail
0.0.5 Added support for More Blocks
0.0.4 Shapes changed: symmetry
0.0.3 Shapes changed: more detail
0.0.2 Selection box is a cube now
0.0.1 Added "cylindric" Jungle Tree
0.0.0 Tree node is a "cylinder"


Original post:
-----------------------------------------------------------------------------------------------------------
Minetest Forums → Modding General → [Modidea] Alternative Trunks [altertrunks]
-----------------------------------------------------------------------------------------------------------
Hello community, I'm quite new to modding in general and for minetest in particular.
Yesterday I started playing a little bit with code and had an idea...


I'm quite certain this idea that I had is not new at all:

A mod which turns the cubic trunks in to cylindric ones.


I had in mind to do this in a non-invasive way.
By that I mean: if you disable this mod you got the normal cubic trunks in your map and no unknown_node-textures on it.


Moreover this mod should support as many other mods (with own trees) as possible, while having no dependencies.

My questions are the following:

Does a (working and downloadable) mod exist which does what I had in mind or something similar?


Any comments (answers, links, ideas, opinions...) are welcome.
Last edited by Mossmanikin on Sat Jun 08, 2013 16:53, edited 1 time in total.

Noob 4 life!
My stuff
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Mon May 27, 2013 15:53

Please post your mod requests/ideas here: http://forum.minetest.net/viewtopic.php?id=2434
Also a mod like this already exists.
 

User avatar
Zeg9
Member
 
Posts: 608
Joined: Fri Sep 21, 2012 11:02

by Zeg9 » Mon May 27, 2013 15:54

3dforniture has this feature already, but only for default trees.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Mon May 27, 2013 16:02

PilzAdam wrote:Please post your mod requests/ideas here: http://forum.minetest.net/viewtopic.php?id=2434


Ok, sorry, got it for the next post.

PilzAdam wrote:Also a mod like this already exists.


This is not really helpful. For I have no idea which one you mean. ;)

Noob 4 life!
My stuff
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Mon May 27, 2013 16:04

Zeg9 wrote:3dforniture has this feature already, but only for default trees.


Thank you! :)
Going to have a look at it.

Noob 4 life!
My stuff
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Mon May 27, 2013 16:22

Just tested 3dforniture for the first time.
Seems to be a great mod.
But does definitely not do what I had in mind.

Noob 4 life!
My stuff
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Mon May 27, 2013 16:57

Changed first post since I'm already modding.

Noob 4 life!
My stuff
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Tue May 28, 2013 10:49

Download link added in first post

Noob 4 life!
My stuff
 

User avatar
Zeg9
Member
 
Posts: 608
Joined: Fri Sep 21, 2012 11:02

by Zeg9 » Tue May 28, 2013 10:55

Kittens will die if you continue to use rar.
Please use an open format, best would be zip.
Last edited by Zeg9 on Tue May 28, 2013 10:57, edited 1 time in total.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Tue May 28, 2013 11:06

Zeg9 wrote:Kittens will die if you continue to use rar.
Please use an open format, best would be zip.

Each time you use a rar format, and angel loses it's wings...
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Tue May 28, 2013 11:07

Zeg9 wrote:Kittens will die if you continue to use rar.


That of course I do not wish to happen. :D

I'll add a zip file.

Noob 4 life!
My stuff
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Tue May 28, 2013 11:10

Evergreen wrote:Each time you use a rar format, and angel loses it's wings...


I'm starting to feel bad...

Noob 4 life!
My stuff
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Tue May 28, 2013 11:14

Mossmanikin wrote:
Evergreen wrote:Each time you use a rar format, and angel loses it's wings...


I'm starting to feel bad...

Just change it to zip, and you will be fine. :D
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Tue May 28, 2013 11:17

Evergreen wrote:Just change it to zip, and you will be fine. :D


Zip added.
Feel much better now. :D

Noob 4 life!
My stuff
 

User avatar
12Me21
Member
 
Posts: 826
Joined: Tue Mar 05, 2013 00:36

by 12Me21 » Tue May 28, 2013 13:46

Cool, The only problem I see is that at the bottom of jungle trees there are more tree pieces around the main trunk , and this mod will make them look (even more) weird. I don't think there is a way to fix that without adding more pieces, though. I wish there were different nodes for the bottom of jungle trees, with the "default_jungletree_side.png" texture on all sides except the bottom.
This is a signature virus. Add me to your signature so that I can multiply.
Don't ever save anything as a JPEG.
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Tue May 28, 2013 14:54

12Me21 wrote:Cool, The only problem I see is that at the bottom of jungle trees there are more tree pieces around the main trunk , and this mod will make them look (even more) weird. I don't think there is a way to fix that without adding more pieces, though. I wish there were different nodes for the bottom of jungle trees, with the "default_jungletree_side.png" texture on all sides except the bottom.


Thanks for your feedback. :)

The jungle trees look a bit weird indeed.
Don't see a real problem here with the trunk; since logs of real trees aren't really round either.
But totally agree that a different node for roots would be nice.

Maybe I should add a screenshot of a jungle tree with this mod...

Noob 4 life!
My stuff
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Tue May 28, 2013 18:57

First post updated: v0.0.9 with cacti

Noob 4 life!
My stuff
 

User avatar
12Me21
Member
 
Posts: 826
Joined: Tue Mar 05, 2013 00:36

by 12Me21 » Tue May 28, 2013 21:16

you should make new textures where the rings in the tree are round not square-ish
This is a signature virus. Add me to your signature so that I can multiply.
Don't ever save anything as a JPEG.
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Wed May 29, 2013 10:12

12Me21 wrote:you should make new textures where the rings in the tree are round not square-ish


I agree.
Tried to make a new one for the top of the default tree yesterday. The result wasn't satisfying.
Will give it a new try today or tomorrow and when I'm satisfied I'll add it.

Noob 4 life!
My stuff
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Wed May 29, 2013 16:26

First post updated: v0.1.0 with new texture for top of default tree log

Noob 4 life!
My stuff
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Fri May 31, 2013 22:47

First post updated: v0.1.1

Noob 4 life!
My stuff
 

User avatar
Inocudom
Member
 
Posts: 2889
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Fri May 31, 2013 22:52

Will this mod support moretrees and tiny_trees?
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Fri May 31, 2013 22:56

Unfortunately I haven't found a way to support it yet

Noob 4 life!
My stuff
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Fri May 31, 2013 23:03

To give you an example of something I tried:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
if minetest.get_modpath("trees") ~= nil then
minetest.register_node(":trees:tree_conifer", {
    description = "Conifer trunk",
    paramtype = "light",
    tiles = {"trees_tree_top_conifer.png", "trees_tree_top_conifer.png", "trees_tree_conifer.png"},
    drawtype = "nodebox",
    selection_box = {
        type = "fixed",
        fixed = cube,
    },
    node_box = {
        type = "fixed",
        fixed = cylinder,
    },
    groups = {tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
    sounds = default.node_sound_wood_defaults(),
})
end


Won't work...

Noob 4 life!
My stuff
 

User avatar
12Me21
Member
 
Posts: 826
Joined: Tue Mar 05, 2013 00:36

by 12Me21 » Fri May 31, 2013 23:09

you could make multiple mods, one for default, one for moretrees, and so on
This is a signature virus. Add me to your signature so that I can multiply.
Don't ever save anything as a JPEG.
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Fri May 31, 2013 23:15

12Me21 wrote:you could make multiple mods, one for default, one for moretrees, and so on


Yes, as soon as I find a way to support more mods I'll probably do that.
Kind of stuck at the moment.

Noob 4 life!
My stuff
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Sat Jun 01, 2013 16:12

First post updated: v0.1.2 - support for Tiny Trees

Noob 4 life!
My stuff
 

User avatar
RealBadAngel
Member
 
Posts: 556
Joined: Wed Jul 18, 2012 16:30

by RealBadAngel » Sat Jun 01, 2013 19:51

i wonder how you gonna get through moretrees ;)
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Sat Jun 01, 2013 20:43

RealBadAngel wrote:i wonder how you gonna get through moretrees ;)


I'm working on it. It's all about patience... ... ... :D

Noob 4 life!
My stuff
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Sun Jun 02, 2013 02:22

First post updated: v0.1.3 - support for More Trees!

Noob 4 life!
My stuff
 

Next

Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 33 guests

cron