adjust explode and gain

This commit is contained in:
TumeniNodes 2019-08-22 01:43:00 -04:00
parent 910de362bb
commit 013089e7d8
10 changed files with 6 additions and 4 deletions

View file

@ -396,7 +396,7 @@ function tnt.boom(pos, def)
minetest.set_node(pos, {name = "tnt:boom"})
end
local sound = def.sound or "tnt_explode"
minetest.sound_play(sound, {pos = pos, gain = 1.5,
minetest.sound_play(sound, {pos = pos, gain = 2.5,
max_hear_distance = math.min(def.radius * 20, 128)})
local drops, radius = tnt_explode(pos, def.radius, def.ignore_protection,
def.ignore_on_blast, owner, def.explode_center)

Binary file not shown.

View file

@ -2,14 +2,16 @@
<!DOCTYPE project PUBLIC "-//audacityproject-1.3.0//DTD//EN" "http://audacity.sourceforge.net/xml/audacityproject-1.3.0.dtd" >
<project xmlns="http://audacity.sourceforge.net/xml/" projname="tnt_explode_data" version="1.3.0" audacityversion="2.1.2" sel0="0.0000000000" sel1="1.3105215420" vpos="0" h="0.0000000000" zoom="435.7017004470" rate="44100.0" snapto="off" selectionformat="hh:mm:ss" frequencyformat="Hz" bandwidthformat="octaves">
<tags/>
<wavetrack name="modified.Explosion2.wav-80401" channel="2" linked="0" mute="0" solo="0" height="351" minimized="0" isSelected="1" rate="44100" gain="3.548134" pan="0.0">
<wavetrack name="modified.Explosion2.wav-80401" channel="2" linked="0" mute="0" solo="0" height="491" minimized="0" isSelected="1" rate="44100" gain="3.548134" pan="0.0">
<waveclip offset="0.00000000">
<sequence maxsamples="262144" sampleformat="262159" numsamples="57794">
<waveblock start="0">
<simpleblockfile filename="e0000c84.au" len="57794" min="-0.923824" max="0.920454" rms="0.150239"/>
<simpleblockfile filename="e0000e21.au" len="57794" min="-0.437389" max="0.435514" rms="0.071086"/>
</waveblock>
</sequence>
<envelope numpoints="0"/>
<envelope numpoints="1">
<controlpoint t="0.720676553885" val="1.488338232040"/>
</envelope>
</waveclip>
</wavetrack>
</project>

Binary file not shown.

Binary file not shown.