View topic - Air absorption in spring


All times are UTC + 1 hour


Post new topic Reply to topic  [ 59 posts ]  Go to page Previous  1, 2, 3
Author Message
PostPosted: 25 Mar 2010, 21:33 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
hello??
waers mai reolts!!!
Top
 Offline Profile  
 
PostPosted: 25 Mar 2010, 22:01 
Cursed Zero-K Developer
User avatar

Joined: 07 Nov 2007, 21:48
Location: Horse
Pako wrote:
Who is stupid enough to say there is no sound in space, most of people apparently.

Of course human ear is well insulated from conductive sounds but *A is not humans fighting but highly dedicated robots, also air as a sound conductor is very slow and lossy compared to more dense materials like sand, stone and steel. Also planes can emit sound and it can be fast as light too. Every unit have atleast a radio as well.

Yo dawg, I heard you like sounds so I put conductors in your conductors so you can hear while you hear.
Top
 Offline Profile  
 
PostPosted: 26 Mar 2010, 10:04 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
stop offtopic, and GET ME ME RESOLTS!!!1
Top
 Offline Profile  
 
PostPosted: 26 Mar 2010, 10:24 
User avatar

Joined: 22 Feb 2006, 01:02
Location: cheap kitchen
havent played that much yet and then with sound low because of music listening.
but it seems to be better.
for example if you finished loading and someone had previously placed his startmarker 100 times the "bing" of the marker would sometimes be played 100 times at the same time resulting in BIIIING. at least that i didnt experience so far.
Top
 Offline Profile  
 
PostPosted: 26 Mar 2010, 10:26 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
that is fine, though this thread is about air absorption, which is what i am most interested in ...
Top
 Offline Profile  
 
PostPosted: 05 Apr 2010, 16:32 

Joined: 29 Nov 2008, 16:06
Hi hoijui,
I tried to test this feature but for me the 81 branch is unusable, meaning because I can't have any units on the map.
This is the latest version I have tried:
[no_new_cpp_ais]pureint_spring_0.81.0-773-g2869e7e.exe
Top
 Offline Profile  
 
PostPosted: 05 Apr 2010, 18:05 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
thanks for trying!
what you tested was the pureint branch. the idea was to test master branch, though by accident, it does not really make a difference here, as pureint is based on a recently enough version of master.

in short, the problem you are seeing (no units) is this:
viewtopic.php?f=14&t=21883

Recent enough mods should fix this. which mod did you try?
an alternative would be, to /cheat and /give corcom when ingame.
Top
 Offline Profile  
 
PostPosted: 06 Apr 2010, 17:07 

Joined: 29 Nov 2008, 16:06
I've tried with BA7.12 and latest CA 7613 or something (the CA guys update the stable version way to often), both of them didn't gave me any units, as for the /cheat and /give the testing is going to take a while (instead of just setting up an AI vs AI test and listen to the sounds it makes).
Ill let you know when I'm done testing.
Top
 Offline Profile  
 
PostPosted: 06 Apr 2010, 17:39 

Joined: 29 Nov 2008, 16:06
Well this is what i got:

Infolog (sound related part)
Code:
[      0] Sound: OpenAL info:
[      0] Sound:   Vendor:     Creative Labs Inc.
[      0] Sound:   Version:    1.1
[      0] Sound:   Renderer:   Software
[      0] Sound:   AL Extensions: EAX EAX2.0 EAX3.0 EAX4.0 EAX5.0 EAX3.0EMULATED EAX4.0EMULATED AL_EXT_OFFSET AL_EXT_LINEAR_DISTANCE AL_EXT_EXPONENT_DISTANCE
[      0] Sound:   ALC Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_EFX
[      0] Sound:   Device:     Generic Software
[      0] Sound:   Available Devices: 
[      0] Sound:                       DirectSound Software
[      0] Sound:                       Generic Software
[      0] Sound: air absorption enabled, value: 0.1
[      0] Sound:  parsed 25 sounds from gamedata/sounds.lua


Results:
The volume of sounds made by units when selected, starting building finishing building etc is depended on zoom level but the high pitch sounds can still be heard when zoomed out, as for explosions and weapons sounds there is no difference between being zoomed in or out.
In other words I don't think the air absorption works.
Top
 Offline Profile  
 
PostPosted: 06 Apr 2010, 21:42 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
hmm :/
shit
well.. thanks for the testing! :-)

this is not really relevant anymore now i guess, but when cheating, you can also give units to other teams like this:
Code:
/give <unitname> <teamId>

as you possibly found out, the units appear on the mouse cursor position. so you can set up a game with AIs, and then give them commanders manually to each team.
good you reported the mods still not popping out the commanders themselves!

edit: cheat -> give
Top
 Offline Profile  
 
PostPosted: 07 Apr 2010, 12:20 

Joined: 29 Nov 2008, 16:06
Well playing with the AI's is another problem. All of them are crashing the engine after the 3 seconds countdown.
Anyway if you need anything else tested let me know.
Top
 Offline Profile  
 
PostPosted: 20 Jun 2010, 08:35 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
air-absorption can now be changed through spring config (latest master):
snd_airAbsorption=...
valid: 0.0f - 10.0f
recommended: 0.01f - 0.5f
default: 0.1f
off: 0.0f
Top
 Offline Profile  
 
PostPosted: 21 Jun 2010, 02:08 
MC: Legacy & Spring 1944 Developer
User avatar

Joined: 29 Apr 2005, 00:14
Location: #moddev - join it!
Has there been any further feedback on testing this?
Top
 Offline Profile  
 
PostPosted: 22 Jun 2010, 18:15 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
there was not more testing then what you see in here.
i now tested on my old win machine, and i too got the false positive on it being supported, while it did not work.

i tested setting it to 1.0 instead of 0.1, and then it works under windows too (is much too heavy though). so that might just be a similar issue with Open AL (Soft?) not working well with low values under windows, like it was discovered for volume too.
will test some more, to see which is the lowest value that still works.
Top
 Offline Profile  
 
PostPosted: 23 Jun 2010, 15:57 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
air absorption value is now in-game changeable with:
Code:
/set snd_airAbsorption 0.1

You may try values from 0.0 (off) to 10.0 (insanely high).

use this installer to test, or get at least 0.81.2.1-1197-g33c60d2:
http://springrts.com/dl/buildbot/defaul ... 3c60d2.exe
Top
 Offline Profile  
 
PostPosted: 23 Jun 2010, 20:56 

Joined: 29 Nov 2008, 16:06
It works for me, nice job.
Top
 Offline Profile  
 
PostPosted: 23 Jun 2010, 21:19 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
it works out of the box? cause i did not change the default value (still is 0.1), and neither changed anything else that could make it work better or worse.
but well... i accept it anyway. ;-)
thanks for testing
Top
 Offline Profile  
 
PostPosted: 24 Jun 2010, 01:06 

Joined: 29 Nov 2008, 16:06
yes, it works out of the box. The LT sounds change their pitch really nice as you go further away.
The only sound that was distorted really bad was the sound of the commander exploding.
Top
 Offline Profile  
 
PostPosted: 24 Jun 2010, 08:08 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
well.. nice! :D
maybe try setting it to 0.0 then, and see if the commander explosion is also distorted. i personally have a lot of sounds distorted, especially when the game is laggy, and it always lags when the commander explodes, no matter how low the settings and how good the HW.
Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 59 posts ]  Go to page Previous  1, 2, 3

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Site layout created by Roflcopter et al.