Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Wed Jan 16, 2019 11:16 am

All times are UTC




Post new topic  Reply to topic  [ 170 posts ]  Go to page 1 2 3 4 59 Next
Author Message
 Post subject: More diesel_smoke patch
PostPosted: Mon Jul 25, 2005 12:52 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Mar 06, 2004 11:51 pm
Posts: 1498
Location: The sunny side of Alps
I know it's tiny and quite cosmetic, but it's cute and
TTDPatch has it too. :-)

Locomotives' smoke is more thick and they emit it up to
higher speed - looks really nice.

The patch was made with the source r2653, I didn't
install the latest one yet - it's only 2 changes/additions
to one line. ;-)

S/Z

Attachment:
diesel_smoke_sz_1-0_r2653.patch [580 Bytes]
Downloaded 734 times

----------------------------------------------------------------------------------------

Due to popular demand - also on the first page 3.2b (w/ settings) for trunk r20362+ and plain 3.1 for 1-0-2. :-)

Attachment:
diesel_smoke_sz_3-2b_r20362_trunk.patch [7.83 KiB]
Downloaded 146 times
,
Attachment:
diesel_smoke_sz_3-1_1-0-2_trunk.patch [3.66 KiB]
Downloaded 127 times
.

_________________
NewGRF: Oil Wells in Temperate terrain now can Increase production, Better vehicle names, Use-able default aircraft, Oil Rig for Snowland and Desert, Speed for Suspension bridges.
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.

Keep 'em rollin'!


Last edited by SirkoZ on Thu Aug 05, 2010 10:25 am, edited 13 times in total.

Top
   
 Post subject:
PostPosted: Mon Jul 25, 2005 6:44 am 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Wed Mar 30, 2005 9:43 am
Posts: 1535
Hmm, would that not cause a diesel engine that doesn't reach 80mph to always emit "smoke"? Though, of course, being an older model, it might...

Perhaps it could be related to the engine's maximum speed.


Top
   
 Post subject:
PostPosted: Mon Jul 25, 2005 8:19 am 
Offline
Tycoon
Tycoon

Joined: Mon Mar 08, 2004 1:10 pm
Posts: 2088
peter1138 wrote:
Perhaps it could be related to the engine's maximum speed.
I guess it would be better to relate it to how much power the engine delivers. Even at max speed, you get diesel smoke if you pull say 1000 tons. Maybe the amount should be related to how many HP the engine currently delivers.


Top
   
 Post subject:
PostPosted: Mon Jul 25, 2005 5:59 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Mar 06, 2004 11:51 pm
Posts: 1498
Location: The sunny side of Alps
I agree, just some time ago I saw a train with diesel engine (in my town) and many (>20) carriages, it was some 500 metres from the station it started and it was accelerating (going some 50km/h when I saw it) and it was emitting quite some diesel_smoke. :)

I'll try to make it, that the diesel_smoke depends more on hp and tonnage of train the engine pulls.

BTW, peter1138, I set the limit of smoke at 79km/h, so the MJS (tiny tropic locomotive) doesn't smoke at full speed (80km/h). :wink:

_________________
NewGRF: Oil Wells in Temperate terrain now can Increase production, Better vehicle names, Use-able default aircraft, Oil Rig for Snowland and Desert, Speed for Suspension bridges.
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.

Keep 'em rollin'!


Top
   
 Post subject:
PostPosted: Mon Jul 25, 2005 6:26 pm 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Wed Mar 30, 2005 9:43 am
Posts: 1535
*nod*

I didn't expect it to be in km/h :-)


Top
   
 Post subject:
PostPosted: Mon Jul 25, 2005 6:38 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Thu Aug 28, 2003 9:38 am
Posts: 3311
The amount of diesel smoke also depends on the trains configuration.
There are considerable diffrences on diesel smoke emittance between countries, and train models..
Maybe you could work with HackyKid for a feature to allow grf's influence how much diesel smoke a train can emit at max?


Top
   
 Post subject:
PostPosted: Tue Jul 26, 2005 1:02 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Mar 06, 2004 11:51 pm
Posts: 1498
Location: The sunny side of Alps
I could, Akalamanaia, but I honestly don't think the emissions depend too much on diesel trains' type, well - maybe with the older engines, that use fuel less efficiently (more amorphic carbon in exaust). :lol:

In any case - here is the improved patch, that takes into account train's speed, weight and power to determine how dense smoke is emitted.

The second locomotive may not emit smoke so often as the first, but I don't know really how to fix it... :-(


Attachments:
diesel_smoke_sz_1-1_r2653.patch [661 Bytes]
Downloaded 488 times

_________________
NewGRF: Oil Wells in Temperate terrain now can Increase production, Better vehicle names, Use-able default aircraft, Oil Rig for Snowland and Desert, Speed for Suspension bridges.
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.

Keep 'em rollin'!
Top
   
 Post subject:
PostPosted: Tue Jul 26, 2005 7:09 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Fri May 21, 2004 7:39 am
Posts: 1965
Location: Singapore
Woohoo! Always wanted a patch like this!
So what about more steam for the steam locomotives? :P

_________________
<+Raichase> ugh, I just ate some of my beard D:


Top
   
 Post subject:
PostPosted: Tue Jul 26, 2005 8:46 am 
Offline
Tycoon
Tycoon

Joined: Mon Mar 08, 2004 1:10 pm
Posts: 2088
SirkoZ wrote:
I could, Akalamanaia, but I honestly don't think the emissions depend too much on diesel trains' type
Believe what you want, but it's a known fact that differerent types of diesel engines (often different manufactors) emits different amount of excaust smoke and different colour of the smoke, but I think this is an overkill for OTTD to include.


Top
   
 Post subject:
PostPosted: Tue Jul 26, 2005 9:11 am 
Offline
Tycoon
Tycoon

Joined: Mon Oct 25, 2004 3:39 pm
Posts: 4349
Location: Mississauga
SirkoZ wrote:
The second locomotive may not emit smoke so often as the first, but I don't know really how to fix it... :-(

like...
Code:
for i=2 to NumberOfTrains do
 Train(i) smoke = Train1 smoke;
?


Top
   
 Post subject:
PostPosted: Tue Jul 26, 2005 9:37 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Mar 06, 2004 11:51 pm
Posts: 1498
Location: The sunny side of Alps
Singaporekid wrote:
Woohoo! Always wanted a patch like this!
So what about more steam for the steam locomotives? :P


How much more?

_________________
NewGRF: Oil Wells in Temperate terrain now can Increase production, Better vehicle names, Use-able default aircraft, Oil Rig for Snowland and Desert, Speed for Suspension bridges.
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.

Keep 'em rollin'!


Top
   
 Post subject:
PostPosted: Tue Jul 26, 2005 9:43 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Fri May 21, 2004 7:39 am
Posts: 1965
Location: Singapore
SirkoZ wrote:
Singaporekid wrote:
Woohoo! Always wanted a patch like this!
So what about more steam for the steam locomotives? :P


How much more?

3 times more?
Maybe you could make a screenie and we'll see from there

_________________
<+Raichase> ugh, I just ate some of my beard D:


Top
   
 Post subject:
PostPosted: Tue Jul 26, 2005 9:45 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Mar 06, 2004 11:51 pm
Posts: 1498
Location: The sunny side of Alps
Bjarni wrote:
SirkoZ wrote:
I could, Akalamanaia, but I honestly don't think the emissions depend too much on diesel trains' type
Believe what you want, but it's a known fact that differerent types of diesel engines (often different manufactors) emits different amount of excaust smoke and different colour of the smoke, but I think this is an overkill for OTTD to include.


Indeed. You can easily draw some more smoke sprites with colours ranging from blue and even white (cold engine) to black (worn engine) with brown in the middle, but that comes with better .grf support...

_________________
NewGRF: Oil Wells in Temperate terrain now can Increase production, Better vehicle names, Use-able default aircraft, Oil Rig for Snowland and Desert, Speed for Suspension bridges.
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.

Keep 'em rollin'!


Top
   
 Post subject:
PostPosted: Tue Jul 26, 2005 9:48 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Mar 06, 2004 11:51 pm
Posts: 1498
Location: The sunny side of Alps
MeusH wrote:
SirkoZ wrote:
The second locomotive may not emit smoke so often as the first, but I don't know really how to fix it... :-(

like...
Code:
for i=2 to NumberOfTrains do
 Train(i) smoke = Train1 smoke;
?


Thanks - I'll look into it....

_________________
NewGRF: Oil Wells in Temperate terrain now can Increase production, Better vehicle names, Use-able default aircraft, Oil Rig for Snowland and Desert, Speed for Suspension bridges.
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.

Keep 'em rollin'!


Top
   
 Post subject:
PostPosted: Tue Jul 26, 2005 9:49 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Mar 06, 2004 11:51 pm
Posts: 1498
Location: The sunny side of Alps
Singaporekid wrote:
SirkoZ wrote:
Singaporekid wrote:
Woohoo! Always wanted a patch like this!
So what about more steam for the steam locomotives? :P


How much more?

3 times more?
Maybe you could make a screenie and we'll see from there


OK....will do.

_________________
NewGRF: Oil Wells in Temperate terrain now can Increase production, Better vehicle names, Use-able default aircraft, Oil Rig for Snowland and Desert, Speed for Suspension bridges.
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.

Keep 'em rollin'!


Top
   
 Post subject:
PostPosted: Tue Jul 26, 2005 11:36 am 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Wed Mar 30, 2005 9:43 am
Posts: 1535
Here's another thought... dunno how realistic it is: sparks could also depend on the vehicles age, i.e. an older vehicle's pantograph could be worn, and cause sparks to be produced more frequently.


Top
   
 Post subject:
PostPosted: Tue Jul 26, 2005 12:13 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sat Mar 06, 2004 11:51 pm
Posts: 1498
Location: The sunny side of Alps
Good point - will do it...

_________________
NewGRF: Oil Wells in Temperate terrain now can Increase production, Better vehicle names, Use-able default aircraft, Oil Rig for Snowland and Desert, Speed for Suspension bridges.
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.

Keep 'em rollin'!


Top
   
 Post subject:
PostPosted: Tue Jul 26, 2005 12:45 pm 
Offline
Tycoon
Tycoon

Joined: Mon Mar 08, 2004 1:10 pm
Posts: 2088
SirkoZ wrote:
Bjarni wrote:
SirkoZ wrote:
I could, Akalamanaia, but I honestly don't think the emissions depend too much on diesel trains' type
Believe what you want, but it's a known fact that differerent types of diesel engines (often different manufactors) emits different amount of excaust smoke and different colour of the smoke, but I think this is an overkill for OTTD to include.


Indeed. You can easily draw some more smoke sprites with colours ranging from blue and even white (cold engine) to black (worn engine) with brown in the middle, but that comes with better .grf support...

the white smoke is actually steam made then the hot excaust gas enters the cold excaust pipe.
Black smoke means it burns really badly, often indicating that it burns lubeoil.
It's not just better grf support, which is needed to wary the colour of smoke, we need more than 8 bit colours to make it look nice

As for steam, it would look nice if we got two different sizes of clouds, the current one and a much smaller one. Each time a steam puff is made, it should check speed and then the last big steam puff was made. When braking and standing still, only small clouds are used, then accelerating, a big one is made whenever a piston reaches the end, which means it gradually makes more big ones while accelerating until full speed where only big ones are made

However I think time can be better spent elsewhere :wink:


Top
   
 Post subject:
PostPosted: Tue Jul 26, 2005 12:52 pm 
Offline
Tycoon
Tycoon

Joined: Mon Mar 08, 2004 1:10 pm
Posts: 2088
peter1138 wrote:
Here's another thought... dunno how realistic it is: sparks could also depend on the vehicles age, i.e. an older vehicle's pantograph could be worn, and cause sparks to be produced more frequently.

I'm not really sure about this. Pantografs get worn and replaced. They are often younger than the engines themselves, however more sparks are made during the winter since the catenary often get ice on them. Whenever a pantograph hits a tiny piece of ice, it gets nocked off, but the pantograph "jumps" downward for a moment, making an airgap between the pantograph and the catenary. Due to the high voltage and current, a spark/ligthning will show up until they are reconnected


Top
   
 Post subject:
PostPosted: Tue Jul 26, 2005 12:56 pm 
Offline
Route Supervisor
Route Supervisor
User avatar

Joined: Thu Jul 01, 2004 10:28 am
Posts: 435
Location: Jura/Switzerland
Yup, and let me tell you that night trips in moutain trains in winter are beautiful. You get some strong green-blue sparks that reflect on the snow, so the whole surroundings of the train, flash from black to green-blue to black.

Really enjoyable... (but sadly, it's quite hard to take of picture of the phenomenon).

_________________
Sometimes I'm told "Brilliant"...
Sometimes I'm told "Charming"...
And Often I'm told "Shut Up"!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 170 posts ]  Go to page 1 2 3 4 59 Next

All times are UTC


Who is online

Users browsing this forum: Gliptal, Google Adsense [Bot] and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000-2019 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2019.
Hosted by Zernebok Hosting.