Luanti logo

IRC log for #minetest, 2020-10-26

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

All times shown according to UTC.

Enable nick filtering
Time Nick Message
00:03 perrier Now specializing in pumpkin bread.
4 more elements. Show/hide.
02:42 Pie-jacker875 I want to modify technic chainsaws so that they also act as swords
02:46 Elon_Sat0shi joined #minetest
02:56 big_caballito[m] Dude that'd be cool
02:56 Pie-jacker875 I haven't gotten it to work and I don't really know what I'm doing
02:57 Pie-jacker875 though it'd be pretty hilarious if it also made big blood splatter
03:00 Pie-jacker875 oh it'd also be nice if the hotbar worked like Half-Life weapon selection
03:01 Pie-jacker875 where you press the number on your keyb multiple times to select something further down
03:01 Pie-jacker875 or maybe I'm misremembering how that worked
03:03 big_caballito[m] https://rubenwardy.com/minetest_modding_book/
03:03 big_caballito[m] https://minetest.gitlab.io/minetest
03:03 big_caballito[m] Never really got into modding myself
03:03 big_caballito[m] But good luck!
03:03 Pie-jacker875 I think I'm too incompetent to do HL style hotbar but I'll keep messing with this chainsaw
03:04 big_caballito[m] Cool, you should share it when you're done :D
03:08 Pie-jacker875 I think there's a typo in the channel rules
03:08 Pie-jacker875 "degrogatory"
03:10 big_caballito[m] No that means no words or phrases referring to alcohol negatively
03:10 big_caballito[m] Lol
03:14 swift110 daoh wow
12 more elements. Show/hide.
09:00 * jonadab imagines what a green chainsaw MkII would do in combat.
2 more elements. Show/hide.
09:46 fossrox If I would like to provide server side textures, where I should place them and how should I name them so they can be accessed by mods?
09:51 fossrox I ask this question in correlation to dynamic media, I successfully fetch media and can place it in world's tree structure but I did not found a way to display the file
09:51 fossrox in short, the mod does not find it
2 more elements. Show/hide.
10:22 fossrox I would like to rephrase the question because it's not about static ./minetest/textures/server. Where exactly I should store dynamic media that I fetch from a remote server in order to be able to display them to the players?
10:23 sfan5 the world folder works
10:24 fossrox sfan5: it should be <world>/textures/<some_mode_name>_<some_name>.png >
10:24 fossrox ?
10:24 sfan5 there is no specific recommendation but what you suggest would be a sane way to do it
10:26 fossrox hmm, I tried, and even if file is there and I reconnect, the server could not find render it stating it cannot find it :|
10:27 fossrox in other approach I've made as subfolder <world_name>/fetched and write works but I could not load it
10:28 sfan5 if you use dynamic_add_media the path is irrelevant, if you want the server to load the files on startup it needs to be a textures folder like with any mod
10:29 sfan5 (once added dynamic media is not persistent across restarts)
10:29 calcul0n joined #minetest
10:32 fossrox I use minetest.dynamic_add_media("world/textures/mod_file_name.png") -- this seems correct, right?
10:33 fossrox maybe I do not fully understand how to reference media added that way...
10:33 sfan5 should be minetest.dynamic_add_media(minetest.get_worldpath() .. "/textures/mod_file_name.png")
10:33 fossrox sfan5: yes, that's exactly what I do
10:34 sfan5 that should work as long as the function returns true
10:34 fossrox it seems it does
10:35 sfan5 you can reference the texture using mod_file_name.png then
10:36 fossrox but I cannot use media added that way in item/node definitions, because the registration is done on startup time, right?
10:36 sfan5 correct
10:37 fossrox is it fine as well if the mod name contains _ ?
10:37 sfan5 yes
10:37 sfan5 but if you have the media before startup, why would you use dynamic_add_media at all?
10:38 fossrox I'm just trying to understand how media work in minetest, so I tried different things
10:39 fossrox so where actually I can use dynamic textures? in formspecs?
10:40 fossrox in texture modifiers?
10:40 sfan5 entity textures, formspecs, sounds
10:41 fossrox great!
10:43 fossrox sfan5: thank you, I gained much more clarity, I will play with it more, can I come back to you with more questions if I would get stuck again?
10:44 sfan5 just ask here, I might not be around but someone will usually be
10:44 lisac joined #minetest
10:45 fossrox thanks :)
2 more elements. Show/hide.
10:57 fossrox sfan5: I've got it working in formspecs! thank you so much for your support!
2 more elements. Show/hide.
11:00 fossrox does the dynamic_add_media automatically pushed the media to all connected players, or only to the player that views the formspec?
11:01 sfan5 all
11:05 fossrox and if I would like to inspect in general what files the client received from server, where I should look on gnu/linux box?
11:06 rubenwardy client/cache contains unnamed files
11:07 rubenwardy Location of that depends on the type of Minetest install
11:09 proller joined #minetest
11:10 fossrox thank you, so on my machine it seems to be ~/.cache/minetest/media
6 more elements. Show/hide.
13:12 fossrox I would like to ask you about options that you could recommend by experience: I would like to create some kind of NPCs that can be aware if player is around and for example start a dialog, be able to walk from point A to be B (defined earlier), so some interactive story could be created, could you recommend some existing solutions/workflow?
13:13 ferrumcccp mobs_redo or mobkit, and model the mob after humans
13:19 ferrumcccp joined #minetest
13:29 fossrox ferrumcccp: thank you
11 more elements. Show/hide.
17:05 perrier Hey guise I actually like android better since I learned to use the controls because sitting in a chair gives me back pain and the mouse makes my hand hurt. I can play the tablet laying down so it's a liberatory experience just a little culture shock going from desktop to touchscreen.
17:05 majochup joined #minetest
17:06 perrier I signed up for beta testing too.
30 more elements. Show/hide.

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