Page 1 of 2

Modify Soundsupport

Posted: 24 May 2009, 14:12
by Caradhras
Hi

I think the current sound system lacks something.

Currently, you only hear action-based sounds, so if you click something, the unit or building sound is played, but if no units shoots or is clicked at, the battlefield is

completely silent!

So, is it possible to assign a sound source source to every unit or building that should emit noise. Im thinking of humming metalmakers or roaring mexes as background sounds.

Re: Modify Soundsupport

Posted: 24 May 2009, 14:34
by zwzsg
Wasn't that already implemented in CA?

Re: Modify Soundsupport

Posted: 24 May 2009, 15:33
by Caradhras
sorry, i dont play ca.

i presume they hacked the feature in lua?

Re: Modify Soundsupport

Posted: 24 May 2009, 17:39
by Hacked
"sorry, i dont play ca."

=D
same, i think some ambient noise like wind after zooming out enough (or based on wind levels) might add some atmosphere

Re: Modify Soundsupport

Posted: 24 May 2009, 18:14
by Acidd_UK
Actually, the Lua generated sounds in CA seem to be broekn for me in the latest release:

http://springrts.com/mantis/view.php?id=1407

Re: Modify Soundsupport

Posted: 24 May 2009, 18:16
by zwzsg
Caradhras wrote:sorry, i dont play ca.
If CA has it it means it doesn't require an engine change. Go bug the maintainers of the mod you play.

Re: Modify Soundsupport

Posted: 24 May 2009, 18:47
by Snipawolf
Caradhras wrote:Hi

I think the current sound system lacks something.

Currently, you only hear action-based sounds, so if you click something, the unit or building sound is played, but if no units shoots or is clicked at, the battlefield is

completely silent!

So, is it possible to assign a sound source source to every unit or building that should emit noise. Im thinking of humming metalmakers or roaring mexes as background sounds.
Yeeeah, already possible... Not a feature request, because we've already got it. Bug your favorite mod's/game's maintainer or developer about it.

Re: Modify Soundsupport

Posted: 24 May 2009, 22:32
by Caradhras
Well, I think it belongs into the engine, where the rest of the sound code already is.

The reason why I dont play CA is the great amount of lua hacks and features who rape my old pc.
The old fashioned XTA game does not do that. :-)

Re: Modify Soundsupport

Posted: 24 May 2009, 22:51
by knorke
humming metalmakers
i remember the sounds when they turned on/off.
DROOOOOOOOOOOOOOOOOOOOOOONE WRAGBML!
oh yeah.

Re: Modify Soundsupport

Posted: 24 May 2009, 22:56
by zwzsg
Caradhras wrote:Well, I think it belongs into the engine, where the rest of the sound code already is.
The sound are data, they do not belong to the engine. Just like textures, models are current sounds are not in spring.exe, but in the mod sdz and sd7. The sound code, however, is already in the engine.

How do you expect the engine to guess what a Yatioa, a Gouf or a Sd.Kfz. 250/9 SPW sound like, without any clue from the mod, by the way?
Caradhras wrote:great amount of lua hacks
If you prefer, bos/cob can also play-sound.

Re: Modify Soundsupport

Posted: 24 May 2009, 23:34
by Caradhras
well, i meant the possible need of changing some soundcode.

Its quite obvious that you need new soundfiles which sound good played in a loop. :wink:
So my feature request implied some kind of question:
Does the engine allow it to assign a continuous sound source to eg every metalmaker and send it through the 3D sound algorithms so, metalmakers that are far away are not so loud than ones directly in front of the camera? (Just like explosion sounds eg)

(Without performance hit)

Edit:
Another example:
Planes that pass the camera could have some sweet engine sound with the cool new doppler effects introduced in 0.79.

Re: Modify Soundsupport

Posted: 25 May 2009, 00:31
by Snipawolf
There is no performance hit in looping a sound to play while something is activated or killing the loop when it's deactivated. Nearly every single unit in my game (released in a hardly known and hardly completed alpha form, for those of you who don't know) has a looping sound that plays when it's moving or activated. We don't need to touch anything else, bos/cob work fine for this sort of thing.

Edit: Seriously.

Sounds when the units are moving, reloading sounds for the tower that fires at them. No lua.

Re: Modify Soundsupport

Posted: 25 May 2009, 05:28
by Gota
Upcoming Sa release will have dynamic music.
Annoying humming metal sounds will get annying real fast.

Re: Modify Soundsupport

Posted: 25 May 2009, 12:34
by Caradhras
Well, i dont think just looping the sounds does do the trick.

In the video it was not clear to me if the engine sounds go through the 3D sound system, does it? I mean, do they get louder if you approach the unit with the camera? Do you hear the dopper effect if they pass the camera? etc etc

And im sorry, but the sounds in the video sound shitty. Can anyone give me 400Ôé¼, so i can buy me a netbook? Then I could run around and record sound samples :lol:

Re: Modify Soundsupport

Posted: 25 May 2009, 15:02
by Snipawolf
Well, of course it's kinda crappy, what else could you expect from someone like me? I'm pretty sure the sounds are put through the sound system, though I'm not sure if they survived me moving the camera around for better angles and being put into a youtube video.

Re: Modify Soundsupport

Posted: 25 May 2009, 15:55
by Jazcash
Without reading all the above, I hate the new sound thingy where you zoom in and the sounds from that area become louder. I liked it how it was, how can I get it back to how it was plzzzz ;-;

Re: Modify Soundsupport

Posted: 25 May 2009, 16:40
by Caradhras
Im sure there is a possibility to create a button that switches things off.

But meh, Springs sounds like a 10 years old game.

Re: Modify Soundsupport

Posted: 25 May 2009, 16:44
by Auswaschbar
Caradhras wrote:But meh, BA sounds like a 10 years old game.
Fix'd.

Re: Modify Soundsupport

Posted: 25 May 2009, 17:08
by Caradhras
Auswaschbar wrote:
Caradhras wrote:But meh, BA sounds like a 10 years old game.
Fix'd.
But on the other hand not every mod is on par with CA (technically)

Re: Modify Soundsupport

Posted: 25 May 2009, 20:30
by zwzsg
JAZCASH wrote:Without reading all the above, I hate the new sound thingy where you zoom in and the sounds from that area become louder. I liked it how it was, how can I get it back to how it was plzzzz ;-;
I love how the new sound is so stereo!