Hi guys,
I'm setting up a mod (for personnal use) which is a compilation of various mods I like (more precisely, I take a few cars from these mods and put them in a compilation mod).
I have roughly 700 cars now but some of them don't show up in the cars list. I checked everything I could but can't find the solution.
The mod structure is this:
[GAMEDATA]
...[VEHICLES]
......[MOD_NAME]
.........[CAR_BRAND]
............[CAR_MODEL]
The [CAR_MODEL] directory contains all the necessary files (hdv, pm, cam, sfx, headphysics, engine, gear ratios, mas, damage, cockpitinfo, gen, veh, etc...)
All I do is copy files from the mod I'm taking the cars from to this directory.
Then, I change a few lines in the .veh file (classes and category) and add "BaseVehiclePrice=xxxxxx"
Next, I edit the .gen files. I eventually modify the search path to:
SearchPath=<TEAMDIR>..\
SearchPath=<TEAMDIR>
SearchPath=<VEHDIR>
(I never really understood how this worked but I get good results)
If the car uses a mas file common to other cars, I put the file in the [MOD_NAME] directory and modify the gen file accordingly. For example:
MASFILE=[MOD_NAME]\cmaps.mas
And that's it.
Then, I launch RFactor and the car appears in the car list. It usually shows up in the spinner and loads without errors.
But sometimes, it doesn't show up in the cars list. I'm pretty sure I do something wrong but I can't figure out what. Usually, it happens because a file is missing. So I check the .veh and .hdv files to make sure all the necessary files are present in the car directory. Nevertheless, despite making sure everything is in order, mysteriously, some cars never show up.
Do any of you may know why this happens ? What did I do wrong ? Any help would be appreciated because I'm at a loss to know how to solve that problem.
I'm setting up a mod (for personnal use) which is a compilation of various mods I like (more precisely, I take a few cars from these mods and put them in a compilation mod).
I have roughly 700 cars now but some of them don't show up in the cars list. I checked everything I could but can't find the solution.
The mod structure is this:
[GAMEDATA]
...[VEHICLES]
......[MOD_NAME]
.........[CAR_BRAND]
............[CAR_MODEL]
The [CAR_MODEL] directory contains all the necessary files (hdv, pm, cam, sfx, headphysics, engine, gear ratios, mas, damage, cockpitinfo, gen, veh, etc...)
All I do is copy files from the mod I'm taking the cars from to this directory.
Then, I change a few lines in the .veh file (classes and category) and add "BaseVehiclePrice=xxxxxx"
Next, I edit the .gen files. I eventually modify the search path to:
SearchPath=<TEAMDIR>..\
SearchPath=<TEAMDIR>
SearchPath=<VEHDIR>
(I never really understood how this worked but I get good results)
If the car uses a mas file common to other cars, I put the file in the [MOD_NAME] directory and modify the gen file accordingly. For example:
MASFILE=[MOD_NAME]\cmaps.mas
And that's it.
Then, I launch RFactor and the car appears in the car list. It usually shows up in the spinner and loads without errors.
But sometimes, it doesn't show up in the cars list. I'm pretty sure I do something wrong but I can't figure out what. Usually, it happens because a file is missing. So I check the .veh and .hdv files to make sure all the necessary files are present in the car directory. Nevertheless, despite making sure everything is in order, mysteriously, some cars never show up.
Do any of you may know why this happens ? What did I do wrong ? Any help would be appreciated because I'm at a loss to know how to solve that problem.