NFSAddons Forums

Main Menu

How to make cars unable to use for ai

Started by türkoğlu, Today at 7:41 AM

türkoğlu

I just downloaded some addon cars,but I'm having the skinless car problem sometimes when ai uses a addon car. So I thought that maybe blocking ai from using addon cars is the solving

Eevee

If you're using ModLoader mods, this is something I cannot help you with if you don't know how to use NFS-CarToolkit, since it heavily depends on the person who made the car mod. The game has a hardcounted count of existing bodykits for specific cars to load for AI, but that does not mean you can't add, like, Body 5 to cars with 4 kits, though Body 5 will be ignored by the AI. And if actual kit model count is lower than the hardcoded count (5 for most of these vehicles, 4 for IS300, Punto, Golf, CTS, Gallardo, Viper, Corvette, 911 Turbo, and 2 for Murcielago, Ford GT, SLR, and Carrera GT), this problem happens. It can be avoided by giving a car a duplicate stock bodykit (like Typhoons and Dark Ritual did) or making a blank bodykit with the rest of the parts named differently (like I did with some of the past cars like Proto Motors Spirra and BMW Z8), but this requires modifying car's model file, which requires permission if it'll be released in public.
If you're using VltEd or OGVI, it is possible by adding "RandomOpponent" field to the car and setting it to "false" so no random opponents will use that specific car. A good example is that BMW M3 GTR Strassenversion (BMWM3GTR) does not have that field, so it can appear in races regardless of having Black Edition (it can be driven in Black Edition, but AI will use the car no matter which edition you're playing), while another Black Edition car, the Chevrolet Camaro SS (CAMARO), has this field and is set to "false", meaning that you can't encounter any AI racer using Camaro. Corvette C6.R will also appear as the "RandomOpponent" field is omitted, while other Bonus cars (SL65 and 911 GT2) have this field and, like Camaro, this field is set to "false".
If the car is based on Binary, you can remove "empty" bodykits by looking in DBModelParts of the car you want and using Ctrl+D to remove that part. Though you need to know how much kits this car has (if the car has only 3 kits, any kits after kit 3 (kit 4 and 5) need to be removed to solve this problem).
Sometimes, you might need NFSMW-ExtraOptions and/or NFSMW-Unlimiter and enable ExpandMemoryPools if the car model or textures are too big or highpoly for the game to handle, but this does not fix the problems I mentioned above.
Also known as YochiThMaster333 in other places.

I'm not allowing anyone edit my works without my permission. I'm not allowing anyone to convert them to replace vanilla cars either if they were addon mods in first place.