USR: Reduce clutch usage when engine RPM is low. Helps with cars that have very long gear ratios or very little low RPM torque, such as the MPE-Arc (long single gear car) and SDR Kart 125 (little low-end torque).

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9628 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c1fa6009b1244eff13e5cfa42a51e02390733c1c
Former-commit-id: 78f6f046dfd2afbf401fe9bf299563948856c187
This commit is contained in:
harunasan 2024-11-29 16:03:04 +00:00
parent 841825181a
commit b2e5728af9

View file

@ -487,7 +487,7 @@ double MyCar::calcClutch()
mClutch = 0.3; mClutch = 0.3;
} }
if (mCar->_enginerpm / mCar->_enginerpmRedLine > 0.7) if (mCar->_enginerpm / mCar->_enginerpmRedLine > 0.2)
{ {
mClutch -= 0.04; mClutch -= 0.04;
} }
@ -503,7 +503,7 @@ double MyCar::calcClutch()
} }
else if (gear() == 1) else if (gear() == 1)
{ {
if (mCar->_enginerpm / mCar->_enginerpmRedLine > 0.7) if (mCar->_enginerpm / mCar->_enginerpmRedLine > 0.2)
{ {
mClutch -= 0.04; mClutch -= 0.04;
} }
@ -520,7 +520,7 @@ double MyCar::calcClutch()
else if (gear() == 0) else if (gear() == 0)
{ {
// For a good start // For a good start
mClutch = 0.7; mClutch = 0.2;
} }
else if (gear() == -1) else if (gear() == -1)
{ {