Correction: providing sound media IS possible
Check https://github.com/HubTou/alarm_watch for a working example.
This commit is contained in:
parent
8b203f7e9b
commit
39b3cea6f7
@ -117,10 +117,13 @@ The main Lua script. Running this script should register everything it
|
|||||||
wants to register. Subsequent execution depends on Luanti calling the
|
wants to register. Subsequent execution depends on Luanti calling the
|
||||||
registered callbacks.
|
registered callbacks.
|
||||||
|
|
||||||
**NOTE**: Client mods currently can't provide textures, sounds, or models by
|
**NOTE**: Client mods currently can't provide textures, or models by
|
||||||
themselves. Any media referenced in function calls must already be loaded
|
themselves. Any media referenced in function calls must already be loaded
|
||||||
(provided by mods that exist on the server).
|
(provided by mods that exist on the server).
|
||||||
|
|
||||||
|
However, sounds can be provided and used on a client machine if they are copied
|
||||||
|
in a `sounds/` directory at the same level than the `clientmods/`directory.
|
||||||
|
|
||||||
Naming convention for registered textual names
|
Naming convention for registered textual names
|
||||||
----------------------------------------------
|
----------------------------------------------
|
||||||
Registered names should generally be in this format:
|
Registered names should generally be in this format:
|
||||||
|
Loading…
Reference in New Issue
Block a user