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
a month ago
2.0
1.51K
Transportation Trains

g bug

a month 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>

a month ago

same issue here, no fix yet

a month 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

a month 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

a month ago

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

a month ago

outstanding effort all working good now :)

New response