Search found 176 matches

by sirrobzeroone
Fri Jul 03, 2020 07:09
Forum: Modding Discussion
Topic: Post your mapgen questions here (modding or engine)
Replies: 686
Views: 71870

Re: Post your mapgen questions here (modding or engine)

Something like this but customized to be more minetest specific?

https://codepen.io/jhnsnc/pen/KNyOqV
by sirrobzeroone
Wed Jul 01, 2020 04:31
Forum: Modding Discussion
Topic: Lua documentation on Minetest Developer Wiki is wrong
Replies: 26
Views: 1452

Re: Lua documentation on Minetest Developer Wiki is wrong

Just adding +1 good work Wuzzy.

I got caught out early on referencing some of the dev wiki info that was out dated when compared to the api doc...most frustrating.
by sirrobzeroone
Tue Jun 23, 2020 08:43
Forum: Modding Discussion
Topic: Get the pointed entity at a further distance (making a gun)
Replies: 5
Views: 124

Re: Get the pointed entity at a further distance (making a gun)

Pretty sure the entity bug thing was a pre the full release of 5. Im fairly sure it was fixed as below 6241 says merged:

https://github.com/minetest/minetest/pull/6241

https://github.com/minetest/minetest/issues/6157
by sirrobzeroone
Tue Jun 23, 2020 08:37
Forum: Modding Discussion
Topic: what is the entire process of attaching a model to a player?
Replies: 2
Views: 71

Re: what is the entire process of attaching a model to a player?

Is this like an armour type thing? if so I'd check out 3d armour. If that's a bit heavy maybe attaching an entity/object might do the trick, check this thread few of us dumped some info there from self experimenting...unfortunately no full successes. https://forum.minetest.net/viewtopic.php?t=16245 ...
by sirrobzeroone
Sat Jun 20, 2020 08:02
Forum: Modding Discussion
Topic: Get the pointed entity at a further distance (making a gun)
Replies: 5
Views: 124

Re: Get the pointed entity at a further distance (making a gun)

I'm not very good at using it myself but I know raycast is the way to go - check out runs bow mod:

viewtopic.php?t=24512&p=370856
by sirrobzeroone
Tue Jun 16, 2020 00:10
Forum: Modding Discussion
Topic: [Question] How can I iterate over minetest.find_nodes_in_area
Replies: 6
Views: 94

Re: [Question] How can I iterate over minetest.find_nodes_in_area

ahh cool, glad it worked.

I checked in api - debug it should be "," not .. thats what i get for a bad memory :). I think like everyone I use chat way more for debugging than actual debug....
by sirrobzeroone
Mon Jun 15, 2020 01:04
Forum: Modding Discussion
Topic: [Question] How can I iterate over minetest.find_nodes_in_area
Replies: 6
Views: 94

Re: [Question] How can I iterate over minetest.find_nodes_in_area

Couple of things I can think off as I'm not sure what your search requirements are: Dirt with grass is different to default dirt so if your only targeting the surface layer potentially wont find any default:dirt Second one is it's finding multiple so the node name is actually the table key and the v...
by sirrobzeroone
Sun Jun 14, 2020 05:22
Forum: Modding Discussion
Topic: Liquid node that is walkable and the height of a slab
Replies: 2
Views: 94

Re: Liquid node that is walkable and the height of a slab

Two ways I know of to get slabs a simple mesh object or half a nodebox. nodebox example I grabbed this from stairs in MTG, sorry if you know this - the 2nd last number in the sequence is the Y end point which is 0 so half height first three numbers X,Y,Z start, 2nd 3 numbers X,Y,Z end: node_box = { ...
by sirrobzeroone
Fri Jun 12, 2020 07:31
Forum: Modding Discussion
Topic: Problem with logging time
Replies: 4
Views: 89

Re: Problem with logging time

We get this one a bit at work, it's hard to know what the specific need is but I know at work were we deal with multiple timezones etc the work around we use is to count hours since to trigger events etc. Set time/date using server time when the client machine triggers it. Once that time date exceed...
by sirrobzeroone
Fri Jun 12, 2020 00:05
Forum: Modding Discussion
Topic: [Question] Param2 question/confirmation [Answered]
Replies: 2
Views: 108

Re: [Question] Param2 question/confirmation [Answered]

After reading more through the api more closely...attention to detail fail, I spotted the below so incase someone else stumbles on this thread. minetest.dir_to_facedir(dir, is6d) Which gives a result with y+/y- individually numbered, seems to indicate you stick anything in that second spot so long a...
by sirrobzeroone
Tue Jun 09, 2020 23:52
Forum: Modding Discussion
Topic: [Question]Meta data vs New node key/value combo [Answered]]
Replies: 2
Views: 98

Re: [Question]Meta data vs New node key/value combo

Thanks Joe,

I've added it onto the reg node info as new key/value pair
by sirrobzeroone
Mon Jun 08, 2020 23:47
Forum: Modding Discussion
Topic: size of hotbar background images
Replies: 16
Views: 793

Re: size of hotbar background images

update: i redrew the MTG textures using a smaller scale that is easier to analyse for texture creators. if i were to make a mod out of this, with templates and documentation, how should i license it? Me personally I go as open as I can, normally Ill use CC0 for images et al. I know there has been d...
by sirrobzeroone
Mon Jun 08, 2020 23:24
Forum: Modding Discussion
Topic: [Question] Param2 question/confirmation [Answered]
Replies: 2
Views: 108

Re: [Question] Param2 question/confirmation

See Next reply - better way to go I've done more testing in game and results align with the above, putting this here in case anyone else stumbles on it later and may find the below useful. I have uncovered that when using: face_p2 = minetest.dir_to_facedir(vector.subtract(pos,pos1)) on top and bott...
by sirrobzeroone
Mon Jun 08, 2020 06:06
Forum: Modding Discussion
Topic: [Question] Param2 question/confirmation [Answered]
Replies: 2
Views: 108

[Question] Param2 question/confirmation [Answered]

Two questions in a row, sorry about that. I've been digging fully into param2 settings and trying to fully understand how all the pieces fit together - from created node all the way through to face_param2 calculations. I guess I'm more looking for a confirmation my understanding below is correct tha...
by sirrobzeroone
Mon Jun 08, 2020 04:20
Forum: Modding Discussion
Topic: [Question]Meta data vs New node key/value combo [Answered]]
Replies: 2
Views: 98

[Question]Meta data vs New node key/value combo [Answered]]

So I need to add some extra data to a every node of that type. I don't ever need to change the data in-game its fixed reference data I've found I can use the node meta data and use on_construct to add it on (not sure if there is a better way to add meta into node definitions?) on_construct = functio...
by sirrobzeroone
Mon Jun 08, 2020 04:19
Forum: Modding Discussion
Topic: Difference between pairs and ipairs?
Replies: 3
Views: 130

Re: Difference between pairs and ipairs?

I use stackoverflow heaps for questions like this: excellent answer here https://stackoverflow.com/questions/55108794/what-is-the-difference-of-pairs-vs-ipairs-in-lua ipairs - numeric keys only pairs - all keys numeric and named edit: just to add, dont use #table to try and get the length of table w...
by sirrobzeroone
Thu Jun 04, 2020 21:44
Forum: Modding Discussion
Topic: Lots of problems with rigged models. Help needed!
Replies: 5
Views: 164

Re: Lots of problems with rigged models. Help needed!

I meant to add if you upload the .blend file I can have a look and make sure it looks good and exports okay so at least you can remove rigging in blender as an issue.
by sirrobzeroone
Thu Jun 04, 2020 12:36
Forum: Modding Discussion
Topic: Lots of problems with rigged models. Help needed!
Replies: 5
Views: 164

Re: Lots of problems with rigged models. Help needed!

Its been awhile since i looked at rigged blender models. However i did upload a fixed pumba model below. Have a look at it as includes the .blend file and exported b3d file and it might help. https://forum.minetest.net/viewtopic.php?f=11&t=9917&start=1700#p347251 Nathan also has some youtube videos ...
by sirrobzeroone
Tue Jun 02, 2020 21:35
Forum: Modding Discussion
Topic: Post your mapgen questions here (modding or engine)
Replies: 686
Views: 71870

Re: Post your mapgen questions here (modding or engine)

Skamiz Kazzarch wrote:
Tue Jun 02, 2020 09:17
Really appreciate the reply and the effort you've put in to fully explain were I've gone wrong - Thanks it's just what i need, couple of my assumptions would have caused me big issues later on.
by sirrobzeroone
Tue Jun 02, 2020 00:47
Forum: Modding Discussion
Topic: Post your mapgen questions here (modding or engine)
Replies: 686
Views: 71870

Re: Post your mapgen questions here (modding or engine)

Perlin noise question, I'm pretty sure this is a general perlin noise question, not something specific to the minetest engine, but in regards to minetest it relates to creating a pure lua mapgen using singlenode. Borrowed the below settings from one of Paramat's many replies although I set spread su...
by sirrobzeroone
Sun May 31, 2020 11:19
Forum: WIP Mods
Topic: [MOD] ComboBlock [MT 5.2.0]
Replies: 9
Views: 371

Re: [MOD] ComboBlock [MT 5.2.0]

Its only on load and probably only if your on some fairly antique piece of hardware like myself :). But comboblock does have a noticable impact on game loadtimes, I probably cant do anything but thought it was worth a look, nothing like waiting a few mins or so for a game to load :)
by sirrobzeroone
Sun May 31, 2020 04:35
Forum: WIP Mods
Topic: [MOD] ComboBlock [MT 5.2.0]
Replies: 9
Views: 371

Re: [MOD] ComboBlock [MT 5.2.0]

thanks both :) I've been looking at the performance trying to isolate down were the code is slow. Unfortunately it looks like it's in the register nodes chunk and a fair amount of time is taken up doing all image conversions and overlays. Not to surprising as there is a lot going on for each node im...
by sirrobzeroone
Fri May 29, 2020 09:41
Forum: WIP Mods
Topic: [MOD] ComboBlock [MT 5.2.0]
Replies: 9
Views: 371

Re: [MOD] ComboBlock [MT 5.2.0]

Comboblock 5.2.0.3 released and ready so long as I didn't stuff something up during upload. Can now handle mods and base texture packs at different resolutions - setting under all settings - see Readme. Changed from using depends.txt to mod.conf Started to add localization file (sorry German speaker...
by sirrobzeroone
Fri May 29, 2020 07:18
Forum: Modding Discussion
Topic: [Question] Textures - Escaping Characters [Solved]
Replies: 4
Views: 119

Re: [Question] Textures - Escaping Characters [Solved]

Went with an issue for the moment: https://github.com/minetest/minetest/issues/9958 Edit - sfan provided the explanation and I understand now, need 1 escape \ for Lua and 1 escape backslash for the minetest api. I've copied it here for anyone else in the future: The escaping character is a single ba...