summaryrefslogtreecommitdiff
path: root/advtrains_train_industrial
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2017-12-06 13:23:55 +0100
committerorwell96 <orwell@bleipb.de>2017-12-06 13:23:55 +0100
commitac3d4dffeb5ca5c78db92e1292e1eade0bb057a5 (patch)
tree8550c9ec93220ff5dee45612bbdf4fed8a61648a /advtrains_train_industrial
parent34429b8154e45bc6acafd4d3af7a4f9b99f8b5c4 (diff)
downloadbasic_trains-ac3d4dffeb5ca5c78db92e1292e1eade0bb057a5.tar.gz
basic_trains-ac3d4dffeb5ca5c78db92e1292e1eade0bb057a5.tar.bz2
basic_trains-ac3d4dffeb5ca5c78db92e1292e1eade0bb057a5.zip
Implement sound api and some sounds
- Level crossing bell - Horns - Subway train driving and door sounds ...to be continued...
Diffstat (limited to 'advtrains_train_industrial')
-rw-r--r--advtrains_train_industrial/init.lua1
-rw-r--r--advtrains_train_industrial/sounds/advtrains_industrial_horn.oggbin0 -> 24325 bytes
2 files changed, 1 insertions, 0 deletions
diff --git a/advtrains_train_industrial/init.lua b/advtrains_train_industrial/init.lua
index ebf8d65..42804f3 100644
--- a/advtrains_train_industrial/init.lua
+++ b/advtrains_train_industrial/init.lua
@@ -39,6 +39,7 @@ advtrains.register_wagon("engine_industrial", {
is_locomotive=true,
collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0},
drops={"default:steelblock 4"},
+ horn_sound = "advtrains_industrial_horn",
}, S("Industrial Train Engine"), "advtrains_engine_industrial_inv.png")
advtrains.register_wagon("wagon_tank", {
mesh="advtrains_wagon_tank.b3d",
diff --git a/advtrains_train_industrial/sounds/advtrains_industrial_horn.ogg b/advtrains_train_industrial/sounds/advtrains_industrial_horn.ogg
new file mode 100644
index 0000000..2bc42c2
--- /dev/null
+++ b/advtrains_train_industrial/sounds/advtrains_industrial_horn.ogg
Binary files differ