Faster opponents for the career mode
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4424 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 127de0739d31eebf0642524a1ff2c43f5c3af001 Former-commit-id: f9b222e6d2e54fe278d3ed7ad75c5f187537a594
This commit is contained in:
parent
56d9060dc6
commit
5172c4f3df
2 changed files with 3 additions and 1 deletions
|
@ -96,6 +96,7 @@ bool TDriver::AdvancedParameters = false; // Advanced parameters
|
|||
bool TDriver::UseOldSkilling = false; // Use old skilling
|
||||
bool TDriver::UseSCSkilling = false; // Use supercar skilling
|
||||
bool TDriver::UseMPA1Skilling = false; // Use mpa1 car skilling
|
||||
float TDriver::SkillingFactor = 0.1; // Skilling factor for career-mode
|
||||
bool TDriver::UseBrakeLimit = false; // Use brake limit
|
||||
bool TDriver::UseGPBrakeLimit = false; // Use brake limit GP36
|
||||
float TDriver::BrakeLimit = -6; // Brake limit
|
||||
|
@ -1281,7 +1282,7 @@ void TDriver::NewRace(PtCarElt Car, PSituation Situation)
|
|||
}
|
||||
else if (oSkilling && (oCar->priv.driveSkill > -1))
|
||||
{
|
||||
oSkill = 1.0 + oCar->priv.driveSkill;
|
||||
oSkill = 1.0 + SkillingFactor * oCar->priv.driveSkill;
|
||||
Param.Tmp.oSkill = oSkill;
|
||||
}
|
||||
/*
|
||||
|
|
|
@ -425,6 +425,7 @@ private:
|
|||
static bool UseOldSkilling;
|
||||
static bool UseSCSkilling;
|
||||
static bool UseMPA1Skilling;
|
||||
static float SkillingFactor;
|
||||
static bool UseBrakeLimit;
|
||||
static bool UseGPBrakeLimit;
|
||||
static float BrakeLimit;
|
||||
|
|
Loading…
Reference in a new issue