How to add a class to vehicles in an existing mod?

Hi RaceDepartment!

I am trying to figure out a way to select a subset of cars from a mod and assign it a separate class, so that I can choose separate class from the Opponents Filter of offline session setup. For now, I am trying to follow this guide: http://www.racedepartment.com/threads/rfactor-2-change-ai-names.101816/ but with no luck so far (and an angry wife). I hope someone could give me time saving advice and clarify some questions I have:

Roughly, What I am doing right now, is:

  • · Extract .veh files from .mas file
  • · Modify .veh files by adding new ID to the list of Classes and create new .mas file (matching original name)
  • · Create update .rfcmp and install it.

Questions:
  • · Is rfcmp component fastest/easiest way to do what I want? What about VMod?
  • · Mod’s original .mas file contains not only .veh file, but also textures, etc. Should my .mas file contain everything from the original .mas file + updated files, or, just changed files is enough?
  • · Is it possible to populate AI grid based on Category, not Class?
  • · Does car class needs to be defined somewhere, other than .veh file? I am asking, because current Class names contain underscores ‘_’, but UI doesn’t show them in the Opponent Filter, so I wonder if either underscores are stripped off or there’s Class’ description somewhere.
  • Is there any debug/diagnostic output in RF2 so that I see how my modifications load? For example, yesterday everything worked in mas2 and mod manager, but cars won't show up in new Class. I wish there was a way to see why.
And, totally weird question: do I need online subscription on RF2 to be able to join isiforums? No matter what I do, I don’t get activation mail (even created second email, no luck, just time wasted).

Have a good day everyone! Thanks.
 
Your basic plan looks correct.

VMOD won't get you where you want to go unless you just strip out only the subclass you're interested in.

Your new mas file needs to contain everything needed to run the mod (original mas + updated files). I wouldn't bother trying to create an update rfcmp as they're more complicated and people struggle with them.

Might help to look at other rfcmps to see how they've implemented multiclass vehicles. Something like the Howston G4/G6.

I believe you should be able to join ISI forum without online subscription. Doublecheck spam filter?
 
Thanks for the tips. I was able to achieve what I wanted, and I’d like to share what I learned along:

· I was able to modify vehicle class by building update component out of .mas including only modified .veh files. Packaging system was smart enough to update content correctly, keeping unchanged resources from the original package.

· I could not avoid .rfcmp. I originally thought to just build/replace .mas file, but I couldn’t make it work. My guess is: there’s .mft file next to .mas file in the installation folder. .mft file contains some checksums and once .mas file is modified, checksum won’t match, and content won’t load.

· One caveat that cost me some time to figure out: when building single cmp update component, original package must be installed, otherwise, packaging will mysteriously not work without giving any errors.

I resolved my isiforums problem by getting dummy gmail account. Looks like outlook has some filter even before my junk mail folder, which contains only offers for viagra/cialis but not mails from isiforum.
 
Thanks for the tips. I was able to achieve what I wanted, and I’d like to share what I learned along:

· I was able to modify vehicle class by building update component out of .mas including only modified .veh files. Packaging system was smart enough to update content correctly, keeping unchanged resources from the original package.

· I could not avoid .rfcmp. I originally thought to just build/replace .mas file, but I couldn’t make it work. My guess is: there’s .mft file next to .mas file in the installation folder. .mft file contains some checksums and once .mas file is modified, checksum won’t match, and content won’t load.

· One caveat that cost me some time to figure out: when building single cmp update component, original package must be installed, otherwise, packaging will mysteriously not work without giving any errors.

I resolved my isiforums problem by getting dummy gmail account. Looks like outlook has some filter even before my junk mail folder, which contains only offers for viagra/cialis but not mails from isiforum.

I am looking to do the same thing but I am a little lost how to package everything back up. Do you have any instructions I can follow? Thanks in advance.
 

Latest News

Are you buying car setups?

  • Yes

  • No


Results are only viewable after voting.
Back
Top