#Brake Squeal

1 messages · Page 1 of 1 (latest)

silent forge
#

I love this

glacial sentinel
#

Thank you!!! I've been obsessed with working on this for the past couple days after... not, touching the mod for two years OOPSIE

orchid wedge
#

Not realistic?? This is very realistic

glacial sentinel
#

iirc train brakes dont actually squeal like this IRL unless they're malfunctioning, but let's just pretend the engineer uses warped disc brakes or something

orchid wedge
#

Does factorio gear look brand new to you? XD

glacial sentinel
#

exactly lmao

#

Later I'll take a stab at some performance optimizations. There's 3 things I can currently see potentially improving performance:

  1. Reducing repeated calculations/memory accessing in the sound handler by moving them outside of the for loop
  2. Fixing the mistake of directly reading/writing to/from storage instead of making a local reference
  3. Reworking the scheduler to use multiple lists instead of 1, assigning braking trains to one of those lists, and having the ticker check one list at a time, incrementing afterwards. This should hopefully be a big reduction in unnecessary checks and memory writing.

Is this all necessary? Ehh, performance is fine right now, but it could always be better. That and it should be fine to put a volume option on again after

glacial sentinel
#

implemented these all and hoooooooooooopppppppefully it's stable. i did end up getting rid of all references to storage, and subsequently trains won't continue squealing across save/load transitions until next time they brake, but oh well

#

there were some noticeable, albeit minor, improvements. rejoice!

#

oh and volume setting added now yay

glacial sentinel
#

For the moment I think I'm done with further tweaks to Brake Squeal, though I'll likely eventually update it in the future should the hyperfixation arise or bugs get reported. It also reached over 1k downloads! 🎉