mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-06-01 03:20:03 -04:00
adjust explode and gain
This commit is contained in:
parent
910de362bb
commit
013089e7d8
10 changed files with 6 additions and 4 deletions
|
@ -396,7 +396,7 @@ function tnt.boom(pos, def)
|
||||||
minetest.set_node(pos, {name = "tnt:boom"})
|
minetest.set_node(pos, {name = "tnt:boom"})
|
||||||
end
|
end
|
||||||
local sound = def.sound or "tnt_explode"
|
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)})
|
max_hear_distance = math.min(def.radius * 20, 128)})
|
||||||
local drops, radius = tnt_explode(pos, def.radius, def.ignore_protection,
|
local drops, radius = tnt_explode(pos, def.radius, def.ignore_protection,
|
||||||
def.ignore_on_blast, owner, def.explode_center)
|
def.ignore_on_blast, owner, def.explode_center)
|
||||||
|
|
BIN
mods/tnt/sounds/tnt_explode (copy).ogg
Normal file
BIN
mods/tnt/sounds/tnt_explode (copy).ogg
Normal file
Binary file not shown.
|
@ -2,14 +2,16 @@
|
||||||
<!DOCTYPE project PUBLIC "-//audacityproject-1.3.0//DTD//EN" "http://audacity.sourceforge.net/xml/audacityproject-1.3.0.dtd" >
|
<!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">
|
<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/>
|
<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">
|
<waveclip offset="0.00000000">
|
||||||
<sequence maxsamples="262144" sampleformat="262159" numsamples="57794">
|
<sequence maxsamples="262144" sampleformat="262159" numsamples="57794">
|
||||||
<waveblock start="0">
|
<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>
|
</waveblock>
|
||||||
</sequence>
|
</sequence>
|
||||||
<envelope numpoints="0"/>
|
<envelope numpoints="1">
|
||||||
|
<controlpoint t="0.720676553885" val="1.488338232040"/>
|
||||||
|
</envelope>
|
||||||
</waveclip>
|
</waveclip>
|
||||||
</wavetrack>
|
</wavetrack>
|
||||||
</project>
|
</project>
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
mods/tnt/sounds/tnt_explode_data/e00/d00/e0000e21.au
Normal file
BIN
mods/tnt/sounds/tnt_explode_data/e00/d00/e0000e21.au
Normal file
Binary file not shown.
Binary file not shown.
Loading…
Add table
Reference in a new issue