Search found 41 matches

Return to advanced search

Re: Map Layering feature...

Basically for anything other than map storage you will need the height in the layer instead of the global height. In this way the layers will be mostly independent. Let's just call it "support multiple worlds by reducing map height and storing y coordinate and world id together internally"...
by yyt16384
Tue Dec 01, 2015 16:57
 
Forum: Feature Discussion
Topic: Map Layering feature...
Replies: 18
Views: 1827

Re: Map Layering feature...

Basically for anything other than map storage you will need the height in the layer instead of the global height. In this way the layers will be mostly independent. Let's just call it "support multiple worlds by reducing map height and storing y coordinate and world id together internally"...
by yyt16384
Tue Dec 01, 2015 00:30
 
Forum: Feature Discussion
Topic: Map Layering feature...
Replies: 18
Views: 1827

Re: Ideas regarding item metadata, and knockback

So we already have item metadata support? I think I missed it when reading lua_api.txt last time.

It's a great feature. I can start to write a nice mod with this. :)
by yyt16384
Mon Nov 23, 2015 13:26
 
Forum: Feature Discussion
Topic: Ideas regarding item metadata, and knockback
Replies: 9
Views: 1011

Re: Singlenode?

The name "singlenode" is somewhat confusing. It means "the whole map is filled with one kind of node", which defaults to air.

The origin mod does what you want. It creates a indestructible node, but it is easy to change if you want to remove the node.
by yyt16384
Fri Nov 20, 2015 09:37
 
Forum: General Discussion
Topic: Singlenode?
Replies: 3
Views: 350

Re: Minetest UI en menu look

Personally I don't like pixel fonts very much. But I don't know what most people like, so I'm not going to argue about the default. I'm fine as long as sans-serif fonts are still supported. Why should a player be motivated to do so? Probably only because of a poor default font in the first place. Or...
by yyt16384
Sun Jun 07, 2015 11:52
 
Forum: General Discussion
Topic: Minetest UI en menu look
Replies: 24
Views: 2990

Re: Growing wheat underground

The engine says brightness 15 is reserved for sunlight, so it really should not work.
Code: Select all
inline u8 diminish_light(u8 light)
{
    if(light == 0)
        return 0;
    if(light >= LIGHT_MAX)
        return LIGHT_MAX - 1;

    return light - 1;
}

LIGHT_MAX is 14, so if light=15 you will get 13...
by yyt16384
Sat Mar 21, 2015 12:03
 
Forum: General Discussion
Topic: Growing wheat underground
Replies: 14
Views: 1728

Re: Mini Sun, Pesudo Brighter Light Source. Updated.

bdjnk wrote:
  • Line of slight only glow node placement, which I'm not even sure is a good idea.

It would be better to do a floodfill in the air nodes, so only the nodes connected with the source will be replaced. (It may be slow, though)
by yyt16384
Thu Mar 12, 2015 01:33
 
Forum: WIP Mods
Topic: [Mod] Mini Sun, Pesudo Brighter Light Source [mini_sun]
Replies: 36
Views: 9485

Re: Post your modding questions here

Can I create some type of tool/sword that gets random attributes? For example, a sword may have random damage group within a range defined by its type. With current API I think the only way is to create many types for different attributes and generate a random type, but there will be too many possib...
by yyt16384
Fri Feb 27, 2015 01:51
 
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 4208
Views: 331121

Re: Why is it impossible to farm underground?

Hybrid Dog wrote:What happens if l override minetest.get_node_light() to always return 15?

If I read the code correctly LIGHT_MAX is 14, and the max light level for growing is LIGHT_MAX, so you should return 14. And this may break some mod...
by yyt16384
Mon Feb 16, 2015 13:19
 
Forum: General Discussion
Topic: Why is it impossible to farm underground?
Replies: 11
Views: 2443

Re: Why is it impossible to farm underground?

torches have LIGHT_MAX - 1 which is 13. So the first block next to them has only 12 and wheat and cotton need at least a light level of 13 to grow, so it is impossible to grow in minetest_game without changes. The easiest thing would be to use a mod which adds a light source with 14 e.g. super glow...
by yyt16384
Sun Jan 25, 2015 14:38
 
Forum: General Discussion
Topic: Why is it impossible to farm underground?
Replies: 11
Views: 2443

Why is it impossible to farm underground?

There are many people saying that you can't farm underground because you can't achieve 13 light level without sunlight, and that seems to be right after some experiment. But I still don't understand the reason. I think it is possible to have 13 light level by placing a torch next to the wheat. The t...
by yyt16384
Sun Jan 25, 2015 08:46
 
Forum: General Discussion
Topic: Why is it impossible to farm underground?
Replies: 11
Views: 2443

Re: Is there an option to change the player jump height

You can use the sneak. -Hold shift. -Jump. -You just jumped 1.5 blocks without mods! Huray! That's a good thing. It's different from the Minecraft way, but it's always good to have this feature. If you add this to your main minetest.conf, the setting applies to all worlds, I guess. If you add it to...
by yyt16384
Wed Dec 17, 2014 15:34
 
Forum: General Discussion
Topic: Is there an option to change the player jump height
Replies: 10
Views: 1367

Re: Translation server is down

Lol, kaeza. As if every translator knows how to use Git! Yyt16384, are you already finished with the translation, meaning you have edited and/or created PO files? If so, I guess it should be enough to upload the PO file somewhere and post the link. This forum software also supports attachments, so ...
by yyt16384
Wed Dec 17, 2014 15:18
 
Forum: General Discussion
Topic: Translation server is down
Replies: 4
Views: 385

Translation server is down

When I open the translation website http://translate.minetest.ru, a 502 error shows up. Just like what is said in this thread.

Or can I submit the translation in another way?
by yyt16384
Mon Dec 15, 2014 15:11
 
Forum: General Discussion
Topic: Translation server is down
Replies: 4
Views: 385

Re: Is there an option to change the player jump height

This is a mod that does that for you. You just use chat commands. https://forum.minetest.net/viewtopic.php?id=7498 Or change the config file for the map. Below is a link to the example file. Line 396 is the physics stuff https://github.com/minetest/minetest/blob/master/minetest.conf.example That's ...
by yyt16384
Tue Dec 09, 2014 05:39
 
Forum: General Discussion
Topic: Is there an option to change the player jump height
Replies: 10
Views: 1367

Is there an option to change the player jump height

I found the default player jump height (1 block) a little inconvenient when I'm putting block below myself to make a pillar, which is a common trick in Minecraft. I think making the jump height 1.5 blocks will work fine. I know I can change the jump height with lua code set_physics_override, but tha...
by yyt16384
Mon Dec 08, 2014 09:04
 
Forum: General Discussion
Topic: Is there an option to change the player jump height
Replies: 10
Views: 1367
Previous

Return to advanced search