Search found 2535 matches
- Mon Oct 07, 2024 07:57
- Forum: Partly official engine development
- Topic: How is air rendered in minetest with glsl?
- Replies: 4
- Views: 2749
Re: How is air rendered in minetest with glsl?
Air doesn't have the geometry at all and therefore doesn't get rendered. This is well seen in this part of the engine code (when the function has found out from its ContentFeatures its drawtype == NDT_AIRLIKE, it just does a return: https://github.com/minetest/minetest/blob/master/src/client/content...
- Mon Aug 26, 2024 16:59
- Forum: Partly official engine development
- Topic: How can I get a MapBlock with only knowing the corresponding MapNode?
- Replies: 1
- Views: 500
Re: How can I get a MapBlock with only knowing the corresponding MapNode?
You can not know from MapNode which MapBlock it belongs to. You need to save a pointer to Map (Servermap/Clientmap depending on which part you're doing smth) or to the Client/Server class. Except that you must know the block position to extract that from the map sectors. // example on server with Se...
- Thu Jun 27, 2024 22:37
- Forum: WIP Mods
- Topic: [ModPack] MultiDecor [1.3.2] [multidecor]
- Replies: 61
- Views: 13536
Re: [ModPack] MultiDecor [1.3.1] [multidecor]
[27.06.24] Bugfix Release 1.3.2.
- Fixed the crash when the desert granite ore is generating.
- Fixed the closing animation of the doors directed towards to +X axis.
- Thu Jun 27, 2024 16:58
- Forum: WIP Mods
- Topic: [ModPack] MultiDecor [1.3.2] [multidecor]
- Replies: 61
- Views: 13536
Re: [ModPack] MultiDecor [1.3.1] [multidecor]
Hello Andrey01, me and other players have severe problems with your amazing mod because it crashes the server, please take a look at: https://forum.minetest.net/viewtopic.php?p=436611#p436611 I would be so glad if you had any advice Oh damn. I found out today that the ore registration for the grani...
- Sat Jun 15, 2024 19:00
- Forum: WIP Mods
- Topic: [ModPack] MultiDecor [1.3.2] [multidecor]
- Replies: 61
- Views: 13536
Re: [ModPack] MultiDecor [1.3.1] [multidecor]
Hello Andrey01, me and other players have severe problems with your amazing mod because it crashes the server, please take a look at: https://forum.minetest.net/viewtopic.php?p=436611#p436611 I would be so glad if you had any advice Oh damn. I found out today that the ore registration for the grani...
- Tue Jun 11, 2024 20:03
- Forum: WIP Mods
- Topic: [ModPack] MultiDecor [1.3.2] [multidecor]
- Replies: 61
- Views: 13536
- Mon Jun 10, 2024 13:53
- Forum: WIP Mods
- Topic: [ModPack] MultiDecor [1.3.2] [multidecor]
- Replies: 61
- Views: 13536
Re: [ModPack] MultiDecor [1.3.0] [multidecor]
[10.06.24] Bugfix Release 1.3.1. Added a check for protection violation on trying to strip off someone's wallpapers, paints and plaster. Added also for the flower pots. Fixed a crash after putting items into cooker or trash inv lists if the given shelf is invalid. Fixed the marble sheet recipe (it ...
- Sun Apr 21, 2024 15:26
- Forum: General Discussion
- Topic: Post your screenshots!
- Replies: 11283
- Views: 2300084
Re: Post your screenshots!
Yes. There was the PR created recently adding a bunch of new visual effects including the water waves and specular reflections on that: https://github.com/minetest/minetest/pull/14508
- Sun Apr 21, 2024 12:08
- Forum: Modding Discussion
- Topic: [SOLVED!🥳] on_diemob
- Replies: 16
- Views: 2016
Re: on_diemob
There is the corresponding callback for it on_death = function(self, killer): https://api.minetest.net/registered-ent ... d-entities
- Wed Apr 03, 2024 08:44
- Forum: General Discussion
- Topic: Post your code!
- Replies: 100
- Views: 36769
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: 12423
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.2] [multidecor]
- Replies: 61
- Views: 13536
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: 6307
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: 6307
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: 411
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: 1461
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: 1461
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: 289
- Views: 89786
- Mon Nov 13, 2023 09:03
- Forum: Mod Releases
- Topic: [Mod] Cube Nodes [cube_nodes]
- Replies: 23
- Views: 12423
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.2] [multidecor]
- Replies: 61
- Views: 13536
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.2] [multidecor]
- Replies: 61
- Views: 13536
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.2] [multidecor]
- Replies: 61
- Views: 13536
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.2] [multidecor]
- Replies: 61
- Views: 13536
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: 834
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.2] [multidecor]
- Replies: 61
- Views: 13536
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...