Honk of shame


A refined merge of 'Better Train Horn' and 'Train Trashtalk' featuring a loud horn and a dynamic, translation-ready grid of localized roasts. Credits to the original authors.

Tweaks
2 hours ago
2.0 - 2.1
0
Transportation Trains
Owner:
Jakub_Kubo
Source:
N/A
Homepage:
N/A
License:
MIT
Created:
2 hours ago
Latest Version:
0.0.2 (2 hours ago)
Factorio version:
2.0 - 2.1
Downloaded by:
0 users

Honk of Shame

Version for Factorio 2.1

This mod is a complete merge of Better Train Horn and Train Trashtalk concepts with entirely rewritten and optimized code.

I exploited the localization system to act as a dynamic list of trashtalk lines, feel free to open the files and edit them as you like!
You can find and customize the lists in your Factorio directory:
AppData\Roaming\Factorio\mods\Honk-Of-Shame_0.0.1.zip\Honk-Of-Shame_0.0.1\locale\en\

Features

  • Train & Car Support: Triggers a specific audio horn and distinct chat insults depending on whether you got crushed on rails or ran over on the pavement.
  • Manual honk: Press "H" by default, to manually honk the horn. You can really spam it!
  • Partial Localization: Built using Factorio's native translation system. It automatically fills in the victim's name and supports native vehicle translations (e.g., changes text dynamically based on your game language).
  • Robust Fallback: Uses a fallback system ensuring that you get a safe "HA-HA-HA!" text answer, even if settings are configured out of bounds.
  • Rich Text Formatting: Bold, blood-red chat announcements that nobody on the server will miss.

Known Bugs

  • Per-User Audio Settings: Features independent volume sliders in the player settings menu. Currently works only when set to 0 (off) or 1 (on). Partial volume scaling is not supported yet. More API reading needed.

Todo

  • Add more trashtalk lines (feel free to reach out and send me your ideas!).
  • Add different, unique lines for each individual kind of vehicle.
  • Implement multiple random horn sound variations.

Declarations

I have reached my 1000th hour in Factorio and decided to give something back to the community. To be clear, this is my very first mod, made with the help of Gemini AI. I was fully in charge of the project architecture and logic. The AI was used as a tool to help, check, search through the Factorio API, and generate/translate the trashtalk lines. This approach hopefully makes it more than AI slop.
Have fun!

Credits