1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.35 Bug Reporting thread
    Solutions and more information may already be available.

  1. mustang3813

    mustang3813
    Expand Collapse

    Joined:
    Apr 22, 2016
    Messages:
    7
    how do i change the timing of each flash on the light bar?
     
  2. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,696
    NOTE - This requires editing the game files, and the change will affect all the vehicles that uses that lightbar.
    It's not suggested to do so. Always make a backup of the original file and if the game breaks, your PC goes on fire, aliens start to attack us or whatever, revert your change.




    Go in BeamNG.Drive/content/common/vehicles/common/lightbars
    Open 'materials.cs' with notepad.
    Search for 'lightbarglassR_on' and all the other variants of it (lightbarglassR2_on, lightbarglassB_on. lightbarglassB2_on, lightbarglassA_on, lightbarglassA2_on)
    Change ' waveFreq[2] = "1.8"; '. The higher the number, the faster the flashing. The lower, the slower.
     
    #2 Nadeox1, Aug 4, 2016
    Last edited: Aug 4, 2016
  3. mustang3813

    mustang3813
    Expand Collapse

    Joined:
    Apr 22, 2016
    Messages:
    7
    Thanks Nadeox1
    --- Post updated ---
    do I have to unzip the light bar folder
     
  4. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,696
    No, you can edit the file directly.
    When you save, Winrar or whatever you use will ask if you want to update the ZIP.

    Just because, let me repeat this part:
    NOTE - This requires editing the game files, and the change will affect all the vehicles that uses that lightbar.
    It's not suggested to do so. Always make a backup of the original file and if the game breaks, your PC goes on fire, aliens start to attack us or whatever, revert your change.
     
  5. mustang3813

    mustang3813
    Expand Collapse

    Joined:
    Apr 22, 2016
    Messages:
    7
    how do i make them flash opposite to each other?
    how do i know what lightbar im changing
     
  6. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,696
    R/R2 is the red one.
    B/B2 is the blue one
    A/A2 is the amber one.

    You cannot have them flash like
    10
    01
    10
    01

    That's why we haven't made them like at the moment.
     
  7. mustang3813

    mustang3813
    Expand Collapse

    Joined:
    Apr 22, 2016
    Messages:
    7
    its not letting me save it
    screenshot attached
     

    Attached Files:

    • lightbar.jpg
  8. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,696
    Notepad can't do that apparently.

    Move the 'materials.cs' file on your desktop.
    Edit it, save it and move it back in its place.
     
  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