Forum Mod Bakery Docs

Change level police

Posted in Support
Please login to contribute to the conversation.
How do we change the police? As in the ones that are for Hit & Run, Police Car for levels 1-6 and Hearse for level 7
The Hit & Run chase vehicle for a level is defined by that level's "leveli.mfk" file, located in \scripts\missions\level0X:

CreateChaseManager("cHears","Pursuit\L7cop.con",1);

The important part is the first argument ("cHears"), as this specifies the vehicle.
That doesn't work, having anything other than "cPolice" in each leveli.mfk file of levels 1-6 or "cHears" in level 7's leveli.mfk file just crashes the game once you go to any level you changed there. But I know it's possible somehow, because in The Road Rage mod there's a Yellow Bus as the Hit & Run vehicle(s), and it's not edited artwork of the Police Car or Hearse. My best guess is it's something to code in one of the .ini files
This post has been removed.
3 yrs ago (Statistics)
You need to change what car it loads in level.mfk:

// chase/harass vehicle
LoadP3DFile( "art\cars\cPolice.p3d" );
This post has been removed.
3 yrs ago (Statistics)
Ah thanks, deleted my comment of extra help as it worked!