Brake Squeal 2.0


Makes trains audibly squeal/screech as they brake, to soothe your ears and engineering brain. This mod is working now, major thanks to GHXX on github :D This is my first mod! If you like it or have feedback, please let me know!

Content
11 days ago
2.0
914
Transportation Trains

g bug

14 days ago

The mod Brake Squeal 2.0 (2.0.7) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event brake-squeal-modded::on_nth_tick(5)
LuaGameScript doesn't contain key is_valid_sound_path.
stack traceback:
[C]: in function 'index'
__brake-squeal-modded
/control.lua:37: in function 'sound_handler'
brake-squeal-modded/control.lua:101: in function <brake-squeal-modded/control.lua:72>

13 days ago

same issue here, no fix yet

12 days ago

I also ran into this one the other day, it seems to happen as soon as a train starts braking, regardless of whether you are viewing it via map view or just standing next to it

12 days ago

Seems that is_valid_sound_path might have been moved into LuaHelpers, so helpers.is_valid_sound_path( might work instead of game.is_valid_sound_path( here https://github.com/darkstorm2150/brake-squeal-modded/blob/main/brake-squeal-modded/control.lua#L37

src: https://lua-api.factorio.com/latest/classes/LuaHelpers.html

12 days ago

Ok pullrequest with a supposed fix is created, exactly one hour later :P https://github.com/darkstorm2150/brake-squeal-modded/pull/1

12 days ago

outstanding effort all working good now :)

New response