New sound type for climbable nodes like ladders

Post Reply
User avatar
Wuzzy
Member
Posts: 4786
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy
Contact:

New sound type for climbable nodes like ladders

by Wuzzy » Post

Okay, here is a very simple suggestion:

I suggest to add a new sound type for nodes, and it shall be called “climb”.
This sound is played when a player climbs up or down (using space bar or shift, for example) a node which is marked as climbable=true. In other words, a ladder (for example).
For nodes which are not climbable, the assignment to the climb variable shall be simply ignored.
Currently there is no sound played at all when climbing a climbable node.

Example:

Code: Select all

node_definition = {
description = "metal ladder",
climbable = true,
sounds = { climb = { name = "metal_ladder_climb", gain = 1 } },
--[[ pretend here are other parts of the node definition which are crucial for the node definition itself, but not important for this suggestion ]]
}
This node shall produce the sound “metal_ladder_climb.ogg” when climbed (upwards or downwards).

fraang
Member
Posts: 10
Joined: Thu Oct 11, 2012 14:42

Re: New sound type for climbable nodes like ladders

by fraang » Post

+1

Improves the immersion into the game world and makes it more plausible. :D

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: New sound type for climbable nodes like ladders

by Inocudom » Post

Another thing is that Minecraft does not have this feature, so it can be added for the sake of originality.

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

Re: New sound type for climbable nodes like ladders

by Calinou » Post

Inocudom wrote:Another thing is that Minecraft does not have this feature, so it can be added for the sake of originality.
It has ladder climbing sounds since 1.4.

emugod
Member
Posts: 33
Joined: Tue Aug 13, 2013 19:49

Re: New sound type for climbable nodes like ladders

by emugod » Post

can nodes have multiple sound types, for example with ladders both one for on first attaching to it, and for actually climbing it? or how about randomly selecting from multiple different sounds?

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

Re: New sound type for climbable nodes like ladders

by Calinou » Post

emugod wrote:can nodes have multiple sound types, for example with ladders both one for on first attaching to it, and for actually climbing it? or how about randomly selecting from multiple different sounds?
Any sound can have random variations, just name the files like this:

Code: Select all

sound.1.ogg
sound.2.ogg
…
sound.8.ogg
sound.9.ogg

Rhys
Member
Posts: 379
Joined: Wed May 22, 2013 15:22

Re: New sound type for climbable nodes like ladders

by Rhys » Post

Very nice idea Wuzzy. :)

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests