Search found 2 matches

Return to advanced search

Re: How to add a custom sound for a mod

This means that the (global) variable pm is not defined. You have to define it first, because Lua don't knows the variable and you have only specified a sub-variable (node_sound_defaults). C:\Games\Minetest\bin\..\mods\pm/sounds.lua:1: attempt to index global 'pm' (a nil value) Add this at the top:...
by RoyallyRaincow
Wed Mar 30, 2016 18:18
 
Forum: Modding Discussion
Topic: How to add a custom sound for a mod
Replies: 2
Views: 674

How to add a custom sound for a mod

S, I've been working on a mod (duh), and I want to add a custom sound for the block entity when walked on. I did this correctly back in MT 4.11, and it worked (never published the mod so I lost it). I used a small, edited version of the default sound registration, which worked then. I do the same th...
by RoyallyRaincow
Wed Mar 30, 2016 03:36
 
Forum: Modding Discussion
Topic: How to add a custom sound for a mod
Replies: 2
Views: 674

Return to advanced search

cron