More diesel_smoke patch
Moderator: OpenTTD Developers
More diesel_smoke patch
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
----------------------------------------------------------------------------------------
Due to popular demand - also on the first page 3.2b (w/ settings) for trunk r20362+ and plain 3.1 for 1-0-2.
, .
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
----------------------------------------------------------------------------------------
Due to popular demand - also on the first page 3.2b (w/ settings) for trunk r20362+ and plain 3.1 for 1-0-2.
, .
Last edited by SirkoZ on 05 Aug 2010 10:25, edited 13 times in total.
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'!
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.
Keep 'em rollin'!
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.peter1138 wrote:Perhaps it could be related to the engine's maximum speed.
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).
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).
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'!
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.
Keep 'em rollin'!
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).
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...
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 666 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'!
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.
Keep 'em rollin'!
-
- Tycoon
- Posts: 1966
- Joined: 21 May 2004 07:39
- Location: Singapore
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.SirkoZ wrote:I could, Akalamanaia, but I honestly don't think the emissions depend too much on diesel trains' type
like...SirkoZ wrote:The second locomotive may not emit smoke so often as the first, but I don't know really how to fix it...
Code: Select all
for i=2 to NumberOfTrains do
Train(i) smoke = Train1 smoke;
How much more?Singaporekid wrote:Woohoo! Always wanted a patch like this!
So what about more steam for the steam locomotives?
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'!
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.
Keep 'em rollin'!
-
- Tycoon
- Posts: 1966
- Joined: 21 May 2004 07:39
- Location: Singapore
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...Bjarni wrote: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.SirkoZ wrote:I could, Akalamanaia, but I honestly don't think the emissions depend too much on diesel trains' type
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'!
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.
Keep 'em rollin'!
Thanks - I'll look into it....MeusH wrote:like...SirkoZ wrote:The second locomotive may not emit smoke so often as the first, but I don't know really how to fix it...?Code: Select all
for i=2 to NumberOfTrains do Train(i) smoke = Train1 smoke;
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'!
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.
Keep 'em rollin'!
OK....will do.Singaporekid wrote:3 times more?SirkoZ wrote:How much more?Singaporekid wrote:Woohoo! Always wanted a patch like this!
So what about more steam for the steam locomotives?
Maybe you could make a screenie and we'll see from there
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'!
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.
Keep 'em rollin'!
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'!
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.
Keep 'em rollin'!
the white smoke is actually steam made then the hot excaust gas enters the cold excaust pipe.SirkoZ wrote: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...Bjarni wrote: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.SirkoZ wrote:I could, Akalamanaia, but I honestly don't think the emissions depend too much on diesel trains' type
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
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 reconnectedpeter1138 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.
- LordOfThePigs
- Route Supervisor
- Posts: 435
- Joined: 01 Jul 2004 10:28
- 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).
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"!
Sometimes I'm told "Charming"...
And Often I'm told "Shut Up"!
Who is online
Users browsing this forum: No registered users and 32 guests