From dc67ff7226a2836863a0e709a5b81c90c977f288 Mon Sep 17 00:00:00 2001 From: orwell96 Date: Wed, 6 Dec 2017 13:23:55 +0100 Subject: Implement sound api and some sounds - Level crossing bell - Horns - Subway train driving and door sounds ...to be continued... --- advtrains_train_industrial/init.lua | 1 + .../sounds/advtrains_industrial_horn.ogg | Bin 0 -> 24325 bytes 2 files changed, 1 insertion(+) create mode 100644 advtrains_train_industrial/sounds/advtrains_industrial_horn.ogg (limited to 'advtrains_train_industrial') 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 Binary files /dev/null and b/advtrains_train_industrial/sounds/advtrains_industrial_horn.ogg differ -- cgit v1.2.3