Time |
Nick |
Message |
01:38 |
|
RichardTheTurd joined #minetest-project |
02:53 |
|
ssieb joined #minetest-project |
05:41 |
|
lumidify joined #minetest-project |
06:02 |
|
passant joined #minetest-project |
06:45 |
|
CWz joined #minetest-project |
08:18 |
|
Lunatrius joined #minetest-project |
08:38 |
|
Lunatrius joined #minetest-project |
08:47 |
|
Lunatrius joined #minetest-project |
10:31 |
|
VaultyTowers left #minetest-project |
10:47 |
|
proller joined #minetest-project |
10:48 |
|
Fixer joined #minetest-project |
11:17 |
|
passant joined #minetest-project |
11:20 |
|
proller joined #minetest-project |
11:27 |
|
Fixer_ joined #minetest-project |
11:29 |
|
proller joined #minetest-project |
12:08 |
|
Vtower joined #minetest-project |
12:11 |
|
Jordach joined #minetest-project |
12:40 |
|
Vtower left #minetest-project |
12:42 |
|
NathanS21 joined #minetest-project |
12:58 |
|
CWz joined #minetest-project |
14:38 |
|
proller joined #minetest-project |
15:03 |
|
octacian joined #minetest-project |
15:10 |
|
proller joined #minetest-project |
15:19 |
|
proller joined #minetest-project |
15:29 |
|
Paul27 joined #minetest-project |
15:53 |
OldCoder |
Paul27, Hello |
15:54 |
Paul27 |
Hello |
15:54 |
OldCoder |
o/ |
15:54 |
OldCoder |
Paul27, you are not Jacky, are you? |
15:54 |
Paul27 |
Ehm no |
15:54 |
OldCoder |
OK ty |
15:55 |
Paul27 |
Do you know what core.register_on_damage_taken(function(hp) does? |
15:56 |
OldCoder |
Paul27, I can guess by the function name; plus I will now check the code |
15:56 |
OldCoder |
Wait |
15:57 |
OldCoder |
It's in the API doc... |
15:57 |
Paul27 |
I've looked for it but didn't find it |
15:57 |
OldCoder |
Means exactly what it says, Paul27. If you call that, the function specified will be called when the player takes damage. |
15:57 |
OldCoder |
Might be new |
15:57 |
sfan5 |
minetest.register_on_damage_taken(func(hp)) |
15:57 |
sfan5 |
Called when the local player take damages |
15:57 |
OldCoder |
It's in this file: |
15:57 |
sfan5 |
https://github.com/minetest/minetest/blob/master/doc/client_lua_api.md |
15:57 |
OldCoder |
sfan5, as I just said |
15:58 |
OldCoder |
Paul27, that is the file, yes |
15:58 |
OldCoder |
The doc doesn't say anything else, but the idea is simple |
15:58 |
OldCoder |
You can define a function |
15:58 |
OldCoder |
to make the player say Ouch |
15:58 |
OldCoder |
Or, in theory |
15:58 |
OldCoder |
To do a Doom-like change |
15:58 |
OldCoder |
Where his skin starts to look more and more dazed and injured |
15:59 |
OldCoder |
Ever play Doom? This function could do that |
15:59 |
OldCoder |
But you'd need to hook something to restore his health |
15:59 |
OldCoder |
When HP went in the other direction |
15:59 |
Paul27 |
I'll keep it in mind, thanks. |
15:59 |
OldCoder |
sfan5, thank you. Paul27, was that the primary question? |
16:00 |
OldCoder |
Paul27, to speak here again, register a nick and PM for voice |
16:00 |
OldCoder |
In the future, I mean |
16:00 |
Paul27 |
Oh ok |
16:00 |
|
XtremeHacker joined #minetest-project |
16:00 |
OldCoder |
XtremeHacker, you are backer |
16:01 |
OldCoder |
Hacker Xtreme, what is the dreame? |
16:04 |
|
Krock joined #minetest-project |
16:05 |
Paul27 |
Bye |
16:05 |
|
Paul27 left #minetest-project |
16:06 |
XtremeHacker |
OldCoder: Not much oin the dream side of things, I'm now thinking on doing more textures on octacian & my subgame though |
16:07 |
OldCoder |
XtremeHacker, when it is ready to test or host, shoot us a copy |
16:07 |
XtremeHacker |
OK. :) |
16:07 |
OldCoder |
|
17:11 |
|
Brackston joined #minetest-project |
17:49 |
|
VaultyTowers joined #minetest-project |
17:49 |
|
VaultyTowers left #minetest-project |
18:07 |
|
ssieb joined #minetest-project |
19:50 |
|
proller joined #minetest-project |
20:16 |
|
Lunatrius joined #minetest-project |
20:37 |
|
Fixer joined #minetest-project |
20:49 |
|
RobbieF left #minetest-project |
20:54 |
|
Amaz joined #minetest-project |
21:02 |
|
Guest42359 joined #minetest-project |
21:17 |
|
proller joined #minetest-project |
22:06 |
|
Nathans21 joined #minetest-project |
22:23 |
|
rubenwardy joined #minetest-project |
22:33 |
|
Brackston left #minetest-project |
22:34 |
|
Brackston joined #minetest-project |
22:36 |
Brackston |
May I have voice on #minetest-hub? |
22:36 |
rubenwardy |
sure |
22:36 |
Brackston |
Thanks |
22:37 |
|
Brackston left #minetest-project |
23:08 |
|
OldCoder joined #minetest-project |
23:20 |
|
ThomasMonroe joined #minetest-project |
23:22 |
|
OldCoder joined #minetest-project |
23:35 |
|
ThomasMonroe joined #minetest-project |