Cylinder steam effects again?
#1
Posted 02 December 2013 - 11:52 PM
#2
Posted 03 December 2013 - 03:44 AM
Robert
#3
Posted 03 December 2013 - 03:50 AM
#4
Posted 05 December 2013 - 12:53 AM
They have been changed as follows:
i) The cocks only work when the throttle is increased (after "c" key has been pressed)
ii) The steam output through the cocks increases as the throttle increase.
The original code worked solely on the C key and was independent of the throttle. Thus steam is exhausted through the steam cocks even if the throttle is not opened to allow steam to enter the cylinders. The volume of steam through the cocks was set equivalent to the full steam usage rate, which whilst a good visual effect was not very realistic.
So whilst it appears that the cocks are not working, they are just working in a different fashion.
One challenge seems to be the fact that when the locomotive is stationary, the steam display code appears to exhaust the steam in puffs, which would be fine if the loco was moving, but would not be the case if it is stationary.
Cheers
Peter
#5
Posted 06 December 2013 - 01:51 AM
Robert
#6
Posted 06 December 2013 - 05:23 AM
rdamurphy, on 06 December 2013 - 01:51 AM, said:
Robert
Which parameters are you referring to here, the effects?, or some of the other lines that are in the engine section?. If so, which lines please.
#7
Posted 06 December 2013 - 11:44 AM
rdamurphy, on 06 December 2013 - 01:51 AM, said:
Thanks for that.
I have not explored the particle drawer in the code. Does it read all the parameters in the ENG file and use them or just the location co-ordinates?
The other challenge is that ideally two separate modes of operation are required:
i) When loco stationary, the cocks steam effect should not puff as the cylinder piston is not moving
ii) When moving the locomotive should exhibit the puffing effect.
Is this possible?
Cheers
Peter
#8
Posted 07 December 2013 - 01:32 AM
Robert
#9
Posted 07 December 2013 - 01:57 AM
#10
Posted 07 December 2013 - 11:36 AM
rdamurphy, on 07 December 2013 - 01:32 AM, said:
That sounds good.
I am not sure what you have in mind or how the "puff rate" is currently calculated, but if of value, I could provide a parameter which gives the value of cylinder strokes. This would vary with the speed, and also be zero when the locomotive is stationary. Thus the puffing would match the cylinder movements.
Would this be of value or help in the changes that you have in mind?
Cheers
Peter