Minetest logo

IRC log for #minetest, 2021-12-31

| Channels | #minetest index | Today | | Google Search | Plaintext

All times shown according to UTC.

Time Nick Message
00:05 Alias2 joined #minetest
00:06 Yad What syntax do I load a texture now that I've exported it from using the Texture Paint process in Blender?
00:07 Yad I'm seeing in Dokimi's Exile initial_properties = { textures = {"string"} }
00:08 Yad where "string" is "mod:name" of a minetest.register_node with tiles = { ".ping", ".png", ...}
00:09 Yad Is it not possible to map a signle .png as a texture sheet? I've seen how character skins do that, and that's what I've exported from Blender for my new mesh.
00:09 Yad typo: .ping = .png
00:09 MTDiscord <Jonathon> maybe rtfm? https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L7183-L7201
00:10 Yad Jonathon: Yes thank you, I tried but couldn't get past the topic of texture packs, which is of course different. :)
00:10 Yad Jonathon: So I needed the help of a human mind, and thank you.
00:12 Yad Jonathon: I've previously read the section you highlighted though...
00:13 Yad ...and after that it says "requires one texture for each mesh buffer/material (in order)" which is basically my question.
00:14 MTDiscord <Jonathon> basically for each material in blender its a table entry in minetest
00:14 MTDiscord <Jonathon> if you have 3 materials, it would texture = {"img1", "img2", "img3"}
00:16 Yad Jonathon: I have only one material, unwrapped by Blender into a PNG.
00:16 MTDiscord <Jonathon> ....good for you?
00:18 Yad Jonathon: as opposed to a separate texture for each polygon or something, yes.
00:18 MTDiscord <Jonathon> i really dont care
00:19 Yad Jonathon: I seem to have noticed. Perhaps another way to phrase the question would be: Do I need to define a nodebox in the Lua API?
00:20 MTDiscord <Jonathon> do you need to define a nodebox for what
00:20 Yad Johnathon: For applying a texture to a mesh.
00:21 MTDiscord <Jonathon> ....no
00:21 Yad Jonathon: I'm probably making a mistake somewhere. xD
00:24 Yad Jonathon: Ah yes, I was writing "texture" instead of "textures" xD
00:45 Sompi joined #minetest
01:00 Jason232_ joined #minetest
01:18 CoolMinetestGod joined #minetest
01:21 CoolMinetestGod Anyone know what this error means?
01:21 CoolMinetestGod AsyncErr: Lua: Invalid position (expected table got nil).
01:21 Yad CoolMinetestGod: Yes I've been battling that type of error for nearly a year and have begun to understand it this week! :D
01:22 benrob0329 It sounds like you're calling a function in minetest.after that's not getting passed a position table
01:22 Yad CoolMinetestGod: A table is any kind of information in a curly braces { } and nil is the empty set (often called "null" in other languages).
01:22 MTDiscord <Warr1024> either that or you're doing something like minetest.get_node(self.object:get_pos()) and the object is disposed
01:22 benrob0329 print(dump(stuff)) is your friend
01:23 MCL left #minetest
01:23 Yad CoolMinetestGod: It's often a problem of the function not knowing the identifier of what you are trying to look at.
01:23 Yad CoolMinetestGod: What parameters are you passing into the function you are defining for the event?
01:24 CoolMinetestGod Well I have a mod that spawns an entity, deletes the entity when it collides with something, and then calls tnt.boom on the entity's final position
01:25 CoolMinetestGod It works fine 80% of the time
01:27 MTDiscord <Warr1024> Sounds like an object-disposed situation would fit
01:27 MTDiscord <Warr1024> You always have to nil-guard object:get_pos()
01:28 Yad CoolMinetestGod: Oh, well then it does sound like you're targeting entities which no longer exist, during that 20% of the time.
01:29 CoolMinetestGod You're right, get_pos was returning nil
01:29 Yad CoolMinetestGod: :D
01:29 Yad I'm reading https://wiki.minetest.net/Using_Blender#Texturing and Blender is great for texture painting in 3-D! How do I explain to Minetest where the UV-map boundaries are on the texture? Is that what skinning is fore?
01:38 jvalleroy joined #minetest
02:30 Yad I see a possible answer in terms of the .mtl files which correspond to .obj files, but where does that info go with .b3d files?
02:43 v-rob joined #minetest
02:46 Extex joined #minetest
02:49 MTDiscord <exe_virus> No, not quite
02:49 MTDiscord <exe_virus> minetest uses objects and single textures
02:50 MTDiscord <exe_virus> so if you want multiple textures on a single object, you have to split it into two objects
02:51 MTDiscord <exe_virus> then, on export in blender, to say "obj", you must specify "export as groups". Which gives each object a "g" line in the .obj file. .mtl is ignored completely
02:51 MTDiscord <exe_virus> then for each "g" in your .obj file, you specify a texture in your minetest node/entity definition
02:54 MTDiscord <exe_virus> For example, in this obj model I used for Little Lady: https://github.com/ExeVirus/lady_assets/blob/cb64f6667d332bf73ed942bd4c8d48153c293b3e/models/lady_assets_carrot.obj#L2575  There is a single "g" line. There is one other at line 2618.  I could use two textures in my lua file to specify for each, BUT I have made their UV maps point to different spots in the texture, so I use a SINGLE texture for multiple objects
02:55 MTDiscord <exe_virus> Here's that texture: https://github.com/ExeVirus/lady_assets/blob/main/textures/lady_assets_carrot.png
02:55 MTDiscord <exe_virus> hopefully that all helps!
03:12 YuGiOhJCJ joined #minetest
03:12 v-rob joined #minetest
03:26 Yad exe_virus: Thank you for the detailed reply! I'm reading your messages now. :)
03:28 MTDiscord <exe_virus> If you want to do the same for .b3d, you have to select all the objects to export, and export as b3d with GreenXenith's 2.9 b3d export plugin, then you have to play guess and check to figure out which texture matches which object, basically. To see an example of a blend that exports to .b3d correctly, see the bike mod:
03:28 MTDiscord <exe_virus> https://gitlab.com/h2mm/bike/-/tree/master/models
03:29 Yad exe_virus: What confuses me is the idea that player skins have a single texture sheet. Is it different for entities?
03:29 MTDiscord <exe_virus> Here's that plugin link: https://github.com/GreenXenith/io_scene_b3d  Player skins can have multiple, like bike does (it replaces the player model while on the bike)
03:30 MTDiscord <exe_virus> but, we at minetest just use one, and map the UV's correctly
03:31 Yad exe_virus: Mapping the UV's correctly is what I have in mind, yes...but since they can be customized in Blender how does one get that data into Minetest?
03:31 MTDiscord <exe_virus> automatically tied to the object, they get exported with the obj or .b3d
03:31 Yad exe_virus: Oooh, so .b3d files can contain textures?
03:32 MTDiscord <exe_virus> in an .obj file, those are the "vt" lines
03:32 MTDiscord <exe_virus> .b3d contains texture coordinates for each vertex
03:32 MTDiscord <exe_virus> like obj
03:32 MTDiscord <exe_virus> and those UV's are those texture coordinates
03:33 MTDiscord <exe_virus> open the minetest player.blend or that bike.blend up in blender and look at their UV's. You can even load their textures into that UV slot and view how it maps
03:33 Yad exe_virus: Excellent, but then why does Minetest appear to use incorrect UV's on the .b3d I created from a Blender file containing the UV's I've unwrapped and painted?
03:33 MTDiscord <exe_virus> which version of blender and which version of the b3d plugin?
03:33 MTDiscord <exe_virus> that is likely your problem
03:34 Yad exe_virus: checking :)
03:34 MTDiscord <exe_virus> btw, welcome! I appreciate your effort levels right off the bat
03:35 MTDiscord <exe_virus> (that, and I really must go to bed, I have a mt podcast to record in the morning, which was supposed to be tonight, but alas... family stayed up late and I can't record anywhere haha)
03:43 bwarden joined #minetest
04:00 Jason232 joined #minetest
04:31 Verticen joined #minetest
04:35 Veyrdite joined #minetest
04:37 Yad exe_virus: Indeed! It was an old version of the export plugin. Trying to add the new version created some silent conflicts such that I had to delete my entire Blender settings folder, but now it works! ^___^v
04:37 Yad exe_virus: UV's appear correctly in Minetest. Glorious day!!
05:00 MTDiscord joined #minetest
05:03 Hawk777 joined #minetest
05:41 ghoti Is it possible to register a sapling that will not respond to bonemeal:fertiliser? Or would that be a change to fertiliser rather than the sapling?
05:44 v-rob joined #minetest
06:01 specing_ joined #minetest
06:01 riff-IRC joined #minetest
06:18 ghoti Or, even better, would it be possible to add another mod that alters the sapling registration so that it does not respond to bonemeal/fertiliser? I would brefer not to run a self-patched ethereal.  :/
06:19 ghoti '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
06:20 ghoti '''''''''''''''''''''''''''''''''''''''''''''''''''''''''
06:54 Pexin hello ghoti's cat on keyboard
07:35 CWz joined #minetest
08:28 calcul0n_ joined #minetest
08:55 proller joined #minetest
09:00 Blockhead256 joined #minetest
09:08 Blockhead256 Hello all, bit of an odd question, but I know Minetest speedruns exist. Do any of you speedrun on Linux, and if so, what timer program do you use?
09:13 definitelya joined #minetest
09:54 ___nick___ joined #minetest
10:19 bingxian_mo joined #minetest
10:25 Jason232 joined #minetest
10:38 bingxian_mo joined #minetest
10:47 powerjungle joined #minetest
11:03 queria joined #minetest
11:06 appguru joined #minetest
11:07 powerjungle joined #minetest
11:32 Fixer joined #minetest
11:42 proller joined #minetest
11:57 calcul0n__ joined #minetest
12:28 Taoki joined #minetest
13:05 sys4 joined #minetest
13:06 olliy joined #minetest
13:22 Jason232_ joined #minetest
13:41 MTDiscord <exe_virus> Hurm, it might make sense to use one built into minetest using a global step. That would make your timer be agnostic to your computer speed (in case minetest has a short glitch or something)
13:53 Sompi joined #minetest
14:05 CoolMinetestGod joined #minetest
14:36 GNUHacker joined #minetest
14:53 Fixer joined #minetest
15:10 MTDiscord <Benrob0329> How do you spredrun an engine?
15:11 MTDiscord <Warr1024> Try to write an entire game for it in 3 weeks.
15:11 definitelya Race conditions maybe?
15:11 ROllerozxa Minetest PR Merge Any%
15:15 Blockhead256 speedrunning a particular game for the engine of course :)
15:16 Blockhead256 I have a route for collecting all the diamonds and gold ingots in Wuzzy's tutorial game.. I might post my best time
15:17 Sven_vB joined #minetest
15:19 MTDiscord <Warr1024> That's a good one.  Some of the jam games seem like they may be pretty speedrunnable too.
15:20 MTDiscord <Warr1024> There are already a couple of runs for Alter but none that combine general good technique with the skip I found in room 7.
15:22 MTDiscord <Warr1024> There's at least one single segment run of Little Lady though I'm not sure if it was specifically intended as a speedrun.
15:23 MTDiscord <Warr1024> If someone were to, say, start curating and publishing community runs and tracking leaderboards and things of that sort, I could see that having an audience.
15:24 celeron55 it seems speedruns always have an audience
15:28 MTDiscord <Warr1024> Runs that don't have a lot of skips in them are actually kind of nice as a "cliff's notes let's play with minimal commentary" too sometimes :-)
16:08 proller joined #minetest
16:11 Sven_vB joined #minetest
16:14 Extex joined #minetest
16:22 Jason232 joined #minetest
16:46 Teckla joined #minetest
17:25 Talkless joined #minetest
17:46 Hawk777 joined #minetest
17:50 fluxionary joined #minetest
18:00 MTDiscord <j45> c55 stream?
18:00 ROllerozxa oh yeah c55 is gonna stream now right?
18:01 MTDiscord <j45> Yah
18:01 specing_ joined #minetest
18:01 MTDiscord <GreenXenith> I dunno is celeron55 gonna stream right now?
18:01 MTDiscord <j45> Supposedly
18:01 * jonadab is trying to imagine what a "speedrun" for Minetest Game would look like.
18:02 MTDiscord <j45> Getting diamonds or smt
18:02 MTDiscord <Jonathon> how fast you can rm -rf it
18:02 ROllerozxa mese speedrun
18:02 definitelya D:
18:02 MTDiscord <luatic> But where is da stream?
18:02 MTDiscord <j45> Idk
18:02 jonadab How fast you can get down to mese-block depth?  Yeah.
18:02 jonadab Maybe.
18:02 MTDiscord <luatic> YT?
18:02 ROllerozxa we need da stream
18:02 z812 joined #minetest
18:02 MTDiscord <luatic> https://www.youtube.com/watch?v=SlKaxA5kinQ
18:02 MTDiscord <j45> Yay
18:02 MTDiscord <j45> Ty
18:03 ROllerozxa yoo
18:03 MTDiscord <luatic> lool
18:03 MTDiscord <luatic> >casually opens Python for 4*7
18:05 Desour joined #minetest
18:05 definitelya Nice!
18:10 CoolMinetestGod joined #minetest
18:26 Yad joined #minetest
18:28 Yad ghoti: Oh hi there.
18:28 Yad ghoti: I gather you're looking to do this without learning the Lua API? :)
18:32 definitelya LOL
18:32 definitelya nooo
18:39 Yad definitelya: Hmm?
18:40 definitelya Oh sorry, I'm watching a stream. ;)
18:44 ___nick___ joined #minetest
18:46 ___nick___ joined #minetest
18:46 MTDiscord <MNH48> are everyone watching the same stream? xD
18:46 Yad MNH48: What stream? Not I. :)
18:47 definitelya Yad: celeron is streaming here https://www.youtube.com/watch?v=SlKaxA5kinQ
18:47 Verticen joined #minetest
18:47 Yad definitelya: Thanks!
18:48 definitelya np
19:00 Desour joined #minetest
19:16 Toothless joined #minetest
19:22 Jason232_ joined #minetest
19:26 f-a joined #minetest
19:26 f-a I have lost more time I want to admit on minetest
19:27 Yad f-a: I know that feeling! :D
19:27 Yad f-a: But it teaches me to be a better programmer.
19:27 Krock f-a: consider it as an investment
19:27 Yad Krock: yep :)
19:30 Yad Krock: Now that I understand nodes are immutable apart from 32 bits each, I have a clearer picture in my mind, of why digging behaves as it does. Why nobody seems to make digging cumulative/resumable.
19:30 Yad I suppose I could replace nodes with entities as soon as they are partly dug.
19:30 Yad But 32 bits should actually be enough to store dig progress.
19:31 Krock they could be made resumable locally
19:31 Krock the client would keep the information somewhere else
19:31 Yad Krock: That's a very interesting idea. Though, it would mean other players would not see the same dig progress on the server?
19:32 gargamel joined #minetest
19:32 Krock correct
19:32 Yad Krock: I imagine there are situations where that could be useful, thanks for the suggestion.
19:33 Yad Krock: I was thinking that since there are 4.294 billion possible values in 32 bits, that's actually a good amount of space for storing the statuses of a node.
19:33 Yad Krock: Am I mistaken in my thinking?
19:34 Krock Yad: you're forgetting that half is reserved for the content_t (node type), 8 reserved for light levels (day & night) and 8 bits which are used depending on the drawtype
19:34 Krock there's no room for more data unless you're extending it
19:34 Yad Krock: Oooh, right, so how many bits are available to param2?
19:34 Krock 8. most if not all might be used by the drawtype
19:35 Yad Krock: You're saying param2's 8 bits may be occupied by drawtype?
19:36 Krock https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L1047
19:36 Yad Krock: If so...Hmm, well that brings me back to my idea of replacing blocks with entities when they are punched (or otherwise take damage).
19:40 f-a aaaand I died. I guess finding an unexpected mine was too good, it was inhabited by friendly spiders too
19:40 f-a are there story based mods yet?
19:40 Yad f-a: Ah, you're playing in a Minetest Game world?
19:41 f-a I am playing on someone server
19:41 Yad f-a: Yes, I would say so. Irrlicht is an engine, Minetest is a platform, Minetest Game is a game, and games are made from collections of mods.
19:41 f-a what would I type?
19:41 f-a thanks
19:41 Yad f-a: You're welcome.
19:42 Yad f-a: So, you may want to get more games for Minetest, not just more mods for the Minetest game known as "Minetest Game"
19:42 Yad f-a: For example, my favorite game is Exile.
19:42 Yad f-a: It has very much a story.
19:42 f-a thanks
19:42 Yad f-a: But it is very difficult to survive! :)
19:42 Yad You're welcome.
19:42 Yad f-a: You may find it frustrating to play if you just started playing games for Minetest.
19:43 f-a because of difficulty?
19:43 f-a because of me lacking a mouse?
19:43 Yad f-a: Oh, both of those things! LOL
19:43 f-a because I am differently skilled?
19:43 Yad Your skills will grow with practice. :)
19:43 Yad I'm just guessing you are new to playing games for Minetest because of the questions you asked.
19:43 Yad The physics can take some getting used to.
19:44 Yad When I first started playing Exile I was frightened of falling out of trees when harvesting fruit. :)
19:44 Yad But now I rarely fall.
19:45 Yad f-a: Another game for Minetest you might enjoy besides Minetest Game, is MineClone 2.
19:45 * f-a notes
19:45 * Yad smiles
19:47 Yad f-a: Oh, and do you know how to get all these things? In the "Browse online content" section?
19:47 Yad f-a: There you can filter packages by whether they are a texture pack, a mod, or a whole game (a collection of mods).
19:49 f-a I must say I am quite positively surprised, as this is an OS game with volouteers and it seems yesterday that was in a broken alpha state
19:49 Yad f-a: I'm glad you are pleased with our rate of progress! ^^b
19:52 f-a ok I guess I am missing something http://paste.debian.net/1225412/
19:53 Yad f-a: Ahh, which version of Minetest are you running?
19:53 f-a f@mkiii:~/media/vcs/minetest/bin$ ./minetest --version
19:53 f-a Minetest 5.5.0-dev-0c4929f (Linux)
19:54 Yad f-a: Oh, interesting. Newer than my own! Hahah
19:54 Yad f-a: 5.4.1 is the current stable version I think?
19:55 Yad f-a: Yes it is.
19:55 f-a I git cloned the repo, so yeah prolly I am fast forward
19:55 Krock missing heightmap.. uh. did you select singlenode?
19:55 Yad f-a: Hahah, well I'm glad you're so familiar with open-source software development. :)
19:55 Yad Krock: Good point.
19:55 Yad f-a: Krock is asking what algorithm you used to generate the world.
19:56 Krock lmao algorithm
19:56 f-a singlenode yeah
19:56 f-a should I pick valley?
19:56 Yad f-a: Yes.
19:56 f-a *valleys
19:56 Yad f-a: I'm not sure why singlenode is still listed as allowed by Exile! xD
19:56 f-a mhh weird I am pretty sure I did not touch i- oh ok
19:57 Krock other games overwrite this setting, which is kinda unfortunate if they don't blacklist mapgens
19:57 Yad f-a: The other algorithms such as carpathian, flat, and v7, are rightly hidden from Exile, but singelnode is still shown even though Exile only supports valleys.
19:57 Yad f-a: Oh yes, I forgot we call these algorithms "mapgens" :)
19:58 f-a subversion and robbery eh
20:05 f-a ok, it is indeed pretty brutal xD
20:06 Yad Yep!
20:06 Yad f-a: You don't automatically start out with clothes. You have to weave them.
20:06 Yad f-a: It is a cold land.
20:07 f-a reminds me of Robinson’s Requiem, a pretty challenging DOS game
20:07 Yad f-a: Nice. :)
20:09 Yad f-a: I have searched the first 5000 seeds for Exile, and I would suggest 1778 for new players.
20:09 f-a haha that is quite specific!
20:09 Yad f-a: Yes! ^^
20:10 Yad f-a: It is a world which starts you in a marshland, where you can get the Cana you need right away.
20:11 Yad f-a: And there is water flowing into a cave where you can get the Granite Boulders you need to craft the Granite Adze you need to chop soft trees.
20:11 Yad f-a: And when you go deeper than -15 meters, you can survive on the geothermal heat.
20:11 rubenwardy Yad: Irrlicht is more of a rendering library, it provides 3d graphics, windowing, and a simple GUI library
20:11 rubenwardy and a scene tree
20:11 Yad rubenwardy: Thank you, I was wondering if it is correct to call Minetest a "platform"
20:11 f-a I seldom play 3d games, but I have to admit they are engrossing
20:12 rubenwardy yeah, Minetest is a platform
20:12 Yad rubenwardy: :D
20:13 f-a does exile support multiplayer? better question: how do I know which mods support it?
20:13 Yad f-a: Very few mods other than those which have been used to make the game, support Exile.
20:14 Desour joined #minetest
20:14 calcul0n__ there's an exile public server, it seems to work pretty well
20:14 Yad f-a: But recent improvements in Exile after Dokimi retired and Mantar took up management, have included mods such as natural slopes and head movement of characters.
20:14 f-a thanks
20:15 Yad calcul0n__: That is news to me! I'm in some authority on Thodt's private Exile server, but I had not been aware there was a new public server! :D
20:16 Yad calcul0n__: This is wonderful news, thank you!
20:16 v-rob joined #minetest
20:27 MCL joined #minetest
20:27 MCL Does anybody have a YT account?
20:27 MCL c55 is currently streaming my submission
20:27 Yad MCL: YouTube? Did you want someone to post a comment or something?
20:27 MCL Can someone relay a message from me?
20:28 MCL Yes tell him that you can also play it in singleplayer
20:28 Yad MCL: I thought celeron55 was testing them all in singleplayer?
20:28 MCL yeah
20:28 MTDiscord <GreenXenith> I mentioned it for you
20:28 MCL but in the desc it says it's a 2 player game
20:28 MCL so he wasa confused
20:35 Fixer joined #minetest
20:37 Fixer_ joined #minetest
20:46 benrob0329 joined #minetest
20:46 GreenXenith joined #minetest
20:58 CoolMinetestGod joined #minetest
21:23 definitelya pepeMELTDOWN
21:25 MTDiscord <j45> this isnt twitch
21:25 f-a Kappa
21:28 definitelya j45: bee you
21:28 MTDiscord <j45> what
21:30 Yad f-a: It surely does, and it would be difficult to survive without it!
21:31 Yad f-a: Oh sorry, I was replying to an old line from you lol
21:31 Yad f-a: I'm very much on the public server now. ^^
21:31 Yad I'm so happy there's a public one again at last.
21:31 Yad Much thanks to Thodt but his resources are limited.
21:31 Yad It was an honor to play on his private server.
22:23 Jason232 joined #minetest
22:51 Yad Where's the IRC for this new public Exile server? (Land of Catastrophe)
23:00 Sven_vB joined #minetest
23:03 MCL joined #minetest
23:08 Evergreen0 joined #minetest
23:09 zz812 joined #minetest
23:09 Thomas-S_ joined #minetest
23:10 dabbill_ joined #minetest
23:10 m42uko_ joined #minetest
23:10 ROllerozxa_ joined #minetest
23:11 Calinou_ joined #minetest
23:12 gry_ joined #minetest
23:12 valhalla_ joined #minetest
23:13 adam_mc_ joined #minetest
23:15 Fleckenstein joined #minetest
23:17 Teckla_ joined #minetest
23:19 Wikiwide joined #minetest
23:20 ROllerozxa gah, netsplit
23:20 Pexin joined #minetest
23:20 CoolMinetestGod joined #minetest
23:20 Edgy25 joined #minetest
23:20 gargamel joined #minetest
23:20 mazes_83 joined #minetest
23:20 syl joined #minetest
23:20 book` joined #minetest
23:20 ShadowBot joined #minetest
23:20 lumidify joined #minetest
23:20 clavi joined #minetest
23:20 kevinsan joined #minetest
23:24 Boingo joined #minetest
23:47 gry_ joined #minetest
23:53 v-rob joined #minetest
23:58 independent56 joined #minetest

| Channels | #minetest index | Today | | Google Search | Plaintext