Adding Pit Crew to a mod

Discussion in 'Car Modding' started by 1frey, Jan 6, 2022.

Tags:
  1. 1frey

    1frey Registered

    Joined:
    Aug 9, 2017
    Messages:
    28
    Likes Received:
    3
    I have a question regarding the Pit Crew in rF2.
    I want to add it to a vehicle mod.

    So I copied the pits.mas file from ModDev/Scripts to the vehicle folder of my already installed mod (rF2_root/installed/Vehicles/MY_CAR/PREFIX_pits.mas).

    But if I request the pits I still see the red box with arrow and not the actual pit crew 3d object.

    Did I miss anything?

    Thanks for helping!
     
  2. Coutie

    Coutie Moderator Staff Member

    Joined:
    Oct 5, 2010
    Messages:
    3,782
    Likes Received:
    2,243
    It needs to be an object called startbox.gmt.
     
  3. 1frey

    1frey Registered

    Joined:
    Aug 9, 2017
    Messages:
    28
    Likes Received:
    3
    Yes, startbox.gmt is in the pits MAS file I mentioned above.
     
  4. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,388
    Likes Received:
    6,602
    Last edited: Jan 6, 2022
  5. 1frey

    1frey Registered

    Joined:
    Aug 9, 2017
    Messages:
    28
    Likes Received:
    3
    Why I cant throw in files there @Lazza?
    Its just for quick testing. Always did it like this when I changed dds files or made changes to the HDV or VEH files. It always worked.
    The Package Manager also just copy files from the package to the installed folder.

    So updating files worked for me. Does it mean that adding a new file dont work because the files are beeing ignored?

    I thought rF2 just looks up for MAS files with the mod prefix and loads them all.
     
  6. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,388
    Likes Received:
    6,602
    Not something I've tried, but I assumed the manifest had to match (which includes a checksum). I thought people skipping devmode were packaging files each time, not putting loose files in.

    Anyway, I added a link soon before you posted, so please read that thread for pitcrew info.
     
  7. Chris Lesperance

    Chris Lesperance Registered

    Joined:
    Nov 29, 2012
    Messages:
    1,301
    Likes Received:
    2,069
    With the way that rF2 works, if it is for anything for the main game, all files need to be in a .mas. Doesn't matter the .mas, but it has to be in one.

    Dev Mod, files can be loose but the folders need to be referenced properly within the .gen.

    It's a weird quirk, but once you know how it works, you know.
     
    dosequis56 likes this.
  8. 1frey

    1frey Registered

    Joined:
    Aug 9, 2017
    Messages:
    28
    Likes Received:
    3
    Yes I was refering to loose MAS files in the installed folder (without packaging them)

    @Lazza I will try to package them today to see if it makes any difference. Thanks for your help.
     
  9. 1frey

    1frey Registered

    Joined:
    Aug 9, 2017
    Messages:
    28
    Likes Received:
    3
    It did not work just packaging all MAS files together with the additional pit crew MAS file.. So there is something wrong in general.

    I copied the pits MAS file from another mod.

    upload_2022-1-7_12-46-10.png
     
  10. Chris Lesperance

    Chris Lesperance Registered

    Joined:
    Nov 29, 2012
    Messages:
    1,301
    Likes Received:
    2,069
    I don't think you can quite do it that way. There is something with that .mft that is like a quality control for online play. It makes sure that all players are on the same version of a mod. I think it would work if you repackaged the whole mod, or made it as an .rfcmp update.

    If you put that startbox.gmt in say a "startbox.mas" and have it in that folder, I think it should work that way.
     
    juanchioooo likes this.
  11. SmellySkidmark

    SmellySkidmark Registered

    Joined:
    Jan 11, 2012
    Messages:
    500
    Likes Received:
    173
    "I copied the pits MAS file from another mod"
    I'm not sure that it will make a difference but... the pits MAS that you copied, was it ingame with PITS.mas or pits.mas.
    I just checked the one I have and it's lowercase.
     
  12. Goanna

    Goanna Registered

    Joined:
    Jan 19, 2012
    Messages:
    1,407
    Likes Received:
    957
    Seems he got it working. D09A3EC3-0E17-434C-A909-28D069A8272D.jpeg
     
  13. 1frey

    1frey Registered

    Joined:
    Aug 9, 2017
    Messages:
    28
    Likes Received:
    3
    Exactly. Works now :)

    Yes you have to repackage it. Its due to the .mft file (index of all mas files) that my new file was ignored. Only updating an existing MAS file works for offline.

    Thanks for the help guys!
     
    Chris Lesperance likes this.

Share This Page