[Mod] Conifers [0.3] [conifers]

User avatar
RandomBot
Member
 
Posts: 164
Joined: Sun May 20, 2012 03:46
Location: Behind you, go ahead, look....

by RandomBot » Tue Jul 17, 2012 10:13

poke poke...guess this mod died x.x
"Everyone has a plan, until they get punched in the face"
- Mike Tyson
 

User avatar
VanessaE
Moderator
 
Posts: 4461
Joined: Sun Apr 01, 2012 12:38
Location: Waynesville, NC
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE

by VanessaE » Wed Aug 01, 2012 02:42

This mod seems to no longer work in current versions of minetest. :-(

EDIT: obviously I'm wrong, it works fine. :-)
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)
 

leo_rockway
Member
 
Posts: 196
Joined: Tue Jul 31, 2012 20:37

by leo_rockway » Thu Aug 09, 2012 05:21

VanessaE wrote:This mod seems to no longer work in current versions of minetest. :-(


I have at least one conifer in my current map and it was generated with latest.
Try Skyblock for MineClone 2
Listen to this sound and music pack!
 

User avatar
VanessaE
Moderator
 
Posts: 4461
Joined: Sun Apr 01, 2012 12:38
Location: Waynesville, NC
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE

by VanessaE » Thu Aug 09, 2012 08:18

Odd, I couldn't get them to generate at all (turned the altitude down to 20 just to be sure)
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)
 

User avatar
sdzen
Member
 
Posts: 1170
Joined: Fri Aug 05, 2011 22:33
Location: Paradise (your not allowed)

by sdzen » Thu Aug 09, 2012 12:32

it worked on mine as well
Edit: Bring it Back!
Last edited by sdzen on Thu Aug 09, 2012 12:33, edited 1 time in total.
[h]Zen S.D.[/h] The next generation of tranquility!
malheureusement mon français n'est pas bon :<
Owner of the Zelo's
In game name: MuadTralk, spdtainted, sdzen, sd zen, sdzeno
 

Dragonop
Member
 
Posts: 1178
Joined: Tue Oct 23, 2012 12:59
Location: Argentina
GitHub: Dragonop
IRC: Dragonop
In-game: Dragonop

by Dragonop » Wed Oct 31, 2012 15:15

the screenshots have me ipnotized
If you have any pending matters with me, I encourage you to contact me via e-mail or PM. I still lurk from the shadows and very much care about the Minetest project. Sadly I have not been involved for the past years but I still look back fondly on the time I spent in your company.
If you are checking my profile, it's probably because of something.

It's "Drag" for the friends.

https://forum.minetest.net/download/file.php?id=4472
 

Iqualfragile
Member
 
Posts: 160
Joined: Tue Sep 18, 2012 22:11

by Iqualfragile » Thu Nov 01, 2012 16:38

can you put this on github please? it would be much easier to update
Gr8 b8, m8. I rel8, str8 appreci8, and congratul8. I r8 this b8 an 8/8. Plz no h8, I'm str8 ir8. Cr8 more, can't w8. We should convers8, I won't ber8, my number is 8888888, ask for N8. No calls l8 or out of st8. If on a d8, ask K8 to loc8. Even with a full pl8, I always have time to communic8 so don't hesit8.
 

User avatar
Plikkar
Member
 
Posts: 17
Joined: Fri May 18, 2012 14:34

by Plikkar » Thu Nov 01, 2012 16:49

ho can help me

How can i add me trees toches and item /giveme i dont remember
The GOD OF CRAFTING IS Coming to MINETEST !
 

User avatar
Topywo
Member
 
Posts: 1721
Joined: Fri May 18, 2012 20:27

by Topywo » Thu Nov 01, 2012 20:06

Plikkar wrote:ho can help me

How can i add me trees toches and item /giveme i dont remember


Singleplayer

/privs to see if your player has already give (Should be normally)

/giveme modname:itemname number

/giveme default:tree 99
/giveme default:torche -1
/giveme homedecor:television 2
/giveme moreblocks:circlestonebrick 99

Advanced

/give Plikkar default:tree -1 (etc....)
 

User avatar
GloopMaster
Member
 
Posts: 213
Joined: Wed Aug 01, 2012 18:03
Location: http://minetest.net/forum/

by GloopMaster » Fri Nov 02, 2012 17:09

should use an on_generated, not an abm :P
Meow.

That is all.
 

sky
Member
 
Posts: 152
Joined: Tue Oct 16, 2012 11:59
Location: SKY

by sky » Sat Nov 10, 2012 15:58

i have a idea to upgrade this mod :the idea is different wood plank colour
 

User avatar
RAPHAEL
Member
 
Posts: 627
Joined: Tue Nov 01, 2011 09:09
Location: Earth

by RAPHAEL » Thu Dec 06, 2012 10:40

I would be interested in this mod being updated but don't know how to myself.
"Before you speak, ask yourself: Is it kind, is it true, is it necessary, does it improve upon the silence?"
My mods: http://goo.gl/n4kpn
(Currently Various, Industrial, Fakeblocks, Jail, MoarCraft, Christmas, Replicator, minetest dev installer for linux, bash mod installer, windows mod installer)
 

User avatar
VanessaE
Moderator
 
Posts: 4461
Joined: Sun Apr 01, 2012 12:38
Location: Waynesville, NC
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE

by VanessaE » Sat Dec 29, 2012 22:33

I've been working on some updates to this mod:

Download: https://github.com/VanessaE/conifers/archive/master.zip
...or browse the code: https://github.com/VanessaE/conifers

Mainly I did this to reduce the CPU usage and slow down the growth of the trees, plus my fork depends on my plantlife library to control where and how the saplings are spawned. I also tried to fix a bug where sometimes the conifers would replace the nodes around them. In this fork, the default spawn altitude is 25m instead of 30, and the spawning and growing ABMs have been given separate config variables.

For now, use the commit messages and read the code to understand what I changed. :-)
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)
 

User avatar
dannydark
Member
 
Posts: 428
Joined: Fri Aug 12, 2011 21:28
Location: Manchester, UK

by dannydark » Sun Dec 30, 2012 15:11

It would be nice to see this mod updated to use the new L-System treegen.
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Sun Dec 30, 2012 15:46

dannydark wrote:It would be nice to see this mod updated to use the new L-System treegen.

but aren't conifers straight
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
Dopium
Member
 
Posts: 233
Joined: Sat Jun 09, 2012 15:43
Location: Australia

by Dopium » Sun Dec 30, 2012 17:58

Some reason i get huge lag with this mod and most my other normal trees turn black. The lag im talking about is without the mod 45-60fps steady, with the mod installed 5-15fps. For me even 15fps is unplayable, its a shame as i really like the mod and waited along time till this was made. I have played with the lua for about the past 6 months or so but nothing helped, also sure its something clashing i just dont know what it is yet.
Running @1.19 MHz, 128 bytes of RAM and interchangeable 4kb ROM carts!
 

User avatar
VanessaE
Moderator
 
Posts: 4461
Joined: Sun Apr 01, 2012 12:38
Location: Waynesville, NC
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE

by VanessaE » Sun Dec 30, 2012 19:30

Low FPS is not the same as lag; your problem is different from that. There is a known bug in the engine where very large trees (or lots of them) can cause the engine to start throwing tons of "out of indexes", "rendering errors may occur" errors, which will slow your FPS to a crawl; if that's what's happening to you, a solution should be coming soon.

That said, with the old version of this mod, actual lag (as in the server appears to hang briefly) does happen as the trees are generated, which is what my fork hopes to solve temporarily. I or RealBadAngel will be adding the code needed to make Conifers use the L-Systems trees soon, which will solve that issue for good.

As for black trees, that's an engine bug that has existed for quite a long time now, and is unrelated to conifers.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)
 

User avatar
Dopium
Member
 
Posts: 233
Joined: Sat Jun 09, 2012 15:43
Location: Australia

by Dopium » Mon Dec 31, 2012 06:32

Thanks for the info VanessaE, you are correct with my first problem i do get fps spikes and with this mod installs the spikes come to a crawl. I actually didnt mean server lag just fps drop that makes it very choppy and sluggish, i know its this mod because when i remove it the frames jump right up. Good to know you guys are aware of what i was saying and making fixes.

The black trees im do see them without the mod however they are very rare, but same deal as the fps drop as soon as i install this mod just about every tree is black. Im going to be installing Linux soon anyway, one reason is for this game as i seen in the past people say windows version can be a bit buggy. Thanks again for the help
Running @1.19 MHz, 128 bytes of RAM and interchangeable 4kb ROM carts!
 

User avatar
VanessaE
Moderator
 
Posts: 4461
Joined: Sun Apr 01, 2012 12:38
Location: Waynesville, NC
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE

by VanessaE » Wed Jan 02, 2013 17:24

The following code will generate several random conifers using the new L-Systems generator. Make a mod of this code plus the conifers textures, give yourself the conifers spawner object, then strike the ground with it (thanks to RealBadAngel for the example for the spawner). Stick to low elevations when testing, there's a bug in the generator that causes the tops to get cut off (it will be fixed soon). I tried to model these after the originals, but I didn't put as much detail into them as they could have had.

Code: Select all
conifer_tree1={
        axiom="FFFAF[&&-F][&&+F][&&---F][&&+++F]FF",
        rules_a="FF[FF][&&-FBF][&&+FBF][&&---FBF][&&+++FBF]F/A",
        rules_b="[-FB][+FB]",
        trunk="conifers:trunk",
        leaves="conifers:leaves",
        angle=45,
        iterations=7,
        random_level=4,
        thin_trunks=true
}
 
conifer_tree2={
        axiom="FFFAF[&&-F][&&+F][&&---F][&&+++F]FF",
        rules_a="FF[FF][&&-FBF][&&+FBF][&&---FBF][&&+++FBF]F/A",
        rules_b="[-FB][+FB]",
        trunk="conifers:trunk",
        leaves="conifers:leaves_special",
        angle=45,
        iterations=7,
        random_level=4,
        thin_trunks=true
}

minetest.register_craftitem("treetest:conifer", {
            description = "Conifer tree spawner",
            inventory_image = "default_stick.png",
        on_use = function(itemstack, user, pointed_thing)
                    --print(dump(pointed_thing))
                    if pointed_thing.type == "node" then
                            local pos = pointed_thing.above
                                if math.random(1, 2) > 1.5 then
                                    minetest.env:spawn_tree(pos,conifer_tree1)
                                else
                                    minetest.env:spawn_tree(pos,conifer_tree2)
                                end
                    end
            end,
})


minetest.register_node(":conifers:trunk", {
        description = "Conifer trunk",
        tile_images = {
                "conifers_trunktop.png",
                "conifers_trunktop.png",
                "conifers_trunk.png",
                "conifers_trunk.png",
                "conifers_trunk.png",
                "conifers_trunk.png"
        },
        paramtype = "facedir_simple",
        is_ground_content = true,
        groups = {
                tree = 1,
                snappy = 2,
                choppy = 2,
                oddly_breakable_by_hand = 1,
                flammable = 2
        },
        sounds = default.node_sound_wood_defaults()
})
 
minetest.register_node(":conifers:leaves", {
        description = "Conifer leaves",
        drawtype = "allfaces_optional",
        visual_scale = 1.3,
        tile_images = { "conifers_leaves.png" },
        paramtype = "light",
        groups = {
                snappy = 3,
                leafdecay = 3,
                flammable = 2
        },
        drop = {
                max_items = 1,
                items = {
                        {
                                -- player will get sapling with 1/20 chance
                                items = {'conifers:sapling'},
                                rarity = 20,
                        },
                        {
                                -- player will get leaves only if he get no saplings,
                                -- this is because max_items is 1
                                items = {'conifers:leaves'},
                        }
                }
        },
        sounds = default.node_sound_leaves_defaults()
})
 
minetest.register_node(":conifers:leaves_special", {
        description = "Bright conifer leaves",
        drawtype = "allfaces_optional",
        visual_scale = 1.3,
        tile_images = { "conifers_leaves_special.png" },
        paramtype = "light",
        groups = {
                snappy = 3,
                leafdecay = 3,
                flammable = 2
        },
        drop = {
                max_items = 1,
                items = {
                        {
                                -- player will get sapling with 1/20 chance
                                items = {'conifers:sapling'},
                                rarity = 20,
                        },
                        {
                                -- player will get leaves only if he get no saplings,
                                -- this is because max_items is 1
                                items = {'conifers:leaves'},
                        }
                }
        },
        sounds = default.node_sound_leaves_defaults()
})
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)
 

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

by Inocudom » Wed Jan 02, 2013 18:26

I too recommend the usage of the new L-Systems tree generator. You can give your trees branches with it.
Last edited by Inocudom on Wed Jan 02, 2013 18:27, edited 1 time in total.
The comedic value of my videos is how abysmal they are: https://www.youtube.com/channel/UC5cyeM ... YTfYFlih_A
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Wed Jan 02, 2013 18:44

But conifers should be straight.
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

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

by Inocudom » Wed Jan 02, 2013 19:23

jojoa1997 wrote:But conifers should be straight.


That is true, but there could be a few branches in the rows of pine needles. These rows could be one block long and made up of the horizontal conifer trunk blocks.
The comedic value of my videos is how abysmal they are: https://www.youtube.com/channel/UC5cyeM ... YTfYFlih_A
 

User avatar
VanessaE
Moderator
 
Posts: 4461
Joined: Sun Apr 01, 2012 12:38
Location: Waynesville, NC
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE

by VanessaE » Thu Jan 10, 2013 03:05

I've re-implemented this mod in my moretrees mod:

http://minetest.net/forum/viewtopic.php?id=4394

The output isn't *quite* as varied as the original conifers mod, but it's close, and of course it can be improved easily. Uses L-System trees, so you need a MT build dated 2013-01-08 or later. Uses my plantlife mod to create the spawn biomes.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)
 

User avatar
sfan5-bot
Member
 
Posts: 34
Joined: Thu Mar 28, 2013 11:19
Location: /usr/bin/python2.7

by sfan5-bot » Thu Mar 28, 2013 16:43

[EE] No Dependencies found


Please fix these Mistakes and report this post, a moderator will delete it
If you believe I have made a Mistake contact sfan5
 

Previous

Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 4 guests