Electric cars replicas

Discussion in 'Automation' started by Inn0centJok3r, Sep 30, 2018.

?

Are electric cars cool?

Poll closed Oct 5, 2018.
  1. Sure

    66.7%
  2. Nah....

    22.2%
  3. Maybe

    11.1%
  1. Inn0centJok3r

    Inn0centJok3r
    Expand Collapse

    Joined:
    Jul 16, 2018
    Messages:
    1,483
    So, as you know, there are no electric engines in Automation.
    So how do you replicate an electric car then?

    Its Simple!

    Grab an Boxer engine for the low center of gravity electric engines provide and then edit the camso_engine.JBeam file to make it an actual electric car! (read comments on thread to find out how to do that)
    Then you remove the engine sound from the cars file.
    I took the electric sound of the Ibishu Condensa mod and put it into my Rimac Concept_one! And it works!

    As of now, Ive just replicated the king of electric cars-The Rimac Concept One. But I want to make the Tesla Model S and X too! That comes later tho
    _______________________________________________________________________________________________________________
    HighresScreenshot00398.png HighresScreenshot00399.png HighresScreenshot00400.png HighresScreenshot00406.png HighresScreenshot00401.png HighresScreenshot00404.png
    Rimac Concept_One Now you can be Hammond!! Unfortunateley it doesnt catch on fire...

    https://www.beamng.com/resources/rimoc-concept_one-12.6021/
    TQRimac.png
    Here a Showcase of the Rimac!

    ___________________________________________________________________________________________________________
    -WIP- soon

    Tesla Model S
    ______________________________________________________________________________________________________
    -WIP- soon

    Tesla Model X
    ________________________________________________________________________

    Let me know what you think of this :D

    I Think its friggin awesome. Ive driven the Rimac and its fun asf! The sound ive borrowed gives it that final touch!
     
    #1 Inn0centJok3r, Sep 30, 2018
    Last edited: Oct 28, 2018
    • Like Like x 8
  2. Jammy25

    Jammy25
    Expand Collapse

    Joined:
    Jul 27, 2018
    Messages:
    93
    HOW DID YOU GET THE SOUND TO WORK?!?!?!

    IVE BEEN TRYING FOR AGES TO GET IT TO WORK ON MY I-PACE MOD!!!!!
     
  3. Inn0centJok3r

    Inn0centJok3r
    Expand Collapse

    Joined:
    Jul 16, 2018
    Messages:
    1,483
    So: Delete the whole 'art' folde of your car. Its useless.
    Then download the Ibishu condensa. Go into its files and copy the 'sounds' folder.
    Then throw it into your cars folder, where You also find all the files the car has.
    Then ask SushiPro for permission if you want to upload it, because i think just doing that without that is...well stealing.
     
    #3 Inn0centJok3r, Sep 30, 2018
    Last edited: Sep 30, 2018
  4. Jammy25

    Jammy25
    Expand Collapse

    Joined:
    Jul 27, 2018
    Messages:
    93
    So I’ll download the condensa now

    Got permission from SushiPro a few days ago:
    EEAFBB21-319F-4C41-96F8-AB09187E41AB.png
    --- Post updated ---
    Thankyou!

    Also looks fantastic!
     
    • Like Like x 2
  5. Inn0centJok3r

    Inn0centJok3r
    Expand Collapse

    Joined:
    Jul 16, 2018
    Messages:
    1,483
    Alright,
    Thanks :D
    Drop the folder 'sounds' in there
     

    Attached Files:

    • Screenshot1.png
  6. Jammy25

    Jammy25
    Expand Collapse

    Joined:
    Jul 27, 2018
    Messages:
    93
    Will have to do this tomorrow no computer access, thanks again though
    Really appreciate the help :)
     
    • Like Like x 1
  7. Inn0centJok3r

    Inn0centJok3r
    Expand Collapse

    Joined:
    Jul 16, 2018
    Messages:
    1,483
    Youre welcome! Im always open to help!
     
    • Like Like x 1
  8. Inn0centJok3r

    Inn0centJok3r
    Expand Collapse

    Joined:
    Jul 16, 2018
    Messages:
    1,483
    Ill upload thze Rimac to the repo later.
    Here is it in its current state! Have fun!
     

    Attached Files:

    • Like Like x 1
  9. Steveb2002

    Steveb2002
    Expand Collapse

    Joined:
    Feb 4, 2014
    Messages:
    174
    I'd love to see a Model X. I tried to make one but there weren't any good bodies
     
    • Agree Agree x 1
  10. Inn0centJok3r

    Inn0centJok3r
    Expand Collapse

    Joined:
    Jul 16, 2018
    Messages:
    1,483
    I think ill use the Porsche Cayenne body and shape it like the Pikes Peak Quattro i did. That should do the job
     
  11. Steveb2002

    Steveb2002
    Expand Collapse

    Joined:
    Feb 4, 2014
    Messages:
    174
    Yeah, thats what I attempted and it started looking a bit funky so I hope you can do better! I really want one in game.
     
    • Agree Agree x 1
  12. General S'mores

    General S'mores
    Expand Collapse

    Joined:
    Sep 15, 2013
    Messages:
    4,487
    Maybe a Porsche Mission E?
     
  13. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    6,782
    You can write your own torque curve and set engine powertrain as electricMotor, mainEngine
    Then have mainBattery and requires fuel type set to electric.

    You can look example from Codensa, but it is not very difficult to make car electric drive. You can probably find Tesla torque curve from internet quite easily.
     
  14. Inn0centJok3r

    Inn0centJok3r
    Expand Collapse

    Joined:
    Jul 16, 2018
    Messages:
    1,483
    Defunetley not. I think its the most hideous Porsche to ever be created, beating the Macan, cayenne etc
    --- Post updated ---
    Where do i have to set those things?
     
  15. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    6,782
    Camso engine.

    You have this:
    "powertrain" : [
    ["type", "name", "inputName", "inputIndex"],
    ["combustionEngine", "mainEngine", "dummy", 0],

    You set it like this:
    "powertrain" : [
    ["type", "name", "inputName", "inputIndex"],
    ["electricMotor", "mainEngine", "dummy", 0],

    Also this:
    "requiredEnergyType":"gasoline", //Type of fuel required

    To this:
    "requiredEnergyType":"electricity", //Type of fuel required

    This one:
    "energyStorage": [
    ["type", "name"],
    ["fuelTank", "mainTank"],

    Becomes this:
    "energyStorage": [
    ["type", "name"],
    ["battery", "mainBattery"],

    Then fuel tank:
    "mainTank": {
    "energyType":"gasoline", //Type of fuel (must match engine for engine to run)
    "fuelCapacity": 70, //Litres
    "startingFuelCapacity": "$fuel", //Litres
    "fuel": {"[engineGroup]:":["fuel"]}, //Adds fuel mass to nodes in this engineGroup
    "breakTriggerBeam": "fuelTank", //Fuel tank drains if beam with this name is broken

    To battery:
    "mainBattery": {
    "energyType":"electricity", //Type of fuel (must match engine for engine to run)
    "batteryCapacity": 70, //kWh
    "startingBatteryCapacity": 70, //Litres
    // "fuel": {"[engineGroup]:":["fuel"]}, //Adds fuel mass to nodes in this engineGroup
    // "breakTriggerBeam": "fuelTank", //Fuel tank drains if beam with this name is broken

    Actually this line "startingFuelCapacity": "$fuel", //Litres might work if you replace fuel with electricity or energy, look for some electric vehicle for idea, there is mainBattery with all electric vehicles and that is going to have parameters, but example above should at least in theory work, haven't tested and typed it from memory, so bugs may be included.

    I think that is pretty much you should need to make it work as an electric vehicle. Replace 70 with battery capacity of course, also you don't need oil, etc. for engine, you also might want to change torque curve to match tesla, adjust engine inertia and friction + dynamic friction accordingly, get rid of turbo etc.

    But at the end you really should have electric car.
     
    • Like Like x 1
    • Agree Agree x 1
  16. Inn0centJok3r

    Inn0centJok3r
    Expand Collapse

    Joined:
    Jul 16, 2018
    Messages:
    1,483
    Where do i have to
    I cant open the JBeam file. Is there an app somewhere that lets me do that?
     
  17. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    6,782
    First you need to make folder, like:
    Documents\BeamNG.Drive\vehicles\rimoc_concept_one

    You extract jbeam files there, then get Notepad++ to edit jbeam files, it is free.

    After done, you put jbeam file from that folder back to your car's .zip file and it will work for others too.

    Anything in Documents\BeamNG.Drive\vehicles\ is read after mods folder, so you can have new parts etc. in vehicles folder for a mod without need to unzip whole mod and all that trouble for simple edits like this.
     
  18. Inn0centJok3r

    Inn0centJok3r
    Expand Collapse

    Joined:
    Jul 16, 2018
    Messages:
    1,483
    So ive edited the file, but am unable to save it as Jbeam as there is no option to save it as such.
    I now have a .txt file of the edited Jbeam. What do i do with that?
     
  19. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    6,782
    That sounds bit odd, with Notepad++ you should be able to save file with save and it should not ask file name or anything.

    Maybe you did open file from .zip file, then it would not allow it to be saved.

    Anyway if you rename file to .jbeam it should work just fine. You would need to replace camso_engine.jbeam in .zip file, but make sure you have backup of your car zip file so that if something goes wrong it will not be a disaster!
     
  20. Inn0centJok3r

    Inn0centJok3r
    Expand Collapse

    Joined:
    Jul 16, 2018
    Messages:
    1,483
    I just did it. And tried spawning the car in beam... i might have broken sth as the car doesnt spawn
     
  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