I just started playing around with this feature a few days ago. It looks more or less ready to be included in the regular releases. Just one question. I don't know if this is a bug, or I set things up wrong, or this is just how it's programmed to work. I wanted to add cruise control to the AEM-7. In real life, this works as follows:
1) There's a switch to turn the cruise control on and off. This part obviously works just fine.
2) There's a dial to set the speed. I used the line HasProportionalSpeedSelector ( True ), and can add a lever of type "ORTS_SELECTED_SPEED_SELECTOR" to the cabview, using a graphic of a moving dial. Again, this works just fine. For now I just used a lever graphic but it should work fine with a dial graphic.
3) If you turn the cruise control off, and then turn it back on, the set speed reverts to the current train speed. It should keep the set speed when turned off and turned back on. Is there a setting I missed to be able to do this? I tried just about everything with no luck. If not, it might make sense to have a parameter for this, such as KeepSelectedSpeedWhenManualModeSet ( True )
4) Here's the biggest problem however. On the AEM-7 the throttle controls the force when the cruise control is set, the same as it does in manual mode. The cruise control just limits the top speed to whatever it's set for. I used the parameters ControllerCruiseControlLogic ( None ) and UseThrottleAsForceSelector ( True ), which according to the CC_Parameters spreadsheet is supposed to work exactly this way. Instead, what happens is the throttle only allows you to set the force if the force is currently zero. If you use the mouse, the force only increases by one step. With the keyboard you can hold down the D key to get whatever you want. In both cases once you use the throttle to set the force, you can't use it again to increase or decrease the force. The throttle no longer responds to either the keyboard or the mouse. You have to first set the force back to zero using shift-control-A, then use the throttle to go to the desired new force value. Again, did I miss a setting, or is this behavior by design?
Here is the complete set of parameters in my AEM-7 .eng file:
ORTSCruiseControl (
SpeedIsMPH ( True )
MaxForceSteps ( 20 )
SpeedSelectorStepTimeSeconds ( 0.3 ) comment (** how fast the selected speed lever adds speed, 0.3 is one step in 0.3 seconds **)
DynamicBrakeMaxForceAtSelectorStep ( 50 ) comment (** the brake will reach 100% at this step, the lower step the max brake percent will be also lower **)
NominalSpeedStep ( 1 ) comment (** when pressing Shift+A or Shift+D how many speed units should the selected speed change **)
HasProportionalSpeedSelector ( True )
UseThrottle ( False ) comment (** recommended False for electric locos, true for diesel **)
StartReducingSpeedDelta ( 0.2 ) (** the lower number, the sooner the regulator will decrease power **)
StartReducingSpeedDeltaDownwards ( 2.5 )
ForceRegulatorAutoWhenNonZeroSpeedSelected ( False )
ForceRegulatorAutoWhenNonZeroForceSelected ( False )
ForceRegulatorAutoWhenNonZeroSpeedSelectedAndThrottleAtZero ( False )
MaxForceKeepSelectedStepWhenManualModeSet ( True )
ForceResetRequiredAfterBraking ( False )
ForceResetIncludeDynamicBrake ( True )
DynamicBrakeIsSelectedForceDependant ( False )
Options ( "RegulatorManual, RegulatorAuto, SelectorOn, StartFromZero, EngageForceOnNonZeroSpeed" )
ThrottleFullRangeIncreaseTimeSeconds ( 4 ) comment (** time in seconds needed for the regulator to reach 0-100% of power **)
ThrottleFullRangeDecreaseTimeSeconds ( 4 ) comment (** time in seconds needed for the regulator to reach 100-0% of power **)
DynamicBrakeFullRangeIncreaseTimeSeconds ( 2 ) comment ( ** same as above, but for dynamic braking ** )
DynamicBrakeFullRangeDecreaseTimeSeconds ( 2 ) comment ( ** same as above, but for dynamic braking ** )
DefaultForceStep ( 0 )
DisableCruiseControlOnThrottleAndZeroSpeed ( False ) comment (** if train is stationary and throttle is increased and CC is still in auto, this will revert the mode to manual **)
DisableCruiseControlOnThrottleAndZeroForce ( False ) comment (** if train is moving and throttle is increased and CC is still in auto and selected force is zero, this will revert the mode to manual **)
DisableCruiseControlOnThrottleAndZeroForceAndZeroSpeed ( False )
DynamicBrakeCommandHasPriorityOverCruiseControl ( True )
HasIndependentThrottleDynamicBrakeLever ( True )
UseTrainBrakeAndDynBrake ( True )
DoComputeNumberOfAxles ( True )
TrainBrakeMinPercentValue ( 3 )
TrainBrakeMaxPercentValue ( 35 )
SpeedDeltaToEnableTrainBrake ( 0.1 )
SpeedDeltaToEnableFullTrainBrake ( 8 )
MinimumSpeedForCCEffect ( 8.94 )
ControllerCruiseControlLogic ( None )
UseThrottleInCombinedControl ( True )
UseThrottleAsForceSelector ( True )
UseThrottleAsSpeedSelector ( False )
SpeedSelectorIsDiscrete ( True )
)