SHADER Skid marks material

Discussion in 'Modding' started by Luchian, Oct 24, 2014.

  1. speedrcr

    speedrcr Guest

    Thanks for your reply! That's helpful. I wondered. It's pretty snug so that it doesn't appear to float, best I can tell in Editor and game testing ;)

    Edit:
    Just noticed that I may have posted this in the wrong thread for some odd reason? I thought I was replying in the a thread about skidmarks? Odd.
     
  2. Luchian

    Luchian Administrator Staff Member Concurent RLR

    Joined:
    Jun 3, 2014
    Messages:
    1,107
    Likes Received:
    279
    Seems @Pixelchaser answered most of your questions (cheers mate), but I am not sure I understand what you need ?

    If you wish to drive ON your skid marks (I don't know why..), they need to be physical. And to be physical, it's not enough to just add 1 in front, you also need to define the key for that surface. In your example, add SKID to surfaces.ini and define some parameters for it.
    If you DON'T want to drive on SKID, then name that mesh whatever (e.g. rubberyrubber).

    Groove will not affect grip. Groove is there just for visual effect. And visually simulates the rubber buildup as you drive more laps on the track.
     
    1 person likes this.
  3. Pixelchaser

    Pixelchaser Guest

    yeah I may have given the idea that grip increases because of the rubber layer.

    grip gets higher the more the track is driven anywhere, for visual effect only we have a material and object system that means visually your rubber layer if named and material titled properly will be dynamic. more cars driving laps, darker corners where rubber Is layed. this requires a texture that has low medium and high rubber sections.( not got it working myself ...yet )
     
    1 person likes this.
  4. LilSKi

    LilSKi Guest

    The grip goes up on the entire track surface not just where the groove is. And to set the groove to work you name the object "groove" and you have a matching name in the groove.ini. Make sure you use the ksperpixelalpha shader. the groove.ini then control the alpha value in that shader. It doesn't matter what you set it to in the editor for the alpha value as the groove.ini ends up with control.
     
    2 people like this.
  5. speedrcr

    speedrcr Guest

    Immensely helpful there!!

    Thanks for the info fellas. I may have something that I'd like to have you pick apart of areas that could use some improvement.

    (Semi) New to modding Assetto, most of my experience is from ArmA.
     
    1 person likes this.
  6. Pixelchaser

    Pixelchaser Guest

    Arma nice, I once took the island from operation flashpoint game and put it into arma2, sadly that guy I used to be interested in it with died few years back. so strayed away from it.

    I love the masking system for textures in arma, very similar to AC but arma you can have soooo many channels of them and not just 4.
     
    Last edited: Jan 25, 2017
    1 person likes this.
  7. speedrcr

    speedrcr Guest

    Made some Cluster bombs for ArmA 2. The cluster bomb system was initially a port from A1 but improved it a bit for A2. Later made my own bombs and bomblets. Sadly that went to the way side too. Mess around with some editing here and there for A3. Lots of crazy stuff you can do there beyond A2 ;)
     
    1 person likes this.
  8. Pixelchaser

    Pixelchaser Guest

    cheers for that, I think I might have missed the groove.ini part last time I tried. when I get bacak onto ascari development that's the first thing ill be fixing I think. cheers.
     

Share This Page