[REL] Released New Material Editor! (Car Paints)

Discussion in 'News & Notifications' started by Christopher Elliott, Jan 31, 2019.

  1. Stefan_L_01

    Stefan_L_01 Registered

    Joined:
    Nov 18, 2012
    Messages:
    252
    Likes Received:
    112
    One more Question (Maybe answered allready but so many Postings): In case no Region file and json is provided, does everything work as before?
     
  2. Andrew Harper

    Andrew Harper Registered

    Joined:
    May 5, 2017
    Messages:
    25
    Likes Received:
    9
    Hi everyone,

    Not sure what next to try on this one as I'm a bit stuck.

    I've done the a previous design to use the new shaders.

    Created the region information as in the various guides, saved as a separate file. Saved all files as DXT5.

    Went into the hanger showroom, applied the various settings, all looked ok.

    [​IMG]

    Go to Sebring and the main paintwork is chrome, go back to the showroom, reload the livery and it's gone back to chrome again.

    Tried refreshing the variables window whilst making changes, no luck.

    I'm not sure what I'm doing wrong, it all looks ok.

    Two things that are worth mentioning. I used the original template and copied over the region layers from the new template. I also copied over the newer alpha layer as I see that's more white now.

    Maybe I should try the other way and copy the deign layers over to the newer PSD template file. However I thought the region layers and the alpha channel layer were the only real changes.

    It's late now and I've got a headache so I'm off to sleep for the night! lol. But if anyone has any tips, please share.

    I'm usually good at sorting this sort of thing but this one has me stumped, almost like it's not saving the shader data.

    Thanks in advance :)
     
    Last edited: Mar 3, 2019
  3. alexSchmurtz

    alexSchmurtz Registered

    Joined:
    Dec 30, 2016
    Messages:
    52
    Likes Received:
    93
    @Andrew Harper Yes, once you're done editing, you need to hit 'Reload' in the showroom, or it doesn't save the materials...:confused:

    As for the template, you also don't need any shading now.
     
    Andrew Harper likes this.
  4. Andrew Harper

    Andrew Harper Registered

    Joined:
    May 5, 2017
    Messages:
    25
    Likes Received:
    9
    Hi Alex, Yeah I tried a few reloads and also I noticed something else.

    The JSON file wasn't being updated (the time stamp was still old) but I noticed it updated when I quit RF2. So tried a few more times and that seems to have worked. Could just be a coincidence though! lol

    Seems to work now but I'm still a little bit nervous about it working properly.

    Car looks good in the sunlight, the flecks work well.

    [​IMG]
     
    alexSchmurtz, davehenrie and krusti like this.
  5. Yoeri Gijsen

    Yoeri Gijsen Registered

    Joined:
    Jan 8, 2012
    Messages:
    116
    Likes Received:
    10
    @Andrew Harper
    I believe the guides states that the region file has to be exported as DTX1, rather than 5. I'm not sure how this would affect the car's looks though.

    Also, I usually find that if the car does not update properly, the .mas-file is somehow 'stuck'. I exit the game, delete the .mas and restart to find everything working as intended.
     
    Andrew Harper likes this.
  6. Andrew Harper

    Andrew Harper Registered

    Joined:
    May 5, 2017
    Messages:
    25
    Likes Received:
    9
    Yes I tried the region DDS in DXT1 and also in DXT5. Doesn't seem to make much difference but as the issue I was experiencing at the time was chrome like I wasn't sure if the alpha layer in the region file was needed. No harm in trying :)

    Right so it may be the MAS file then, interesting. I noticed the time stamps weren't always updating on some of the files, so I deleted them and tried again. Thanks for the tip.

    I have noticed something in RF2 which is interesting. Collections of DDS files don't always seem to work properly. I've noticed the windscreen file in a custom car I did simply refused to load into the showroom. I had to delete the files and try again. I think this has only started since the last update, not a huge issue but can be a bit frustrating.

    Can we still group a selection of DDS files into a MAS file still? Can we group all the cars files? Or is the JSON file and smaller MAS file needed to be kept separate? Admittedly I haven't tried it yet, just curious to see what people have discovered.
     
    juanchioooo likes this.
  7. juanchioooo

    juanchioooo Registered

    Joined:
    May 16, 2016
    Messages:
    573
    Likes Received:
    585
    dxt1 not alpha
     
  8. Frank Murphy

    Frank Murphy Registered

    Joined:
    Sep 19, 2017
    Messages:
    93
    Likes Received:
    366
    1. You can pick all your DDS files and put them into the MAS file. But at this time there is a bug and it "could" happen, that your extra files will deleted if you klick "RELOAD" in the showroom.
    Your skin problem:
    2. You must safe the region.dds as DXT1 (no alpha). You don't need the extra alpha layer but you can use it as an extra color layer.
    3. Check if you pressed "RELOAD" before joining the racetrack. Only after you have done that, the changes will be written to the JSON file.
     

    Attached Files:

    Last edited: Mar 5, 2019
    juanchioooo likes this.
  9. BigDuke6

    BigDuke6 Registered

    Joined:
    Jan 12, 2012
    Messages:
    131
    Likes Received:
    44
    Just a thanks for the help earlier, had a play and seem to have sused it out, if only just.
    sbent.jpg
     
    Alex72, GeraArg, emha76 and 9 others like this.
  10. Balazs Magyar

    Balazs Magyar Registered

    Joined:
    May 8, 2017
    Messages:
    85
    Likes Received:
    42
    Slurm!
     
    Alex72 likes this.
  11. Frank Murphy

    Frank Murphy Registered

    Joined:
    Sep 19, 2017
    Messages:
    93
    Likes Received:
    366
    Nice thumbs up!!! A Slurm skin is also on my bucket list (after finishing two Duff skins)
    :D
     
  12. Mikael Palusa

    Mikael Palusa Registered

    Joined:
    Mar 22, 2019
    Messages:
    2
    Likes Received:
    0
    Now that rf2 creates a .mas file for every .dds I'm currently working on for a car, the showroom used for watching the changes seem to look at the .mas file instead of the dds. My updated work on the .dds doesn't show. I can't keep deleting the .mas all the time for it to show my progress, so how do I solve this issue?
     
  13. Chris Lesperance

    Chris Lesperance Registered

    Joined:
    Nov 29, 2012
    Messages:
    604
    Likes Received:
    400
    Click on the "Reload" button. From what I understand, the game will update the .mas with the loose file textures.
     
  14. D.Painter

    D.Painter Registered

    Joined:
    Oct 5, 2010
    Messages:
    891
    Likes Received:
    1,613
    It's been normal practice that you reload the car in the showroom for the changes to show when your working with rF2 running.
    The only real difference is now the reload process reloads the Mas.
    End result; You need the Mas. Don't delete it. The game will generate a new one anyway and load the open DDS files to it. Reload the car and it will do the same thing.

    The one change that you may run into is if you save a DDS while rF2 is not runner then start it up, you will still need to open the car in the showroom, then reload it again for the Mas to be updated before the change will show.
     
    Chris Lesperance likes this.
  15. Mikael Palusa

    Mikael Palusa Registered

    Joined:
    Mar 22, 2019
    Messages:
    2
    Likes Received:
    0
    The way it acts right now makes no sense at all. I have a .mas file now in my \mikael palusa1 with all the files I want rf2 to use for my car, with the livery, driver and extra0 and extra1 for gloves, plus the helmet. But in the showroom it doesn't load properly, just a plain white car. And inside rf2 it doesn't show up properly either. this automatic generating of the .mas files have only caused massive issues and now I can't even get the livery to show. If I extract the dds files from the mas, they are intact and have the correct images...
     
  16. D.Painter

    D.Painter Registered

    Joined:
    Oct 5, 2010
    Messages:
    891
    Likes Received:
    1,613
    As annoying as it is I think you'll find it's a necessary step towards the new UI and competition system so we're going to have to used to it

    Why isn't your car showing? Well, your not going to like this but it's your name. rF2 has never and still will not load a cars DDS files with a name that starts with P ! yes, that's right, It hates the letter P. First or last name, doesn't matter. Change or just remove the P from your drivers name and let us know what happens.
     
    Last edited: Mar 24, 2019
  17. Keeper

    Keeper Registered

    Joined:
    Feb 17, 2011
    Messages:
    8
    Likes Received:
    2
    When clicking Reload, the game will only copy the base car skin and I think the driver or the helmet. All other files are not copied into the MAS, and will not load in game unless you put them into the MAS yourself with the MAS Tool. It's a minor inconvenience. Just don't worry about the extra files until you've got the car paint sorted, then open up the MAS2.exe (in rFactor2/Support/Tools), add what's missing and Save.
     
  18. Andrew Harper

    Andrew Harper Registered

    Joined:
    May 5, 2017
    Messages:
    25
    Likes Received:
    9
    I've done a few cars now without issue but I'm stuck on this one at the moment.

    I'm finding that texture setting is being applied to the entire car and I don't know why.

    I'm sure I'm missing something stupid, I probably need to take a step back and look again piece by piece.

    The region file looks fine, but if I select one colour (say green for the sponsor logos) and make it chrome (for example) it's applying chrome to the entire car.

    Region file saved as DX1 (no alpha). Car bodywork saved as DXT5. Colours used as per template, image flattened before saving as DXT1 (I tried with and without just to test).

    I delete the MAS file and JSON file before each "test" just to make sure.

    I keep thinking it'll be something stupid like a file naming that I've missed! haha.

    Anyone else had this issue?
     
  19. krusti

    krusti Registered

    Joined:
    Apr 20, 2016
    Messages:
    480
    Likes Received:
    385
    Can you post a screenshot of your region file?
     
    Andrew Harper likes this.
  20. Andrew Harper

    Andrew Harper Registered

    Joined:
    May 5, 2017
    Messages:
    25
    Likes Received:
    9
    Thanks for the help my friend.

    Upload of the region file below plus also an example of what happens when I select the black layer and set it to Chrome.

    You can see the sponsor logo's underneath (just about) but it's not isolating just on the black portion of the region file like on the other cars I've updated. All the other region options have no effect. I tried changing all the colours around, even removing black completely but same thing happens, select one region option and it's applying it to the entire car.

    So black would be carbon, blue is paint in this case (I did try swapping them around), red will be matt vinyl, white will be shiny vinyl and green shiny vinyl.

    Like I say, I'm probably just missing something obvious because I've done about 6 or 7 cars now and no issues, but if you have any ideas let me know :)

    Car livery saved as DXT5
    Region file saved as DXT1 - No Alpha
     

    Attached Files:

Share This Page