Page 2 of 2

Re: Simple widget to control sound level

Posted: 27 Mar 2012, 00:11
by 100Gbps
What about the missing file:

Code: Select all

[Sound] Warning: Unable to open audio file: LuaUI/Sounds/volume_osd/pop.wav
[Sound] Warning: CSound::GetSoundId: could not find sound: LuaUI/Sounds/volume_osd/pop.wav
Can I has short and clear woman having sex sound? :mrgreen:

Re: Simple widget to control sound level

Posted: 27 Mar 2012, 02:43
by SanadaUjiosan
I love it! Very very awesome!

Re: Simple widget to control sound level

Posted: 27 Mar 2012, 21:43
by Beherith
Me rikey, mind if I include it in BA?

Re: Simple widget to control sound level

Posted: 28 Mar 2012, 15:02
by knorke
100Gbps wrote:What about the missing file:

Code: Select all

[Sound] Warning: Unable to open audio file: LuaUI/Sounds/volume_osd/pop.wav
[Sound] Warning: CSound::GetSoundId: could not find sound: LuaUI/Sounds/volume_osd/pop.wav
Can I has short and clear woman having sex sound? :mrgreen:
Soundfile is in the .zip, did you extract all files?

Re: Simple widget to control sound level

Posted: 28 Mar 2012, 16:23
by Jools
Yes, go ahead and use it, that's why I posted it here.

The audio file should be included. Check that the path got right when it was extracted. Or using an own audio file works too.

Re: Simple widget to control sound level

Posted: 28 Mar 2012, 16:28
by Jools
For the woman having sex sound, follow this link to get it, then save it in the folder and update the path in the widget.

http://www.jfgit.com/clean/short+and+cl ... +sex+sound

Re: Simple widget to control sound level

Posted: 28 Mar 2012, 21:23
by 100Gbps
knorke wrote:Soundfile is in the .zip, did you extract all files?
Why I should do that when the obvious reason is the wrong filepath?
Directory of D:\games\Spring\LuaUI\Sounds

21.03.2012 г. 23:25 <DIR> .
21.03.2012 г. 23:25 <DIR> ..
25.02.2012 г. 05:42 15 842 bounce.wav
26.12.2011 г. 15:27 31 851 ding.ogg
25.02.2012 г. 05:42 10 416 flag_grab.wav
25.02.2012 г. 05:42 3 326 land.wav
25.02.2012 г. 05:42 40 176 message_admin.wav
25.02.2012 г. 05:42 8 876 message_private.wav
25.02.2012 г. 05:42 8 876 message_team.wav
25.02.2012 г. 05:42 14 180 pop.wav
25.02.2012 г. 05:42 214 README.txt
25.02.2012 г. 05:42 50 862 teamgrab.wav
10 File(s) 184 619 bytes
2 Dir(s) 381 393 444 864 bytes free
Path should be
LUAUI_DIRNAME .. 'Sounds/pop.wav'
Obviously I didn't make that mistake ...

Re: Simple widget to control sound level

Posted: 28 Mar 2012, 23:28
by Jools
Hmmm, the path should be:

Code: Select all

 <springdir>/LuaUi/Sounds/volume_osd/pop.wav
In version 1.1. In version 1.0 the path was as you wrote.

I changed it so that when you uninstall the widget you can just delete the folder, so that it doesn't mix with other widgets. It is packed that way in the zip file, doesn't it extract that way?

I mean, doesn't it create the "volume_osd"-directory under Sounds?

Re: Simple widget to control sound level

Posted: 28 Mar 2012, 23:40
by 100Gbps
-- file: snd_volume_osd.lua
-- brief: volume control OSD
-- version: 1.1
Never used this widget before, just chose it cause I liked the old school TV progress bar.

Yes, directory was not created. Installed through 'Lua Widget Downloader' and there it was version 1.100

Re: Simple widget to control sound level

Posted: 29 Mar 2012, 16:19
by Jools
Hmm, I cannot reproduce the error. I downloaded it from

http://widgets.springrts.de/index.php?s=d

and saved it to a temp folder. When I extract the zip-file to that folder it creates the "volume_osd" directory under Sounds.

Re: Simple widget to control sound level

Posted: 29 Mar 2012, 16:46
by Beherith
What map is that? I like the terracing effect.

Re: Simple widget to control sound level

Posted: 29 Mar 2012, 17:21
by Jools

Re: Simple widget to control sound level

Posted: 16 Mar 2013, 02:56
by jamerlan
Beherith wrote:Me rikey, mind if I include it in BA?
I just added.
http://imolarpg.dyndns.org/trac/balatest/changeset/978
I want to add loadscreen with explanation also: http://imolarpg.dyndns.org/trac/balatest/ticket/169

Re: Simple widget to control sound level

Posted: 16 Mar 2013, 12:35
by Jools
Go ahead and make a loadscreen if you know how you want to make it. I just made this widget really quicky and didn't think about those things. You mean something that displays at gamestart or before it and then disappers when you click "ok" or when the game starts?

Re: Simple widget to control sound level

Posted: 16 Mar 2013, 16:23
by jamerlan
vbs has better idea: just use "+" and "-" for sound, not for game speed.
BD already changed game speed hotkeys to work with Alt: https://github.com/spring/spring/commit ... 8cf4bd4f51

So.. no loadscreen is needed.

Thank you for your very nice widget!

Re: Simple widget to control sound level

Posted: 16 Mar 2013, 16:48
by Jools
Even better idea. You need to change volume more often than gamespeed.

I don't know about you guys, but for me, alt key gets stuck very often. Not physically, but the program thinks alt key is pressed when it isn't. I think it is a common issue (zK even has a widget that checks if alt is stuck). But I don't think it's spring related thing. A google search pointed the problem to be related with auto-hotkey program (which I know that I use or have used).

So often when you press alt-+ the game just registers +. Just for information.

Re: Simple widget to control sound level

Posted: 16 Mar 2013, 17:55
by jamerlan
<[AG]abma> [teh]decay: imo for next release we can't cherry-pick

looks like changes for "+/-" will be not released soon
Sad, but I need to disable that widget by default or temporary remove from BA.

We will test how "+/-" and Alt works when these changes will be release. Thank you for info!