- fix skilling for simplix_36GP

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

Former-commit-id: 97dbb82f50f3465ad4646ff62c2899463019c88d
Former-commit-id: 6a2b37ae737b07b0f70c7928f4dbe11e9053febb
This commit is contained in:
torcs-ng 2020-05-17 10:13:53 +00:00
parent 8040eb6d68
commit 61b93cf8d7
2 changed files with 5 additions and 4 deletions

View file

@ -4933,9 +4933,10 @@ double TDriver::CalcFriction_simplix_REF(const double Crv)
//--------------------------------------------------------------------------*
void TDriver::CalcSkilling_simplix()
{
oSkillGlobal = oSkillGlobal/10.0;
oSkillDriver = oSkillDriver/3.0;
oSkill = oSkillScale * (oSkillGlobal + oSkillDriver) + oSkillOffset;
oSkillScale = oSkillScale / 50.0;
oSkillDriver = oSkillDriver / ((50.0 - oSkillGlobal) / 40.0);
oSkill = oSkillScale * (oSkillGlobal + oSkillDriver * 2)
* (1.0 + oSkillDriver) + oSkillOffset;
/*
oSkillScale = oSkillScale/50.0;
oSkillDriver = oSkillDriver / (5.0 * ((50.0 - oSkillGlobal)/40.0));

View file

@ -398,7 +398,7 @@ void SetUpSimplix_36GP()
SetParameters(NBBOTS, "36GP-alfa12c");
TDriver::AdvancedParameters = true;
//TDriver::UseBrakeLimit = true;
//TDriver::UseGPBrakeLimit = true;
TDriver::UseSCSkilling = true;
TDriver::SkillingFactor = 0.1f; // Skilling factor for career-mode
};
//==========================================================================*