Toto je starší verze dokumentu!


Seznam linků které by se mohly časem hodit

jak zvětšit počet nodů

[01:29:18] <pitriss> I want to ask, is planned to allow more than circa 4k nodes?
[01:34:47] <VanessaE> yes
[01:34:58] <VanessaE> if the appropriate people will just fucking commit to it already :)
[01:35:43] <VanessaE> edit mapnode.h line 46
[01:35:47] <VanessaE> I set mine to 0x7fff but I personally think a value of 0xc000 or so is appropriate.
[01:55:05] <pitriss> VanessaE: oh thanks:)
[01:56:44] <pitriss> VanessaE: btw it is server only setting, right? So it will be possible to connect with standard client too..
[01:57:32] <VanessaE> yes
[01:57:43] <VanessaE> all modern clients can already handle it
[01:58:01] <VanessaE> anything pre-July 22 will not work though if you define more than 4k nodes.
[01:58:27] <VanessaE> (that includes 0.4.7-stable)
[02:01:37] <pitriss> ok.. i don't really care about stable clients. so it is ok for me:)
[02:01:59] <VanessaE> ok :)

Detekce vzdálenosti

[16:29:10] <pitriss> please did someone invented some quick way how to get distance of player from some spot on map? I don't want to re-invent a wheel:)
[16:30:34] <sfan5> pitriss: vector.distance
[16:30:49] <kaeza> pitriss, pythagoras' theorem, or use vector.distance(p1, p2)
[16:32:31] <pitriss> so vector.distance(coords1, coords2).. I guess coords are tables:) Thank you guys:)
[16:32:54] <pitriss> and sorry for my noobish questions..:)
[16:33:00] <sfan5> tables like {x=1, y=0, z=7}
Navigace

Obecné

Vývoj

Naše minetest games

Jiné minetest games

Minecraft

Wurm Unlimited

Ostatní

O této wiki

Tisk/export
Jazyky