WIP Beta released Modern and Experimental T-Series (contributions are appreciated)

Discussion in 'Mods and Skins' started by AM-DB9, Jan 7, 2017.

  1. AM-DB9

    AM-DB9
    Expand Collapse

    Joined:
    Mar 24, 2014
    Messages:
    106
    +++ LATEST VERSION AT THE END OF THIS POST +++ Updated jan 02nd, 2018

    FH16K550.png OffRoadElectric.png

    NOTICE
    While the core of this mod is standalone, you'll be able to use some presets only when the following mods are installed:

    (1) Gavril T-Series Addon
    (2) Customizeable Engines
    (3) More Parts for T-Series
    (4) DMPM
    (5) Gavril T-Series Expansion Pack (not needed, but a good addition)

    Some of these mods are listed as outdated, but they work nicely for our purpose. Reference is provided below for parts and configs that need these mods.

    The Modern and Experimental T-Series mod stems from the old I-Shift mod and replaces it.

    modernsemi.zip ins only provided for nostalgics.
    modernsemiCLEAN.zip is the current mantained version.

    Latest additions:

    - Reworked file structure for better handling

    +++ NOW FULLY WORKING AIO ELECTRIC DRIVETRAIN +++

    See Chapter 3 and 4 of the guide in this post. TL;DR : One forward gear and one reverse gear. Each engine is coupled to its axle/wheel with a rangebox. Click all the rangeboxes to go forward or backwards. Speedo and Revmeter will not work. CHECK SPINDLES IF NOTHING MOVES.
    This was necessary because there's no way to control multiple trasmissions in game ATM.
    New preset:
    screenshot_00087.png 6eng.jpg

    - Buggy and problematic features have been commented out from modernsemiCLEAN.zip . You can reenable them removing the comment markers (or keeping your old version of this mod).
    You can only run one version of this mod at any given time. Disable or delete modernsemi.zip if you wish to use modernsemiCLEAN.zip

    Original content of this mod:

    Strong ABS brakes for all the T-Series axles (kept for non-standard frames not yet fitted with the new ABS slot);
    Volvo parts:
    D16K750 and D16K550 engines (most precise engine curves but no turbo)
    D16K750 with turbo (with turbo pressure taken from real life)
    Single clutch I-Shift transmissions (manual ; data for the torque converter here.):
    Standard ATO3512F
    ATO3512D with ASO-ULC
    ATO3512 with ASO-ULC and ARSO-MSR
    Dual clutch I-Shift transmission SPO2812 (manual ; quite harsh operation)
    A preset fitted with D16K750, ATO3512F and ABS named "I-Shift with ABS".
    A preset fitted with D16K550 with turbo, ATO3512F and ABS. Mod (2) needed.
    A preset fitted with D16K750 with turbo, ATO3512F and ABS. Mod (2) needed.

    CAUTION: The transmissions with crawler ratios (ATO3512D with ASO-ULC, ATO3512 with ASO-ULC and ARSO-MSR) will shatter the cinematic chain if you're not careful. If you have suggestion on how to prevent this, I'll gladly fix it.

    Experimental features:

    - "Anatomically correct" 18-speed transmission (AC18) with:
    . Manual clutch
    . Manual 6-speed gearbox with 2 reverse gears
    . Double reduction transfer case at the front rear axle
    - 6000 Nm, 1.2 MW Industrial Electric Motor (IEM) - thanks to the code provided by AdamB
    - Single reduction gear transmission
    - Innovative Automatic Transmission for Electric Trucks
    - AWD system for the T-Series
    - Experimental indipendent axle modular transmission (AIO)
    - Taller, softened suspensions for offroad use
    - Offroad InterAxles (standard and Extended frame) that won't shatter when offroading with the Very Lifted Springs and Airbags.
    - Front bumper counterweight, useful to drive a FWD setup
    - Steering with better turn radius. Primarily made for the Extended Frame provided in the Gavril T-Series Addon, can be used with any config.
    - Left fuel tank compatible with pre-0.9 engine mods
    - Preset fitted with a different D16K750 engine and ATO3512F transmission. Mod (2) needed.
    - Preset fitted with a new D16K550 engine and ATO3512F transmission. European setup (rigid frame, 6x2). Mods (1), (2), (3) needed.
    - Fifth Wheel for the Extended Frame provided in the Gavril T-Series Addon. You will need to add the following code to the "slots": [ ] section at the beginning of the semi_frame_75_extended.jbeam file contained in semi_addon_AR162B.zip\vehicles\semi\ (Gavril T-Series Addon mod):
    Code:
            //5th Wheel
            ["semi_t75_extended_5th","", "Upfit"{"nodeOffset":{"x":0,"y":2.5,"z":-0.0}}],
    - Presets (AWD, Offroad Electric*, Modular Electric and AWD Modular Electric)
    * For this configuration, please read Chapter 8 and Chapter 9, Note 6 on the following manual.



    LONG BORING MANUAL WITH DETAILS

    INTRODUCTION

    Thank you for downloading this brand new experimental truck. Please follow to the next chapters for the best use experience. I wish you happy rolling. @TheRustyRagdoll has a custom sound for this mod, but it will be released when the sound system will be fixed (hopefully next game update).

    CHAPTER 1: AC18 transmission
    1. The AC18 driveline is obtained selecting the AC18 6-speed gearbox under your Engine of choice and the appropriate Splitter Case under the front rear suspension.
    2. The AC18 is operated through your manual shifting bindings, plus the drivetrain app. You need to click on the rangeboxes to go to the next range. If anybody manages to bind the two rangebox to different keys, please show me how to. That would be a welcome addition to this mod.
    . Both rangeboxes on Lo: first range (speeds 1 to 6 and R1, R2)
    . One box on Hi and the other on Lo: second range (speeds 7 to 12 and R3, R4)
    . Both boxes on Hi: third range (speeds 13 to 18 and R5, R6)
    3. You can use the 18 speed as a 12 speed by leaving one box always on Hi. The two boxes have the same ratio, so you can switch them in any order. 18th gear is overdrive, 17th gear is direct drive.
    4. Since the whole operation is a bit convoluted, you should assign a binding to gears 1 and 6, so that you can go 1,2,3,4,5,6,change range,1 and viceversa with less hassle.

    CHAPTER 2: Industrial Electric Motor (IEM)
    The IEM now comes with a torque curve resembling the tractive effort of train locomotives. At low rpm it's limited by how much current is available (flat curve) and as speed increases available power is converted to momentum (slope). THE TORQUE CURVE HAS BEEN GREATLY OVERHAULED and is now more realistic.

    CHAPTER 3: AIO drivetrain
    Loosely based on the latest experiments by Mercedes-Benz on full electric trucks, the AIO drivetrain is conceived as a modular unit (want more power, add a powered axle). It is coded to use the main engine mesh as a battery (BTW large batteries have radiators). To use it, please load the included preset or select the Modular system as your engine. You can add the front and rear rear module for more power or traction (please use the AWD Modular Electric preset).
    NOTICES: the front rear AIO unit uses the standard driveshaft and differential to get the wheels in motion, so you can use it with any differential/transfer case arrangement.
    The rear rear AIO unit includes its own intershaft, but requires the standard differential.
    The front AIO motors include a separate engine and a complete cinematic chain.
    Please continue to Chapter 4 to read about how the AIO transmission is operated.

    You can now get a motor to drive each wheel (Indipendent preset). You will need to select the appropriate spindles for this setup to work. You can add or remove every single wheel motor. Each motor is a 400HP unit, so you can go from 400 (6x1) to 2400HP (6x6). All the stock transmission components can be removed.

    CHAPTER 4: AIO Transmission
    Since we are operating Electric Motors through rangeboxes, there's no need for a gearbox. EVs only need a forward and a reverse gear. Lo means forward, Hi means reverse. ALL RANGEBOXES NEED TO BE IN THE SAME POSITION (LO OR HI) UNLESS YOU WANT TO DO BURNOUTS.
    BIG TIP: Since EVs have maximum torque at low rpm, when going downhill you can put the rig in R and use the accelerator to slow down without overheating your brakes.

    CHAPTER 5: AWD drivetrain
    With up to 5 lockable differentials, this is one of the most advanced transmissions available for specialized duty trucks. This system is compatible with any combination of engine and transmission, from the standard Gavril engine with 12 speed manual to the IEM and the front rear AIO.
    If you own a Stubby D-Series, you can now get a nice offroad vehicle out of it.
    If you want a FWD semi for special applications such as very low rear frame models, please load the AWD preset, remove the rear differentials and lock the main central diff through the drivetrain app.
    The front wheel drive module is in the front spindles and front rear transfer cases.

    CHAPTER 6: Single Reduction Gear
    1. The single reduction gear is provided to work with the IEM. You should disable Clutch Assist and use Realistic shift mode in the Gameplay options to take full advantage of its solid connection to the engine. You can of course use it with other engines too.

    CHAPTER 7: innovative Automatic Transmission for Electric Trucks
    1. The automatic transmission will spawn in R and you can cycle through its modes via the shift up/shift down bindings (usually the Z/X keys). Pressing Z will go: R, M10->M1, D, P, R indefinitely. As you will notice, this transmission lacks N.
    2. If your truck is not loaded, press Z once to select M10 and travel at very low RPM or very high speeds.
    3. When your truck is loaded, select a lower gear to gain more torque at the expense of speed and fuel efficiency.
    4. Although the transmission is primarily intended to be set at one gear and left at that for your whole voyage, you can shift gears as you like. A fully automated D position is provided for very heavy loads (around 100 t).
    5. You can go directly from M10 to R if you need to use the engine as a dynamic brake. Just select R and use the throttle to slow down without stressing your brakes.

    CHAPTER 8: Very Lifted Suspension system
    For better offroading, equip the new Very Lifted Suspensions from your Parts selector. These suspensions are as tall as they can be without parts disappearing or behaving strangely. They are also softer, so they are better for offroad but can carry less. Due to suspension geometry, you'll see that some components of the rear axle travel very close to the ground. They are solid iron parts, so you can move safely even if they contact the ground. While the truck bounces around a lot less, you still need to travel fairly slowly. You willl likely need to re-center your steering. Because of how the rear suspensions are designed, a lot of the articulation is performed at the front axle unless you are carrying a load. Remember: softer suspension = you are more prone to tip.
    Mod (3) does now include offroad tyres; a request was also made to @MapleBacon if he wishes to add its mod to the semi. Also a suspension redesign would be welcome, but that's likely a lot of work.

    CHAPTER 9: Misc suggestions
    1. Being the AC18 splitters located at the rear, you can use them with any other transmission. If you need to pull some extreme loads, go up 35% slopes or drive at extremely slow speeds, equip the splitters and feather the throttle or use the Cruise Control app. Using the I-Shift dual clutch you get a 100:1 1st gear!
    2. Being electric, the IEM can spin faster than an ICE. Pair it to a standard transmission for high speed freight and very high speed bobtailing.
    4. Remember to remove the stacks when using the IEM. They're now useless :)
    5. This mod provides some transmissions that work very well with the IEM and/or the Splitter Cases.
    6. The OffRoad Electric truck leverages on the convenience of hub motors to provide high torque and tall ground clearance (the batteries are under the bonnet, no driveshafts are needed). Due to restrictions in the game code, all wheels are connected to a single motor and you will need to lock the diffs for good offroad performmance. Mod (4) is needed for this configuration to work properly.

    HAPPY ROLLIN'!

    P.S. If you like this mod, you should check out the Pigeon Electric by @AdamB. Opposites attract :)

    - A preset fitted with D16K750, SPO2812 and ABS
    - A 6000 Nm, 1.2 MW Esperimental Electric Engine (EEE)
    1. The EEE idles at 10 rpm because of unexpected behavior if the idling speed is set to 0. When idling, the truck will shake a bit under brake application without removing the clutch. The EEE is very powerful, be careful with the throttle!
    2. You might find that the EEE doesn't really sound like an electric motor. That's because @synsol and @AdamB are way better modders than me. If they could add a sound I'd be happy :)

    AIO drivetrain
    Youl'll find one motor under every axle spindles.
    ATM the front and rear rear motors will only run in drive and not in reverse, and will only work if the front rear AIO unit is present (even when using the long T65 frame).
    @synsol is looking at a way of providing multiple engine and transmission control in a single vehicle.
    the only provided positions for these transmissions are P, R and D

    innovative Single Speed Automatic

    2. The EEE has high internal resistance and is thus a fantastic engine to go up and down hilly roads without worrying to much about overspeeding.
     

    Attached Files:

    #1 AM-DB9, Jan 7, 2017
    Last edited: Feb 18, 2018
    • Like Like x 1
  2. AdamB

    AdamB
    Expand Collapse

    Joined:
    Mar 8, 2016
    Messages:
    531
    I really like it, for an improvement of your electric motor, set the Idle rpm to 0, and use the electric motor code from my sunburst. If you need help, let me know :)
     
  3. Deleted member 126452

    Deleted member 126452
    Expand Collapse
    Guest

    By the way, here's a little nudge-nudge as far as modeling goes, without reason and sense.
     
    • Like Like x 1
    • Agree Agree x 1
  4. AM-DB9

    AM-DB9
    Expand Collapse

    Joined:
    Mar 24, 2014
    Messages:
    106
    That's a nice modern concept Arne. Anyway I'm just starting with jebeam, IDK if I'll ever make it to full fledged 3d modeling. Furthermore the main idea is to use the T-Series as an experimental testbed for current and "futuristic" technologies.

    In this regard, one area where my attempts failed miserably was the ESC, it always generated a fatal vehicle exception as soon as it was activated while driving.

    Thanks AdamB for your support :)

    I added the following to my file, but while no error is generated, the engine is dead. What am I missing?

    Code:
    "semi_motor_basic": {
        "information":{
            "authors":"AdamB, BeamNG",
            "name":"Stock Electric Motor",
            "value":2400,
        }
        "slotType" : "semi_engine",
        "slots": [
            ["type", "default", "description"],
            ["semi_transmission","semi_transmission_SPO2812", "Transmission"],
        ],
        "flexbodies": [
             ["mesh", "[group]:", "nonFlexMaterials"],
             ["semi_engine", ["semi_engine"]],
             ["semi_radtube_R", ["semi_engine","semi_radiator","semi_radtube_R"]],
             ["semi_radtube_L", ["semi_engine","semi_radiator","semi_radtube_L"]],
             ["semi_airfilter_ypipe", ["semi_airfilter_ypipe","semi_daycab_cowl","semi_engine_intake"]],
        ],
          "powertrain": [
            ["type", "name", "inputName", "inputIndex"],
            ["electricMotor", "mainEngine", "dummy", 0],
        ],
        "mainEngine": {
            "torque":[
            ["rpm", "torque"]
               [0, 6000],
            [12000, 0],
            [13000, 0],
            [14000, 0],
            [15000, 0],
        ],
    
        "maxRPM":12000,
            "inertia":0.04,
            "friction":5
            "dynamicFriction":0.005
            "electricalEfficiency":0.98
            "torqueReactionNodes:":["en1l","en2l","en4r"]
            "energyStorage": "mainBattery",
            "requiredEnergyType":"electricEnergy",
    
            //cooling and oil system
            "thermalsEnabled":false
    
            //node beam interface
            "breakTriggerBeam":"engine",
        },
        "vehicleController": {
            "clutchLaunchStartRPM":1100,
            "clutchLaunchTargetRPM":800,
            //**highShiftDown can be overwritten by automatic transmissions**
            "highShiftDownRPM":1000
            //**highShiftUp can be overwritten by intake modifications**
            "highShiftUpRPM":2000
        },
        "props": [
            ["func"      , "mesh"              , "idRef:", "idX:", "idY:"            , "baseRotation"        , "rotation"                 , "translation"        , "min", "max", "offset", "multiplier"]
            ["rpmspin"  , "semi_coolingfan", "en2r","en2l","en4r",  {"x":0, "y":0, "z":0}, {"x":0, "y":1, "z":0}    , {"x":0, "y":0, "z":0}, -360, 360, 0, 1],
        ],
        "nodes": [
             ["id", "posX", "posY", "posZ"],
             {"selfCollision":true}
             {"collision":true}
             //--ENGINE CUBE--
             {"nodeWeight":142.8},
             {"frictionCoef":0.5},
             {"nodeMaterial":"|NM_METAL"},
             {"group":"semi_engine"},
             {"engineGroup":"semi_engine_block"}
             ["en1r", -0.24, -3.73, 0.65,{"isExhaust":true,"chemEnergy":1000,"burnRate":0.39,"flashPoint":700,"specHeat": 0.1,"selfIgnitionCoef":false,"smokePoint":600,"baseTemp":"thermals","conductionRadius":0.21}],
             ["en1l", 0.24, -3.73, 0.65],
             {"engineGroup":["semi_engine_block","semi_exhaust_manifold"]},
             ["en2r", -0.24, -2.52, 0.48,{"chemEnergy":1000,"burnRate":0.39,"flashPoint":700,"specHeat": 0.1,"selfIgnitionCoef":false,"smokePoint":600,"baseTemp":"thermals","conductionRadius":0.21}],
             {"engineGroup":"semi_engine_block"},
             ["en2l", 0.24, -2.52, 0.48],
             ["en3r", -0.24, -3.73, 1.52,{"chemEnergy":1000,"burnRate":0.39,"flashPoint":700,"specHeat": 0.1,"selfIgnitionCoef":false,"smokePoint":600,"baseTemp":"thermals","conductionRadius":0.21}],
             ["en3l", 0.24, -3.73, 1.52],
             ["en4r", -0.24, -2.52, 1.52,{"chemEnergy":1000,"burnRate":0.39,"flashPoint":700,"specHeat": 0.1,"selfIgnitionCoef":false,"smokePoint":600,"baseTemp":"thermals","conductionRadius":0.21}],
             ["en4l", 0.24, -2.52, 1.52],
             ["enf", -0.0, -3.8, 1.33],
             {"engineGroup":""},
             {"group":"semi_airfilter_ypipe"},
             {"nodeWeight":5.1},
             ["afyp", -0.15500, -2.75000, 1.70000],
             {"selfCollision":true}
             {"collision":true}
             {"engineGroup":"semi_engine_intake"}
             {"group":"semi_radtube_R"},
             ["en5r", -0.45, -3.24, 1.4,{"chemEnergy":200,"burnRate":0.3,"flashPoint":200,"specHeat":0.1,"smokePoint":150,"selfIgnitionCoef":false}],
             {"group":"semi_radtube_L"},
             {"engineGroup":"semi_engine_block"}
             ["en5l", 0.3, -3.4, 1.30],
             {"engineGroup":""}
             {"selfCollision":true}
             {"collision":true}
             {"group":""},
        ],
        "beams": [
              ["id1:", "id2:"],
              //--ENGINE CUBE--
              {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
              {"beamSpring":32000800,"beamDamp":1600},
              {"beamDeform":1500000,"beamStrength":"FLT_MAX"},
              ["en1r","en1l"],
              ["en1r","en1l"],
              ["en1r","en2r"{"isExhaust":true}],
              ["en1r","en2l"],
              ["en1r","en3r"],
              ["en1r","en3l"],
              ["en1r","en4r"],
              ["en1r","en4l"],
              ["en1l","en2r"],
              ["en1l","en2l"],
              ["en1l","en3r"],
              ["en1l","en3l"],
              ["en1l","en4r"],
              ["en1l","en4l"],
              ["en2r","en2l"],
              ["en2r","en3r"],
              ["en2r","en3l"],
              ["en2r","en4r"],
              ["en2r","en4l"],
              ["en2l","en3r"],
              ["en2l","en3l"],
              ["en2l","en4r"],
              ["en2l","en4l"],
              ["en3r","en3l"],
              ["en3r","en4r"],
              ["en3r","en4l"],
              ["en3l","en4r"],
              ["en3l","en4l"],
              ["en4r","en4l"],
              ["enf","en4l"],
              ["enf","en4r"],
              ["enf","en3l"],
              ["enf","en3r"],
              ["enf","en1l"],
              ["enf","en1r"],
              {"beamDeform":25000,"beamStrength":"FLT_MAX"}
              {"beamSpring":320800,"beamDamp":400},
              //air filter piping attach
              {"optional":true},
              ["afyp","dc1rr"],
              ["afyp","dc1ll"],
              ["afyp","dc3rr"],
              ["afyp","dc3ll"],
              {"beamDeform":10000,"beamStrength":20000}
              {"beamSpring":200800,"beamDamp":400},
              {"breakGroup":"engine_intake"},
              //air filter piping break
              ["afyp","en4l"],
              ["afyp","en4r"],
              ["afyp","en3l"],
              ["afyp","en3r"],
              //duplicates to help mesh break
              ["afyp","dc1rr"],
              ["afyp","dc1ll"],
              ["afyp","dc3rr"],
              ["afyp","dc3ll"],
              {"breakGroup":""},
              {"optional":false},
              //rad pipe node
              {"beamSpring":3200800,"beamDamp":160},
              {"beamDeform":35000,"beamStrength":45000}
              //right
              ["en3r","en5r"],
              ["en4r","en5r"],
              ["en1r","en5r"],
              ["en2r","en5r"],
              //left
              ["en3l","en5l"],
              ["en4l","en5l"],
              ["en1l","en5l"],
              ["en2l","en5l"],
              {"breakGroup":""},
              {"beamSpring":240800,"beamDamp":800},
              {"beamDeform":10000,"beamStrength":30000},
              //rad pipe to engine break
              {"breakGroup":"radtube_R"},
              ["rdt1r","en5r"],
              ["rdt1r","en3r"],
              ["rdt1r","en4r"],
              {"breakGroup":"radtube_L"},
              ["rdt1l","en5l"],
              ["rdt1l","en3l"],
              ["rdt1l","en4l"],
              ["rad2l","en5l"],
              {"breakGroup":""},
              {"beamSpring":4000800,"beamDamp":1600},
              {"beamDeform":100000,"beamStrength":295000},
              //engine mounts
              ["en1r","f2r"],
              ["en1l","f2l"],
              ["en1r","f12r"],
              ["en1l","f12l"],
              ["en1r","f3r"],
              ["en1l","f3l"],
              ["en1r","f13r"],
              ["en1l","f13l"],
              ["en2r","f3r"],
              ["en2l","f3l"],
              ["en2r","f13r"],
              ["en2l","f13l"],
              ["en2r","f4r"],
              ["en2l","f4l"],
              ["en2r","f14r",{"name":"engine","beamStrength":231000,"disableMeshBreaking":true,"disableTriangleBreaking":true}],
              ["en2l","f14l",{"name":"engine","beamStrength":231000,"disableMeshBreaking":true,"disableTriangleBreaking":true}],
              //support beams for anti clipping
              {"beamType":"|SUPPORT", "beamLongBound":5},
              {"beamSpring":8000800,"beamDamp":800},
              {"beamDeform":250000,"beamStrength":850000},
              {"beamPrecompression":0.8},
              ["en1r","f12r"],
              ["en1l","f12l"],
              ["en1r","f2r"],
              ["en1l","f2l"],
              {"beamSpring":1600800,"beamDamp":160},
              ["en1r","dc5rr"],
              ["en1l","dc5ll"],
              ["en2r","dc10rr"],
              ["en2l","dc10ll"],
              {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
        ],
        "triangles": [
                ["id1:","id2:","id3:"],
                {"dragCoef":3},
                {"groundModel":"metal"},
                {"group":"semi_engine"},
                ["en4r","en2r","en1r"],
                ["en4r","en1r","en3r"],
                ["en4l","en1l","en2l"],
                ["en4l","en3l","en1l"],
                ["en4r","en3r","en3l"],
                ["en4r","en3l","en4l"],
                ["en3r","en1r","en1l"],
                ["en3r","en1l","en3l"],
                ["en4r","en2l","en2r"],
                ["en4r","en4l","en2l"],
                ["en1l", "en2r", "en2l"],
                ["en1l", "en1r", "en2r"],
                {"group":""},
        ],
    }
    "semi_battery_R": {
        "information":{
            "authors":"BeamNG",
            "name":"Right LiPo Battery",
            "value":20000,
        }
        "slotType" : "semi_fueltank_R",
        "energyStorage": [
            ["type", "name"],
            ["electricBattery", "mainBattery"],
        ],
        "mainBattery": {
            "energyType":"electricEnergy",
            "fuelCapacity": 450,
        }
        "flexbodies": [
             ["mesh", "[group]:", "nonFlexMaterials"],
             ["semi_fueltank_R", ["semi_fueltank_R"]],
         ],
        "nodes": [
             ["id", "posX", "posY", "posZ"],
             {"selfCollision":true}
             {"collision":true}
             //--FUEL TANK--
             {"frictionCoef":0.5},
             {"nodeMaterial":"|NM_METAL"},
             {"group":"semi_fueltank_R"},
             //middle nodes
             {"nodeWeight":2.96},
             //add weight to these 2 nodes to represent fuel
             ["ftfm_R", -0.76, -0.89, 0.555],
             ["ftrm_R", -0.76, 0.55, 0.555],
             {"nodeWeight":2.96},
             //rear circle nodes
             ["ft1r_R", -0.76, 0.55, 0.91,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankL"},],
             ["ft2r_R", -1.07, 0.55, 0.735],
             ["ft3r_R", -1.12, 0.55, 0.285,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankL"},],
             ["ft4r_R", -0.76, 0.55, 0.195],
             ["ft5r_R", -0.455, 0.55, 0.375,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankL"},],
             ["ft6r_R", -0.47, 0.55, 0.755],
             //middle circle nodes
             ["ft1m_R", -0.76, -0.18, 0.91],
             ["ft2m_R", -1.07, -0.18, 0.735,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankL"},],
             ["ft3m_R", -1.12, -0.18, 0.285],
             ["ft4m_R", -0.76, -0.18, 0.195,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankL"},],
             ["ft5m_R", -0.455, -0.18, 0.375],
             ["ft6m_R", -0.47, -0.18, 0.755,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankL"},],
             //front circle nodes
             ["ft1f_R", -0.76, -0.89, 0.91,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankL"},],
             ["ft2f_R", -1.07, -0.89, 0.735],
             ["ft3f_R", -1.12, -0.89, 0.285,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankL"},],
             ["ft4f_R", -0.76, -0.89, 0.195],
             ["ft5f_R", -0.455, -0.89, 0.375,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankL"},],
             ["ft6f_R", -0.47, -0.89, 0.755],
    
             //detachable fuel nodes
             {"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankL"}
             {"selfCollision":false}
             {"group":""},
             ["ftn1_R", -0.77, -0.6, 0.6],
             ["ftn2_R", -0.77, -0.2, 0.6],
             ["ftn3_R", -0.77, 0.2, 0.6],
             {"chemEnergy":false,"burnRate":false,"flashPoint":false, "specHeat": false,"selfIgnitionCoef":false,"smokePoint":false,"baseTemp":false,"conductionRadius":false}
        ],
        "beams": [
              ["id1:", "id2:"],
              //--FUEL TANK--
              {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
              {"beamSpring":2400800,"beamDamp":160},
              {"beamDeform":100000,"beamStrength":"FLT_MAX"},
              //main shape
              //circles
              ["ft1r_R","ft2r_R"],
              ["ft2r_R","ft3r_R"],
              ["ft3r_R","ft4r_R"],
              ["ft4r_R","ft5r_R"],
              ["ft5r_R","ft6r_R"],
              ["ft6r_R","ft1r_R"],
    
              ["ft1m_R","ft2m_R"],
              ["ft2m_R","ft3m_R"],
              ["ft3m_R","ft4m_R"],
              ["ft4m_R","ft5m_R"],
              ["ft5m_R","ft6m_R"],
              ["ft6m_R","ft1m_R"],
    
              ["ft1f_R","ft2f_R"],
              ["ft2f_R","ft3f_R"],
              ["ft3f_R","ft4f_R"],
              ["ft4f_R","ft5f_R"],
              ["ft5f_R","ft6f_R"],
              ["ft6f_R","ft1f_R"],
    
              //lengthwise main shape
              ["ft1f_R","ft1m_R"],
              ["ft2f_R","ft2m_R"],
              ["ft3f_R","ft3m_R"],
              ["ft4f_R","ft4m_R"],
              ["ft5f_R","ft5m_R"],
              ["ft6f_R","ft6m_R"],
    
              ["ft1r_R","ft1m_R"],
              ["ft2r_R","ft2m_R"],
              ["ft3r_R","ft3m_R"],
              ["ft4r_R","ft4m_R"],
              ["ft5r_R","ft5m_R"],
              ["ft6r_R","ft6m_R"],
    
              {"beamDeform":20000,"beamStrength":"FLT_MAX"},
              //front and rear cap faces
              ["ft1f_R","ftfm_R"],
              ["ft2f_R","ftfm_R"],
              ["ft3f_R","ftfm_R"],
              ["ft4f_R","ftfm_R"],
              ["ft5f_R","ftfm_R"],
              ["ft6f_R","ftfm_R"],
    
              ["ft1r_R","ftrm_R"],
              ["ft2r_R","ftrm_R"],
              ["ft3r_R","ftrm_R"],
              ["ft4r_R","ftrm_R"],
              ["ft5r_R","ftrm_R"],
              ["ft6r_R","ftrm_R"],
    
              //surficial crossing
              ["ft1r_R","ft2m_R"],
              ["ft2r_R","ft1m_R"],
              ["ft2r_R","ft3m_R"],
              ["ft3r_R","ft2m_R"],
              ["ft3r_R","ft4m_R"],
              ["ft4r_R","ft3m_R"],
              ["ft4r_R","ft5m_R"],
              ["ft5r_R","ft4m_R"],
              ["ft5r_R","ft6m_R"],
              ["ft6r_R","ft5m_R"],
              ["ft6r_R","ft1m_R"],
              ["ft1r_R","ft6m_R"],
    
              //rigidify
              ["ft1m_R","ftfm_R"],
              ["ft2m_R","ftfm_R"],
              ["ft3m_R","ftfm_R"],
              ["ft4m_R","ftfm_R"],
              ["ft5m_R","ftfm_R"],
              ["ft6m_R","ftfm_R"],
    
              ["ft1m_R","ftrm_R"],
              ["ft2m_R","ftrm_R"],
              ["ft3m_R","ftrm_R"],
              ["ft4m_R","ftrm_R"],
              ["ft5m_R","ftrm_R"],
              ["ft6m_R","ftrm_R"],
    
              //corner rigids
              ["ft1r_R","ft3r_R"],
              ["ft2r_R","ft4r_R"],
              ["ft3r_R","ft5r_R"],
              ["ft4r_R","ft6r_R"],
              ["ft5r_R","ft1r_R"],
    
              ["ft1f_R","ft3f_R"],
              ["ft2f_R","ft4f_R"],
              ["ft3f_R","ft5f_R"],
              ["ft4f_R","ft6f_R"],
              ["ft5f_R","ft1f_R"],
    
              {"beamDeform":10000},
              ["ft1m_R","ft3m_R"],
              ["ft2m_R","ft4m_R"],
              ["ft3m_R","ft5m_R"],
              ["ft4m_R","ft6m_R"],
              ["ft5m_R","ft1m_R"],
    
              {"beamDeform":20000,"beamStrength":"FLT_MAX"},
              //lengthwise
              ["ft1f_R","ft1r_R"],
              ["ft2f_R","ft2r_R"],
              ["ft3f_R","ft3r_R"],
              ["ft4f_R","ft4r_R"],
              ["ft5f_R","ft5r_R"],
              ["ft6f_R","ft6r_R"],
              //floating fuel nodes
              {"beamSpring":200800,"beamDamp":160},
              {"beamDeform":25000,"beamStrength":"FLT_MAX"},
              {"breakGroup":"fueltank_a_R"},
              ["ftn1_R","ft1f_R"],
              ["ftn1_R","ft3f_R"],
              ["ftn1_R","ft5f_R"],
    
              ["ftn2_R","ft1m_R"],
              ["ftn2_R","ft3m_R"],
              ["ftn2_R","ft5m_R"],
    
              ["ftn3_R","ft1r_R"],
              ["ftn3_R","ft3r_R"],
              ["ftn3_R","ft5r_R"],
              //attach
              {"beamSpring":2400800,"beamDamp":160},
              {"beamDeform":25000,"beamStrength":125000},
              {"breakGroup":"fueltank_a_R"},
              ["ft1r_R","f7r",{"containerBeam":"fuelTankL"}],
              ["ft2r_R","f7r"],
              ["ft1m_R","f7r"],
              ["ft6r_R","f7r"],
              ["ft6m_R","f7r"],
              ["ft1r_R","f17r"],
              ["ft1m_R","f17r"],
              ["ft6r_R","f17r"],
              ["ft6m_R","f17r"],
    
              ["ft5r_R","f7r"],
              ["ft5m_R","f7r"],
              ["ft5r_R","f17r"],
              ["ft5m_R","f17r"],
    
              {"breakGroup":"fueltank_b_R"},
              ["ft1f_R","f6r"],
              ["ft1m_R","f6r"],
              ["ft6f_R","f6r"],
              ["ft6m_R","f6r"],
              ["ft1f_R","f16r"],
              ["ft1m_R","f16r"],
              ["ft6f_R","f16r"],
              ["ft6m_R","f16r"],
    
              ["ft5f_R","f6r"],
              ["ft5m_R","f6r"],
              ["ft5f_R","f16r"],
              ["ft5m_R","f16r"],
              {"breakGroup":""},
              {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
        ],
        "triangles": [
                ["id1:","id2:","id3:"],
                {"dragCoef":5},
                {"groundModel":"metal"},
                {"group":"semi_fueltank_R"},
                ["ft1r_R","ft2r_R","ft2m_R"],
                ["ft1r_R","ft2m_R","ft1m_R"],
                ["ft1m_R","ft2m_R","ft2f_R"],
                ["ft1m_R","ft2f_R","ft1f_R"],
    
                ["ft2r_R","ft3r_R","ft3m_R"],
                ["ft2r_R","ft3m_R","ft2m_R"],
                ["ft2m_R","ft3m_R","ft3f_R"],
                ["ft2m_R","ft3f_R","ft2f_R"],
    
                ["ft3r_R","ft4r_R","ft4m_R"],
                ["ft3r_R","ft4m_R","ft3m_R"],
                ["ft3m_R","ft4m_R","ft4f_R"],
                ["ft3m_R","ft4f_R","ft3f_R"],
    
                ["ft4r_R","ft5r_R","ft5m_R"],
                ["ft4r_R","ft5m_R","ft4m_R"],
                ["ft4m_R","ft5m_R","ft5f_R"],
                ["ft4m_R","ft5f_R","ft4f_R"],
    
                ["ft5r_R","ft6r_R","ft6m_R"],
                ["ft5r_R","ft6m_R","ft5m_R"],
                ["ft5m_R","ft6m_R","ft6f_R"],
                ["ft5m_R","ft6f_R","ft5f_R"],
    
                ["ft6r_R","ft1r_R","ft1m_R"],
                ["ft6r_R","ft1m_R","ft6m_R"],
                ["ft6m_R","ft1m_R","ft1f_R"],
                ["ft6m_R","ft1f_R","ft6f_R"],
    
                //front face
                ["ft1f_R","ft2f_R","ftfm_R"],
                ["ft2f_R","ft3f_R","ftfm_R"],
                ["ft3f_R","ft4f_R","ftfm_R"],
                ["ft4f_R","ft5f_R","ftfm_R"],
                ["ft5f_R","ft6f_R","ftfm_R"],
                ["ft6f_R","ft1f_R","ftfm_R"],
    
                //rear face
                ["ft2r_R","ft1r_R","ftrm_R"],
                ["ft3r_R","ft2r_R","ftrm_R"],
                ["ft4r_R","ft3r_R","ftrm_R"],
                ["ft5r_R","ft4r_R","ftrm_R"],
                ["ft6r_R","ft5r_R","ftrm_R"],
                ["ft1r_R","ft6r_R","ftrm_R"],
                {"group":""},
        ],
    }
    "semi_battery_L": {
        "information":{
            "authors":"BeamNG",
            "name":"Left LiPo Battery",
            "value":20000,
        }
        "slotType" : "semi_fueltank_L",
        "energyStorage": [
            ["type", "name"],
            ["electricBattery", "mainBattery"],
        ],
        "mainBattery": {
            "energyType":"electricEnergy",
            "fuelCapacity": 450,
        }
        "flexbodies": [
             ["mesh", "[group]:", "nonFlexMaterials"],
             ["semi_fueltank_L", ["semi_fueltank_L"]],
         ],
        "nodes": [
             ["id", "posX", "posY", "posZ"],
             {"selfCollision":true}
             {"collision":true}
             //--FUEL TANK--
             {"frictionCoef":0.5},
             {"nodeMaterial":"|NM_METAL"},
             {"group":"semi_fueltank_L"},
             //middle nodes
             {"nodeWeight":2.96},
             //add weight to these 2 nodes to represent fuel
             ["ftfm_L", 0.76, -0.89, 0.555],
             ["ftrm_L", 0.76, 0.55, 0.555],
             {"nodeWeight":2.96},
             //rear circle nodes
             ["ft1r_L", 0.76, 0.55, 0.91,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankR"},],
             ["ft2r_L", 1.07, 0.55, 0.735],
             ["ft3r_L", 1.12, 0.55, 0.285,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankR"},],
             ["ft4r_L", 0.76, 0.55, 0.195],
             ["ft5r_L", 0.455, 0.55, 0.375,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankR"},],
             ["ft6r_L", 0.47, 0.55, 0.755],
             //middle circle nodes
             ["ft1m_L", 0.76, -0.18, 0.91],
             ["ft2m_L", 1.07, -0.18, 0.735,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankR"},],
             ["ft3m_L", 1.12, -0.18, 0.285],
             ["ft4m_L", 0.76, -0.18, 0.195,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankR"},],
             ["ft5m_L", 0.455, -0.18, 0.375],
             ["ft6m_L", 0.47, -0.18, 0.755,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankR"},],
             //front circle nodes
             ["ft1f_L", 0.76, -0.89, 0.91,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankR"},],
             ["ft2f_L", 1.07, -0.89, 0.735],
             ["ft3f_L", 1.12, -0.89, 0.285,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankR"},],
             ["ft4f_L", 0.76, -0.89, 0.195],
             ["ft5f_L", 0.455, -0.89, 0.375,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankR"},],
             ["ft6f_L", 0.47, -0.89, 0.755],
    
             //detachable fuel nodes
             {"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankR"}
             {"selfCollision":false}
             {"group":""},
             ["ftn1_L", 0.77, -0.6, 0.6],
             ["ftn2_L", 0.77, -0.2, 0.6],
             ["ftn3_L", 0.77, 0.2, 0.6],
             {"chemEnergy":false,"burnRate":false,"flashPoint":false, "specHeat": false,"selfIgnitionCoef":false,"smokePoint":false,"baseTemp":false,"conductionRadius":false}
        ],
        "beams": [
              ["id1:", "id2:"],
              //--FUEL TANK--
              {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
              {"beamSpring":2400800,"beamDamp":160},
              {"beamDeform":100000,"beamStrength":"FLT_MAX"},
              //main shape
              //circles
              ["ft1r_L","ft2r_L"],
              ["ft2r_L","ft3r_L"],
              ["ft3r_L","ft4r_L"],
              ["ft4r_L","ft5r_L"],
              ["ft5r_L","ft6r_L"],
              ["ft6r_L","ft1r_L"],
    
              ["ft1m_L","ft2m_L"],
              ["ft2m_L","ft3m_L"],
              ["ft3m_L","ft4m_L"],
              ["ft4m_L","ft5m_L"],
              ["ft5m_L","ft6m_L"],
              ["ft6m_L","ft1m_L"],
    
              ["ft1f_L","ft2f_L"],
              ["ft2f_L","ft3f_L"],
              ["ft3f_L","ft4f_L"],
              ["ft4f_L","ft5f_L"],
              ["ft5f_L","ft6f_L"],
              ["ft6f_L","ft1f_L"],
    
              //lengthwise main shape
              ["ft1f_L","ft1m_L"],
              ["ft2f_L","ft2m_L"],
              ["ft3f_L","ft3m_L"],
              ["ft4f_L","ft4m_L"],
              ["ft5f_L","ft5m_L"],
              ["ft6f_L","ft6m_L"],
    
              ["ft1r_L","ft1m_L"],
              ["ft2r_L","ft2m_L"],
              ["ft3r_L","ft3m_L"],
              ["ft4r_L","ft4m_L"],
              ["ft5r_L","ft5m_L"],
              ["ft6r_L","ft6m_L"],
    
              {"beamDeform":20000,"beamStrength":"FLT_MAX"},
              //front and rear cap faces
              ["ft1f_L","ftfm_L"],
              ["ft2f_L","ftfm_L"],
              ["ft3f_L","ftfm_L"],
              ["ft4f_L","ftfm_L"],
              ["ft5f_L","ftfm_L"],
              ["ft6f_L","ftfm_L"],
    
              ["ft1r_L","ftrm_L"],
              ["ft2r_L","ftrm_L"],
              ["ft3r_L","ftrm_L"],
              ["ft4r_L","ftrm_L"],
              ["ft5r_L","ftrm_L"],
              ["ft6r_L","ftrm_L"],
    
              //surficial crossing
              ["ft1r_L","ft2m_L"],
              ["ft2r_L","ft1m_L"],
              ["ft2r_L","ft3m_L"],
              ["ft3r_L","ft2m_L"],
              ["ft3r_L","ft4m_L"],
              ["ft4r_L","ft3m_L"],
              ["ft4r_L","ft5m_L"],
              ["ft5r_L","ft4m_L"],
              ["ft5r_L","ft6m_L"],
              ["ft6r_L","ft5m_L"],
              ["ft6r_L","ft1m_L"],
              ["ft1r_L","ft6m_L"],
    
              //rigidify
              ["ft1m_L","ftfm_L"],
              ["ft2m_L","ftfm_L"],
              ["ft3m_L","ftfm_L"],
              ["ft4m_L","ftfm_L"],
              ["ft5m_L","ftfm_L"],
              ["ft6m_L","ftfm_L"],
    
              ["ft1m_L","ftrm_L"],
              ["ft2m_L","ftrm_L"],
              ["ft3m_L","ftrm_L"],
              ["ft4m_L","ftrm_L"],
              ["ft5m_L","ftrm_L"],
              ["ft6m_L","ftrm_L"],
    
              //corner rigids
              ["ft1r_L","ft3r_L"],
              ["ft2r_L","ft4r_L"],
              ["ft3r_L","ft5r_L"],
              ["ft4r_L","ft6r_L"],
              ["ft5r_L","ft1r_L"],
    
              ["ft1f_L","ft3f_L"],
              ["ft2f_L","ft4f_L"],
              ["ft3f_L","ft5f_L"],
              ["ft4f_L","ft6f_L"],
              ["ft5f_L","ft1f_L"],
    
              {"beamDeform":10000},
              ["ft1m_L","ft3m_L"],
              ["ft2m_L","ft4m_L"],
              ["ft3m_L","ft5m_L"],
              ["ft4m_L","ft6m_L"],
              ["ft5m_L","ft1m_L"],
    
              {"beamDeform":20000,"beamStrength":"FLT_MAX"},
              //lengthwise
              ["ft1f_L","ft1r_L"],
              ["ft2f_L","ft2r_L"],
              ["ft3f_L","ft3r_L"],
              ["ft4f_L","ft4r_L"],
              ["ft5f_L","ft5r_L"],
              ["ft6f_L","ft6r_L"],
    
              //floating fuel nodes
              {"beamSpring":200800,"beamDamp":160},
              {"beamDeform":25000,"beamStrength":"FLT_MAX"},
              {"breakGroup":"fueltank_a_L"},
              ["ftn1_L","ft1f_L"],
              ["ftn1_L","ft3f_L"],
              ["ftn1_L","ft5f_L"],
    
              ["ftn2_L","ft1m_L"],
              ["ftn2_L","ft3m_L"],
              ["ftn2_L","ft5m_L"],
    
              ["ftn3_L","ft1r_L"],
              ["ftn3_L","ft3r_L"],
              ["ftn3_L","ft5r_L"],
    
              //attach
              {"beamSpring":2400800,"beamDamp":160},
              {"beamDeform":25000,"beamStrength":105000},
              {"breakGroup":"fueltank_a_L"},
              ["ft1r_L","f7l",{"containerBeam":"fuelTankR"}],
              ["ft2r_L","f7l"],
              ["ft1m_L","f7l"],
              ["ft6r_L","f7l"],
              ["ft6m_L","f7l"],
              ["ft1r_L","f17l"],
              ["ft1m_L","f17l"],
              ["ft6r_L","f17l"],
              ["ft6m_L","f17l"],
    
              ["ft5r_L","f7l"],
              ["ft5m_L","f7l"],
              ["ft5r_L","f17l"],
              ["ft5m_L","f17l"],
    
              {"breakGroup":"fueltank_b_L"},
              ["ft1f_L","f6l"],
              ["ft1m_L","f6l"],
              ["ft6f_L","f6l"],
              ["ft6m_L","f6l"],
              ["ft1f_L","f16l"],
              ["ft1m_L","f16l"],
              ["ft6f_L","f16l"],
              ["ft6m_L","f16l"],
    
              ["ft5f_L","f6l"],
              ["ft5m_L","f6l"],
              ["ft5f_L","f16l"],
              ["ft5m_L","f16l"],
              {"breakGroup":""},
              {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
        ],
        "triangles": [
                ["id1:","id2:","id3:"],
                {"dragCoef":5},
                {"groundModel":"metal"},
                {"group":"semi_fueltank_L"},
                ["ft2r_L","ft1r_L","ft2m_L"],
                ["ft1r_L","ft1m_L","ft2m_L"],
                ["ft2m_L","ft1m_L","ft2f_L"],
                ["ft1m_L","ft1f_L","ft2f_L"],
    
                ["ft3r_L","ft2r_L","ft3m_L"],
                ["ft2r_L","ft2m_L","ft3m_L"],
                ["ft3m_L","ft2m_L","ft3f_L"],
                ["ft2m_L","ft2f_L","ft3f_L"],
    
                ["ft4r_L","ft3r_L","ft4m_L"],
                ["ft3r_L","ft3m_L","ft4m_L"],
                ["ft4m_L","ft3m_L","ft4f_L"],
                ["ft3m_L","ft3f_L","ft4f_L"],
    
                ["ft5r_L","ft4r_L","ft5m_L"],
                ["ft4r_L","ft4m_L","ft5m_L"],
                ["ft5m_L","ft4m_L","ft5f_L"],
                ["ft4m_L","ft4f_L","ft5f_L"],
    
                ["ft6r_L","ft5r_L","ft6m_L"],
                ["ft5r_L","ft5m_L","ft6m_L"],
                ["ft6m_L","ft5m_L","ft6f_L"],
                ["ft5m_L","ft5f_L","ft6f_L"],
    
                ["ft1r_L","ft6r_L","ft1m_L"],
                ["ft6r_L","ft6m_L","ft1m_L"],
                ["ft1m_L","ft6m_L","ft1f_L"],
                ["ft6m_L","ft6f_L","ft1f_L"],
    
                //front face
                ["ft2f_L","ft1f_L","ftfm_L"],
                ["ft3f_L","ft2f_L","ftfm_L"],
                ["ft4f_L","ft3f_L","ftfm_L"],
                ["ft5f_L","ft4f_L","ftfm_L"],
                ["ft6f_L","ft5f_L","ftfm_L"],
                ["ft1f_L","ft6f_L","ftfm_L"],
    
                //rear face
                ["ft1r_L","ft2r_L","ftrm_L"],
                ["ft2r_L","ft3r_L","ftrm_L"],
                ["ft3r_L","ft4r_L","ftrm_L"],
                ["ft4r_L","ft5r_L","ftrm_L"],
                ["ft5r_L","ft6r_L","ftrm_L"],
                ["ft6r_L","ft1r_L","ftrm_L"],
                {"group":""},
        ],
    }
     
  5. AdamB

    AdamB
    Expand Collapse

    Joined:
    Mar 8, 2016
    Messages:
    531
    You also need a battery! It uses electrical energy. The battery should be under sunburst_body. ;)
     
    • Like Like x 1
  6. AM-DB9

    AM-DB9
    Expand Collapse

    Joined:
    Mar 24, 2014
    Messages:
    106
    Yes, I used the tanks as 2 LiPo batteries and set them as electricEnergy, but the engine refuses to start. Even pulling the truck by hand holding the throttle does nothing:

    Code:
    "semi_battery_R": {
        "information":{
            "authors":"BeamNG",
            "name":"Right LiPo Battery",
            "value":20000,
        }
        "slotType" : "semi_fueltank_R",
        "energyStorage": [
            ["type", "name"],
            ["electricBattery", "mainBattery"],
        ],
        "mainBattery": {
            "energyType":"electricEnergy",
            "fuelCapacity": 450,
        }
        "flexbodies": [
             ["mesh", "[group]:", "nonFlexMaterials"],
             ["semi_fueltank_R", ["semi_fueltank_R"]],
         ],
        "nodes": [
             ["id", "posX", "posY", "posZ"],
             {"selfCollision":true}
             {"collision":true}
             //--FUEL TANK--
             {"frictionCoef":0.5},
             {"nodeMaterial":"|NM_METAL"},
             {"group":"semi_fueltank_R"},
             //middle nodes
             {"nodeWeight":2.96},
             //add weight to these 2 nodes to represent fuel
             ["ftfm_R", -0.76, -0.89, 0.555],
             ["ftrm_R", -0.76, 0.55, 0.555],
             {"nodeWeight":2.96},
             //rear circle nodes
             ["ft1r_R", -0.76, 0.55, 0.91,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankL"},],
             ["ft2r_R", -1.07, 0.55, 0.735],
             ["ft3r_R", -1.12, 0.55, 0.285,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankL"},],
             ["ft4r_R", -0.76, 0.55, 0.195],
             ["ft5r_R", -0.455, 0.55, 0.375,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankL"},],
             ["ft6r_R", -0.47, 0.55, 0.755],
             //middle circle nodes
             ["ft1m_R", -0.76, -0.18, 0.91],
             ["ft2m_R", -1.07, -0.18, 0.735,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankL"},],
             ["ft3m_R", -1.12, -0.18, 0.285],
             ["ft4m_R", -0.76, -0.18, 0.195,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankL"},],
             ["ft5m_R", -0.455, -0.18, 0.375],
             ["ft6m_R", -0.47, -0.18, 0.755,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankL"},],
             //front circle nodes
             ["ft1f_R", -0.76, -0.89, 0.91,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankL"},],
             ["ft2f_R", -1.07, -0.89, 0.735],
             ["ft3f_R", -1.12, -0.89, 0.285,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankL"},],
             ["ft4f_R", -0.76, -0.89, 0.195],
             ["ft5f_R", -0.455, -0.89, 0.375,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankL"},],
             ["ft6f_R", -0.47, -0.89, 0.755],
    
             //detachable fuel nodes
             {"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankL"}
             {"selfCollision":false}
             {"group":""},
             ["ftn1_R", -0.77, -0.6, 0.6],
             ["ftn2_R", -0.77, -0.2, 0.6],
             ["ftn3_R", -0.77, 0.2, 0.6],
             {"chemEnergy":false,"burnRate":false,"flashPoint":false, "specHeat": false,"selfIgnitionCoef":false,"smokePoint":false,"baseTemp":false,"conductionRadius":false}
        ],
        "beams": [
              ["id1:", "id2:"],
              //--FUEL TANK--
              {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
              {"beamSpring":2400800,"beamDamp":160},
              {"beamDeform":100000,"beamStrength":"FLT_MAX"},
              //main shape
              //circles
              ["ft1r_R","ft2r_R"],
              ["ft2r_R","ft3r_R"],
              ["ft3r_R","ft4r_R"],
              ["ft4r_R","ft5r_R"],
              ["ft5r_R","ft6r_R"],
              ["ft6r_R","ft1r_R"],
    
              ["ft1m_R","ft2m_R"],
              ["ft2m_R","ft3m_R"],
              ["ft3m_R","ft4m_R"],
              ["ft4m_R","ft5m_R"],
              ["ft5m_R","ft6m_R"],
              ["ft6m_R","ft1m_R"],
    
              ["ft1f_R","ft2f_R"],
              ["ft2f_R","ft3f_R"],
              ["ft3f_R","ft4f_R"],
              ["ft4f_R","ft5f_R"],
              ["ft5f_R","ft6f_R"],
              ["ft6f_R","ft1f_R"],
    
              //lengthwise main shape
              ["ft1f_R","ft1m_R"],
              ["ft2f_R","ft2m_R"],
              ["ft3f_R","ft3m_R"],
              ["ft4f_R","ft4m_R"],
              ["ft5f_R","ft5m_R"],
              ["ft6f_R","ft6m_R"],
    
              ["ft1r_R","ft1m_R"],
              ["ft2r_R","ft2m_R"],
              ["ft3r_R","ft3m_R"],
              ["ft4r_R","ft4m_R"],
              ["ft5r_R","ft5m_R"],
              ["ft6r_R","ft6m_R"],
    
              {"beamDeform":20000,"beamStrength":"FLT_MAX"},
              //front and rear cap faces
              ["ft1f_R","ftfm_R"],
              ["ft2f_R","ftfm_R"],
              ["ft3f_R","ftfm_R"],
              ["ft4f_R","ftfm_R"],
              ["ft5f_R","ftfm_R"],
              ["ft6f_R","ftfm_R"],
    
              ["ft1r_R","ftrm_R"],
              ["ft2r_R","ftrm_R"],
              ["ft3r_R","ftrm_R"],
              ["ft4r_R","ftrm_R"],
              ["ft5r_R","ftrm_R"],
              ["ft6r_R","ftrm_R"],
    
              //surficial crossing
              ["ft1r_R","ft2m_R"],
              ["ft2r_R","ft1m_R"],
              ["ft2r_R","ft3m_R"],
              ["ft3r_R","ft2m_R"],
              ["ft3r_R","ft4m_R"],
              ["ft4r_R","ft3m_R"],
              ["ft4r_R","ft5m_R"],
              ["ft5r_R","ft4m_R"],
              ["ft5r_R","ft6m_R"],
              ["ft6r_R","ft5m_R"],
              ["ft6r_R","ft1m_R"],
              ["ft1r_R","ft6m_R"],
    
              //rigidify
              ["ft1m_R","ftfm_R"],
              ["ft2m_R","ftfm_R"],
              ["ft3m_R","ftfm_R"],
              ["ft4m_R","ftfm_R"],
              ["ft5m_R","ftfm_R"],
              ["ft6m_R","ftfm_R"],
    
              ["ft1m_R","ftrm_R"],
              ["ft2m_R","ftrm_R"],
              ["ft3m_R","ftrm_R"],
              ["ft4m_R","ftrm_R"],
              ["ft5m_R","ftrm_R"],
              ["ft6m_R","ftrm_R"],
    
              //corner rigids
              ["ft1r_R","ft3r_R"],
              ["ft2r_R","ft4r_R"],
              ["ft3r_R","ft5r_R"],
              ["ft4r_R","ft6r_R"],
              ["ft5r_R","ft1r_R"],
    
              ["ft1f_R","ft3f_R"],
              ["ft2f_R","ft4f_R"],
              ["ft3f_R","ft5f_R"],
              ["ft4f_R","ft6f_R"],
              ["ft5f_R","ft1f_R"],
    
              {"beamDeform":10000},
              ["ft1m_R","ft3m_R"],
              ["ft2m_R","ft4m_R"],
              ["ft3m_R","ft5m_R"],
              ["ft4m_R","ft6m_R"],
              ["ft5m_R","ft1m_R"],
    
              {"beamDeform":20000,"beamStrength":"FLT_MAX"},
              //lengthwise
              ["ft1f_R","ft1r_R"],
              ["ft2f_R","ft2r_R"],
              ["ft3f_R","ft3r_R"],
              ["ft4f_R","ft4r_R"],
              ["ft5f_R","ft5r_R"],
              ["ft6f_R","ft6r_R"],
              //floating fuel nodes
              {"beamSpring":200800,"beamDamp":160},
              {"beamDeform":25000,"beamStrength":"FLT_MAX"},
              {"breakGroup":"fueltank_a_R"},
              ["ftn1_R","ft1f_R"],
              ["ftn1_R","ft3f_R"],
              ["ftn1_R","ft5f_R"],
    
              ["ftn2_R","ft1m_R"],
              ["ftn2_R","ft3m_R"],
              ["ftn2_R","ft5m_R"],
    
              ["ftn3_R","ft1r_R"],
              ["ftn3_R","ft3r_R"],
              ["ftn3_R","ft5r_R"],
              //attach
              {"beamSpring":2400800,"beamDamp":160},
              {"beamDeform":25000,"beamStrength":125000},
              {"breakGroup":"fueltank_a_R"},
              ["ft1r_R","f7r",{"containerBeam":"fuelTankL"}],
              ["ft2r_R","f7r"],
              ["ft1m_R","f7r"],
              ["ft6r_R","f7r"],
              ["ft6m_R","f7r"],
              ["ft1r_R","f17r"],
              ["ft1m_R","f17r"],
              ["ft6r_R","f17r"],
              ["ft6m_R","f17r"],
    
              ["ft5r_R","f7r"],
              ["ft5m_R","f7r"],
              ["ft5r_R","f17r"],
              ["ft5m_R","f17r"],
    
              {"breakGroup":"fueltank_b_R"},
              ["ft1f_R","f6r"],
              ["ft1m_R","f6r"],
              ["ft6f_R","f6r"],
              ["ft6m_R","f6r"],
              ["ft1f_R","f16r"],
              ["ft1m_R","f16r"],
              ["ft6f_R","f16r"],
              ["ft6m_R","f16r"],
    
              ["ft5f_R","f6r"],
              ["ft5m_R","f6r"],
              ["ft5f_R","f16r"],
              ["ft5m_R","f16r"],
              {"breakGroup":""},
              {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
        ],
        "triangles": [
                ["id1:","id2:","id3:"],
                {"dragCoef":5},
                {"groundModel":"metal"},
                {"group":"semi_fueltank_R"},
                ["ft1r_R","ft2r_R","ft2m_R"],
                ["ft1r_R","ft2m_R","ft1m_R"],
                ["ft1m_R","ft2m_R","ft2f_R"],
                ["ft1m_R","ft2f_R","ft1f_R"],
    
                ["ft2r_R","ft3r_R","ft3m_R"],
                ["ft2r_R","ft3m_R","ft2m_R"],
                ["ft2m_R","ft3m_R","ft3f_R"],
                ["ft2m_R","ft3f_R","ft2f_R"],
    
                ["ft3r_R","ft4r_R","ft4m_R"],
                ["ft3r_R","ft4m_R","ft3m_R"],
                ["ft3m_R","ft4m_R","ft4f_R"],
                ["ft3m_R","ft4f_R","ft3f_R"],
    
                ["ft4r_R","ft5r_R","ft5m_R"],
                ["ft4r_R","ft5m_R","ft4m_R"],
                ["ft4m_R","ft5m_R","ft5f_R"],
                ["ft4m_R","ft5f_R","ft4f_R"],
    
                ["ft5r_R","ft6r_R","ft6m_R"],
                ["ft5r_R","ft6m_R","ft5m_R"],
                ["ft5m_R","ft6m_R","ft6f_R"],
                ["ft5m_R","ft6f_R","ft5f_R"],
    
                ["ft6r_R","ft1r_R","ft1m_R"],
                ["ft6r_R","ft1m_R","ft6m_R"],
                ["ft6m_R","ft1m_R","ft1f_R"],
                ["ft6m_R","ft1f_R","ft6f_R"],
    
                //front face
                ["ft1f_R","ft2f_R","ftfm_R"],
                ["ft2f_R","ft3f_R","ftfm_R"],
                ["ft3f_R","ft4f_R","ftfm_R"],
                ["ft4f_R","ft5f_R","ftfm_R"],
                ["ft5f_R","ft6f_R","ftfm_R"],
                ["ft6f_R","ft1f_R","ftfm_R"],
    
                //rear face
                ["ft2r_R","ft1r_R","ftrm_R"],
                ["ft3r_R","ft2r_R","ftrm_R"],
                ["ft4r_R","ft3r_R","ftrm_R"],
                ["ft5r_R","ft4r_R","ftrm_R"],
                ["ft6r_R","ft5r_R","ftrm_R"],
                ["ft1r_R","ft6r_R","ftrm_R"],
                {"group":""},
        ],
    }
    "semi_battery_L": {
        "information":{
            "authors":"BeamNG",
            "name":"Left LiPo Battery",
            "value":20000,
        }
        "slotType" : "semi_fueltank_L",
        "energyStorage": [
            ["type", "name"],
            ["electricBattery", "mainBattery"],
        ],
        "mainBattery": {
            "energyType":"electricEnergy",
            "fuelCapacity": 450,
        }
        "flexbodies": [
             ["mesh", "[group]:", "nonFlexMaterials"],
             ["semi_fueltank_L", ["semi_fueltank_L"]],
         ],
        "nodes": [
             ["id", "posX", "posY", "posZ"],
             {"selfCollision":true}
             {"collision":true}
             //--FUEL TANK--
             {"frictionCoef":0.5},
             {"nodeMaterial":"|NM_METAL"},
             {"group":"semi_fueltank_L"},
             //middle nodes
             {"nodeWeight":2.96},
             //add weight to these 2 nodes to represent fuel
             ["ftfm_L", 0.76, -0.89, 0.555],
             ["ftrm_L", 0.76, 0.55, 0.555],
             {"nodeWeight":2.96},
             //rear circle nodes
             ["ft1r_L", 0.76, 0.55, 0.91,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankR"},],
             ["ft2r_L", 1.07, 0.55, 0.735],
             ["ft3r_L", 1.12, 0.55, 0.285,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankR"},],
             ["ft4r_L", 0.76, 0.55, 0.195],
             ["ft5r_L", 0.455, 0.55, 0.375,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankR"},],
             ["ft6r_L", 0.47, 0.55, 0.755],
             //middle circle nodes
             ["ft1m_L", 0.76, -0.18, 0.91],
             ["ft2m_L", 1.07, -0.18, 0.735,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankR"},],
             ["ft3m_L", 1.12, -0.18, 0.285],
             ["ft4m_L", 0.76, -0.18, 0.195,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankR"},],
             ["ft5m_L", 0.455, -0.18, 0.375],
             ["ft6m_L", 0.47, -0.18, 0.755,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankR"},],
             //front circle nodes
             ["ft1f_L", 0.76, -0.89, 0.91,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankR"},],
             ["ft2f_L", 1.07, -0.89, 0.735],
             ["ft3f_L", 1.12, -0.89, 0.285,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankR"},],
             ["ft4f_L", 0.76, -0.89, 0.195],
             ["ft5f_L", 0.455, -0.89, 0.375,{"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankR"},],
             ["ft6f_L", 0.47, -0.89, 0.755],
    
             //detachable fuel nodes
             {"chemEnergy":50,"burnRate":1.2,"flashPoint":220,"vaporPoint":97,"specHeat":0.03,"selfIgnitionCoef":0.02,"smokePoint":220,"containerBeam":"fuelTankR"}
             {"selfCollision":false}
             {"group":""},
             ["ftn1_L", 0.77, -0.6, 0.6],
             ["ftn2_L", 0.77, -0.2, 0.6],
             ["ftn3_L", 0.77, 0.2, 0.6],
             {"chemEnergy":false,"burnRate":false,"flashPoint":false, "specHeat": false,"selfIgnitionCoef":false,"smokePoint":false,"baseTemp":false,"conductionRadius":false}
        ],
        "beams": [
              ["id1:", "id2:"],
              //--FUEL TANK--
              {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
              {"beamSpring":2400800,"beamDamp":160},
              {"beamDeform":100000,"beamStrength":"FLT_MAX"},
              //main shape
              //circles
              ["ft1r_L","ft2r_L"],
              ["ft2r_L","ft3r_L"],
              ["ft3r_L","ft4r_L"],
              ["ft4r_L","ft5r_L"],
              ["ft5r_L","ft6r_L"],
              ["ft6r_L","ft1r_L"],
    
              ["ft1m_L","ft2m_L"],
              ["ft2m_L","ft3m_L"],
              ["ft3m_L","ft4m_L"],
              ["ft4m_L","ft5m_L"],
              ["ft5m_L","ft6m_L"],
              ["ft6m_L","ft1m_L"],
    
              ["ft1f_L","ft2f_L"],
              ["ft2f_L","ft3f_L"],
              ["ft3f_L","ft4f_L"],
              ["ft4f_L","ft5f_L"],
              ["ft5f_L","ft6f_L"],
              ["ft6f_L","ft1f_L"],
    
              //lengthwise main shape
              ["ft1f_L","ft1m_L"],
              ["ft2f_L","ft2m_L"],
              ["ft3f_L","ft3m_L"],
              ["ft4f_L","ft4m_L"],
              ["ft5f_L","ft5m_L"],
              ["ft6f_L","ft6m_L"],
    
              ["ft1r_L","ft1m_L"],
              ["ft2r_L","ft2m_L"],
              ["ft3r_L","ft3m_L"],
              ["ft4r_L","ft4m_L"],
              ["ft5r_L","ft5m_L"],
              ["ft6r_L","ft6m_L"],
    
              {"beamDeform":20000,"beamStrength":"FLT_MAX"},
              //front and rear cap faces
              ["ft1f_L","ftfm_L"],
              ["ft2f_L","ftfm_L"],
              ["ft3f_L","ftfm_L"],
              ["ft4f_L","ftfm_L"],
              ["ft5f_L","ftfm_L"],
              ["ft6f_L","ftfm_L"],
    
              ["ft1r_L","ftrm_L"],
              ["ft2r_L","ftrm_L"],
              ["ft3r_L","ftrm_L"],
              ["ft4r_L","ftrm_L"],
              ["ft5r_L","ftrm_L"],
              ["ft6r_L","ftrm_L"],
    
              //surficial crossing
              ["ft1r_L","ft2m_L"],
              ["ft2r_L","ft1m_L"],
              ["ft2r_L","ft3m_L"],
              ["ft3r_L","ft2m_L"],
              ["ft3r_L","ft4m_L"],
              ["ft4r_L","ft3m_L"],
              ["ft4r_L","ft5m_L"],
              ["ft5r_L","ft4m_L"],
              ["ft5r_L","ft6m_L"],
              ["ft6r_L","ft5m_L"],
              ["ft6r_L","ft1m_L"],
              ["ft1r_L","ft6m_L"],
    
              //rigidify
              ["ft1m_L","ftfm_L"],
              ["ft2m_L","ftfm_L"],
              ["ft3m_L","ftfm_L"],
              ["ft4m_L","ftfm_L"],
              ["ft5m_L","ftfm_L"],
              ["ft6m_L","ftfm_L"],
    
              ["ft1m_L","ftrm_L"],
              ["ft2m_L","ftrm_L"],
              ["ft3m_L","ftrm_L"],
              ["ft4m_L","ftrm_L"],
              ["ft5m_L","ftrm_L"],
              ["ft6m_L","ftrm_L"],
    
              //corner rigids
              ["ft1r_L","ft3r_L"],
              ["ft2r_L","ft4r_L"],
              ["ft3r_L","ft5r_L"],
              ["ft4r_L","ft6r_L"],
              ["ft5r_L","ft1r_L"],
    
              ["ft1f_L","ft3f_L"],
              ["ft2f_L","ft4f_L"],
              ["ft3f_L","ft5f_L"],
              ["ft4f_L","ft6f_L"],
              ["ft5f_L","ft1f_L"],
    
              {"beamDeform":10000},
              ["ft1m_L","ft3m_L"],
              ["ft2m_L","ft4m_L"],
              ["ft3m_L","ft5m_L"],
              ["ft4m_L","ft6m_L"],
              ["ft5m_L","ft1m_L"],
    
              {"beamDeform":20000,"beamStrength":"FLT_MAX"},
              //lengthwise
              ["ft1f_L","ft1r_L"],
              ["ft2f_L","ft2r_L"],
              ["ft3f_L","ft3r_L"],
              ["ft4f_L","ft4r_L"],
              ["ft5f_L","ft5r_L"],
              ["ft6f_L","ft6r_L"],
    
              //floating fuel nodes
              {"beamSpring":200800,"beamDamp":160},
              {"beamDeform":25000,"beamStrength":"FLT_MAX"},
              {"breakGroup":"fueltank_a_L"},
              ["ftn1_L","ft1f_L"],
              ["ftn1_L","ft3f_L"],
              ["ftn1_L","ft5f_L"],
    
              ["ftn2_L","ft1m_L"],
              ["ftn2_L","ft3m_L"],
              ["ftn2_L","ft5m_L"],
    
              ["ftn3_L","ft1r_L"],
              ["ftn3_L","ft3r_L"],
              ["ftn3_L","ft5r_L"],
    
              //attach
              {"beamSpring":2400800,"beamDamp":160},
              {"beamDeform":25000,"beamStrength":105000},
              {"breakGroup":"fueltank_a_L"},
              ["ft1r_L","f7l",{"containerBeam":"fuelTankR"}],
              ["ft2r_L","f7l"],
              ["ft1m_L","f7l"],
              ["ft6r_L","f7l"],
              ["ft6m_L","f7l"],
              ["ft1r_L","f17l"],
              ["ft1m_L","f17l"],
              ["ft6r_L","f17l"],
              ["ft6m_L","f17l"],
    
              ["ft5r_L","f7l"],
              ["ft5m_L","f7l"],
              ["ft5r_L","f17l"],
              ["ft5m_L","f17l"],
    
              {"breakGroup":"fueltank_b_L"},
              ["ft1f_L","f6l"],
              ["ft1m_L","f6l"],
              ["ft6f_L","f6l"],
              ["ft6m_L","f6l"],
              ["ft1f_L","f16l"],
              ["ft1m_L","f16l"],
              ["ft6f_L","f16l"],
              ["ft6m_L","f16l"],
    
              ["ft5f_L","f6l"],
              ["ft5m_L","f6l"],
              ["ft5f_L","f16l"],
              ["ft5m_L","f16l"],
              {"breakGroup":""},
              {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
        ],
        "triangles": [
                ["id1:","id2:","id3:"],
                {"dragCoef":5},
                {"groundModel":"metal"},
                {"group":"semi_fueltank_L"},
                ["ft2r_L","ft1r_L","ft2m_L"],
                ["ft1r_L","ft1m_L","ft2m_L"],
                ["ft2m_L","ft1m_L","ft2f_L"],
                ["ft1m_L","ft1f_L","ft2f_L"],
    
                ["ft3r_L","ft2r_L","ft3m_L"],
                ["ft2r_L","ft2m_L","ft3m_L"],
                ["ft3m_L","ft2m_L","ft3f_L"],
                ["ft2m_L","ft2f_L","ft3f_L"],
    
                ["ft4r_L","ft3r_L","ft4m_L"],
                ["ft3r_L","ft3m_L","ft4m_L"],
                ["ft4m_L","ft3m_L","ft4f_L"],
                ["ft3m_L","ft3f_L","ft4f_L"],
    
                ["ft5r_L","ft4r_L","ft5m_L"],
                ["ft4r_L","ft4m_L","ft5m_L"],
                ["ft5m_L","ft4m_L","ft5f_L"],
                ["ft4m_L","ft4f_L","ft5f_L"],
    
                ["ft6r_L","ft5r_L","ft6m_L"],
                ["ft5r_L","ft5m_L","ft6m_L"],
                ["ft6m_L","ft5m_L","ft6f_L"],
                ["ft5m_L","ft5f_L","ft6f_L"],
    
                ["ft1r_L","ft6r_L","ft1m_L"],
                ["ft6r_L","ft6m_L","ft1m_L"],
                ["ft1m_L","ft6m_L","ft1f_L"],
                ["ft6m_L","ft6f_L","ft1f_L"],
    
                //front face
                ["ft2f_L","ft1f_L","ftfm_L"],
                ["ft3f_L","ft2f_L","ftfm_L"],
                ["ft4f_L","ft3f_L","ftfm_L"],
                ["ft5f_L","ft4f_L","ftfm_L"],
                ["ft6f_L","ft5f_L","ftfm_L"],
                ["ft1f_L","ft6f_L","ftfm_L"],
    
                //rear face
                ["ft1r_L","ft2r_L","ftrm_L"],
                ["ft2r_L","ft3r_L","ftrm_L"],
                ["ft3r_L","ft4r_L","ftrm_L"],
                ["ft4r_L","ft5r_L","ftrm_L"],
                ["ft5r_L","ft6r_L","ftrm_L"],
                ["ft6r_L","ft1r_L","ftrm_L"],
                {"group":""},
        ],
    }
     
  7. AdamB

    AdamB
    Expand Collapse

    Joined:
    Mar 8, 2016
    Messages:
    531
    Could you please send me the mod so I could take a look at it?
     
  8. AM-DB9

    AM-DB9
    Expand Collapse

    Joined:
    Mar 24, 2014
    Messages:
    106
    Sent. Let's see what the wizard comes up with...
     
    • Like Like x 1
  9. AdamB

    AdamB
    Expand Collapse

    Joined:
    Mar 8, 2016
    Messages:
    531
    I couldn't figure out what was wrong, so I re-wrote it and changed some values. Now it works! Enjoy! I also put it in a separate file to reduce code clutter. :D
     

    Attached Files:

  10. AM-DB9

    AM-DB9
    Expand Collapse

    Joined:
    Mar 24, 2014
    Messages:
    106
    Thanks @AdamB!

    I tinkered some more and I came out with something new...

    ADDENDUM (to 1st post)

    This version builds on the electric foundation kindly provided by AdamB and adds the following:

    - Much needed power to the AdamB electric engine (named Stock Electric Engine)
    - An All In One wheelhub drivetrain loosely based on the latest experiments by Mercedes-Benz on full electric trucks
    - A front wheel drive module in the front spindles and front rear transfer case
    - 2 new presets (AWD and Wheelhub engine)

    DETAILS

    Stock Electric Engine
    The SEE now comes with a torque curve resembling the tractive effort of locomotives. Basically at low rpm it's limited by how much current is available (flat curve) and as speed increases available power is converted to momentum (slope).

    AIO drivetrain
    The AIO drivetrain is conceived as a modular unit. It is coded to use the main engine mesh as a battery (BTW large batteries have radiators). To use it, please load the included preset or remove the normal engine. Youl'll find one motor under every axle spindles.
    NOTICE: the front rear spindle AIO unit uses the standard driveshaft to get the wheels in motion, so you can use it with any standard differential/transfer case arrangement. The front and rear rear spindle motors include separate engines and a complete cinematic chain. That's the modular idea: want more power, add a powered axle. ATM the front and rear rear motors don't want to run, nor did I understand how to put multiple engines under the same throttle. If someone can fix this, that would be great.

    AWD drivetrain
    With up to 5 lockable differentials, this is one of the most advanced transmissions available for specialized duty trucks. This system is compatible with any combination of engine and transmission, from the standard Gavril engine with 12 speed manual to the SEE and the AIO. If you own a Stubby D-Series, you can now get a nice offroad vehicle out of it.
    If you want a FWD semi for special applications such as very low rear frame models, please load the AWD preset, remove the rear differentials and lock the main central diff through the drivetrain app.

    HAPPY ROLLIN'!
     

    Attached Files:

  11. AdamB

    AdamB
    Expand Collapse

    Joined:
    Mar 8, 2016
    Messages:
    531
    This is really awesome! :)
    Now all it needs is some custom gauges and a custom sound! ;)
    You might want to talk to @TheRustyRagdoll about a sound, because he knows how to set a custom sound to each engine.
     
  12. RustyRenesis

    RustyRenesis
    Expand Collapse

    Joined:
    Jul 20, 2015
    Messages:
    348
    So i've been summoned onto here.
    What services can i provide?
     
    • Like Like x 1
  13. AdamB

    AdamB
    Expand Collapse

    Joined:
    Mar 8, 2016
    Messages:
    531
    Remember when you made the custom sound for my Diesel 200BX?
    Could you make a custom sound for the electric motor I gave to @AM-DB9 ?
     
  14. H/\Z/\RDOUS

    H/\Z/\RDOUS
    Expand Collapse

    Joined:
    Apr 18, 2016
    Messages:
    307
    do u have any pics?
     
  15. AdamB

    AdamB
    Expand Collapse

    Joined:
    Mar 8, 2016
    Messages:
    531
    There's not any real physical changes.
    Maybe we will see some soon! :rolleyes:
     
  16. H/\Z/\RDOUS

    H/\Z/\RDOUS
    Expand Collapse

    Joined:
    Apr 18, 2016
    Messages:
    307
    oh
     
  17. RustyRenesis

    RustyRenesis
    Expand Collapse

    Joined:
    Jul 20, 2015
    Messages:
    348
    I can try, how much power does the engine have? Is it a truck engine, a car, bike, etc..?
     
  18. AM-DB9

    AM-DB9
    Expand Collapse

    Joined:
    Mar 24, 2014
    Messages:
    106
    The engine is an electric truck engine, 6000 Nm, 1600 HP give or take.
    Actually there's now the AIO version too, which is a 1000 Nm, 500 HP unit.

    Thank you TheRustyRagdoll for helping, and to AdamB for the assistance :)
     
    • Like Like x 1
  19. RustyRenesis

    RustyRenesis
    Expand Collapse

    Joined:
    Jul 20, 2015
    Messages:
    348
    Alright.
    No problem!! Always happy to help!!
    --- Post updated ---
    By the way, would like something along these lines?
    Because i have a sound almost exactly like this.
     
    #19 RustyRenesis, Jan 8, 2017
    Last edited: Jan 8, 2017
    • Like Like x 1
  20. AM-DB9

    AM-DB9
    Expand Collapse

    Joined:
    Mar 24, 2014
    Messages:
    106
    Seems quite a fitting sound :)
    Maybe a little less high frequencies and some more "woosh" would fit the T-series better, but that's just my feeling.
     
  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