Custom Sounds distance
Moderator: Moderators
-
ryukaji
- Major

- Posts: 513
- Joined: Mon Sep 17, 2007 7:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Custom Sounds distance
How can you change the range of hearing for a custom sound? I have one for an explosion that can only be heard when you are really really close to it.
-
Aman/Pinguin
- Jedi

- Posts: 1104
- Joined: Tue Jan 30, 2007 6:04 am
- Projects :: Inactive
- Location: Germany
Re: Custom Sounds distance
So what? You HAVE one that can only be heard when you are really close to it, or you search one way to do that?
-
ryukaji
- Major

- Posts: 513
- Joined: Mon Sep 17, 2007 7:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: Custom Sounds distance
I got a sound for the seismic charge explosion but you can only hear it when you are in range of the explosion so you die. I want the sound to be heard from farther away so you dont have to die to hear it. Tell me if I need to post any files from my sound folder
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Custom Sounds distance
Pretty sure it'll be something you change in the .snd file, but I don't know off the top of my head. If you want, go ahead and use this custom sound .lvl file (this is from Abraxas Platform, it's the sound from the Seismic Charge there, if you want to hear it ingame):
http://files.filefront.com/psalvl/;1003 ... einfo.html
To load in the .lua:
And the sound itself is named "scharge." It'll load in your _exp file like so:
http://files.filefront.com/psalvl/;1003 ... einfo.html
To load in the .lua:
Code: Select all
ReadDataFile("dc:sound\\psa.lvl;psagcw")Code: Select all
SoundProperty = "scharge"-
ryukaji
- Major

- Posts: 513
- Joined: Mon Sep 17, 2007 7:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: Custom Sounds distance
Ok im gonna go try that now
EDIT: Ok so then all I need to know is how you got it to do that. I really want to use my sound file becase it has the delay and it is a bit higher quality. So howd u get it to be heard from farther away?
EDIT: Ok so then all I need to know is how you got it to do that. I really want to use my sound file becase it has the delay and it is a bit higher quality. So howd u get it to be heard from farther away?
-
ryukaji
- Major

- Posts: 513
- Joined: Mon Sep 17, 2007 7:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: Custom Sounds distance
Heres my .snd
SoundProperties()
{
Name("seismiccharge");
Group("weapons");
Inherit("weapon_template");
SampleList()
{
Sample("seismiccharge", 1.0);
}
}
what do I need to change? or is it somewhere else?
SoundProperties()
{
Name("seismiccharge");
Group("weapons");
Inherit("weapon_template");
SampleList()
{
Sample("seismiccharge", 1.0);
}
}
what do I need to change? or is it somewhere else?
-
Taivyx
- 2008 Best Games Related Avatar
- Posts: 1706
- Joined: Thu Jun 07, 2007 3:34 pm
- Projects :: Terra Strife - discontinued
- xbox live or psn: No gamertag set
- Contact:
Re: Custom Sounds distance
Yea I'd like to know too
I have this reload sound that I have to raise the volume of to let it be heard properly in first person.
But the problem is, everywhere I go I hear the "chick-chung" of people reloading, quite loudly too.
I have this reload sound that I have to raise the volume of to let it be heard properly in first person.
But the problem is, everywhere I go I hear the "chick-chung" of people reloading, quite loudly too.
-
Aman/Pinguin
- Jedi

- Posts: 1104
- Joined: Tue Jan 30, 2007 6:04 am
- Projects :: Inactive
- Location: Germany
Re: Custom Sounds distance
Hidden/Spoiler:
-
ryukaji
- Major

- Posts: 513
- Joined: Mon Sep 17, 2007 7:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: Custom Sounds distance
Thank you!!!! So min distance is the farthest away you can be?
-
Taivyx
- 2008 Best Games Related Avatar
- Posts: 1706
- Joined: Thu Jun 07, 2007 3:34 pm
- Projects :: Terra Strife - discontinued
- xbox live or psn: No gamertag set
- Contact:
Re: Custom Sounds distance
And I suppose that works the same for MaxDistance thanks Pinguin!Aman/Pinguin wrote:Hidden/Spoiler:
