Page 1 of 1
Weather questions
Posted: Tue Jan 17, 2017 12:11 am
by SkinnyODST
1. Where do I find the sound for Kamino`s thunder? I added lightning into my map but it has no sound, in Kamino`s FX file under the Lightning area, it says this
Code: Select all
SoundCrack("kam_amb_thunder");
SoundSubCrack("kam_amb_thundersub");
I can`t find those 2 files anywhere.
2. How do I stop rain going through buildings? And does it have a sound file?
Re: Weather questions
Posted: Tue Jan 17, 2017 8:35 pm
by GAB
SkinnyODST wrote:How do I stop rain going through buildings?
You have to use rain shadow regions. More info on them on the
Regions in the Editor section of the
misc_domunetation doc.
Regarding the sound files,
kam_amb_thunder and
kam_amb_thundersub are actually the names of the entries in the
kam1.snd file located in
data_ABC/sound/worlds/kam. These entries control several properties related to a particular sound that is used in the game. You'll notice that each entry has a bunch of
Sample items with names enclosed in quotation marks. Those are the names of raw sound files you're looking for.
However, there are some bad news and good news:
The bad news is, no raw sound file used in Battlefront II was released in the ModTools. The good news is, Thanks to Marth and some other guys, we actually have pretty much every single sound effect used in SWBF2 available for download
here. So get those sound files, find the ones you're looking for and be happy.
Re: Weather questions
Posted: Tue Jan 17, 2017 9:56 pm
by SkinnyODST
Awesome! The rain shadow regions work perfectly. Now as for the sounds, I`m in the data_ABC/sound/worlds/kam folder. Am I able to add in the thunder sound with these or do I have to use the ones Marth took out of the game?
Re: Weather questions
Posted: Thu Jan 19, 2017 8:34 am
by GAB
SkinnyODST wrote:Awesome! The rain shadow regions work perfectly. Now as for the sounds, I`m in the data_ABC/sound/worlds/kam folder. Am I able to add in the thunder sound with these or do I have to use the ones Marth took out of the game?
It depends. If you are loading the Kamino sound
lvl through your Lua script then you should be able to use the thunder sounds right away. However, if you are using the sound
lvl of another map then you'll have to
munge a new sound lvl containting your thunder sounds, and that's where the files Marth extracted come in.
Re: Weather questions
Posted: Thu Jan 19, 2017 9:50 pm
by SkinnyODST
Yeah I just want to use the stock thunder sounds, so I added "ReadDataFile("sound\\kam.lvl;kam1cw")" to my LUA and the thunder sounds now play! But there isn`t any sound for the rain. I thought adding the thunder would also bring in the rain sounds, do you have any idea on how those are added in?
Re: Weather questions
Posted: Fri Jan 20, 2017 6:40 am
by Marth8880
The rain is a sound stream played with a sound stream region.
Create a sphere region that encompasses the portion of your map in which you want to hear rain, change its type to soundstream, and put kam_amb_rain in the Sound Property Name field.
Re: Weather questions
Posted: Fri Jan 20, 2017 9:58 pm
by SkinnyODST
Marth8880 wrote:The rain is a sound stream played with a sound stream region.
Create a sphere region that encompasses the portion of your map in which you want to hear rain, change its type to soundstream, and put kam_amb_rain in the Sound Property Name field.
I did that but nothing plays when I enter the region, also I just noticed that adding in "ReadDataFile("sound\\kam.lvl;kam1cw")" removes some sound effects. Like my troopers foot steps, engine sounds from the BARC Speeder and Fightertank as well as their firing sounds
Re: Weather questions
Posted: Wed Jan 25, 2017 1:57 pm
by GAB
SkinnyODST wrote:I just noticed that adding in "ReadDataFile("sound\\kam.lvl;kam1cw")" removes some sound effects. Like my troopers foot steps, engine sounds from the BARC Speeder and Fightertank as well as their firing sounds
Make sure you are not loading any sound
lvl other than the Kamino one. If you load two sound
lvls that have any sounds in common, these sounds will break (which is probably the reason why several of your vehicles and effects went silent).
The ideal approach when making a map is to choose one of the shipped sound
lvls (preferably one that has the majority of the sounds you will need for your vehicles and such) and use it as a base, then complement whatever missing sounds you may have by creating a custom sound
lvl.
Re: Weather questions
Posted: Wed Jan 25, 2017 10:45 pm
by SkinnyODST
Is there a tutorial on making a custom sound lvl? Is this it?
http://www.gametoast.com/viewtopic.php?f=27&t=4750 Because this one seems to only focus on the ATST
Re: Weather questions
Posted: Fri Jan 27, 2017 3:47 pm
by GAB
Yes, that is the tutorial for creating custom sound lvls. It just uses the AT-ST as an example. Adapt the instructions according to your needs. Also, try to comprehend the file structure in the sound folder. It will help you understand what you're doing.
Re: Weather questions
Posted: Sat Jan 28, 2017 3:00 am
by SkinnyODST
Awesome thanks a heap for all your help