[Nodes Sounds] Random footstep and dig sounds.

Post Reply
Linkpy
New member
Posts: 6
Joined: Sun Nov 11, 2012 15:08

[Nodes Sounds] Random footstep and dig sounds.

by Linkpy » Post

Hello,

I have a node named "Stone" and I want play random sound when I walk on it and when I dig it.

How can i do this ?

Thanks !

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post


Linkpy
New member
Posts: 6
Joined: Sun Nov 11, 2012 15:08

by Linkpy » Post

Thanks you very mush !

Linkpy
New member
Posts: 6
Joined: Sun Nov 11, 2012 15:08

by Linkpy » Post

And, do you know how to change the sound played when I place a block ?

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

Linkpy wrote:And, do you know how to change the sound played when I place a block ?
Yea, just replace the default_place_node.*.ogg in the sounds folder in the default mod in minetest_game.

Linkpy
New member
Posts: 6
Joined: Sun Nov 11, 2012 15:08

by Linkpy » Post

The problem is : I want different sounds for different block ( like in Minecraft ), I can't define a sound for a block ?

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

Linkpy wrote:The problem is : I want different sounds for different block ( like in Minecraft ), I can't define a sound for a block ?
You can define it: https://github.com/celeron55/minetest/b ... .txt#L1358
But you cant define the place sound.

Linkpy
New member
Posts: 6
Joined: Sun Nov 11, 2012 15:08

by Linkpy » Post

Ok ! Thanks you !

Post Reply

Who is online

Users browsing this forum: No registered users and 73 guests