Search found 3 matches

Return to advanced search

4aiman wrote:You can try to get player position and play a sound if there's air node under him.
Without C++ you can't make that better than this.


Unfortunately that would play the sound when a player was falling as well as jumping... I'm looking into the C++ solution now.
by ryguy
Fri Mar 01, 2013 21:38
 
Forum: WIP Mods
Topic: How do I play a sound when a player jumps?
Replies: 7
Views: 1649

That sounds like what I am looking for. I have some experience in C++, but not while working with Minetest. Is there a tutorial for modifying the C++ code in Minetest?
by ryguy
Fri Mar 01, 2013 17:45
 
Forum: WIP Mods
Topic: How do I play a sound when a player jumps?
Replies: 7
Views: 1649

How do I play a sound when a player jumps?

I'm trying to implement a mod where a certain sound is played whenever a player jumps - guaranteed. I figured out how to respond to it by searching for players with the jump key pressed every few hundredths of a second, but if the player presses the jump key quickly it may be missed. Also, there is ...
by ryguy
Fri Mar 01, 2013 03:48
 
Forum: WIP Mods
Topic: How do I play a sound when a player jumps?
Replies: 7
Views: 1649

Return to advanced search

cron