Wolfenstein Enemy Territory Clan
 
HomeRegisterLog in
Welcome to *CM* The Cornbread Mafia !!!
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Top posters
J-dubbb
 
*CM*Duke_Nuk3m
 
Zelly
 
psychobat
 
BunnyAttack
 
Ghastly75
 
Danny.
 
Emcee
 
ReaperX
 
Quiet Earp
 
Who is online?
In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest

None

Most users ever online was 22 on Sat Aug 20, 2016 3:18 pm
Statistics
We have 49 registered users
The newest registered user is DRi*DaRkPiMp*

Our users have posted a total of 1775 messages in 206 subjects

Share | 
 

 Lua help and requests

View previous topic View next topic Go down 
AuthorMessage
*CM*Duke_Nuk3m

avatar

Posts : 395
Join date : 2014-09-29

PostSubject: 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?
Back to top Go down
J-dubbb
Admin
avatar

Posts : 575
Join date : 2014-09-10

PostSubject: 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.
Back to top Go down
http://Cornbreadmafia.forumotion.com
Zelly

avatar

Posts : 108
Join date : 2014-09-22

PostSubject: 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.
Back to top Go down
J-dubbb
Admin
avatar

Posts : 575
Join date : 2014-09-10

PostSubject: 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.
Back to top Go down
http://Cornbreadmafia.forumotion.com
Zelly

avatar

Posts : 108
Join date : 2014-09-22

PostSubject: 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
Back to top Go down
Sponsored content




PostSubject: Re: Lua help and requests   

Back to top Go down
 
Lua help and requests
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» JLG Racing- News feed/updates/requests
» LICH Lore - features requests
» To Request a Gift on your Friend's Wall: 
» DarthMario's Logo Requests
» Gift Items

Permissions in this forum:You cannot reply to topics in this forum
The Cornbread Mafia :: Discussion Forums :: Tutorials-
Jump to: