Disable bells at level crossings

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

User avatar
thepizzaking
Traffic Manager
Traffic Manager
Posts: 198
Joined: 08 Aug 2005 07:47
Location: Melbourne, Victoria, Australia
Contact:

Disable bells at level crossings

Post by thepizzaking »

Do you hate it when towns build roads over your tracks and then, every time a train gos over that road those annoying bells go off, and you feel like killing something because the sound is so annoying?
Well, if you said yes, this patch is for you!!
Once applied, this patch adds a new option under the interface section of the patches menu to disable the bells at level crossings, you will never be so annoyed by bells that you feel like killing something again.
Here's the patch and the windows .exe (r3454)
Attachments
openttd.zip
The .exe and language file
(1.01 MiB) Downloaded 386 times
no_bells30-01-06.patch
No more bells at level crossings
(4.8 KiB) Downloaded 509 times
Last edited by thepizzaking on 29 Jan 2006 23:27, edited 1 time in total.
I'm A Cobra (or so the rumours go) :)
Get OpenTTD, It's awesome!!
User avatar
Benbo
Transport Coordinator
Transport Coordinator
Posts: 380
Joined: 09 Jan 2006 18:51
Location: UK

Post by Benbo »

Does it work with the start screen as well?
User avatar
thepizzaking
Traffic Manager
Traffic Manager
Posts: 198
Joined: 08 Aug 2005 07:47
Location: Melbourne, Victoria, Australia
Contact:

Post by thepizzaking »

Benbo wrote:Does it work with the start screen as well?
Yes
I'm A Cobra (or so the rumours go) :)
Get OpenTTD, It's awesome!!
richk67
Tycoon
Tycoon
Posts: 2363
Joined: 05 Jun 2003 16:21
Location: Up North
Contact:

Post by richk67 »

thepizzaking wrote:
Benbo wrote:Does it work with the start screen as well?
Yes
Straight into Integrated Nightly for this one! I HATE the Bells...
OTTD NewGRF_ports. Add an airport design via newgrf.Superceded by Yexo's NewGrf Airports 2
Want to organise your trains? Try Routemarkers.
--- ==== --- === --- === ---
Firework Photography
Moriarty
Tycoon
Tycoon
Posts: 1395
Joined: 12 Jun 2004 00:37
Location: United Kingdom of Great Britain and Northern Ireland
Contact:

Post by Moriarty »

I suppose the simple question is. Who DOESN'T hate the bells? :)
Anyone?
User avatar
WWTBAM
Moderator
Moderator
Posts: 3689
Joined: 02 Apr 2005 07:01
Location: Sydney NSW Antipodea
Contact:

Post by WWTBAM »

i dont
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

I don't particularly mind them.

I also have this habit of writing newgrf files to fix minor problems like this, rather than try to create and maintain a patch.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
User avatar
Brianetta
Tycoon
Tycoon
Posts: 2566
Joined: 15 Oct 2003 22:00
Location: Jarrow, UK
Contact:

Post by Brianetta »

After an hour, I grow to despise all of TTD's sounds. At this point I turn off my speakers. Until this point, the bells are fine.
PGP fingerprint: E66A 9D58 AA10 E967 41A6 474E E41D 10AE 082C F3ED
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

Hm... That's even easier than writing a GRF file. May have to give that a try sometime.

The problem is that it works like a packet-over-air firewall. Really well, if what you want is to block absolutely everything.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
richk67
Tycoon
Tycoon
Posts: 2363
Joined: 05 Jun 2003 16:21
Location: Up North
Contact:

Post by richk67 »

DaleStan wrote:I don't particularly mind them.

I also have this habit of writing newgrf files to fix minor problems like this, rather than try to create and maintain a patch.
Oh good. I look forward to your release of the "nobells.grf" file then.
OTTD NewGRF_ports. Add an airport design via newgrf.Superceded by Yexo's NewGrf Airports 2
Want to organise your trains? Try Routemarkers.
--- ==== --- === --- === ---
Firework Photography
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

richk67 wrote:Oh good. I look forward to your release of the "nobells.grf" file then.
I've already done that. OK, so it was for the news "tooter", but changing a single byte will make it disable any other sound.

And I expect I could get one that can disable any number of sound-effects given as parameters in no more than about 10KB. I haven't actually tried this, though.

Since the GRFid and meta-info need to be changed too for a conforming release, here's nobells.grf. Of course, if OTTD doesn't support sound-effect overrides, that's your problem, not mine (and definitely not Peter's), but should be fixed by implementing sound-effect overrides, not by doing a one-shot disabling of a single sound.
Do you really want 73 different switches in the config[0]:
<on/off> Instead of sound 0, use: <nothing> <sound1..72> <file>
<on/off> Instead of sound 1, use: <nothing> <sound0> <sound2..72> <file>
<on/off> Instead of sound 2, use: <nothing> <sound0..1> <sound3..72> <file>
<on/off> Instead of sound 3, use: <nothing> <sound0..2> <sound4..72> <file>
<on/off> Instead of sound 4, use: <nothing> <sound0..3> <sound5..72> <file>
<on/off> Instead of sound 5, use: <nothing> <sound0..4> <sound6..72> <file>
...

Especially since things like the JapanSet want to replace the level-crossing sound with their own (eg Japan-specific) version, and then you'll have to keep track of which set you're using at the time and which noises it is supposed to make?

[0] I assume the sounds would have more useful names, although this makes more work for the translators (especially since there's no consistent English names for the sounds.). And yes, there are seventy-three different sound effects.
Attachments
nobells.grf
(2.65 KiB) Downloaded 4196 times
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
User avatar
bobingabout
Tycoon
Tycoon
Posts: 1850
Joined: 21 May 2005 15:10
Location: Hull, England

Post by bobingabout »

i HATE the bells, give me a freeking headache when there are too many of them. i happily play the game with the speakers off.
JPG SUX!!! USE PNG!!!
There are times when JPG is useful, TTD screenshots is not one of them. Please use PNG instead.

[/url]
User avatar
Brianetta
Tycoon
Tycoon
Posts: 2566
Joined: 15 Oct 2003 22:00
Location: Jarrow, UK
Contact:

Post by Brianetta »

DaleStan wrote:
richk67 wrote:Oh good. I look forward to your release of the "nobells.grf" file then.
I've already done that. OK, so it was for the news "tooter", but changing a single byte will make it disable any other sound.
I turned my news tooter off in the option menu...
PGP fingerprint: E66A 9D58 AA10 E967 41A6 474E E41D 10AE 082C F3ED
User avatar
Smaug
Transport Coordinator
Transport Coordinator
Posts: 267
Joined: 02 Dec 2002 14:39
Location: Middle Earth, The Netherlands

Post by Smaug »

Yes, those bells are nerve wrecking. I play the game most of the time with my speakers off and listen to my music like... eh... well... Dream Theater hehehe. :) But there is one more sound that annoys me almost as much as the level crossing bells: the mors like beeping every 10 seconds... beeep beeep beepbeepbeep... aaah. Without those two sounds I would play with my speakers on, even while I'm listening to my music...
Ehm, maybe the beeping is the newstooter. :?: I never thought about that. :shock: One mystery solved for me. :oops: To think of that I bought a PC for the sake of TTO in '95 :lol:
Life's like a play in a theatre,
Life's like a dream,
If life could be expressed in a sound,
It would sound like Dream Theater...
ImageImage
XIONG1
Engineer
Engineer
Posts: 2
Joined: 18 Jul 2008 15:18
Contact:

Re: Disable bells at level crossings

Post by XIONG1 »

Ditto here~!
I support your point of view 。
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: Disable bells at level crossings

Post by Yexo »

XIONG1 wrote:Ditto here~!
I support your point of view 。
Please don't dig up this old threads if you have nothing usefull to add.
User avatar
Gremnon
Tycoon
Tycoon
Posts: 1517
Joined: 16 Sep 2005 12:23
Skype: the_gremnon
Location: /home
Contact:

Re: Disable bells at level crossings

Post by Gremnon »

Useful though, since I never knew the nobells.grf existed and I could really do with it.
Not that it justifies necroposting, but still.
Mchl
Director
Director
Posts: 611
Joined: 05 Jan 2007 15:50
Location: Poland
Contact:

Re: Disable bells at level crossings

Post by Mchl »

Gremnon wrote:Useful though, since I never knew the nobells.grf existed and I could really do with it.
Not that it justifies necroposting, but still.

I've just added a link on Wiki . Maybe it'll help someone.
User avatar
Lordmwa
President
President
Posts: 899
Joined: 20 May 2006 19:30
Location: West Sussex, England

Re: Disable bells at level crossings

Post by Lordmwa »

Not putting you down as it is a useful patch but surely it is easier just to use no sound as they are all annoying?
The TT forums trivia tournament! Come along and join in the fun
http://www.funtrivia.com/private/main.cfm?tid=90722
Mchl
Director
Director
Posts: 611
Joined: 05 Jan 2007 15:50
Location: Poland
Contact:

Re: Disable bells at level crossings

Post by Mchl »

Not everyone thinks so.
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 0 guests