forked from mtcontrib/ambience
added owls wolves & increased crickets
This commit is contained in:
parent
57b95ee660
commit
04fa3ac937
BIN
ambience.zip
Normal file
BIN
ambience.zip
Normal file
Binary file not shown.
@ -9,15 +9,27 @@ minetest.register_globalstep(function(time)
|
||||
sound_playing = time
|
||||
end
|
||||
|
||||
if sound_playing > 1 and time < 0.2 then
|
||||
sound_playing = 0.2
|
||||
if sound_playing > 1 and time < 0.05 then
|
||||
sound_playing = 0.05
|
||||
end
|
||||
|
||||
--random wolves & owls at night
|
||||
if time > 0.8 or time < 0.2 then
|
||||
if math.random(10000) >9997 then
|
||||
minetest.sound_play("Wolves_Howling")
|
||||
end
|
||||
if math.random(10000) >9997 then
|
||||
minetest.sound_play("horned_owl")
|
||||
end
|
||||
end
|
||||
if time > sound_playing then
|
||||
|
||||
if time > 0.8 or time < 0.2 then
|
||||
sound_playing = time + 0.1
|
||||
sound_playing = time + 0.07
|
||||
minetest.sound_play("Crickets_At_NightCombo")
|
||||
|
||||
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
|
@ -1,2 +1,6 @@
|
||||
--Nightime Sound, Recorded by Mike Koenig, License: Attribution 3.0 http://soundbible.com/951-Nightime.html
|
||||
--Crickets At Night Sound, License: Attribution 3.0 | Recorded by Mike Koenig |http://soundbible.com/365-Crickets-At-Night.html
|
||||
|
||||
--Medium Pack Of Wolves Howling, License: Public Domain | Recorded by fws.gov, http://soundbible.com/277-Medium-Pack-Of-Wolves-Howling.html
|
||||
|
||||
--Horned Owl Sound, License: Attribution 3.0 | Recorded by Mike Koenig , http://soundbible.com/1851-Horned-Owl.html
|
BIN
ambience/sounds/Wolves_Howling.ogg
Normal file
BIN
ambience/sounds/Wolves_Howling.ogg
Normal file
Binary file not shown.
BIN
ambience/sounds/horned_owl.ogg
Normal file
BIN
ambience/sounds/horned_owl.ogg
Normal file
Binary file not shown.
18
us.stackdump
Normal file
18
us.stackdump
Normal file
@ -0,0 +1,18 @@
|
||||
MSYS-1.0.12 Build:2011-07-20 17:52
|
||||
Exception: STATUS_ACCESS_VIOLATION at eip=68085E34
|
||||
eax=68560000 ebx=00006D34 ecx=00001B4D edx=00000000 esi=00000000 edi=68560000
|
||||
ebp=0022FE48 esp=0022FE3C program=us
|
||||
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
|
||||
Stack trace:
|
||||
Frame Function Args
|
||||
0022FE48 68085E34 (68560000, 00000000, 00006D34, 00000004)
|
||||
0022FE98 68001CB0 (005D2C52, 00000001, 0022FEE8, 680044EA)
|
||||
0022FEE8 680045C7 (00000000, 00000000, 0022FF28, 00405894)
|
||||
0022FF08 68004C5F (00401BB0, 00000000, 00000000, 00000000)
|
||||
0022FF28 68004C98 (00000000, 00000000, 00000000, 00000000)
|
||||
0022FF58 004057A4 (00401BB0, 00000000, 00000000, 00000000)
|
||||
0022FF88 0040103D (7FFDC000, 0022FFD4, 776BE4B6, 7FFDC000)
|
||||
0022FF94 772D4911 (7FFDC000, F7651B21, 00000000, 00000000)
|
||||
0022FFD4 776BE4B6 (00401000, 7FFDC000, 00000000, 00000000)
|
||||
0022FFEC 776BE489 (00401000, 7FFDC000, 00000000, 78746341)
|
||||
End of stack trace
|
Loading…
Reference in New Issue
Block a user