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

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

  1. Myvixx

    Myvixx
    Expand Collapse

    Joined:
    Mar 22, 2023
    Messages:
    17
    So basically there's no cache as mentioned in the code for it to play causing it to not work maybe?
     
  2. VehicleTester

    VehicleTester
    Expand Collapse

    Joined:
    Mar 18, 2023
    Messages:
    10
    never knew the Vertex was based off a Focus. You learn something new everyday!
     
  3. MichiMaus

    MichiMaus
    Expand Collapse

    Joined:
    Nov 25, 2021
    Messages:
    27
    Still not working for me
    after 1 year
     

    Attached Files:

    • Screenshot_50.png
  4. marcshea3

    marcshea3
    Expand Collapse

    Joined:
    Jan 17, 2023
    Messages:
    5
    this may be a bump but i tried installing music and it broke the whole mod. I will upload screenshot as well as the LUA file
     

    Attached Files:

  5. Sanedish

    Sanedish
    Expand Collapse

    Joined:
    Aug 9, 2020
    Messages:
    52
    Ok cant get it to work, sry, but here's the original radio .lua file:




    and you got to remove youre songs, i think
     

    Attached Files:

  6. heyheyfrapfrap

    heyheyfrapfrap
    Expand Collapse

    Joined:
    Mar 2, 2021
    Messages:
    1
    I have the same problem
    upload_2023-4-17_16-32-17.png
     

    Attached Files:

  7. aayushnairgaming

    aayushnairgaming
    Expand Collapse

    Joined:
    May 28, 2023
    Messages:
    13
    Hi, I tried to do the method you thought and moreover i am not playing on 0.22. I am currently playing on 0.28. So will this method work or not?
    --- Post updated ---
    Hi, currently i am playing on 0.28 not 22 so will the method you said work or no? I want to confirm this and the further questions will be provided after that thank you.
     
  8. Inn0centJok3r

    Inn0centJok3r
    Expand Collapse

    Joined:
    Jul 16, 2018
    Messages:
    1,622
    It will in fact work
     
    • Like Like x 1
  9. aayushnairgaming

    aayushnairgaming
    Expand Collapse

    Joined:
    May 28, 2023
    Messages:
    13
    So as the instructions are further going on to the programming, you are actually saying to change the file path. In order to do so will you need to change only the last part or the the whole options in order to work? If so what should I exactly put in it?
     
  10. Inn0centJok3r

    Inn0centJok3r
    Expand Collapse

    Joined:
    Jul 16, 2018
    Messages:
    1,622
    If you put your files into the music folder like shown, you just need to put the exact file name into the all caps part of it. Don't forget to make not be a comment as well
     
  11. aayushnairgaming

    aayushnairgaming
    Expand Collapse

    Joined:
    May 28, 2023
    Messages:
    13
    I don't undderstand really but its ok
    --- Post updated ---
    also can the music be vocals or only bgm?
    --- Post updated ---
    if you are interested expain once again about the file path thank you
     
  12. Inn0centJok3r

    Inn0centJok3r
    Expand Collapse

    Joined:
    Jul 16, 2018
    Messages:
    1,622
    Any Unicode characters can be used in the file path. Simply replace the CAPS text in the pre-made path with the exact file name of your sound file. Make sure to remove the — in front of the path to make it not be a comment, like said in the instructions
     
  13. aayushnairgaming

    aayushnairgaming
    Expand Collapse

    Joined:
    May 28, 2023
    Messages:
    13
    can the music be only bgm or can it also take vocals also? Because I would like to have that. It is actually a DJ song type.
    --- Post updated ---
    You mean you choose any option from these four. not compulsory to fill out the whole CAPS right?
     
  14. Inn0centJok3r

    Inn0centJok3r
    Expand Collapse

    Joined:
    Jul 16, 2018
    Messages:
    1,622
    I don’t know what you mean by this. Just put your audio file in there, replace the whole CAPS text in the file path
     
  15. aayushnairgaming

    aayushnairgaming
    Expand Collapse

    Joined:
    May 28, 2023
    Messages:
    13
    can it allow vocals or only background music?
     
  16. Inn0centJok3r

    Inn0centJok3r
    Expand Collapse

    Joined:
    Jul 16, 2018
    Messages:
    1,622
    Any sound. Literally anything that is an MP3, OGG or similar sound file format that can be read by BeamNG
     
  17. aayushnairgaming

    aayushnairgaming
    Expand Collapse

    Joined:
    May 28, 2023
    Messages:
    13
    ok the only issue i have in understanding is this --play_song_dir = "art/sound/music/YOUR FILE NAME HERE" can you please show an example of how to fill these things
    --- Post updated ---
    also is it required to use only notepad ++? Beause in the normal on i have to write the sonlength to make it work and autoplay
     
  18. Inn0centJok3r

    Inn0centJok3r
    Expand Collapse

    Joined:
    Jul 16, 2018
    Messages:
    1,622
    Any text editor works.
    The song length is just there for the autoplay.
    Turn —play_song_dir = "art/sound/music/YOUR FILE NAME HERE
    Into
    play_song_dir = "art/sound/music/whateveryoursoundfileis.mp3
     
  19. aayushnairgaming

    aayushnairgaming
    Expand Collapse

    Joined:
    May 28, 2023
    Messages:
    13
    so it can take vocal also right?
     
  20. Inn0centJok3r

    Inn0centJok3r
    Expand Collapse

    Joined:
    Jul 16, 2018
    Messages:
    1,622
    For the love of god, as long as it is any form of audio file, it will work. The genre does not matter, the content of it does not matter.
     
  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