WIP Beta released LEGO Car (progress thread)

Discussion in 'Land' started by Agent_Y, Sep 17, 2022.

  1. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,061
    MOD LINK: https://www.beamng.com/resources/toy-building-block-car.26315/

    I have been working on this mod for around 2 years now. This is the Lego Car.

    1.png

    The car is based on a custom design I have built originally many years ago and I've been improving it sometimes. The version in game is pretty close to the real one, the only changes I've done are the ones I wish I could do irl as well but can't due to lack of fitting parts. They contribute to structural stability and better visual look.

    irl.jpg

    Video of the car in action:



    Keep in mind that the car has adjustable strength and it is set to a really high value here, it's not so durable by default. Although it is true that it can take a lot of beating and lose many parts before it stops, regardless of set strength.

    You can see the destruction better at the beginning of this video:




    This mod is 99.99% scratch made by me. The 3D models of all the parts I made in Blender, using the real life version and some Lego store websites and blueprints as references. I didn't use any tools like Lego creator apps with export to make it easier, because I wanted to learn better modelling on this project, and seems like it worked out well. The materials are really simple and use mostly flat colors with some vanilla textures and a few normal and color maps for larger pieces, and slightly more advanced setups for the stickers. All the textures that aren't flat colors are either based on vanilla assets, or drawn by me in GIMP, or both. I plan on improving the materials after all of the pieces are finished, by adding some normal maps and ambient occlusion to make the pieces slightly curved on the edges and with better shading.

    There is no single 3D model of the whole car, but each piece is separate and can be reused easily, which will make it easy for other people to make mods for this car later. Here's what the setup looks like in Blender:
    2.png
    It goes without saying that the Jbeam of the car is fully scratch made by me. (With the tiny exception that the wheel hubs are based on the Grand Marshal as I had no idea how to make them properly from scratch back when I made them. I corrected the geometry to fit this car after gaining more experience.)
    jbeam.png


    Almost every piece is Jbeamed separately and can fall off, the only exceptions are the pieces that are really stuck together irl, they won't separate in game for the sake of simplicity. Each piece is super stiff, as much as the game engine can allow without instabilities, and nothing should deform on a reasonable use. 150 separate pieces can fall off in total. This is much more than on a normal car, so it's slightly more performance intensive (I experience a bit of lag with several of these cars spawned at the same time) but it's nowhere near as bad as some other mods I've used. As of BeamNG update 0.26, somehow the car doesn't lag at all, it's as performance intensive as vanilla cars, no more. The crashes can look really spectacular sometimes.
    parts.png

    I added quite a lot of variety already but it's limited to a single 2-door platform. There is only 1 main body style and a few others based on it with removed parts, in the future updates I want to add more body styles but it will be a lot of work. The models available are loosely based on 70s and 80s car design styles, the former being V8 powered and RWD with a 4-speed transmission, and the latter V6 FWD with 5-speed. Sporty 80s models get AWD, they are not finished yet. There are automatic transmission variants meant for American market and manual ones meant for Europe. There are police configs from various countries, US ones range from the late 70s to early 2000s. There are configs for various kinds of racing, junk beaters, derby cars, tuners, ricers, lifted and off-road versions, replicas and configs inspired by movie cars, both sensible and crazy variants for a lot of vehicle archetypes!
    ac001.png
    Now here are some notable quiks and features of this car that are hard to find on other mods:
    • Adjustable weight and strength, the default being realistic for a car (1545kg or 2kg per basic piece, lights and bumpers break on small crashes). Adjustable overall air drag.
    • All engine, transmission and brake values are adjustable, but in a much simpler way than in my other mod, allowing for easy tuning without having to change engine parts. But there are still various intake options which are also adjustable, ability to add nitrous, and customizable engine damage. Everything is simplified so that things like friction and torque loss don't exist, so the torque you set is what you get at the wheels.
    • Heavily customizable drivetrain. FWD, RWD, AWD, 4x4, various types of transmissions, transfer cases, differentials, disconnecting shaft options...
    • Implemented mileage simulation from my other mods. Additionally you can set the damage of the starter, head gasket, piston rings, rod bearings, spark plugs and injector.
    • Tires with adjustable friction settings, they are also supposed to be solid rubber tires with no pressure in them, but I had to leave some pressure inside to avoid issues.
    • The speedometer has no markings on it by default, and the value on the scale treated as the top speed is customizable, can be in metric or imperial units. Peak RPM on the tachometer always matches the engine. But marked non-customizable versions are also available in both metric and imperial.
    • Pieces of the engine bay can fall off, which will damage the engine to an extent. The carburetor on the V8 engine can fall off which will really damage it. Intakes can fall off which will break them.
    • Exhaust system is basically choosing where the tips are, and they are connected to the engine with invisible pipes. So you can have as weird of an exhaust outlet configuration as you want, derby stacks, front and rear fender exhaust, and side, center or twin upper exhaust on the back, 13 outlets in total.
    • By default there is no suspension, the wheels are attached straight to the axles (with "cheaty" hubs to allow them to turn) which are stiffly attached to the chassis. Real suspension is only available on lifted configs because it would not fit on normal axles. The tires somewhat act as suspension but pretty badly, might improve it in the future. Everything else is as solid as it can get with this game engine. There are lifted axles with fake suspension textures too.
    • Rear wheel steering is available, both as Pessima-like AWS and crawler-like mirrored front steering. This was just natural to add since the front and rear axles are exactly the same.
    • Modular separable unibody, you can mess with parts that would be inaccessible on a normal car, such as the bulkhead, rockers, B pillars, firewall, squab panel, individual pieces of the trunk...
    • Animated Lego fire appears on the fuel tank when it gets ruptured. You can add lego afterfire to the exhaust, and lego nitrous fire of various colors.
    • Everything in the interior is physically simulated and animated. There is even an option to add an animated crash test dummy driver! When an interior piece falls off it stops being animated and becomes loose. The doors can open by key bindings too as long as they are attached.
    • There are custom engine sounds recorded from the real life version of the car. So it really sounds like a lego car would a bit. The sounds so far only work on the V6 engine, I need to make different ones for the V8.
    • It has real Lego colors selectable. Not the official names due to possible copyright issues with that, but still. That includes the gold color and the metallic ones.
    • Various parts have variants of different colors selectable. Most often it's the 3 color palettes, light and dark grey, and black. It's not that revolutionary but it's cool and good for customization.
    • The police skin have a roof number that you can set in tuning or generate a random one, credits to Inn0centJok3r for help with the CSS for the texture.
    • There is a small trailer also included with the mod, both in the car's parts selector and as a separate vehicle. Offers decent customization.
    • According to several people who saw my screenshots, it crashes like a Lego car would, I don't know any other mod that does it lol.
    • JATO and ram plow included, every mod needs these lol.
    landing.png
    Some questions you might have now, will expand it into a QnA section if more arise:
    -Why are you making this? Several reasons. Because nobody made it before, because there are way too many normal cars in the game and not enough weird ones, because I always wanted to have my Lego car in the game, because I want to smash Lego cars and not worry about finding all the pieces afterwards and putting them back together...
    -How did you make it crash like a lego car? By making it out of many separate simple pieces that don't deform and can break off, making all connections the same strength except some naturally weaker ones like single stud connections or large to small pieces, making everything very stiff and having a realistic weight distribution and consistent scheme of attaching the pieces. I wasn't sure it would work, but it did.
    -Why does it wobble when static or driving slowly? It has no suspension so the tires suspend it and they are not really doing a good job at that. Maybe I will fix it in the future if I figure out how.
    -Will it be on the repository? Yes, but it won't be called 'Lego Car' due to copyright. 'Toy Building Block Car' will be the official name.
    -Can you add a driver? Unfortunately, having a Lego minifigure as a driver won't happen due to it being a patented design. It's a real shame as it was already in the mod and I had to remove it. It has a custom lego crash test dummy as a driver instead.
    -Will it have that meme Lego breaking sound? Maybe in the future.
    -Will it have a taxi version? In the future
    -Can the wheels be used on normal cars? They can be used on center lug wheel hubs, so they fit both Civettas, the new Pessima and some mods. If you use my mod for wheel hub swaps, they will work on any car. (Unless I break them and forget to fix which has happened before with the wheels I make...) Offroad wheels fit 6-lug hubs instead.
    -When will it be released? Now.
    -Is this harder to make than a normal car? It's certainly different. I have never made a normal car from scratch so I can't tell, but I imagine that the advantage is that you don't have to do any research on how similar cars work in detail and you don't have to worry about deformation, but on the other side it requires way more creative problem solving because it gets issues that would never happen on a normal mod and they need to be fixed, and it has to be much stiffer than a normal car so you need to be more careful to avoid instabilities.
    -Does it have a crumple zone? Idk who would ask that but I just wanted to point it out for the cool picture below, it kinda does but it's more like a shatter zone. It keeps the driver safe alright, and it's the same in the irl version. This is totally not a happy accident. (Remember that the driver will be changed to a dummy, the picture below is outdated.)

    crashtest.png


    TODO LIST:
    • Get dummy in game with good Jbeam DONE
    • Add crash test skin DONE
    • Add police parts, lightbars and configs, with good customization and many variants DONE
    • Add FBI parts and configs, concealed flashers, working guns DONE
    • Add Sheriff and Fire Chief parts and configs DONE
    • Add sport parts, finish sport configs DONE
    • Add electric parts and configs DONE
    • Add beater, rusty, dirt racer, derby and crazy derby parts and configs DONE
    • Add various types of wheels and tires, small, big, donk, offroad, etc. DONE
    • Add off-road, baja and 'crawler' parts and configs DONE
    • Add rally parts and configs: amateur rally, normal rally and group B rally DONE
    • Add drift parts and drift config DONE
    • Add race parts, widebody fenders and fender flares, race wheels, trackday and race configs DONE
    • Add pace car, amber light bar DONE
    • Add stock car / NASCAR parts and config DONE
    • Add hillclimb parts and config DONE
    • Add proper drag parts and configs (V8 RWD, V6 FWD, electric AWD) DONE
    • Add tuner, sleeper, street tuned, ricer and bosozoku parts and configs DONE
    • Add tow hitch and small trailer (designed irl already) DONE
    • Fix any bugs I find meanwhile Maybe will find more lol
    • Record and edit V8 sounds Cancelled, uses edited V6 sound instead
    • Update the default config with any changes I might do to the irl car I haven't changed a thing so far
    • Bake normal maps and ambient occlusion Probably cancelled, too much effort
    • Prepare the Blender file for public upload so others can make mods for this car easier DONE
    • Get someone to finetune some of the configs
    • Perform automated testing
    • Final beta testing and release

      For future update(s):
    • Fix crawler clutch burning
    • Try to fix AI with trailers #2
    • Fix some configs that drive bad
    • Attempt to fix Touring Car config by adding heavier engine
    • Add receive shadows to lights and glass
    • Try to improve materials and optimize materials filesize
    • Add selectable engine sounds: custom, vanilla, old vanilla
    • Change around sound system Jbeam to make engine sound selection easy to access
    • Fix typo in rally description
    • Update the outdated gun particles system, looks bad since 0.27
    • Try to fix/improve gun breaking system
    • Add independent race suspension for easier tuning of race configs
    • Remove hidden Windows files from zip
    • Update mod assets with new stuff
    • (Maybe later) Add hatchback body, add configs, convert some old ones to hatchback
    • (Maybe later) Convert rally config to asphalt spec and add gravel one with new skin
    • (Maybe later) Add GT4 config with new spoiler and other accessories, new skin
    • (Maybe later) Add cheap Fleet config, some maintenance config based on it too
    • (Maybe later) Add cheap 'offroad' Cross configs that look like SUVs but suck lol
    • (Maybe later) Add Budget Race config
    • (Definitely later) Add 2 and 4 door sedan bodies, configs including taxi and crazy taxi
    • (Definitely later) Add wagon body and configs, including 'GhostBlasters' config
    • (Definitely later) Add SUV body, convert a chunk of configs to use it, add new ones
    • (Definitely later) Add ute body, loads, configs including a prerunner thing
    • (Definitely later) Add ability to float on water, propeller, and crazy config to use them
    • (Definitely later) Add pickup body on custom frame, requires redesigning 2/3 of the car
    • (Definitely later) Add limo body, requires a completely new chassis and many parts

    Things added from the above list:

    You can add a crash test dummy to the car, it can be broken into multiple pieces and get flung off the car on big crashes, but usually will stay inside.
    sdsd.png rtrt.png
    The dummy is also animated! It interacts with the interior as you drive.


    There are many customizable police skins and accessories:
    1.png 2.png 3.png 4.png 5.png 6.png 7.png sfsw.png
    dszfdd.png rfsdr.png wedf.png segg.png fdg.png tyrt.png stgrdhr.png gfhyf.png redyrt.png sgy.png stdh.png
    sdfs.png sfstger.png sdfstg.png gfasers.png
    sdfgdr.png

    The above screenshots showcase all of the variety but are outdated now, here is what the light bars look like currently:
    2a-1.png 2q.png 2a-2.png 2a-3.png 2b-1.png 2b-2.png 2c.png 2d-1.png 2d-2.png 2e.png 2g-1.png 2g-2.png 2f.png 2h.png 2j.png 2k.png 2l.png 2m.png 2n.png 2o.png 2p.png

    Light bars in action (outdated materials, sorry, but the animations are still accurate):







    There are working guns too!

    adfser.png adfser1.png 1c.png


    Sport parts:
    afsarg.png arasrg.png adfgerg.png

    Modular wing!
    4a.png 4b.png 4c.png 4d.png 4e.png 4f.png

    Off-road lights
    004a.png

    Tuner parts and configs so far:
    raet5s5t.png fdfht.png trsgddf.png 6a.png 6b.png 6c.png 6d.png 6e.png
    img02.png img04.png img05.png aaa01.png aaa03.png aaa04.png

    Junk/derby configs:
    01.png 02.png 03.png 04.png 05.png 06.png 07.png

    Donks (why not)
    003a.png 003b.png

    Special editions so far:
    09.png 10.png 11.png 008g.png img12.png

    Off-road parts and configs:
    008a.png 008b.png 008c.png 008d.png img03.png

    Rally:
    008e.png 008f.png

    Drift:
    img06.png img09.png

    Race:
    img01.png img08.png img10.png img11.png img13.png img14.png img15.png aaa06.png aaa07.png

    The trailer:
    aab01.png ab002.png

    JATO!


    You can see all the progress on the car on my YouTube playlist:
    https://youtube.com/playlist?list=PLjYaoeUVsoLRXvU8UVByRPeRPyxldvYdx


    dump.png

    Credits:
    BeamNG - some default assets
    Felipe Maciel - feedback and some stuff for the minifigure that I had to delete unfortunately
    CrashBoomPunk - beta testing and showcase
    Inn0centJok3r - CSS for the police roof number texture
    CrashHard - a lot of help with the off-road suspension, wouldn't be possible without him
    SKB - feedback and ideas
    Xupaun - help with configs and suspension
    Me - everything else

    Future plans: improve some configs, add more body styles.

    oof.png

    I wonder if anyone reads this whole thing, it took me like 2 and a half hours to write lol

     
    #1 Agent_Y, Sep 17, 2022
    Last edited: Apr 19, 2023
    • Like Like x 124
    • Agree Agree x 7
    • Staff Pick Staff Pick x 1
  2. a plane guy

    a plane guy
    Expand Collapse

    Joined:
    Mar 14, 2021
    Messages:
    4,143
    • Like Like x 2
  3. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,061
    • Like Like x 2
  4. RyanCookie

    RyanCookie
    Expand Collapse

    Joined:
    Feb 23, 2019
    Messages:
    529
    ok
    okay now THAT is awesome, im looking forward to that, i could finally drive a lego car (and maybe build some stuff out of it aswell, i was quite a creative guy back in the day when it came to lego cars)
     
    • Agree Agree x 1
  5. Theo Wilkinson

    Theo Wilkinson
    Expand Collapse

    Joined:
    Feb 18, 2020
    Messages:
    1,274
    The fact you didnt take Stud.io models for this makes me wonder one thing;
    are you going insane?

    It's so awesome
     
    • Agree Agree x 1
  6. Palkia88

    Palkia88
    Expand Collapse

    Joined:
    Oct 1, 2021
    Messages:
    39
    A LEGO car in BeamNG Drive that properly breaks like a LEGO car should... This is gonna be crazy.
     
    • Agree Agree x 1
  7. TMccanna

    TMccanna
    Expand Collapse

    Joined:
    Jan 16, 2022
    Messages:
    1,041
    but can it fall into the river in lego city?
     
    • Like Like x 5
    • Agree Agree x 4
  8. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,061
    The reason is that I wanted to learn how to model better by making it, which has worked, I never would have imagined I would be able to model some of the more complex pieces like minifigure hair (which I can't include sadly). I know my modelling skills are far behind the other modders here but they have still improved a lot thanks to this mod.
     
    • Like Like x 1
  9. Lewhik

    Lewhik
    Expand Collapse

    Joined:
    Dec 19, 2021
    Messages:
    823
    I love the crappy Sound the Car makes in the Vid.
     
    • Like Like x 2
  10. Phaien

    Phaien
    Expand Collapse

    Joined:
    Jun 10, 2021
    Messages:
    358
    Probably one of the best mods i have ever seen!!! That is amazing!!!
     
    • Agree Agree x 1
  11. SmokeyDokey

    SmokeyDokey
    Expand Collapse

    Joined:
    Aug 27, 2022
    Messages:
    1,481
    This will go perfectly with the model car playmat mod! Can't wait to crash it! :)
     
    • Agree Agree x 1
  12. bussin.buses

    bussin.buses
    Expand Collapse

    Joined:
    Aug 1, 2022
    Messages:
    4,327
    Agreed!
     
    • Like Like x 1
  13. brickolo

    brickolo
    Expand Collapse
    Banned

    Joined:
    Jan 11, 2021
    Messages:
    224

    Agent Y has gotta be the only modder who would spend this much time on such a far fetched idea. I'm looking forwards to smashing lego cars virtually in beam, gl with the development
     
    • Agree Agree x 2
  14. Bolt2407_Beamfan

    Bolt2407_Beamfan
    Expand Collapse

    Joined:
    Nov 16, 2020
    Messages:
    1,343
    wtf you're fucking kidding this shit insane
     
    • Agree Agree x 3
  15. RiChuF

    RiChuF
    Expand Collapse

    Joined:
    Jan 21, 2022
    Messages:
    71
    this is some awesome stuff another fine experiment you have created
    def looking forward to this one
    i hope we can attach your jato mod to it :)
    --- Post updated ---
    "I wonder if anyone reads this whole thing, it took me like 2 and a half hours to write lol"
    yes i read the lot :D
     
  16. ModerNoob

    ModerNoob
    Expand Collapse

    Joined:
    Apr 5, 2021
    Messages:
    149
    it's very...lego
     
  17. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,061
    There's not really a good place to attach it, but I'm planning a custom Lego JATO rocket (I knew I forgot something, that was it)
     
    • Like Like x 2
  18. Nazu

    Nazu
    Expand Collapse

    Joined:
    Dec 22, 2021
    Messages:
    1,296
    better then brick rigs
     
    • Agree Agree x 1
  19. joemamaa

    joemamaa
    Expand Collapse

    Joined:
    Aug 3, 2021
    Messages:
    399
    you should also release the lego minifig on the forum page
     
  20. joemamaa

    joemamaa
    Expand Collapse

    Joined:
    Aug 3, 2021
    Messages:
    399
    also how does it crash exactly like a lego car omg
     
  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