The Cornbread Mafia
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Wolfenstein Enemy Territory Clan
 
HomeLatest imagesRegisterLog in
Welcome to *CM* The Cornbread Mafia !!!
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Top posters
J-dubbb
Lua help and requests I_vote_lcapLua help and requests I_voting_barLua help and requests I_vote_rcap 
*CM*Duke_Nuk3m
Lua help and requests I_vote_lcapLua help and requests I_voting_barLua help and requests I_vote_rcap 
Zelly
Lua help and requests I_vote_lcapLua help and requests I_voting_barLua help and requests I_vote_rcap 
psychobat
Lua help and requests I_vote_lcapLua help and requests I_voting_barLua help and requests I_vote_rcap 
BunnyAttack
Lua help and requests I_vote_lcapLua help and requests I_voting_barLua help and requests I_vote_rcap 
Ghastly75
Lua help and requests I_vote_lcapLua help and requests I_voting_barLua help and requests I_vote_rcap 
Danny.
Lua help and requests I_vote_lcapLua help and requests I_voting_barLua help and requests I_vote_rcap 
Emcee
Lua help and requests I_vote_lcapLua help and requests I_voting_barLua help and requests I_vote_rcap 
Mordecai2300
Lua help and requests I_vote_lcapLua help and requests I_voting_barLua help and requests I_vote_rcap 
ReaperX
Lua help and requests I_vote_lcapLua help and requests I_voting_barLua help and requests I_vote_rcap 
Who is online?
In total there are 5 users online :: 0 Registered, 0 Hidden and 5 Guests

None

Most users ever online was 103 on Sun Apr 11, 2021 8:47 pm
Statistics
We have 51 registered users
The newest registered user is bob

Our users have posted a total of 1787 messages in 208 subjects

 

 Lua help and requests

Go down 
3 posters
AuthorMessage
*CM*Duke_Nuk3m

*CM*Duke_Nuk3m


Posts : 395
Join date : 2014-09-29

Lua help and requests Empty
PostSubject: Re: Lua help and requests   Lua help and requests I_icon_minitimeWed 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
J-dubbb


Posts : 578
Join date : 2014-09-10

Lua help and requests Empty
PostSubject: Re: Lua help and requests   Lua help and requests I_icon_minitimeWed 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
https://cornbreadmafia.forumotion.com
Zelly

Zelly


Posts : 108
Join date : 2014-09-22

Lua help and requests Empty
PostSubject: Re: Lua help and requests   Lua help and requests I_icon_minitimeWed 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
J-dubbb


Posts : 578
Join date : 2014-09-10

Lua help and requests Empty
PostSubject: Re: Lua help and requests   Lua help and requests I_icon_minitimeWed 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
https://cornbreadmafia.forumotion.com
Zelly

Zelly


Posts : 108
Join date : 2014-09-22

Lua help and requests Empty
PostSubject: Lua help and requests   Lua help and requests I_icon_minitimeWed 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





Lua help and requests Empty
PostSubject: Re: Lua help and requests   Lua help and requests I_icon_minitime

Back to top Go down
 
Lua help and requests
Back to top 
Page 1 of 1

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