Time |
Nick |
Message |
00:04 |
|
SFENCE joined #minetest |
00:11 |
|
Can0xfBows_ joined #minetest |
00:26 |
|
liceDibrarian joined #minetest |
00:39 |
|
liceDibrarian joined #minetest |
00:39 |
|
SFENCE joined #minetest |
00:43 |
|
ShadowBot joined #minetest |
00:49 |
frostsnow |
I don't think tools have an on_use(). They have an on_dig() for digging. Consumables like food have an on_use(). |
00:59 |
|
SFENCE joined #minetest |
01:17 |
|
SFENCE joined #minetest |
01:36 |
|
SFENCE joined #minetest |
01:44 |
|
liceDibrarian joined #minetest |
02:07 |
|
YuGiOhJCJ joined #minetest |
02:10 |
|
SFENCE joined #minetest |
02:29 |
|
amfl2 joined #minetest |
02:44 |
|
SFENCE joined #minetest |
02:46 |
|
bdju joined #minetest |
02:47 |
|
Verticen joined #minetest |
03:02 |
|
bdju joined #minetest |
03:03 |
|
SFENCE joined #minetest |
03:06 |
|
liceDibrarian joined #minetest |
03:11 |
|
diceLibrarian2 joined #minetest |
03:11 |
swift110-mobile |
hey all |
03:12 |
Mantar |
hello |
03:40 |
|
SFENCE joined #minetest |
03:55 |
|
SFENCE joined #minetest |
04:00 |
|
MTDiscord joined #minetest |
04:06 |
|
liceDibrarian joined #minetest |
04:14 |
|
SFENCE joined #minetest |
04:28 |
|
liceDibrarian joined #minetest |
04:47 |
|
SFENCE joined #minetest |
04:56 |
|
gregon joined #minetest |
04:56 |
|
SFENCE joined #minetest |
05:21 |
|
cranez joined #minetest |
05:27 |
mtvisitor |
ok. |
05:27 |
mtvisitor |
https://github.com/minetest/minetest/issues/12746/ |
05:29 |
mtvisitor |
Zughy: how much score will you give to minetest engine version 5.8 ? |
05:30 |
Mantar |
about 20 points |
05:30 |
mtvisitor |
20, 80 or 85 ? |
05:31 |
mtvisitor |
please do not worry, this is not a formal audit question, or some stupid yes/no question. |
05:32 |
|
SFENCE joined #minetest |
05:32 |
mtvisitor |
Mantar: 20 is really a low score. ;-) |
05:34 |
* mtvisitor |
will also build some houses on his local computer. ;-) |
05:34 |
mtvisitor |
i mean only in my spare time. |
05:36 |
Mantar |
depends on the scoring system, if it's soccer that's a great score |
05:37 |
mtvisitor |
agree, thanks. |
05:47 |
|
liceDibrarian joined #minetest |
05:50 |
|
SFENCE joined #minetest |
05:55 |
|
SFENCE joined #minetest |
05:57 |
|
tarsovbak joined #minetest |
06:00 |
|
jaca122 joined #minetest |
06:02 |
|
liceDibrarian joined #minetest |
06:17 |
|
SFENCE joined #minetest |
06:36 |
|
SFENCE joined #minetest |
06:42 |
|
liceDibrarian joined #minetest |
06:51 |
|
Talkless joined #minetest |
06:54 |
|
SFENCE joined #minetest |
07:08 |
|
liceDibrarian joined #minetest |
07:17 |
|
SFENCE joined #minetest |
07:34 |
|
liceDibrarian joined #minetest |
07:35 |
|
SFENCE joined #minetest |
07:35 |
|
gregon joined #minetest |
07:37 |
|
tarsovbak joined #minetest |
07:55 |
|
SFENCE joined #minetest |
07:57 |
|
SliverFlowCipher joined #minetest |
08:00 |
|
Glaedr joined #minetest |
08:00 |
|
liceDibrarian joined #minetest |
08:03 |
|
MacroFaxSax joined #minetest |
08:16 |
|
SFENCE joined #minetest |
08:22 |
|
Warr1024 joined #minetest |
08:28 |
|
mrkubax10 joined #minetest |
08:41 |
|
TomTom_ joined #minetest |
08:47 |
|
Warr1024 joined #minetest |
09:00 |
|
SFENCE joined #minetest |
09:05 |
|
Elouin joined #minetest |
09:18 |
|
SFENCE joined #minetest |
09:24 |
|
liceDibrarian joined #minetest |
09:35 |
|
SFENCE joined #minetest |
09:59 |
|
SFENCE joined #minetest |
10:17 |
|
liceDibrarian joined #minetest |
10:18 |
|
SFENCE joined #minetest |
10:20 |
|
Thermoriax joined #minetest |
10:23 |
|
ireallyhateirc joined #minetest |
10:27 |
|
Carribou joined #minetest |
10:46 |
|
SFENCE joined #minetest |
10:49 |
|
Pexin joined #minetest |
10:50 |
|
Hanicef joined #minetest |
10:56 |
|
SpaceManiac joined #minetest |
11:02 |
|
gregon joined #minetest |
11:02 |
|
tarsovbak joined #minetest |
11:03 |
|
Carribou joined #minetest |
11:17 |
|
Thermoriax joined #minetest |
11:18 |
|
SFENCE joined #minetest |
11:20 |
|
mrkubax10 joined #minetest |
11:32 |
|
mrkubax10 joined #minetest |
11:33 |
|
gregon joined #minetest |
11:33 |
|
tarsovbak joined #minetest |
11:35 |
|
mrkubax10 joined #minetest |
11:37 |
|
lemonzest joined #minetest |
11:40 |
|
SFENCE joined #minetest |
11:57 |
|
SFENCE joined #minetest |
12:18 |
|
Kimapr joined #minetest |
12:21 |
|
SFENCE joined #minetest |
12:24 |
|
Kimapr_ joined #minetest |
12:43 |
|
liceDibrarian joined #minetest |
12:55 |
|
Thermoriax joined #minetest |
12:59 |
|
liceDibrarian joined #minetest |
13:04 |
|
SFENCE joined #minetest |
13:21 |
|
SFENCE joined #minetest |
13:24 |
|
Desour joined #minetest |
13:27 |
|
Talkless joined #minetest |
13:39 |
|
SFENCE joined #minetest |
13:44 |
|
cryne joined #minetest |
14:03 |
|
SFENCE joined #minetest |
14:19 |
|
runxiyu_ joined #minetest |
14:20 |
|
diceLibrarian2 joined #minetest |
14:20 |
|
runxiyu_ joined #minetest |
14:21 |
|
silverwolf73828 joined #minetest |
14:23 |
|
MacroFaxSax joined #minetest |
14:41 |
|
SFENCE joined #minetest |
14:59 |
|
SFENCE joined #minetest |
15:05 |
|
SFENCE joined #minetest |
15:13 |
|
mrkubax10 joined #minetest |
15:30 |
|
Mocraft joined #minetest |
15:41 |
|
SFENCE joined #minetest |
15:41 |
|
Verticen joined #minetest |
16:06 |
|
SFENCE joined #minetest |
16:09 |
|
boingman joined #minetest |
16:22 |
|
Thermoriax joined #minetest |
16:34 |
|
mrkubax10 joined #minetest |
16:41 |
|
SFENCE joined #minetest |
17:07 |
|
SFENCE joined #minetest |
17:42 |
|
SFENCE joined #minetest |
17:58 |
|
SFENCE joined #minetest |
18:08 |
|
SFENCE joined #minetest |
18:09 |
|
MacroFaxSax joined #minetest |
18:12 |
|
liceDibrarian joined #minetest |
18:21 |
|
gregon1 joined #minetest |
18:24 |
|
ireallyhateirc joined #minetest |
18:26 |
|
SFENCE joined #minetest |
18:34 |
|
Adamsky joined #minetest |
18:36 |
|
shaft joined #minetest |
18:36 |
MinetestBot |
shaft: Jun-09 21:02 UTC <Road_Killer> You even suck at trolling, that's astounding... |
18:36 |
shaft |
how do you move an object |
18:36 |
shaft |
or player continuesly in a direction with lua? |
18:37 |
shaft |
I mean in interpolated manner. I tried object:move_to but it just teleported |
18:40 |
MTDiscord |
<luatic> for an object: set velocity |
18:40 |
MTDiscord |
<luatic> for a player: attach to an object which has velocity set |
18:40 |
MTDiscord |
<luatic> move_to also works but is near instantenous |
18:42 |
shaft |
But over a surface? Disable gravity? |
18:43 |
MTDiscord |
<luatic> huh what does that have to do with gravity |
18:43 |
MTDiscord |
<jordan4ibanez> Raycast down, if it's hit, disable player gravity if not, enable |
18:44 |
MTDiscord |
<jordan4ibanez> Simple, next, if nil, you have your answer, can wrap this in a function |
18:50 |
Adamsky |
If I want to have an entity disappear after 3 seconds of existing, how would I go about doing this? |
18:50 |
MTDiscord |
<luatic> there are multiple approaches |
18:51 |
MTDiscord |
<luatic> the standard one probably is to have the entity store a timer which is incremented by dtime in on step; if that reaches >= 3, call self.object:remove() |
18:51 |
Adamsky |
that's what I was thinking of doing, but I can't figure out how to actually store the number in question |
18:52 |
Krock |
self.my_timer = 3 |
18:52 |
MTDiscord |
<luatic> in on_activate, do self._timer = 0 |
18:52 |
Krock |
on_step = function(.....) self.my_timer = self.my_timer - dtime ... self:remove() end |
18:52 |
Krock |
something along those lines |
18:52 |
MTDiscord |
<jordan4ibanez> We are scientists |
18:53 |
Krock |
https://github.com/minetest/minetest/blob/master/builtin/game/falling.lua#L348-L353 |
18:53 |
Krock |
example from the falling node entity which deletes itself when colliding with ground |
18:53 |
Adamsky |
thank you very much |
18:53 |
Krock |
!next |
18:53 |
MinetestBot |
Another satisfied customer. Next! |
18:53 |
Adamsky |
I was overthinking this a lot |
18:54 |
MTDiscord |
<luatic> fwiw please try to stick to the underscore naming convention |
18:54 |
Krock |
FYI: "self" is in fact a table within core.luaentities[entity_id] |
18:54 |
MTDiscord |
<luatic> (your custom fields should be called self._my_thing) |
18:54 |
Krock |
thus it'll be unique per entity |
18:56 |
MTDiscord |
<jordan4ibanez> You can also store this in a variable, in the blueprint, if you want a more concrete object oriented feeling |
18:59 |
|
liceDibrarian joined #minetest |
19:10 |
|
SFENCE joined #minetest |
19:15 |
|
diceLibrarian2 joined #minetest |
19:22 |
shaft |
How do I find out at what rate I'm deaccellerating horizontally? |
19:22 |
shaft |
Is it in Minetest Game or the engine? |
19:24 |
MTDiscord |
<warr1024> how are you decellerating? |
19:25 |
Krock |
player acceleration and velocity is entirely client-side |
19:25 |
|
Izaya left #minetest |
19:26 |
MTDiscord |
<warr1024> If you're looking at it client-side, you'd have to calculate delta-velocity divided by time across two time samples. |
19:26 |
MTDiscord |
<warr1024> You'd also have to detect when the player's position hasn't been updated (waiting for an update from the client) |
19:26 |
MTDiscord |
<warr1024> And there's some kind of adjustment you have to do for it that I forget because calculus. |
19:28 |
|
SFENCE joined #minetest |
19:38 |
shaft |
mobs don't like me setting their velocity either and just reset it. So basically I have to register an object, spawn that, attach the entity to it and have it handle all movement until it lands where it should? |
19:44 |
MTDiscord |
<warr1024> mobs resetting the velocity you're setting sounds like a problem with the mod, rather than a fundamental limitation of the engine |
19:44 |
MTDiscord |
<warr1024> your proposal is a potential workaround, I guess, if you don't want to go messing with the internals of the mods |
19:45 |
MTDiscord |
<warr1024> If you're hoping to do something like server-side falling (or other sudden acceleration) damage calculations or something, you may find that the jank is not tolerable though 😄 |
19:45 |
|
SFENCE joined #minetest |
19:51 |
|
e1z0 joined #minetest |
20:03 |
|
SFENCE joined #minetest |
20:19 |
shaft |
How do I set the entity to have gravity? |
20:20 |
MTDiscord |
<warr1024> set an acceeleration |
20:20 |
Krock |
@warr1024 but that's gravitational acceleration and not gravity by itself :P |
20:22 |
Krock |
F = G * m1 * m2 / r². assuming that the entity is m1, the resulting acceleration would be a = G * m2 / r² |
20:23 |
* Krock |
vanishes |
20:27 |
MTDiscord |
<warr1024> It might just be barely theoretically possible to pack enough mass into a minetest world to have a noticeable gravitational force of its own, but it wouldn't necessarily be easy. It's possible to pack something like 210^32 kg into a space the size of an MT world without it collapsing to a singularity, and you'd only need about 610^24 to have earth-like gravity, I suppose. |
20:32 |
ireallyhateirc |
neutron matter nodes? |
20:33 |
shaft |
thanks guys. I think I'm getting somewhere. |
20:36 |
|
SFENCE joined #minetest |
21:13 |
|
MacroFaxSax joined #minetest |
21:15 |
|
SFENCE joined #minetest |
21:26 |
|
Izaya joined #minetest |
21:35 |
|
shaft joined #minetest |
21:36 |
shaft |
btw is it possible to do procedural animation in Minetest or would that require changes to the engine? |
21:37 |
ireallyhateirc |
I think the legboat mod does procedural animation |
21:38 |
ireallyhateirc |
though it's server side and therefore laggy |
21:38 |
MTDiscord |
<luatic> there are bone overrides (now with interpolation in 5.9!) and you could also generate b3ds and send them to the client |
21:38 |
MTDiscord |
<luatic> 5.9-dev, to be precise. we're currently in feature freeze. |
21:39 |
shaft |
No texture aliasing? sad |
21:39 |
MTDiscord |
<warr1024> wait, what does "now with interpolation" mean? Is that something I should specify now, or does it just use whatever frame_blend was or whatever that we had for the old fixed anims? |
21:39 |
ireallyhateirc |
btw I think MT devs should add 3 months to the optimistic release date :D |
21:40 |
MTDiscord |
<luatic> Warr1024: 5.9-dev has a parameter letting you control interpolation for each bone override |
21:40 |
ireallyhateirc |
interpolation like calculating intermediate bone positions? |
21:40 |
MTDiscord |
<luatic> all of rotation, position and scale can be interpolated individually |
21:41 |
ireallyhateirc |
cool |
21:41 |
ireallyhateirc |
make the legboat great again |
21:42 |
ireallyhateirc |
sadly the legboat lags ever 10 seconds, probably when packets are sent to client or when mapgen starts |
21:42 |
ireallyhateirc |
every* |
21:42 |
MTDiscord |
<warr1024> ooh, named parameters, nice |
21:42 |
MTDiscord |
<warr1024> that also suggests that if I add the param it will just noop on old versions |
21:44 |
shaft |
Would procedural animation work (not just for one object but for many) with the 5.9 features? |
21:50 |
MTDiscord |
<luatic> yes |
21:52 |
|
SFENCE joined #minetest |
21:52 |
|
jaca122 joined #minetest |
21:53 |
shaft |
Sounds good |
22:18 |
swift110-mobile |
hey all |
22:32 |
|
panwolfram joined #minetest |
22:46 |
|
SFENCE joined #minetest |
23:04 |
|
Noisytoot joined #minetest |
23:05 |
|
Eragon joined #minetest |
23:05 |
|
SFENCE joined #minetest |
23:13 |
|
Adamsky joined #minetest |
23:23 |
|
SFENCE joined #minetest |
23:26 |
|
nore joined #minetest |
23:41 |
|
SFENCE joined #minetest |
23:57 |
|
cow321_ joined #minetest |