SOLVED Select Opposants ?

EracingEDN

Registered
Hello, community,
I'd like to know if anyone has managed to select (via API or another method) a specific opponent?
For example, I want to race against the #91 Porsche Cup car—is there a way to select that livery as an opponent?
From what I understand, RFactor 2 randomly selects opponents based on the filters selected beforehand.

Thanks
 
You can add cars individually. So to race against the car/skin you want, delete all the opponents. Then pick and choose which cars and liveries you want. Kinda time consuming. The alternate way would be to create a mod that only includes the cars & skins you prefer. Bit of voodoo, but 8Ball/Durge might be able to explain it.
 
Brute force method: Add all the opponents when creating a session, start racing, and then kick the ones you don't want.
 
It's not voodoo Dave :) , actually it's idiot proof, I should know >>> :p

First make shortcuts:

1. MOD MANAGER >>>> STEAM\steamapps\common\rFactor 2\Bin64\ModMgr.exe
2. MAS 2 >>>> STEAM\steamapps\common\rFactor 2\Support\Tools\MAS2.exe

Open both shortcuts:

Mod Manager you should see a list of your content.
If not check that the "Working Dir:" and "Packages Dir: " locations are correct.
Click the box "Components"

MOD MANAGER.png


MAS2 click on tab "Create new package " *** Hover mouse of tabs for names ***
MAS2 1.png

CLICK CREATE NEW MOD PACKAGE
MAS2 2.png


GIVE MOD A NAME CLICK NEXT
MAS2 3.png



SELECT YOUR TRACKS *** HOLD CTRL TO SELECT MULTIPLE TRACKS****
MAS2 4.png


SELECT YOUR CARS CLICK NEXT *** HOLD CTRL TO SELECT MULTIPLE CARS****
MAS2 5.png


CLICK FOR CUSTOM HUD, SHOWROOM, ETC. OR JUST CLICK DONE
MAS2 6.png

NOW SELECT YOUR TRACK LAYOUTS AND YOUR INDIVIDUAL CAR SKINS
CLICK 1 2 3
MAS2 7.png

YOUR MOD WILL APPEAR IN MOD MANAGER ***REFRESH
MAS2 8.png


YOUR MOD WILL APPEAR IN GAME IN "SERIES"

Screenshot 2026-04-20 124928.png



CHILD'S PLAY :D
 
Last edited:
AS YOU CAN SEE ONLY 3 PORSCHE SKINS
*** ADD UP ALL THE SKINS IN MOD AND MINUS 1 FOR NUMBER OF AI IN RACE NOT TO DUPLICATE CARS.

Screenshot 2026-04-20 124948.png
 
JUST A HEADS UP.

THE SKINS YOU USE MUST BE INCLUDED IN A PACKAGE.

YOU CAN'T USE LOOSE SKINS FOR AI.
 
Hello,

Thanks for your reply.
@8Ball I know MAS2 but the problem is this application is not scriptable (as far I know).
@Emery, the brut method can be considered if we have hex deliveries, I think.
Here is where I am in my tests :
- session with 20 AI
- 2 filters
— one with 110 delivered
— one with 34 delivered
Desired result :
- 16 cars identified of 110
- 4 cars identified of 34.
For the moment I randomly load the 20 AIs, compare them to the derived list, delete the unwanted liberties, add some, compare again, etc …. Until I arrive at the correct list. It works but takes quite a bit of time (4 to 5 solid minutes -:( ).
Thanks
 
Not fully sure I understand all your English.

* Start the game with 0 AI cars.
* Load track.
* Then just pick what AI cars you want from the ADD AI MANUALLY box as shown in the video below.


It took me 30 seconds.

Good luck.

Is EDN and EracingEDN the same person? Why 2 accounts?
 
Yeah well you can spend 4-5 minutes every time, not for me I afraid :)

DJ's way is okay but you must set for every race.
I prefer rfmods with all that already done, it's permanent and fast and I can still remove and add what I like ;)

rfmods online that have all skins added ( disable skin loading) makes much better for lappers with no lag.

I can also edit my rfmods without going through remaking them by saving appdata\roaming info into GME's.

If I had to redo update all my rfmods from scratch it would take me all day.
 
Last edited:
Hello, Thanks for your reply.
I redid my tests and I must have made a mistake because now the livery selection works fine via the API :)
Thanks again
 
Back
Top