Time Nick Message 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 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 basically for each material in blender its a table entry in minetest 00:14 MTDiscord 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 ....good for you? 00:18 Yad Jonathon: as opposed to a separate texture for each polygon or something, yes. 00:18 MTDiscord 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 do you need to define a nodebox for what 00:20 Yad Johnathon: For applying a texture to a mesh. 00:21 MTDiscord ....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 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 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 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 Sounds like an object-disposed situation would fit 01:27 MTDiscord 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? 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:49 MTDiscord No, not quite 02:49 MTDiscord minetest uses objects and single textures 02:50 MTDiscord so if you want multiple textures on a single object, you have to split it into two objects 02:51 MTDiscord 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 then for each "g" in your .obj file, you specify a texture in your minetest node/entity definition 02:54 MTDiscord 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 Here's that texture: https://github.com/ExeVirus/lady_assets/blob/main/textures/lady_assets_carrot.png 02:55 MTDiscord hopefully that all helps! 03:26 Yad exe_virus: Thank you for the detailed reply! I'm reading your messages now. :) 03:28 MTDiscord 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 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 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 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 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 in an .obj file, those are the "vt" lines 03:32 MTDiscord .b3d contains texture coordinates for each vertex 03:32 MTDiscord like obj 03:32 MTDiscord and those UV's are those texture coordinates 03:33 MTDiscord 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 which version of blender and which version of the b3d plugin? 03:33 MTDiscord that is likely your problem 03:34 Yad exe_virus: checking :) 03:34 MTDiscord btw, welcome! I appreciate your effort levels right off the bat 03:35 MTDiscord (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) 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: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? 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 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? 13:41 MTDiscord 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) 15:10 MTDiscord How do you spredrun an engine? 15:11 MTDiscord 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:19 MTDiscord That's a good one. Some of the jam games seem like they may be pretty speedrunnable too. 15:20 MTDiscord 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 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 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 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 :-) 18:00 MTDiscord c55 stream? 18:00 ROllerozxa oh yeah c55 is gonna stream now right? 18:01 MTDiscord Yah 18:01 MTDiscord I dunno is celeron55 gonna stream right now? 18:01 MTDiscord Supposedly 18:01 * jonadab is trying to imagine what a "speedrun" for Minetest Game would look like. 18:02 MTDiscord Getting diamonds or smt 18:02 MTDiscord how fast you can rm -rf it 18:02 ROllerozxa mese speedrun 18:02 definitelya D: 18:02 MTDiscord But where is da stream? 18:02 MTDiscord Idk 18:02 jonadab How fast you can get down to mese-block depth? Yeah. 18:02 jonadab Maybe. 18:02 MTDiscord YT? 18:02 ROllerozxa we need da stream 18:02 MTDiscord https://www.youtube.com/watch?v=SlKaxA5kinQ 18:02 MTDiscord Yay 18:02 MTDiscord Ty 18:03 ROllerozxa yoo 18:03 MTDiscord lool 18:03 MTDiscord >casually opens Python for 4*7 18:05 definitelya Nice! 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:46 MTDiscord 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 Yad definitelya: Thanks! 18:48 definitelya np 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 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 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: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 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 21:23 definitelya pepeMELTDOWN 21:25 MTDiscord this isnt twitch 21:25 f-a Kappa 21:28 definitelya j45: bee you 21:28 MTDiscord 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:51 Yad Where's the IRC for this new public Exile server? (Land of Catastrophe) 23:20 ROllerozxa gah, netsplit