Search found 2526 matches
- Wed Apr 03, 2024 08:44
- Forum: General Discussion
- Topic: Post your code!
- Replies: 100
- Views: 32892
Re: Post your code!
Hi all! I'm just now learning my way around Lua and the Minetest API so forgive my ignorance please. I would like to write a chat command to get the player's language code from the table in minetest.get_player_information but I can't seem to work out how to get an individual element from a table an...
- Sat Mar 30, 2024 21:25
- Forum: Mod Releases
- Topic: [Mod] Cube Nodes [cube_nodes]
- Replies: 23
- Views: 11254
Re: [Mod] Cube Nodes [cube_nodes]
Update #30.03.24
- Added new cube nodes with bold font
- Fixed the scrolling of the output list of the painting machine
- Added new cube nodes with bold font
- Fixed the scrolling of the output list of the painting machine
- Sat Mar 30, 2024 21:23
- Forum: WIP Mods
- Topic: [ModPack] MultiDecor [1.3.0] [multidecor]
- Replies: 47
- Views: 9167
Re: [ModPack] MultiDecor [1.2.5] [multidecor]
[30.03.24] Release 1.3.0! Doors and Stairs Update https://i.imgur.com/hEVJ7E7.png The new major update has a goal to add a plenty of new kinds of doors, windows and stairs. Also, it adds a few sorts of wallpapers that can be stuck onto wall and then picked off with the scraper. The new spatula tool...
- Fri Mar 01, 2024 09:27
- Forum: WIP Mods
- Topic: [Mod] Advanced Vehicles [1.0.1-Release] [adv_vehicles]
- Replies: 18
- Views: 5546
Re: [Mod] Advanced Vehicles [1.0.1-Release] [adv_vehicles]
my first try AsyncErr: Lua: Runtime error from mod 'adv_vehicles' in callback environment_Step(): ...ds\minetest-5.8.0-win64\bin\..\mods\adv_vehicles/api.lua:35: attempt to perform arithmetic on local 'current_point_yaw' (a nil value) stack traceback: ...ds\minetest-5.8.0-win64\bin\..\mods\adv_vehi...
- Mon Feb 26, 2024 17:58
- Forum: WIP Mods
- Topic: [Mod] Advanced Vehicles [1.0.1-Release] [adv_vehicles]
- Replies: 18
- Views: 5546
Re: [Mod] Advanced Vehicles [1.0.1-Release] [adv_vehicles]
my first try AsyncErr: Lua: Runtime error from mod 'adv_vehicles' in callback environment_Step(): ...ds\minetest-5.8.0-win64\bin\..\mods\adv_vehicles/api.lua:35: attempt to perform arithmetic on local 'current_point_yaw' (a nil value) stack traceback: ...ds\minetest-5.8.0-win64\bin\..\mods\adv_vehi...
- Tue Dec 26, 2023 10:28
- Forum: Modding Discussion
- Topic: Get camera rotation direction
- Replies: 3
- Views: 239
Re: Get camera rotation direction
player:set_look_horizontal(0) rotates the camera towards to north . player:set_look_horizontal(math.pi/2) rotates the camera towards to west . player:set_look_horizontal(-math.pi/2) rotates the camera towards to east . player:set_look_horizontal(math.pi) rotates the camera towards to south .
- Fri Dec 22, 2023 09:11
- Forum: Modding Discussion
- Topic: Replace item with other item (SOLVED!🥳)
- Replies: 5
- Views: 1226
Re: Replace item with other item
But, how i can replace item in inventory with other? You can just set a new stack in its place using InvRef:set_stack(listname, i, stack) where stack is a new itemstack, i is an index in the list listname . I think the old one should be removed then. Example: local inv = minetest.get_inventory({typ...
- Wed Dec 20, 2023 10:52
- Forum: Modding Discussion
- Topic: Replace item with other item (SOLVED!🥳)
- Replies: 5
- Views: 1226
Re: Replace item with other item
There is minetest.after(10, func):cancel() method that stops the timer prematurely and the function from being executed.
https://github.com/minetest/minetest/bl ... .md#timing
https://github.com/minetest/minetest/bl ... .md#timing
- Mon Nov 13, 2023 10:41
- Forum: Servers
- Topic: [Server] Tunnelers' Abyss
- Replies: 211
- Views: 69168
- Mon Nov 13, 2023 09:03
- Forum: Mod Releases
- Topic: [Mod] Cube Nodes [cube_nodes]
- Replies: 23
- Views: 11254
Re: [Mod] Cube Nodes [cube_nodes]
Ill be working to adding another language to the cube_nodes this week, so far its working pretty good. Also will be extending the b3d model adding some type of paint brushes as if the cube was being painted or moved. It would be cool to see the machine with animations of actually painting the cubes...
- Thu Nov 09, 2023 05:50
- Forum: WIP Mods
- Topic: [ModPack] MultiDecor [1.3.0] [multidecor]
- Replies: 47
- Views: 9167
Re: [ModPack] MultiDecor [1.2.5] [multidecor]
How and where do you place them? Or might be just in some protected area and didn't you notice that? Also which a couple of other items does behave similar? I will have to recheck the mod to let you know what the others are. However I try to attach those light to ceilings and it doesn't matter wher...
- Wed Nov 08, 2023 23:10
- Forum: WIP Mods
- Topic: [ModPack] MultiDecor [1.3.0] [multidecor]
- Replies: 47
- Views: 9167
Re: [ModPack] MultiDecor [1.2.5] [multidecor]
Still having disappearing round and wooden lights. You place them and 3 seconds later they disappear. A couple of other items have the same problem. I don't have that issue with those lights. In my case they are placed how all remain stuff do. How and where do you place them? Or might be just in so...
- Tue Nov 07, 2023 21:59
- Forum: WIP Mods
- Topic: [ModPack] MultiDecor [1.3.0] [multidecor]
- Replies: 47
- Views: 9167
Re: [ModPack] MultiDecor [1.2.4] [multidecor]
[07.11.23] Bugfix Release 1.2.5. Sound for the ceiling fan. Fixed crashes relating to the shelves and taps placed before upgrading to 1.2.x versions. Optimized the work of the ceiling fan and floor clock. Added placement API checking for a free space for all kinds of furniture to be placed. Brighte...
- Wed Oct 25, 2023 23:43
- Forum: WIP Mods
- Topic: [ModPack] MultiDecor [1.3.0] [multidecor]
- Replies: 47
- Views: 9167
Re: [ModPack] MultiDecor [1.2.3] [multidecor]
[26.10.23] Release 1.2.4. Fixed the bug when a sit is not actually freed if a sitting player left a server. Added oddly_breakable_by_hand=1 group for all materials except stone and metal. Scaled down all chairs and their boxes. Fixed a few models meshes. New open/close sound for the underwear tank.
- Sun Oct 08, 2023 19:14
- Forum: Modding Discussion
- Topic: error in nametag
- Replies: 3
- Views: 684
Re: error in nametag
You can not set any custom properties for given player to the "player" varyable as it happens on line 220 to you as this is a userdata (cpp-side object) which you can not edit through Lua directly. You should do player:get_meta():set_string(param .. "*") if you need to save some ...
- Sun Oct 08, 2023 13:37
- Forum: WIP Mods
- Topic: [ModPack] MultiDecor [1.3.0] [multidecor]
- Replies: 47
- Views: 9167
Re: [ModPack] MultiDecor [1.2.2] [multidecor]
[08.10.23] Release 1.2.3! Added the bathroom slatted ceiling (with lamp and without). Added the bathroom shower base. Improved the water flows of all taps (increased the particles count and adjusted their positions). Replaced the stone and silver sandstone in the craft recipes of both kitchen garni...
- Fri Oct 06, 2023 10:08
- Forum: Modding Discussion
- Topic: item in hand = function
- Replies: 5
- Views: 950
Re: item in hand = function
You can call a necessary function in a globalstep each server step and check there inside if any player is wielding the necessary item: minetest.register_globalstep(function(dtime) for _, player in ipairs(minetest.get_connected_players()) do if player:get_wielded_item() == "some_mod:some_item&q...
- Thu Oct 05, 2023 13:38
- Forum: Modding Discussion
- Topic: video in formspec closed)
- Replies: 3
- Views: 547
Re: video in formspec
There is no a direct support for playing various video formats, however you can use animated_image[] element that works like the 'vertical_tiles' node animation type: https://minetest.gitlab.io/minetest/formspec/#animated_imagexywhnametexture-nameframe-countframe-durationframe-startmiddle I don't kn...
- Sun Sep 24, 2023 10:57
- Forum: WIP Mods
- Topic: [ModPack] MultiDecor [1.3.0] [multidecor]
- Replies: 47
- Views: 9167
Re: [ModPack] MultiDecor [1.2.1] [multidecor]
[24.09.23] Release 1.2.2. The objects counterparts of the "sym_doors" shelf type share the same object data now. Added a few more bathroom tiles including ones with patterns. Improved style textures and craft recipes of the bathroom furniture. Fixed the bug of the pots/vase when a picked ...
- Sun Sep 24, 2023 07:01
- Forum: General Discussion
- Topic: Post your screenshots!
- Replies: 11114
- Views: 2065012
Re: Post your screenshots!
This is from new "bfs_ssr" branch: https://github.com/GreenXenith/minetest/tree/bfs_ssr
- Sat Sep 23, 2023 22:58
- Forum: General Discussion
- Topic: Post your screenshots!
- Replies: 11114
- Views: 2065012
- Sat Sep 23, 2023 07:56
- Forum: Русский
- Topic: Вставьте посты с вопросами!
- Replies: 28
- Views: 6841
Re: Вставьте посты с вопросами!
я имел в виду сделать типо воттак: local player = get_player_by name("singleplayer") local pos = player:get_pos() просто в моем моде есть такой код: local player = get_player_by name("singleplayer") local pos = player:get_pos() function barrel:on_rightclick(clicker) self.object:...
- Fri Sep 22, 2023 10:35
- Forum: General Discussion
- Topic: Post your screenshots!
- Replies: 11114
- Views: 2065012
Re: Post your screenshots!
Screenshots of new update for my Multidecor mod Bathroom Update 1.2.0 : https://i.imgur.com/3zCVmjw.png https://i.imgur.com/zu67Z31.png https://forum.minetest.net/viewtopic.php?f=9&t=28583 Finally a good alternative to the dogshit mod that HomeDecor is. I wouldn't call Homedecor a dogshit mod s...
- Thu Sep 21, 2023 18:22
- Forum: Русский
- Topic: Вставьте посты с вопросами!
- Replies: 28
- Views: 6841
Re: Вставьте посты с вопросами!
Здесь вы можете задавать различные вопросы и отвечать на них! пожалуйста помогите, как использовать функцию get_pos() вместе с get_player_by_name()? Это совершенно две разные функции, они никак не связаны между собой. Первая (object:get_pos() - это метод, применяемый к ObjectRef типу, возвращает по...
- Sun Sep 17, 2023 14:45
- Forum: Русский
- Topic: Вставьте посты сo скриншотами!
- Replies: 41
- Views: 10933