WIP Beta released Realistic Police Lights Mod (Official Thread)

Discussion in 'Mods and Skins' started by WarDaddyUSA, Mar 17, 2021.

  1. WarDaddyUSA

    WarDaddyUSA
    Expand Collapse

    Joined:
    Oct 29, 2020
    Messages:
    99
    Official Thread for "Realistic Police Lights" Mod
    This thread is to share developments being made, bug reporting, suggestions, answering questions, and just to have convos relating to this mod:)
    ---------------------------------------------------------------------------------------------------------------------------------------------------​
    General information
    This mod is still very experimental and a large WIP project. I have spent months optimizing this to be able to run on low-end PCs and have the smallest FPS drop possible, or just none. I have observed first-hand light bars and all their ELS (Emergency Lighting Systems) and putting that into this mod as best as I can. This mod also uses the normal lightbar model but I've been attempting to make a very good model. The lightbar uses custom lights. First mod, ever, go easy on me.
    Vehicles and Features
    The vehicles that are implemented right now:
    Roamer
    Grand Marshal
    Pickup
    ETKs
    The Roamer, Pickup, and Grand Marshal have headlight and taillight flashers! A few vehicles have menus for the LEDs, so you can make a Christmas tree of a car or very a minimal car! There are also different patterns you can choose, commonly referred to as "Flash Pattern #" (ALT+M).
    Stay Updated!
    https://www.beamng.com/resources/re...-different-modes-strobes-customization.15455/
    Want to contribute?
    If you would like to help make this mod even better I will have things for you to do, feel free to DM me on here or Discord (user:WarDaddy#9901):)

    --- Post updated ---
    So I am currently working on updating the lightbar textures. It's just an "off" texture so when those LEDs turn off the LED texture for the lightbar appears off. Also making the lightbar colors more red and blue. As well as Amber LEDs to make a traffic advisor but that isn't going well.
     

    Attached Files:

    • Screenshot633.png
    • Screenshot635.png
    #1 WarDaddyUSA, Mar 17, 2021
    Last edited: Mar 18, 2021
    • Like Like x 2
  2. Kemro

    Kemro
    Expand Collapse

    Joined:
    Oct 27, 2020
    Messages:
    403
    View attachment 780746
    --- Post updated ---
    But, without joking, I hope your thread will be successful. ^^
     
    • Like Like x 1
  3. WarDaddyUSA

    WarDaddyUSA
    Expand Collapse

    Joined:
    Oct 29, 2020
    Messages:
    99
    Thanks!
     
  4. WarDaddyUSA

    WarDaddyUSA
    Expand Collapse

    Joined:
    Oct 29, 2020
    Messages:
    99
    Just finished v12.5, hope you guys will enjoy it.
    Added an "off" texture and made the LEDs more R/W/B! I was working on other things, but they will require more time and it's pretty challenging stuff (for me).
    Enjoy!
     

    Attached Files:

    • Screenshot696.png
    • Screenshot635.png
  5. WarDaddyUSA

    WarDaddyUSA
    Expand Collapse

    Joined:
    Oct 29, 2020
    Messages:
    99
    Been working hard on this... should be done this weekend. Or next week.
    Screenshot701.png
     
    #5 WarDaddyUSA, Mar 20, 2021
    Last edited: Mar 20, 2021
    • Like Like x 1
  6. WarDaddyUSA

    WarDaddyUSA
    Expand Collapse

    Joined:
    Oct 29, 2020
    Messages:
    99
    Slowly making progress
    Screenshot697.png
     
    • Like Like x 1
  7. WarDaddyUSA

    WarDaddyUSA
    Expand Collapse

    Joined:
    Oct 29, 2020
    Messages:
    99
    More progress, working on textures and materials right now.
    Front:
    Screenshot714.png
    Rear
    Screenshot715.png
    Sides
    Screenshot717.png Screenshot716.png
    And the reference I am using
    6.png
    --- Post updated ---
    It works! The Error Report...Not the lightbar..
    Screenshot721.png
     
    #7 WarDaddyUSA, Mar 21, 2021
    Last edited: Mar 21, 2021
    • Like Like x 2
  8. Kemro

    Kemro
    Expand Collapse

    Joined:
    Oct 27, 2020
    Messages:
    403
    and now it's really working
     
  9. WarDaddyUSA

    WarDaddyUSA
    Expand Collapse

    Joined:
    Oct 29, 2020
    Messages:
    99
    Sure, I have to change somethings, but yes its working.
     
  10. Kemro

    Kemro
    Expand Collapse

    Joined:
    Oct 27, 2020
    Messages:
    403
    Indeed
     
  11. WarDaddyUSA

    WarDaddyUSA
    Expand Collapse

    Joined:
    Oct 29, 2020
    Messages:
    99
    This is the first actual working PROTOTYPE.
    5228FD79-F8B5-4613-97AB-7F8020E8DB8B.png
    it still needs A LOT of work but hey months of work somewhat paying off. I will have a follow up message to this later:)
    Also thanks @Kemro for helping.
     
  12. WarDaddyUSA

    WarDaddyUSA
    Expand Collapse

    Joined:
    Oct 29, 2020
    Messages:
    99
    Here some progress pics :)
    Screenshot729.png Screenshot735.png Screenshot740.png Screenshot744.png cc8324a0e8608cd1df274b21deb0f617.gif
    --- Post updated ---
    Oh yeah, LEDs don't work right now, I'll worry about it soon.
    --- Post updated ---
    5d6285c2391310c634d3c50273b0ec93.gif 869e0481128c28b87570f1b6f412b16f.gif 13d3066c1d1a2e652abac888f2b4cebf.gif
     
    • Like Like x 2
  13. A Russian Pineapple

    A Russian Pineapple
    Expand Collapse

    Joined:
    Apr 27, 2018
    Messages:
    25
    Would you be able to provide a map of which light corresponds to which name in the .jbeam file? I'm trying to make a custom pattern for the Grand Marshal and I haven't found an efficient way to find out on my own.

    Edit: nice
    upload_2021-3-22_23-6-58.png
     
    #13 A Russian Pineapple, Mar 23, 2021
    Last edited: Mar 23, 2021
  14. WarDaddyUSA

    WarDaddyUSA
    Expand Collapse

    Joined:
    Oct 29, 2020
    Messages:
    99
    Hey, sorry for the late response.

    So, Blue 1 ("blue_1") is the innermost lights. Blue 2 ("blue_2") is the middle lights (next to white) and Blue 3 ("blue_3") are the outermost lights. The same goes for the red ones.
    Screenshot635.jpg
     
  15. A Russian Pineapple

    A Russian Pineapple
    Expand Collapse

    Joined:
    Apr 27, 2018
    Messages:
    25
    Thank you so much! This is gonna save me a lot of time. Looking at the .jbeam files, this must have been a long process... Love the mod!
     
  16. WarDaddyUSA

    WarDaddyUSA
    Expand Collapse

    Joined:
    Oct 29, 2020
    Messages:
    99
    You’re more than welcome. It did take a while, that’s why there’s not a large selection of patterns because it does require a lot of patience to get it timed right. Also thanks, glad you’re enjoying it.
    --- Post updated ---
    Oh also Pineapple, feel free to share the pattern here! I’d love to see it.
     
  17. A Russian Pineapple

    A Russian Pineapple
    Expand Collapse

    Joined:
    Apr 27, 2018
    Messages:
    25
    I made this pattern based off the 2nd default pattern. I would love to change the very inside lights to the colour of the outside ones so they are all uniform, but I see all the lights of one colour use the same part of the texture file. And I have no idea about texture mapping and if it's even possible.

    gmlights.gif
    The pattern (gif)^

    upload_2021-3-23_0-52-59.png
    would be cool^
     
    #17 A Russian Pineapple, Mar 23, 2021
    Last edited: Mar 23, 2021
    • Like Like x 1
  18. WarDaddyUSA

    WarDaddyUSA
    Expand Collapse

    Joined:
    Oct 29, 2020
    Messages:
    99
    Oh I like it! The lightbar that is currently undergoing months of development will have A LOT and I mean A LOT of light pattern stuff. It already has well over 200+ parts. So, luckily for you that will be coming :)
     
  19. A Russian Pineapple

    A Russian Pineapple
    Expand Collapse

    Joined:
    Apr 27, 2018
    Messages:
    25
    As someone who has spent a lot of time editing els xml files in GTA (and now BeamNG!), I can't wait!
     
  20. WarDaddyUSA

    WarDaddyUSA
    Expand Collapse

    Joined:
    Oct 29, 2020
    Messages:
    99
    Yep, every little LED can be programmed, just like what its based of off.
    --- Post updated ---
    For example, you can make patterns for just the outer lights, the front lights, traffic advisor, or the rear lights independently. With this implementation, it’s several more lines of code just for the patterns for all sides to work in the pattern.
    --- Post updated ---
    The glow maps for the LEDs, gonna work on more soon. Adding better textures too rather than the solid colors Kemro made in paint.net.
    Screenshot750.png
     
    • Like Like x 1
  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