HST Dynamic Exhaust

General discussion about RailWorks, your thoughts, questions, news and views!

Moderator: Moderators

User avatar
Darpor
Very Active Forum Member
Posts: 7322
Joined: Sat Sep 20, 2008 8:51 pm

HST Dynamic Exhaust

Post by Darpor »

Rather than clog up the JT Class 20 thread with something that is off topic, I noticed the following comment from David.
davveb wrote:
I'm currently doing an update for the HST which provides rear power car sound response and dynamic exhaust.
Is there any chance you can explain a bit more on this mate as it really interests me and probably many others. More importantly though, will I be able to do this (10 seconds in)? :D :D

http://www.youtube.com/watch?v=Ezb9fKvaSzk
DPSimulation - http://www.dpsimulation.org.uk/ - Free High Speed Downloads of TS2012 Content

DPSimulation Blog - http://dpsimulation.blogspot.co.uk/ - News, Views & Development Updates
User avatar
RCH37401
Very Active Forum Member
Posts: 1232
Joined: Thu Oct 02, 2008 5:04 pm
Location: Earth

Re: HST Dynamic Exhaust

Post by RCH37401 »

Yes, that would be excellent. What really gets me is when you power up and the same level of smoke comes out as when idle. A class 37 or HST Valenta should be on fire by the time they are at full power! :lol:

http://www.youtube.com/watch?v=E9OmyRtXFeQ

Happy times!

- - -

Don't mean to winde this off-topic Darren, but I have sorted the separate horns too

http://www.youtube.com/watch?v=PH2ykuXFeKg

It is until I have V2 out.

V2 should have the real horn, rather than Ash's Hymek.

its a start

- - -

Cheers :)
Behind a camera most of the time. Results in the link. Lucky to call snapping a job & hobby

http://www.flickr.com/photos/richardholmesphotography/
User avatar
phill70
Has a sign reading.. Its NOT the end of the world!
Posts: 8767
Joined: Mon Sep 23, 2002 8:01 pm
Location: Basingstoke, where you just go around in circles and end up where you started.

Re: HST Dynamic Exhaust

Post by phill70 »

RCH37401 wrote:Yes, that would be excellent. What really gets me is when you power up and the same level of smoke comes out as when idle. A class 37 or HST Valenta should be on fire by the time they are at full power! :lol:

http://www.youtube.com/watch?v=E9OmyRtXFeQ

Happy times!
That is the exception, turbo has had it.
Glyn Phillips
davveb
Established Forum Member
Posts: 406
Joined: Thu Oct 23, 2008 5:17 pm

Re: HST Dynamic Exhaust

Post by davveb »

Sorry guys, my computer doesn't want to play the youtube clips (I'm probably missing some "essential" explorer update, or maybe my filewall's actually doing its job) so I can't confirm the examples you give. But in answer to your questions:

You should already know that dynamic particle effects are now possible, and have been implemented in the default steam engines, using the SetEmitterActive, SetEmitterRate and SetEmitterColour methods. There are a couple of good threads in these forums describing this for steam locos. Same techniques can be used for diesels. For the rear power car operation, the secret is contained in Ben Laws' Pendolino scripts. There's a new method SendConsistMessage, which works just like the signal messaging calls, but instead of sending messages along the track to the next signal the messages are sent along the train to the next wagon. Together with the new wagon script capability, information can now be sent from the engine you are driving, which runs with the full physics simulation, back along the train to the rear engine. To put simply, you can send the RPM and RPMDelta parameter values to the rear engine, update its control values, and get syncronised sound.

Note this also opens up a whole new world of train simulation possibilities - "dynamic" passenger loads, train end devices, guard animations, mail pickups, etc. Its a good example of how, contrary to popular critisism on this and other forums, RS.com are quietly getting on with making significant improvements to the "core" of the simulator - thank you RS.com!

Anyway, I hope to post these modified HST blueprints soon, which will also contain the brake and vigilence (oh no!) functionality of my Railsimulator update, together with some ATP cab signalling stuff.
markpullinger
Very Active Forum Member
Posts: 3105
Joined: Sun Jun 08, 2003 6:24 pm

Re: HST Dynamic Exhaust

Post by markpullinger »

@ Dave - probably just need the adobe flash player installing - this seems to play most web videos including iplayer & youtube videos - unless you've got realplayer!
User avatar
iceman2117
Very Active Forum Member
Posts: 3287
Joined: Thu Dec 27, 2007 1:45 pm
Location: Western Germany

Re: HST Dynamic Exhaust

Post by iceman2117 »

hi, ...

The HST Smoke Train must forbiden. Or repair. :wink:
I think "Guard our nature" ..

greets ice
User avatar
TractorBasher
Very Active Forum Member
Posts: 1015
Joined: Tue Jan 06, 2004 5:20 pm
Location: Derbyshire, England
Contact:

Re: HST Dynamic Exhaust

Post by TractorBasher »

davveb wrote:Note this also opens up a whole new world of train simulation possibilities - "dynamic" passenger loads, train end devices, guard animations, mail pickups, etc.
Interesting topic. I was only thinking yesterday, when driving a railtour out of Paddington, that it would be good if you could configure station stops to be pick up or drop off only, so that you could simulate an empty train arriving and passengers getting on only, or likewise, when a train arrives at the final destination everyone gets off and no one gets on.

I look forward to seeing your tweaked HST. It should liven things up a bit!
Click the image to view my railway photos.
Image
User avatar
alexnick
Very Active Forum Member
Posts: 1827
Joined: Wed Mar 15, 2006 10:12 pm
Location: 70C

Re: HST Dynamic Exhaust

Post by alexnick »

Will this update to the default HSTs still work with the AP sound pack upgrades?

AN
davveb
Established Forum Member
Posts: 406
Joined: Thu Oct 23, 2008 5:17 pm

Re: HST Dynamic Exhaust

Post by davveb »

alexnick wrote:Will this update to the default HSTs still work with the AP sound pack upgrades?

AN
No. The files I will provide will not modify or overwrite your default HST versions, they will create new versions, which reference the default sounds. It should be possible to modify them to use Richard's sounds.
User avatar
phat2003uk
SWTVR Assistant Manager
Posts: 7452
Joined: Thu Aug 08, 2002 5:52 pm

Re: HST Dynamic Exhaust

Post by phat2003uk »

As long as they link to the default sound location then my sounds will work just fine :).
scefhwil
Well Established Forum Member
Posts: 907
Joined: Tue Dec 04, 2001 12:00 am
Location: Bristol, England

Re: HST Dynamic Exhaust

Post by scefhwil »

davveb wrote:There's a new method SendConsistMessage, which works just like the signal messaging calls, but instead of sending messages along the track to the next signal the messages are sent along the train to the next wagon.
Dave,

A check in the Wiki doesn't reveal any info on this new function. Can you post the correct syntax for using it please?

Stuart
davveb
Established Forum Member
Posts: 406
Joined: Thu Oct 23, 2008 5:17 pm

Re: HST Dynamic Exhaust

Post by davveb »

scefhwil wrote:
davveb wrote:There's a new method SendConsistMessage, which works just like the signal messaging calls, but instead of sending messages along the track to the next signal the messages are sent along the train to the next wagon.
Dave,

A check in the Wiki doesn't reveal any info on this new function. Can you post the correct syntax for using it please?

Stuart
Well I don't know about correct :-) , but the following seems to work:

Call( "SendConsistMessage", msg, argument, direction )

Where msg is a unique index number, argument is a string containing your data, and direction indicates which way the message is to be sent, 1 from the rear of the unit, 0 from the front.

To receive a message in another unit you must define a function:

function OnConsistMessage ( msg, argument, direction )

-- Your code.

end

in the engine lua script file. This will ensure it works for both player and AI trains. If the message needs to be forwarded along the train then include another Call( "SendConsistMessage", msg, argument, direction ) within the above function.
You will also need some way to distiguish the engine being driven by the player from other engines in the consist. I use an engine blueprint control which is set from the simulation lua script. As this script only runs for the player's unit this provides suitable identification.
scefhwil
Well Established Forum Member
Posts: 907
Joined: Tue Dec 04, 2001 12:00 am
Location: Bristol, England

Re: HST Dynamic Exhaust

Post by scefhwil »

Thanks very much Dave. I have a couple of ideas for using this; I can now have play.

Cheers, Stuart
TransportSteve
Very Active Forum Member
Posts: 4645
Joined: Sat Dec 12, 2009 12:43 am
Location: Nottingham, England.

Re: HST Dynamic Exhaust

Post by TransportSteve »

I wish someone could emulate that fantastic clag, for ALL of our locomotives and HST's, that'd be the bees knees...

Happy clagging days.

Cheerz. Transport Steve.
i5 4690 3.5GHz Quad Core CPU, Gigabyte Z97-HD3, 16GB RAM, nVidia GTX1060 6GB, WIN 7 PRO 64-bit.
Visit my flickr account - http://www.flickr.com/photos/59849121@N08/
User avatar
RCH37401
Very Active Forum Member
Posts: 1232
Joined: Thu Oct 02, 2008 5:04 pm
Location: Earth

Re: HST Dynamic Exhaust

Post by RCH37401 »

Behind a camera most of the time. Results in the link. Lucky to call snapping a job & hobby

http://www.flickr.com/photos/richardholmesphotography/
Locked

Return to “[RW] General RW Discussion”