dynamic textures are coming to AC tracks!

Discussion in 'Tracks' started by Gunnar333, Oct 22, 2021.

  1. Gunnar333

    Gunnar333 Well-Known Member

    Joined:
    Aug 5, 2017
    Messages:
    321
    Likes Received:
    618
    Location:
    Germany
    Something big is coming to track creation for Assetto Corsa.
    With the newest CSP builds it is possible to change textures dymanical by scripting.
    So it is possible to do do working pit boards and so many other things giving some more life to the mostly static track scenery.
    I'm already playing around:

     
  2. fughettaboutit

    fughettaboutit aka leBluem

    Joined:
    Jul 21, 2014
    Messages:
    1,117
    Likes Received:
    379
    What am i missing? I only saw this thing changing :)
    upload_2021-10-23_14-16-14.png
     
  3. Gunnar333

    Gunnar333 Well-Known Member

    Joined:
    Aug 5, 2017
    Messages:
    321
    Likes Received:
    618
    Location:
    Germany
    Driver names and flags are also dynamical created. You can also animate them of you like. To you can draw lines, rectangles, circles…
     
  4. fughettaboutit

    fughettaboutit aka leBluem

    Joined:
    Jul 21, 2014
    Messages:
    1,117
    Likes Received:
    379
    oh now i get it, the Drivers list is on the display is a mesh on track, i thought it was an app
     
    Gunnar333 likes this.
  5. Gunnar333

    Gunnar333 Well-Known Member

    Joined:
    Aug 5, 2017
    Messages:
    321
    Likes Received:
    618
    Location:
    Germany
    So it would be possible to make track objects like theses actually working:
    IMG_0101.JPG lemans-24-hours-of-le-mans-2013-rolex-clock-at-la-sarthe-module-sportif.jpg
     
  6. Gunnar333

    Gunnar333 Well-Known Member

    Joined:
    Aug 5, 2017
    Messages:
    321
    Likes Received:
    618
    Location:
    Germany
    I'm making progress: :)


    Upper one displays the best lap time.
    Lower one should display the speed trap km/h but at the moment it's a bit cheated so it displays the max achieved speed overall.
     
  7. Felipe Oliveira Gall

    Felipe Oliveira Gall New Member

    Joined:
    Jul 27, 2020
    Messages:
    12
    Likes Received:
    2
    This is mind blowing! Is it all done through code?
     
  8. Gunnar333

    Gunnar333 Well-Known Member

    Joined:
    Aug 5, 2017
    Messages:
    321
    Likes Received:
    618
    Location:
    Germany
  9. Fuzo

    Fuzo Member

    Joined:
    May 24, 2018
    Messages:
    101
    Likes Received:
    18
    Location:
    Bydgoszcz, Poland
    it is LUA script or CSP config?
     
  10. Gunnar333

    Gunnar333 Well-Known Member

    Joined:
    Aug 5, 2017
    Messages:
    321
    Likes Received:
    618
    Location:
    Germany
    It’s a lua script.
     
  11. Fuzo

    Fuzo Member

    Joined:
    May 24, 2018
    Messages:
    101
    Likes Received:
    18
    Location:
    Bydgoszcz, Poland
    LUA seems to be very powerful, but only for chosen people :) I saw simple LUA script for simple dashboard and it had 500 lines of code :D
     
  12. Gunnar333

    Gunnar333 Well-Known Member

    Joined:
    Aug 5, 2017
    Messages:
    321
    Likes Received:
    618
    Location:
    Germany
    The lengths of code depends on how good your programming skills are.
    I must say my skills are very basic and my code for this display was very long but thankfully my brother (knowing C#) could help me a lot.

    You can have a look at the skrips when I’ll release the track updates. But I wait until Ilja releases the non patreon CSP version.

    But if you like can post some scripts here later today.
     
  13. Fuzo

    Fuzo Member

    Joined:
    May 24, 2018
    Messages:
    101
    Likes Received:
    18
    Location:
    Bydgoszcz, Poland
    thx mate for the offer but for now I don't need it, I am still far away from messing with that stuff in my track project but I know what is it about, I will have LUA dashboard directly from Ilja in our new car mod which should come out as a Christmas surprise :) So I realy hope he will release public version soon because without that the car dashboard won't work properly :D

    But what I will need in the future for my track project will be a race time counter which hangs above the starting line :) When I will model it I will probably contact you :D
     
    Gunnar333 likes this.
  14. Johnr777

    Johnr777 Moderator

    Joined:
    Jul 26, 2017
    Messages:
    1,050
    Likes Received:
    615
    @Gunnar333

    I shamelessly took your Borgloh speed trap lua script :p

     
    Gunnar333 likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice