1
0
mirror of synced 2024-11-24 06:50:11 +01:00

Remove so much friction on ID games against walls etc

This commit is contained in:
Aaron M 2019-11-03 14:04:45 +13:00
parent 5a562c0e8f
commit 906f91f930
6 changed files with 0 additions and 18 deletions

View File

@ -34,9 +34,7 @@ void InitialD4::FFBLoop(EffectConstants* constants, Helpers* helpers, EffectTrig
{
double percentLength = 200;
double percentForce = (0.6);
triggers->Inertia(percentForce);
triggers->Friction(percentForce);
triggers->Damper(percentForce);
triggers->Rumble(percentForce, percentForce, percentLength);
}
}

View File

@ -34,9 +34,7 @@ void InitialD4Japan::FFBLoop(EffectConstants* constants, Helpers* helpers, Effec
{
double percentLength = 200;
double percentForce = (0.6);
triggers->Inertia(percentForce);
triggers->Friction(percentForce);
triggers->Damper(percentForce);
triggers->Rumble(percentForce, percentForce, percentLength);
}
}

View File

@ -34,9 +34,7 @@ void InitialD5::FFBLoop(EffectConstants* constants, Helpers* helpers, EffectTrig
{
double percentLength = 200;
double percentForce = (0.6);
triggers->Inertia(percentForce);
triggers->Friction(percentForce);
triggers->Damper(percentForce);
triggers->Rumble(percentForce, percentForce, percentLength);
}
}

View File

@ -142,18 +142,14 @@ void InitialD6::FFBLoop(EffectConstants* constants, Helpers* helpers, EffectTrig
{
double percentLength = 200;
double percentForce = (ffrubbingwalls / 31.0);
triggers->Inertia(percentForce);
triggers->Friction(percentForce);
triggers->Damper(percentForce);
triggers->Rumble(percentForce, percentForce, percentLength);
}
if (ffcarcollision > 0) //cars colliding or rubbing with each other
{
double percentLength = 200;
double percentForce = (ffcarcollision / 16.0);
triggers->Inertia(percentForce);
triggers->Friction(percentForce);
triggers->Damper(percentForce);
triggers->Rumble(percentForce, percentForce, percentLength);
}
if ((ff > 0x40037)& (ff < 0x40080))

View File

@ -142,18 +142,14 @@ void InitialD7::FFBLoop(EffectConstants* constants, Helpers* helpers, EffectTrig
{
double percentLength = 200;
double percentForce = (ffrubbingwalls / 31.0);
triggers->Inertia(percentForce);
triggers->Friction(percentForce);
triggers->Damper(percentForce);
triggers->Rumble(percentForce, percentForce, percentLength);
}
if (ffcarcollision > 0) //cars colliding or rubbing with each other
{
double percentLength = 200;
double percentForce = (ffcarcollision / 16.0);
triggers->Inertia(percentForce);
triggers->Friction(percentForce);
triggers->Damper(percentForce);
triggers->Rumble(percentForce, percentForce, percentLength);
}
if ((ff > 0x40037)& (ff < 0x40080))

View File

@ -142,18 +142,14 @@ void InitialD8::FFBLoop(EffectConstants* constants, Helpers* helpers, EffectTrig
{
double percentLength = 200;
double percentForce = (ffrubbingwalls / 31.0);
triggers->Inertia(percentForce);
triggers->Friction(percentForce);
triggers->Damper(percentForce);
triggers->Rumble(percentForce, percentForce, percentLength);
}
if (ffcarcollision > 0) //cars colliding or rubbing with each other
{
double percentLength = 200;
double percentForce = (ffcarcollision / 16.0);
triggers->Inertia(percentForce);
triggers->Friction(percentForce);
triggers->Damper(percentForce);
triggers->Rumble(percentForce, percentForce, percentLength);
}
if ((ff > 0x40037)& (ff < 0x40080))