Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
Change default auto gearbox params
Browse files Browse the repository at this point in the history
Peppy.
  • Loading branch information
ikt32 committed May 13, 2019
1 parent 4e2c79d commit b2a0bb1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Gears/ScriptSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -291,10 +291,10 @@ void ScriptSettings::parseSettingsGeneral(CarControls *scriptControl) {

// [AUTO_BOX]
UpshiftLoad = settingsGeneral.GetDoubleValue("AUTO_BOX", "UpshiftLoad", 0.05f);
DownshiftLoad = settingsGeneral.GetDoubleValue("AUTO_BOX", "DownshiftLoad", 0.66f);
NextGearMinRPM = settingsGeneral.GetDoubleValue("AUTO_BOX", "NextGearMinRPM", 0.32f);
DownshiftLoad = settingsGeneral.GetDoubleValue("AUTO_BOX", "DownshiftLoad", 0.55f);
NextGearMinRPM = settingsGeneral.GetDoubleValue("AUTO_BOX", "NextGearMinRPM", 0.33f);
CurrGearMinRPM = settingsGeneral.GetDoubleValue("AUTO_BOX", "CurrGearMinRPM", 0.27f);
EcoRate = settingsGeneral.GetDoubleValue("AUTO_BOX", "EcoRate", 0.33f);
EcoRate = settingsGeneral.GetDoubleValue("AUTO_BOX", "EcoRate", 0.05f);

// [HUD]
HUD = settingsGeneral.GetBoolValue ("HUD", "EnableHUD", true);
Expand Down
6 changes: 3 additions & 3 deletions Gears/ScriptSettings.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ class ScriptSettings {

// [AUTO_BOX]
float UpshiftLoad = 0.05f; // Lower = upshift later
float DownshiftLoad = 0.66f; // Higher = downshift later
float NextGearMinRPM = 0.32f; // Don't upshift until next gears' RPM is over this value.
float DownshiftLoad = 0.55f; // Higher = downshift later
float NextGearMinRPM = 0.33f; // Don't upshift until next gears' RPM is over this value.
float CurrGearMinRPM = 0.27f; // Downshift when RPM drops below this value.
float EcoRate = 0.33f; // Lower = keep in low gear longer // eco - 0.33
float EcoRate = 0.05f; // Lower = keep in low gear longer // eco - 0.33

// [HUD]
bool HUD = true;
Expand Down

0 comments on commit b2a0bb1

Please sign in to comment.