Resource icon

MGP15 Ultimate 2015 Physics Mod 2.0

Login or Register an account to download this content
I was thinking about creating one myself just today! Ahaha well done mate.
I was thinking about cheating AI race performance modifier address, so we can create a cheat that changes AI difficulty race by race without leaving the game. Could you help me?

Of course! How can I help you?
 
Of course! How can I help you?
We know game picks race and time modifiers from the bml file (AIDifficulties.bml) and uses them to understand how fast AI as to be and how quick their laps should be (for quali and FP).


I think I found the addresses of both Race modifiers and Time Generation modifiers.
i'm no expert of coding, but the idea would be to

Code:
#define ADR_RacePerformanceModifier 0xB163D0 // (not the correct address, just an example)
#define Addr_TimeGenerationModifier 0xB10B98

void RacePerformance() //This function edits race performance modifier
{
*(float*)ADR_RacePerformanceModifier = 0.989;
}

void TimeGeneration() //This function edits AI time generation modifier
{
*(float*)ADR_TimeGenerationModifier = 0.993;
}
etc...

We should add the possibility to change the modifiers while in game, maybe you press numpad and it increase Race modifier by 0.05

Like
Code:
void RacePerformanceAdjust () //Lets you adjust modifier with numpad4 and numpad5
{
if(GetAsyncKeyState(VK_NUMPAD4)&1)
{
*(float*)(ADR_RacePerformanceModifier) = ADR_RacePerformanceModifier + 0.05;  //increase by 0.05
}
if(GetAsyncKeyState(VK_NUMPAD5)&1)
{
*(float*)(ADR_RacePerformanceModifier) = ADR_RacePerformanceModifier -0.05; //decrease by 0.05
}
}


Hope you understand...I hope you are better at c++ than me
 

Latest News

To join the OverTake Racing Club races I want them to be: (multiple choice)

  • Free to access

    Votes: 122 86.5%
  • Better structured events

    Votes: 24 17.0%
  • Better structured racing club forum

    Votes: 23 16.3%
  • More use of default game content

    Votes: 17 12.1%
  • More use of fixed setups

    Votes: 42 29.8%
  • No 3rd party registration pages

    Votes: 49 34.8%
  • Less casual events

    Votes: 13 9.2%
  • More casual events

    Votes: 44 31.2%
  • Other, specify in thread

    Votes: 7 5.0%
Back
Top