*CM*Duke_Nuk3m
Posts : 395 Join date : 2014-09-29
| Subject: Re: Lua help and requests Wed Mar 18, 2015 1:48 pm | |
| How do you get a sound out of a map and add it to the soundpack. Like for example the flushing toilet in the uje oldskool sniper? | |
|
J-dubbb Admin
Posts : 578 Join date : 2014-09-10
| Subject: Re: Lua help and requests Wed Mar 18, 2015 3:42 pm | |
| I would have to open the map up with 7zip or equivalent software and then go into sounds and find the wave. Then copy and put into soundpack. I can probably get the sound but I did not put my sounds in Lua. I was tired and worked on all day on it and in the end just was happy someone helped, so I was ready for it to be over and I did not learn how to add. I expected to ask later but due to unforeseen circumstances that did not happen. I can hold on to sound and research(hopefully figure out)and add later on. | |
|
Zelly
Posts : 108 Join date : 2014-09-22
| Subject: Re: Lua help and requests Wed Mar 18, 2015 6:42 pm | |
| Add this to Sounds.json - Code:
-
{ "aliases": [], "desc": "", "level": 0, "src": "/path/to/your/sound.wav", "tags": [], "title": "titleofyoursound" },
Use a json validator online to make sure there are no errors. Backup Sounds.json just incase This explains a little about json: https://bitbucket.org/zelly/lua-enhanced-server-mod/wiki/Config* I believe you wouldn't even need to extract it, you could just get the path from the map pk3 and anyone with that map would be able to hear the sound. | |
|
J-dubbb Admin
Posts : 578 Join date : 2014-09-10
| Subject: Re: Lua help and requests Wed Mar 18, 2015 9:50 pm | |
| Excellent thank you for your help. Still waiting patiently for a Lua update. I have visited the sight a few times. | |
|
Zelly
Posts : 108 Join date : 2014-09-22
| Subject: Lua help and requests Wed Mar 18, 2015 10:42 pm | |
| It is getting there, finally made progress to actual project (Been doing stuff outside of project a lot , experimental stuff ) Don't know if you saw this topic, been updating it past 2 days: http://forums.luaesmod.tk/viewtopic.php?id=12 | |
|
Sponsored content
| Subject: Re: Lua help and requests | |
| |
|