Bridgesounds

Got an idea for a new feature in TTDPatch? Post it here.

Moderator: TTDPatch Moderators

MJS
Director
Director
Posts: 540
Joined: 28 Jul 2005 09:31

Bridgesounds

Post by MJS »

How about bridgesounds? Railway bridges make this wonderful sound when a train drives over them... Now I suggested tram bells to ring when they approach a junction, and that was too difficult to achieve, it seems; but as trains know when they enter a tunnel, and whistle, I thought maybe they know or can be taught when they are on a bridge...
User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5631
Joined: 13 Sep 2004 13:21
Location: The Moon

Post by PikkaBird »

Looking through the savegame internals and the wiki, it seems that trains don't currently know if they're on a bridge. Everything else required for a train to play sounds (and possibly varied depending on the type of train, the speed, etc) is already possible with grf.
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

You're right, it doesn't seem to be there, but they do have to know somehow, since they obey bridge speed-limits.
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
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5631
Joined: 13 Sep 2004 13:21
Location: The Moon

Post by PikkaBird »

That's what I thought. I was surprised it wasn't there.
User avatar
Gremnon
Tycoon
Tycoon
Posts: 1517
Joined: 16 Sep 2005 12:23
Skype: the_gremnon
Location: /home
Contact:

Post by Gremnon »

Maybe in the engine code itself, considering that only steam engines make any sound at all entering tunnels, maybe its similar for bridges?
User avatar
eis_os
TTDPatch Developer
TTDPatch Developer
Posts: 3603
Joined: 07 Mar 2003 13:10
Location: Germany
Contact:

Post by eis_os »

The bridge code for veh movement limits the engine speed. Aka if > as bridgespeed do engine speed = bridgespeed after the real speed was calculated.
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...
Image
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

It wouldn't be particularly hard to add a variable telling whether a vehicle is on a bridge or not, but maybe this should be kept a little more general and also inform of other terrain types? If so, which ones?

Also, it'd be almost necessary to know the type of bridge, wood, steel and concrete would all sound different. However, if a bridge set is loaded you don't know which is which...
Josef Drexler

TTDPatch main | alpha/beta | nightly | manual | FAQ | tracker
No private messages please, you'll only get the answering machine there. Send email instead.
Ramshill
Engineer
Engineer
Posts: 92
Joined: 25 Jan 2006 16:06
Location: England UK
Contact:

Post by Ramshill »

How about making the bridge detect the train :twisted:
I maybe old but at least I'm not dead (yet).
OK! I admit it I AM dead (from the neck up)
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

Well, there are two different types of bridge sounds. One is the train whistle when entering the bridge, and the other is the running sound of the train going over the bridge.
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
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

Ramshill wrote:How about making the bridge detect the train :twisted:
That would in principle probably be the better solution, except that bridges don't have action 1/2/3 yet and so can't support sound callbacks.

[edit] However, I could quite easily implement it as a generic callback for feature 06 for now.[/edit]
DaleStan wrote:Well, there are two different types of bridge sounds. One is the train whistle when entering the bridge, [...]
That could be a standard vehicle sound event, similar to entering a tunnel.
Josef Drexler

TTDPatch main | alpha/beta | nightly | manual | FAQ | tracker
No private messages please, you'll only get the answering machine there. Send email instead.
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

I've got a question here. If it can easily be added so that the bridge detects a train, would it be able to detect also WHICH train? Because if it could, then it seems to me that possibly, a new disaster could be created: bridge collapse.

- If the bridge knows a train has just entered it, and knows which train it is, then there could be a random chance of a collapse.

- A collapse causes the train to crash in the usual way - is that just a trigger that can be poked to cause the normal "crash" graphic process?

- And, maybe get rid of the bridge, just as happens when you bulldoze on any one of the bridge squares, the whole bridge goes?

Or is this too far-fetched?
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

krtaylor wrote:Or is this too far-fetched?
Yes.
Josef Drexler

TTDPatch main | alpha/beta | nightly | manual | FAQ | tracker
No private messages please, you'll only get the answering machine there. Send email instead.
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

Bridge sounds are available in r1071/beta 9.
Josef Drexler

TTDPatch main | alpha/beta | nightly | manual | FAQ | tracker
No private messages please, you'll only get the answering machine there. Send email instead.
Ramshill
Engineer
Engineer
Posts: 92
Joined: 25 Jan 2006 16:06
Location: England UK
Contact:

Post by Ramshill »

Thankyou Patchman you are pretty all right (English for you rock).
I maybe old but at least I'm not dead (yet).
OK! I admit it I AM dead (from the neck up)
User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13235
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Post by Hyronymus »

Not to mention he works fast. Is this the fastest requested feature implementation ever?!
Ramshill
Engineer
Engineer
Posts: 92
Joined: 25 Jan 2006 16:06
Location: England UK
Contact:

Post by Ramshill »

Don't know but If there was a quicker one I bet Patchman did it!
I maybe old but at least I'm not dead (yet).
OK! I admit it I AM dead (from the neck up)
michael blunck
Tycoon
Tycoon
Posts: 5954
Joined: 27 Apr 2005 07:09
Contact:

Post by michael blunck »

> Bridge sounds are available in r1071/beta 9.

Where do we get the sounds from?

> Is this the fastest requested feature implementation ever?!

No.

regards
Michael
Image
User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13235
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Post by Hyronymus »

Care to inform us what the quickest incorporated request was that you made to Patchman, Michael?
michael blunck
Tycoon
Tycoon
Posts: 5954
Joined: 27 Apr 2005 07:09
Contact:

Post by michael blunck »

> Care to inform us what the quickest incorporated request was that you made to Patchman, Michael?

Oh, there were many. Too many to write them down in a single post. :P

OTOH, there were also many newly introduced (or already removed before) bugs. Although, I´d have to dig my memory to say if there were more quick features or more quick bugs. 8)

regards
Michael
Image
User avatar
Born Acorn
Tycoon
Tycoon
Posts: 7596
Joined: 10 Dec 2002 20:36
Skype: bornacorn
Location: Wrexham, Wales
Contact:

Post by Born Acorn »

You get the sounds through a microphone, or from someone with a microphone. :p

Or some kind of free audio/video bank. You could also ask permission from someone who's got an audio or video file for use of the sound.
Image
Post Reply

Return to “Suggestions”

Who is online

Users browsing this forum: No registered users and 9 guests