Search found 100 matches

by Sane
Sun Sep 27, 2015 07:08
Forum: WIP Mods
Topic: [Mod] LSystem
Replies: 5
Views: 2011

Re: [Mod] LSystem

Would this mod be able to spawn l-system trees as well? With some modifications and a third dimension, the screenshot might almost depict a floor plan of a house. Intresting mod! LSystem is thought to be quite flexible with it's l-systems. And you most certainly can build 3d structures with it. Sup...
by Sane
Sun Sep 27, 2015 06:50
Forum: WIP Games
Topic: WIP: The Island
Replies: 20
Views: 6043

Re: WIP: The Island

That's bad.

Hope to see you again. Maybe with your next computer.
Have fun ( however that is possible without minetest :-)
by Sane
Sat Sep 26, 2015 10:27
Forum: Modding Discussion
Topic: How are temperatures assigned to coordinates?
Replies: 24
Views: 5112

Re: How are temperatures assigned to coordinates?

But how can that be? The callback literally runs thousands of times. So either calling minetest.get_content_id outside the callback takes very very long or reading the mod local values takes considerably longer than what i've guessed. Doesn't each chunk get generated only once in the entire life of...
by Sane
Sat Sep 26, 2015 10:00
Forum: WIP Mods
Topic: [Mod] EM Dungeon Generator [em_dungeon_gen]
Replies: 44
Views: 9208

Re: [WIP] Dungeon Test [dungeontest]

Maybe you both could join forces and bring a brilliant dungeon crawl to mt? I don't know, I like the idea of a more organic and darker dungeon that is truely random. Maybe it would be cool if someone else uses a different approach. Mine is too squarish, everything in a grid and the rooms are repeti...
by Sane
Sat Sep 26, 2015 09:01
Forum: WIP Games
Topic: WIP: The Island
Replies: 20
Views: 6043

Re: WIP: The Island

Sorry I won't be of much help with cli stuff.
I'm more with these modern point and click type of operating systems that have come into fashion the the last 30 years. :-p
by Sane
Sat Sep 26, 2015 08:49
Forum: WIP Mods
Topic: [Mod] EM Dungeon Generator [em_dungeon_gen]
Replies: 44
Views: 9208

Re: [WIP] Dungeon Test [dungeontest]

Maybe you both could join forces and bring a brilliant dungeon crawl to mt?
by Sane
Sat Sep 26, 2015 08:39
Forum: Modding Discussion
Topic: [Question]The mods should be clasificated?
Replies: 6
Views: 1204

Re: [Question]The mods should be clasificated?

Rating sounds like a easy thing to do. But actually it is not easy at all. There are several problems that connect to ratings. To make rating work these problems (and quite possibly a lot of others) have do be addressed. Who rates? The modders? A rating committee? How is that committee elected? For ...
by Sane
Thu Sep 24, 2015 22:55
Forum: Modding Discussion
Topic: How are temperatures assigned to coordinates?
Replies: 24
Views: 5112

Re: How are temperatures assigned to coordinates?

Wondering if one of you could give a brief explanation of get_content_id and what you mean by inside and outside. I am trying to learn but get stuck on things. The function minetest.get_content_id returns a number that is internally used to identify nodes. Mapgen data contains those IDs. The inside...
by Sane
Thu Sep 24, 2015 22:31
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 4208
Views: 572805

Re: Post your modding questions here

I just tested it and it does place 2 nodes close together. I found 3 within a 50 node radius. That's odd. That should not be possible. Could you send the coordinates and the grid size you test with? The question is how to fix this. I need the nodes to be seperated. If they are close then it will ca...
by Sane
Thu Sep 24, 2015 22:21
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 4208
Views: 572805

Re: Post your modding questions here

The hotspot is a single coordinate so it can only be in one mapgen block. Yes, but after each hotspot is found, a node is placed at the surface (using the heightmap) whenever the chunk that is getting generated is between -200 and 200 (the node in the surface might not be part of the chunk generate...
by Sane
Thu Sep 24, 2015 21:17
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 4208
Views: 572805

Re: Post your modding questions here

I haven't tested your code, but since you are calculating next_hotspot in all 3 dimensions, wouldn't a new block be created in the same area in the surface when a chunk gets generated further down close to the hotspot below? The hotspot is a single coordinate so it can only be in one mapgen block. ...
by Sane
Thu Sep 24, 2015 21:01
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 4208
Views: 572805

Re: Post your modding questions here

GunshipPenguin wrote:This code does work, but I find that certian nodes are not replaced by limit:limit_node like I want them to be.
Maybe those nodes where generated after your mod already ran. Do you have default in your depends.txt.
by Sane
Thu Sep 24, 2015 20:46
Forum: WIP Games
Topic: WIP: The Island
Replies: 20
Views: 6043

Re: WIP: The Island

If more people are interested in something like this I could fork the areas mod (or send a PR) and add some options to make it more suitable for adventure maps. I think Minetest is a nice engine for this kind of maps, so there should be something like this. Please do. I'd really like to see more qu...
by Sane
Wed Sep 23, 2015 16:22
Forum: Mod Releases
Topic: [Mod] Pie [1.0][pie]
Replies: 33
Views: 12441

Re: [Mod] Pie [0.2][pie]

Krock wrote:Added throwable pies. AAAND ... SPLAT!

Image

https://github.com/SmallJoker/pie/commit/b43d
Now we need some clowns to throw them at ...
Nuuuu not meeehhh ....
by Sane
Wed Sep 23, 2015 16:16
Forum: WIP Games
Topic: WIP: The Island
Replies: 20
Views: 6043

Re: WIP: The Island

... still figuring out how to get lava to dump on a player if they pull the wrong switch ... A technic sticky piston? I think the thing that would help me the most right now is if anyone knows how to make specific blocks permanent (unbreakable)... https://forum.minetest.net/viewtopic.php?f=3&t=...
by Sane
Tue Sep 22, 2015 23:36
Forum: Modding Discussion
Topic: How are temperatures assigned to coordinates?
Replies: 24
Views: 5112

Re: How are temperatures assigned to coordinates?

Not sure if this is of interest for anyone but to be complete ... I've run some simple speed tests and it seems that, to no big surprise calling minetest.get_content_id outside the callback takes exact the same time than calling it inside. getting the IDs from variables previously set on mod level t...
by Sane
Tue Sep 22, 2015 20:03
Forum: WIP Games
Topic: WIP: The Island
Replies: 20
Views: 6043

Re: WIP: The Island

I like the idea of a quest and riddle based game. Although it contradics the unending (more ore less) sandboxy setup that minetest tends to. If you want others to help maybe not keeping your .zip a secret would help. A good way to start could be putting the struff up on github or something like that...
by Sane
Tue Sep 22, 2015 19:24
Forum: Modding Discussion
Topic: How are temperatures assigned to coordinates?
Replies: 24
Views: 5112

Re: How are temperatures assigned to coordinates?

I thought that too, but was told by hmmmm that it's faster to state them as locals inside the function, apparently getting id is a very fast operation. That is interesting. I'm always eager to learn. But how can that be? The callback literally runs thousands of times. So either calling minetest.get...
by Sane
Tue Sep 22, 2015 10:30
Forum: Modding Discussion
Topic: How are temperatures assigned to coordinates?
Replies: 24
Views: 5112

Re: How are temperatures assigned to coordinates?

Using 2D perlin noise, for an example of how to make a temperature/humidity biome system see https://github.com/paramat/paragenv7/blob/master/init.lua Ah nice. Uhm , well, please excuse me wearing my smarty-pants. Maybe you could place all those minetest.get_content_id calls out of the callback fun...
by Sane
Tue Sep 22, 2015 10:02
Forum: Modding Discussion
Topic: Item inside of a block
Replies: 16
Views: 2739

Re: Item inside of a block

You may have gotten lost in translation. Please rephrase.
by Sane
Tue Sep 22, 2015 09:33
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 4208
Views: 572805

Re: Post your modding questions here

New world ArguablySane has posted a solution: https://forum.minetest.net/viewtopic.php?f=3&t=13132&p=191868#p189480 Thanks. I will try to modify it to make it work. Do you know if this works with all mapgens or just v5 and v7? No I don't. But singlenode does not work, the hightmap is always...
by Sane
Mon Sep 21, 2015 18:44
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 4208
Views: 572805

Re: Post your modding questions here

Don wrote:New world
ArguablySane has posted a solution:
viewtopic.php?f=3&t=13132&p=191868#p189480
by Sane
Mon Sep 21, 2015 18:13
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 4208
Views: 572805

Re: Post your modding questions here

I want to place a block every 1000 nodes square. It should be somewhat random. I do not want it to be exactly 1000. The node will be placed in water on mapgen at surface height. I am not great with mapgen and was wondering what the best way to do this is? Will this be a new world or an exisiting one?
by Sane
Mon Sep 21, 2015 15:57
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 4208
Views: 572805

Re: Mapgen function called more than once.

... I have noticed that the function registered with minetest.register_on_generated gets called more than once. That seems a bit odd to me. ... Nevermind, just found the solution. That thing bugged me for some days now and as it seems actually posting the question seems to have triggered someting ....
by Sane
Mon Sep 21, 2015 15:21
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 4208
Views: 572805

Mapgen function called more than once.

Hi there, I have noticed that the function registered with minetest.register_on_generated gets called more than once. That seems a bit odd to me. If that behaviour is intended, what is the differnce between the calls? which call is the one that counts? (Most probably the last one, but who knows for ...