Race specific skins

Discussion in 'Technical & Support' started by Petethepawn, Jan 21, 2022.

  1. Petethepawn

    Petethepawn Registered

    Joined:
    Nov 15, 2019
    Messages:
    180
    Likes Received:
    96
    Does anybody know a work-around for the issue in RF2 in where the race specific skins don't work. It works well in RF1 but not RF2. The below is from the FVR 2021 mod, in RF1 this would work, in RF2 not. Anything possible?

    So below if in Australia it should use ALTKGR26_au21AGP.dds, if in Tasmania it should use ALTKGR26_au21TAS.dds

    TrackLivery="G.P. de Australia, ALTKGR26_au21AGP.dds"
    TrackLivery="Australian Grand Prix, ALTKGR26_au21AGP.dds"
    TrackLivery="2113_Melbourne, ALTKGR26_au21AGP.dds"

    TrackLivery="Tasmania Microsoft Office 365, ALTKGR26_au21TAS.dds"
    TrackLivery="Falken Tasmania Challenge, ALTKGR26_au21TAS.dds"
    TrackLivery="Symmons Plains 2113, ALTKGR26_
     
  2. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    4,004
    Likes Received:
    1,058
    Does it need a "TrackConfigsBase.ini" in the mod?

    This is what the skipbarber says:
     
  3. Petethepawn

    Petethepawn Registered

    Joined:
    Nov 15, 2019
    Messages:
    180
    Likes Received:
    96
    Has this?
    // DefaultLivery="PREFIX" // PREFIX is the base texture map name, assumed to be BMP unless specified
    // PitCrewLivery="PREFIX" // This is only needed if it differs from the default livery PREFIX
    // TrackLivery="TRACK, PREFIX" // TRACK is the track name as defined in the event GDB
    // TrackLivery="TRACK, PREFIX" // For example, "2104_Toban"
    // TrackLivery="TRACK, PREFIX" // You can have an infinite # of these lines
     
  4. buzz hornet

    buzz hornet Registered

    Joined:
    Oct 5, 2010
    Messages:
    338
    Likes Received:
    249
    I couldn’t get this to work, in the end I simply added all the skins to the mas file and then change the .veh to match the skin I wanted the ai to use for literally every .veh. Works, but quite manual. Ideally a small batch program would fix this with the ability to read and change each the default skin in the .veh for each one.
     
    Petethepawn likes this.
  5. Petethepawn

    Petethepawn Registered

    Joined:
    Nov 15, 2019
    Messages:
    180
    Likes Received:
    96
    Interesting….
     
  6. Petethepawn

    Petethepawn Registered

    Joined:
    Nov 15, 2019
    Messages:
    180
    Likes Received:
    96
    Can anybody assist here?
    I had a look at the Skipbarber mod @Woodee
    It seems the mod it not using specific races liveries, but potentially upgrades.
    As you can see where my screenshots - they are both .veh files and both reference the same skin. And looking through the .veh file they all reference different default skins.
    Does anybody know of any RF2 mods that does actually have different liveries using the same .veh?
    Eg) A F1 mod that might have tobacco liveries and non tobacco liveries automatically controlled within the .veh?
     

    Attached Files:

    • 69.PNG
      69.PNG
      File size:
      38.3 KB
      Views:
      90
    • 69b.PNG
      69b.PNG
      File size:
      46 KB
      Views:
      81
  7. Coutie

    Coutie Moderator Staff Member

    Joined:
    Oct 5, 2010
    Messages:
    3,779
    Likes Received:
    2,241
    It doesn't work, it's been broken for a while.
     
    Petethepawn likes this.
  8. Petethepawn

    Petethepawn Registered

    Joined:
    Nov 15, 2019
    Messages:
    180
    Likes Received:
    96
    I figured as much - thanks mate
     
  9. Petethepawn

    Petethepawn Registered

    Joined:
    Nov 15, 2019
    Messages:
    180
    Likes Received:
    96
    You reckon its possible to do via a script as a work around?
    So as buzz hornet says - add all your skins to a mas.
    Eg) defaultskin.dds, Rnd1skin.dds, Rnd2skin.dds
    Provided the naming convention is the same for all veh
    Script looks at the default skin.dds and the script read and replaces it with Rnd1skin.dds for all .veh?
     
  10. Petethepawn

    Petethepawn Registered

    Joined:
    Nov 15, 2019
    Messages:
    180
    Likes Received:
    96
    @Alex Sawczuk @Coutie @Devin
    Any chance you guys could look at this at Q2 for a resolution? As stated it works perfectly in RF1 and used to work in RF2 - hopefully it’s an easy fix as it’s not new functionality just something that broke somewhere along the line. Would make a lot of people happy and encourage season skins as well. Hopefully some clever eyes on it can address this. Here’s hoping.
     
    Hazi and buzz hornet like this.
  11. buzz hornet

    buzz hornet Registered

    Joined:
    Oct 5, 2010
    Messages:
    338
    Likes Received:
    249
    Yep that would be a nice fix for sure.
     
    Hazi likes this.
  12. Hazi

    Hazi Registered

    Joined:
    Jan 15, 2012
    Messages:
    917
    Likes Received:
    146
    +1000
     
  13. Petethepawn

    Petethepawn Registered

    Joined:
    Nov 15, 2019
    Messages:
    180
    Likes Received:
    96
    Just a thought as a work around......
    You know for a human (player) you can add skins to the following directory and it allows the player to select which livery they want to use.
    D:\Steam\steamapps\common\rFactor 2\UserData\player\Settings
    This allows the player to select which livery they want to use - but it doesn't work for the AI.
    Could somebody create a script or some sort of program that recognizes the selected skin for the AI.
    Example for an AI car - set a default skin through a parameter and the AI then uses that skin - from the 10 possible skins?
     

Share This Page