Tutorial: How to add your own music to the Gavril Vertex

Discussion in 'Content Creation' started by Inn0centJok3r, Jun 19, 2020.

  1. aayushnairgaming

    aayushnairgaming
    Expand Collapse

    Joined:
    May 28, 2023
    Messages:
    13
    ok thank you
    --- Post updated ---
    does the autoplay have to be true or false?
     
  2. Inn0centJok3r

    Inn0centJok3r
    Expand Collapse

    Joined:
    Jul 16, 2018
    Messages:
    1,638
    Depends what you want it to be. If you want the song to not infinitely loop, set it to true and input how long the song is in the variable for it
     
  3. aayushnairgaming

    aayushnairgaming
    Expand Collapse

    Joined:
    May 28, 2023
    Messages:
    13
  4. aayushnairgaming

    aayushnairgaming
    Expand Collapse

    Joined:
    May 28, 2023
    Messages:
    13
    hello
    Should i also remove this --Length of the song in seconds, PLEASE ENTER THIS INFORMATION TO USE THE AUTOPLAY FEATURE!! everything?
     
  5. Inn0centJok3r

    Inn0centJok3r
    Expand Collapse

    Joined:
    Jul 16, 2018
    Messages:
    1,638
    No
     
  6. aayushnairgaming

    aayushnairgaming
    Expand Collapse

    Joined:
    May 28, 2023
    Messages:
    13
    so only the - -?
    --- Post updated ---
    --Length of the song in seconds, PLEASE ENTER THIS INFORMATION TO USE THE AUTOPLAY FEATURE!! should i remove this from here?--
    --- Post updated ---
    yess!!!
    thank you so muchh it worked
    --- Post updated ---
    it is important to pack the car file
    --- Post updated ---
    otherwise it will corrut the mod
    --- Post updated ---
    is it important to pack the file? i am asking this because it corrput the mod
     
  7. Inn0centJok3r

    Inn0centJok3r
    Expand Collapse

    Joined:
    Jul 16, 2018
    Messages:
    1,638
    I just told you, do not touch that comment. Please actually read the tutorial. Only un comment the line with the file path.
    If you’re done and it works, pack the file again.
     
  8. aayushnairgaming

    aayushnairgaming
    Expand Collapse

    Joined:
    May 28, 2023
    Messages:
    13
    why should you pack the file? will it not corrupt the mod?
     
  9. Inn0centJok3r

    Inn0centJok3r
    Expand Collapse

    Joined:
    Jul 16, 2018
    Messages:
    1,638
    Simply so it takes less space on your storage medium. That’s all. Also to allow to easily update it without first deleting the unpacked file..
     
  10. aayushnairgaming

    aayushnairgaming
    Expand Collapse

    Joined:
    May 28, 2023
    Messages:
    13
  11. jakecrashes

    jakecrashes
    Expand Collapse

    Joined:
    Mar 4, 2023
    Messages:
    8










    hey i cant find the radio.lua file

    upload_2023-6-15_16-21-9.png

    this is the best i can find, "gavril_vertex_radio.lua" but it doesnt have the "custom playlist" stuff and ive been looking around for solutions for abt an hour and a half. thank you and have a great day
     
  12. Inn0centJok3r

    Inn0centJok3r
    Expand Collapse

    Joined:
    Jul 16, 2018
    Messages:
    1,638
    The custom playlist is in there though…?
     
  13. mazdanissan

    mazdanissan
    Expand Collapse

    Joined:
    Jun 30, 2023
    Messages:
    28
    Hello so I am doing exactly how it is, but the song thing on the second playlist is limited to 10, but I want to add more songs than that. What do I do?
     
  14. Inn0centJok3r

    Inn0centJok3r
    Expand Collapse

    Joined:
    Jul 16, 2018
    Messages:
    1,638
    There are some comments in the code. Go to the very top, there is a variable which you can adjust to increase the maximum
     
  15. mazdanissan

    mazdanissan
    Expand Collapse

    Joined:
    Jun 30, 2023
    Messages:
    28
    Done that. But one more problem. When I place all my songs exactly like you explained, but when I launch BeamNG, the Gavril Vertex just disappears from the vehicle catalog.. I used Notepad++ but I was kinda lazy to screenshot what I had changed on the radio script so I didn't unpack it and opened it with normal Notepad instead. upload_2023-12-1_20-12-55.png upload_2023-12-1_20-19-34.png

    (i really need to improve my handwriting in terms of writing with virtual pencils)
     
    #195 mazdanissan, Dec 2, 2023
    Last edited: Dec 2, 2023
  16. Inn0centJok3r

    Inn0centJok3r
    Expand Collapse

    Joined:
    Jul 16, 2018
    Messages:
    1,638
    Your mod file probably is not packed correctly or in the correct folder
     
  17. mazdanissan

    mazdanissan
    Expand Collapse

    Joined:
    Jun 30, 2023
    Messages:
    28
    ohh crap.
    I am very much sure that i packed the mod correctly. I uninstalled it so many times but no results. I used Notepad++ for that.
     

    Attached Files:

    • Capturadepantalla15.png
  18. Inn0centJok3r

    Inn0centJok3r
    Expand Collapse

    Joined:
    Jul 16, 2018
    Messages:
    1,638
    What do the console logs say? Maybe something about the lua is broken
     
  19. mazdanissan

    mazdanissan
    Expand Collapse

    Joined:
    Jun 30, 2023
    Messages:
    28
    How do I do that? I'm kinda new to BeamNG.Drive.
    View attachment 1083505 This is what I could screenshot.
     

    Attached Files:

    • upload_2023-12-2_16-20-36.png
  20. Inn0centJok3r

    Inn0centJok3r
    Expand Collapse

    Joined:
    Jul 16, 2018
    Messages:
    1,638
    Well, you gotta try spawning the car first so you get that error
     
  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