[MOD 0.16] Horns - honking for cars

Topics and discussion about specific mods
User avatar
TaxiService
Inserter
Inserter
Posts: 39
Joined: Fri Apr 06, 2018 3:56 pm
Contact:

[MOD 0.16] Horns - honking for cars

Post by TaxiService »

.
Description
This mod adds horns to cars and tanks. Pictures don't help much in this case, so here is a short video showcasing the mod's features.

Both vehicles have their own set of two sounds, a shorter one and a longer one, which can be bound to different keys. ("H" and "SHIFT+H" by default)
Honking also attracts enemies in a 60 tiles range from the user. This range can be tweaked in-game via the per-user mod options. (Note: biters normally attack when within 30 tiles from you)
Likewise, the enemy attraction mechanic can be disabled altogether.
If you feel the horns are too loud or quiet, there's a volume multiplier on line 1 in data.lua (default is 1.2)

Enable sound in this webm to hear a preview of the horns themselves.
webm
Download from the Mod Database

If you have any suggestion or feedback feel free to post here. : )

Credits
Changelog
  • 1.0.2
    • Default attraction range changed from 70 to 60
    • Added per-user setting to define enemy attraction range from 35 to 90 tiles
    • Added per-user setting to disable enemy attraction
    • Renamed and revised "credits.txt" into "readme.txt" in mod files
  • 1.0.1
    • Added enemy attraction functionality
  • 1.0.0
    • Initial release
Planned features
  • volume multiplier option in per-player settings
  • conditions for modded vehicles (currently they should all default to the car's honk, i would like to set some "heavier" vehicles to have the tank sound)
  • (for the far future and if willing) additional sound sets and a way for users to choose which one to use
To do:
- understand why biters stop briefly when honking repeatedly and if it has negative implications in multiplayer
- test in multiplayer and optimization of code, if necessary
- put everything on github...

Help thread
my mods and 'prints
Post Reply

Return to “Mods”