{
"CDC_BagTrailer_axle_F": {
    "information":{
        "authors":"BeamNG",
        "name":"Airbag Front Suspension",
        "value":300,
    }
    "slotType" : "CDC_BagTrailer_suspension_F",
    "slots": [
        ["type", "default", "description"]
        ["CDC_BagTrailer_brake","CDC_BagTrailer_brake","Brakes"],
        ["CDC_BagTrailer_fender_F","CDC_BagTrailer_fender_F","Front Fender"],
        ["wheel_F_4","steelwheel_01a_14x5.5_F_trailer", "Wheels", {"nodeOffset":{"x":"$trackwidth", "y":5.24, "z":0.7156}}],
        ["CDC_BagTrailer_wheeldata","CDC_BagTrailer_wheeldata","Spindles"{"coreSlot":true}],
         ["CDC_BagTrailer_sway","CDC_BagTrailer_sway","Anti Sway Bars"],
    ],
     "variables": [
        ["name", "type", "unit", "category", "default", "min", "max", "title", "description"]
         ["$airbag_F_pressure", "range", "psi", "Suspension", 62, 0, 120, "Airbag Starting Pressure", "Starting Pressure of the Airbag", {"stepDis":0.5, "subCategory":"Front"}]
 		["$trackwidth", "range", "m", "Wheel Alignment", 0.65, 0.62, 0.665, "Wheel Offset", "Spacing of the wheel RRom the hub"{"stepDis":0.005}]
    ],
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         //axle
         ["CDC_BagTrailer_mount_F", ["CDC_BagTrailer","suspmount_F"], [], {"pos":{"x":0.0, "y":0.0, "z":0.0}}],
         ["CDC_BagTrailer_suspension_FR", ["suspmount_F", "CDC_BagTrailer_hub_FR"], [], {"pos":{"x":0.0, "y":0.0, "z":0.0}}],
         ["CDC_BagTrailer_airbag_FR", ["bagmount_F", "CDC_BagTrailer_bag_FR"], [], {"pos":{"x":0.0, "y":0.0, "z":0.0}}],
         ["CDC_BagTrailer_suspension_FL", ["suspmount_F", "CDC_BagTrailer_hub_FL"], [], {"pos":{"x":0.0, "y":0.0, "z":0.0}}],
         ["CDC_BagTrailer_airbag_FL", ["bagmount_F", "CDC_BagTrailer_bag_FL"], [], {"pos":{"x":0.0, "y":0.0, "z":0.0}}],
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //--REAR DEAD AXLE SUSPENSION--
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         {"nodeWeight":5},
         {"selfCollision":true}
         {"collision":true}
         {"group":"CDC_BagTrailer_hub_FR"},

         ["bgtax_F_2r", -1.15000, 5.41000, 0.69000],
         ["bgtax_F_3r", -1.15000, 5.26100, 0.81000],
         ["bgtax_F_4r", -1.15000, 5.13000, 0.69000],
         ["bgtax_F_5r", -1.15000, 5.26100, 0.59000],
		 

         ["CDC_BagTrailerrigF1r", -0.90000, 5.22700, 0.69000 {"selfCollision":false, "collision":false}],
		{"group":["CDC_BagTrailer_bag_FR","CDC_BagTrailer_hub_FR"]}
         ["CDC_BagTrailerbagF1r", -1.12000, 4.80000, 0.76000],
  
         {"group":"CDC_BagTrailer_hub_FL"},

		 ["bgtax_F_2l", 1.15000, 5.41000, 0.69000],
         ["bgtax_F_3l", 1.15000, 5.26100, 0.81000],
         ["bgtax_F_4l", 1.15000, 5.13000, 0.69000],
         ["bgtax_F_5l", 1.15000, 5.26100, 0.59000],

	 
         ["CDC_BagTrailerrigF1l", 0.90000, 5.22700, 0.69000 {"selfCollision":false, "collision":false}],
		{"group":["CDC_BagTrailer_bag_FL","CDC_BagTrailer_hub_FL"]}	
         ["CDC_BagTrailerbagF1l", 1.12000, 4.80000, 0.76000],
		{"nodeWeight":6.5},
         //suspension mount nodes
         {"group":["CDC_BagTrailer","suspmount_F", "CDC_BagTrailer_bag_FR"]},
         ["CDC_BagTrailermount1r", -0.70000, 4.76000, 0.55300],
         ["CDC_BagTrailermount1rr", -1.20000, 4.76000, 0.55300],
         ["CDC_BagTrailermount2r", -1.12000, 4.70000, 0.80000{"group":["CDC_BagTrailer","CDC_BagTrailer_bag_FR"]}],
         {"group":["CDC_BagTrailer","suspmount_F", "CDC_BagTrailer_bag_FL"]},
         ["CDC_BagTrailermount1l", 0.70000, 4.76000, 0.55300],
         ["CDC_BagTrailermount1ll", 1.20000, 4.76000, 0.55300],
         ["CDC_BagTrailermount2l", 1.12000, 4.70000, 0.80000{"group":["CDC_BagTrailer","CDC_BagTrailer_bag_FL"]}],


         {"group":""},
    ],

    "airbagBeamData": [
            ["beamName", "groupName"]
            ["airbag_FL", "frontAxle"],
            ["airbag_FR", "frontAxle"],
    ],
    "beams": [
          ["id1:", "id2:"],
          {"beamPrecompression":1.0, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
          //--REAR INDEPENDENT SUSPENSION--
          {"beamSpring": 4501000,"beamDamp":175},
          {"beamDeform":95000,"beamStrength":325000},
//hub shapes


            ["bgtax_F_3r", "bgtax_F_2r"],
            ["bgtax_F_2r", "bgtax_F_5r"],
            ["bgtax_F_5r", "bgtax_F_4r"],
            ["bgtax_F_4r", "bgtax_F_3r"],
            ["bgtax_F_3r", "bgtax_F_5r"],
            ["bgtax_F_2r", "bgtax_F_4r"],
            ["CDC_BagTrailerrigF1r", "bgtax_F_3r"],
            ["CDC_BagTrailerrigF1r", "bgtax_F_2r"],
            ["CDC_BagTrailerrigF1r", "bgtax_F_5r"],
            ["CDC_BagTrailerrigF1r", "bgtax_F_4r"],
            ["CDC_BagTrailerrigF1r", "CDC_BagTrailerbagF1r"],


            ["bgtax_F_3r", "CDC_BagTrailerbagF1r"],
            ["CDC_BagTrailerbagF1r", "bgtax_F_5r"],
            ["bgtax_F_4r", "CDC_BagTrailerbagF1r"],
            ["bgtax_F_2r", "CDC_BagTrailerbagF1r"],

            ["bgtax_F_3l", "bgtax_F_2l"],
            ["bgtax_F_2l", "bgtax_F_5l"],
            ["bgtax_F_5l", "bgtax_F_4l"],
            ["bgtax_F_4l", "bgtax_F_3l"],
            ["bgtax_F_3l", "bgtax_F_5l"],
            ["bgtax_F_2l", "bgtax_F_4l"],
            ["CDC_BagTrailerrigF1l", "bgtax_F_3l"],
            ["CDC_BagTrailerrigF1l", "bgtax_F_2l"],
            ["CDC_BagTrailerrigF1l", "bgtax_F_5l"],
            ["CDC_BagTrailerrigF1l", "bgtax_F_4l"],
            ["CDC_BagTrailerrigF1l", "CDC_BagTrailerbagF1l"],

            ["bgtax_F_3l", "CDC_BagTrailerbagF1l"],
            ["CDC_BagTrailerbagF1l", "bgtax_F_5l"],
            ["bgtax_F_4l", "CDC_BagTrailerbagF1l"],
            ["bgtax_F_2l", "CDC_BagTrailerbagF1l"],

            ["CDC_BagTrailermount1ll", "CDC_BagTrailerbagF1l"],
            ["CDC_BagTrailerbagF1l", "CDC_BagTrailermount1l"],
            ["CDC_BagTrailermount1r", "CDC_BagTrailerbagF1r"],
            ["CDC_BagTrailerbagF1r", "CDC_BagTrailermount1rr"],
			
			
            ["CDC_BagTrailermount1rr", "CDC_BagTrailerrigF1r"],
            ["CDC_BagTrailermount1r", "CDC_BagTrailerrigF1r"],
            ["CDC_BagTrailermount1l", "CDC_BagTrailerrigF1r"],

            ["CDC_BagTrailermount1ll", "CDC_BagTrailerrigF1l"],
            ["CDC_BagTrailermount1l", "CDC_BagTrailerrigF1l"],
            ["CDC_BagTrailermount1r", "CDC_BagTrailerrigF1l"],


          //mounts
          {"beamSpring":1501000,"beamDamp":75},

          {"beamDeform":82500,"beamStrength":320400},
            ["CDC_BagTrailermount2r", "CDC_BagTrailermount1r"],
            ["CDC_BagTrailermount1r", "CDC_BagTrailermount1rr"],
            ["CDC_BagTrailermount1rr", "CDC_BagTrailermount2r"],
            ["CDC_BagTrailermount1rr", "CDC_BagTrailer5rr"],
            ["CDC_BagTrailermount1r", "CDC_BagTrailer5rr"],
            ["CDC_BagTrailer5rr", "CDC_BagTrailermount2r"],
            ["CDC_BagTrailermount2r", "CDC_BagTrailer15rr"],
            ["CDC_BagTrailer15rr", "CDC_BagTrailermount1rr"],
            ["CDC_BagTrailermount1r", "CDC_BagTrailer15rr"],
            ["CDC_BagTrailermount2r", "CDC_BagTrailer5r"],
            ["CDC_BagTrailermount2r", "CDC_BagTrailer4r"],
            ["CDC_BagTrailermount1r", "CDC_BagTrailer4rr"],
            ["CDC_BagTrailermount1rr", "CDC_BagTrailer4rr"],
            ["CDC_BagTrailermount2r", "CDC_BagTrailer4rr"],
            ["CDC_BagTrailer14rr", "CDC_BagTrailermount1rr"],
            ["CDC_BagTrailermount1r", "CDC_BagTrailer14rr"],

          {"beamSpring": 1001000,"beamDamp":75},
            ["CDC_BagTrailermount2l", "CDC_BagTrailermount1l"],
            ["CDC_BagTrailermount1l", "CDC_BagTrailermount1ll"],
            ["CDC_BagTrailermount1ll", "CDC_BagTrailermount2l"],
            ["CDC_BagTrailermount1ll", "CDC_BagTrailer5ll"],
            ["CDC_BagTrailermount1l", "CDC_BagTrailer5ll"],
            ["CDC_BagTrailer5ll", "CDC_BagTrailermount2l"],
            ["CDC_BagTrailermount2l", "CDC_BagTrailer15ll"],
            ["CDC_BagTrailer15ll", "CDC_BagTrailermount1ll"],
            ["CDC_BagTrailermount1l", "CDC_BagTrailer15ll"],
            ["CDC_BagTrailermount2l", "CDC_BagTrailer5l"],
            ["CDC_BagTrailermount2l", "CDC_BagTrailer4l"],
            ["CDC_BagTrailermount1l", "CDC_BagTrailer4ll"],
            ["CDC_BagTrailermount1ll", "CDC_BagTrailer4ll"],
            ["CDC_BagTrailermount2l", "CDC_BagTrailer4ll"],
            ["CDC_BagTrailer14ll", "CDC_BagTrailermount1ll"],
            ["CDC_BagTrailermount1l", "CDC_BagTrailer14ll"],

            ["CDC_BagTrailermount2r", "CDC_BagTrailer11"],
            ["CDC_BagTrailermount2l", "CDC_BagTrailer11"],



//and hub to swivel point
             ["CDC_BagTrailermount1r", "bgtax_F_3r"],
             ["CDC_BagTrailermount1l", "bgtax_F_3r"],
            ["CDC_BagTrailermount1rr", "bgtax_F_3r"],
            ["CDC_BagTrailermount1r", "bgtax_F_5r"],
            ["CDC_BagTrailermount1l", "bgtax_F_5r"],
            ["CDC_BagTrailermount1rr", "bgtax_F_5r"],
            ["bgtax_F_4r", "CDC_BagTrailermount1r"],
            ["bgtax_F_4r", "CDC_BagTrailermount1rr"],

            ["CDC_BagTrailermount1r", "bgtax_F_3l"],
            ["CDC_BagTrailermount1l", "bgtax_F_3l"],
            ["CDC_BagTrailermount1ll", "bgtax_F_3l"],
            ["CDC_BagTrailermount1l", "bgtax_F_5l"],
            ["CDC_BagTrailermount1r", "bgtax_F_5l"],
            ["CDC_BagTrailermount1ll", "bgtax_F_5l"],
            ["bgtax_F_4l", "CDC_BagTrailermount1l"],
            ["bgtax_F_4l", "CDC_BagTrailermount1ll"],


          //--REAR WHEELS--
          {"beamSpring":4501000,"beamDamp":75},
          {"optional":true},
          {"beamDeform":50000,"beamStrength":150000},
          {"breakGroup":"wheel_FR"},
          ["bgtax_F_2r","fw1r"],
          ["bgtax_F_3r","fw1r"],
          ["bgtax_F_2r","fw1rr"],
          ["bgtax_F_3r","fw1rr"],
          ["bgtax_F_4r","fw1r"],
          ["bgtax_F_4r","fw1rr"],
          ["bgtax_F_5r","fw1r"],
          ["bgtax_F_5r","fw1rr"],
          ["fw1r","bgtax_F_lfr"],
          ["fw1rr","bgtax_F_lfr"],

          {"breakGroup":"wheel_FL"},
          ["bgtax_F_2l","fw1l"],
          ["bgtax_F_3l","fw1l"],
          ["bgtax_F_2l","fw1ll"],
          ["bgtax_F_3l","fw1ll"],
          ["bgtax_F_4l","fw1l"],
          ["bgtax_F_4l","fw1ll"],
          ["bgtax_F_5l","fw1l"],
          ["bgtax_F_5l","fw1ll"],
          ["fw1l","bgtax_F_lfl"],
          ["fw1ll","bgtax_F_lfl"],
          {"optional":false},
          {"breakGroup":""},		  
         {"beamPrecompression":1.0, "beamType":"|PRESSURED"},
          {"beamDeform":10000,"beamStrength":250000},
          {"beamSpring":0,"beamDamp":0},
          {"beamLimitSpring":0,"beamLimitDamp":0},
          ["CDC_BagTrailerbagF1r","CDC_BagTrailermount2r",{"pressurePSI":"$airbag_F_pressure","surface":0.064,"volumeCoef":1.5,
        "name":"airbag_FR","soundFile":"art/sound/spring_creak2.ogg","volumeFactor":1,"decayMode":0,"decayFactor":1.5,"pitchFactor":1,"maxStress":18000}],
          ["CDC_BagTrailerbagF1l","CDC_BagTrailermount2l",{"pressurePSI":"$airbag_F_pressure","surface":0.064,"volumeCoef":1.5,
        "name":"airbag_FL","soundFile":"art/sound/spring_compress.ogg","volumeFactor":0.2,"decayMode":1,"decayFactor":3.5,"pitchFactor":1,"maxStress":18000}],
          //dampers
          {"beamPrecompression":1.0, "beamType":"|BOUNDED", "beamLongBound":1.0, "beamShortBound":1.0},
          {"beamSpring":0,"beamDamp":39000},
          {"beamLimitSpring":0,"beamLimitDamp":0},
          ["bgtax_F_3r","CDC_BagTrailermount2r",{"beamDampFast":7500,"beamDampRebound":29000,"beamDampReboundFast":8200,"beamDampVelocitySplit":0.3}],
          ["bgtax_F_3l","CDC_BagTrailermount2l",{"beamDampFast":7500,"beamDampRebound":29000,"beamDampReboundFast":8200,"beamDampVelocitySplit":0.3}],
          //shock and suspension friction
          {"beamSpring":0,"beamDamp":400000},
          ["bgtax_F_3r","CDC_BagTrailermount2r",{"beamDampFast":0,"beamDampRebound":400000,"beamDampReboundFast":0,"beamDampVelocitySplit":0.0001}],
          ["bgtax_F_3l","CDC_BagTrailermount2l",{"beamDampFast":0,"beamDampRebound":400000,"beamDampReboundFast":0,"beamDampVelocitySplit":0.0001}],
          //bump stops
          {"beamPrecompression":1.0, "beamType":"|BOUNDED", "beamLongBound":1.0, "beamShortBound":0.20},
          {"beamSpring":0,"beamDamp":0},
          {"beamLimitSpring":1001000,"beamLimitDamp":10000},
          ["CDC_BagTrailerbagF1r","CDC_BagTrailermount2r"{"beamLimitDampRebound":0,"dampCutoffHz":500}],
          ["CDC_BagTrailerbagF1l","CDC_BagTrailermount2l"{"beamLimitDampRebound":0,"dampCutoffHz":500}],
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},

		  
		//limiters
         {"beamPrecompression":1.0, "beamType":"|BOUNDED", "beamLongBound":0.3, "beamShortBound":0.05},
          {"beamDeform":1000000,"beamStrength":250000000},
          {"beamSpring":0,"beamDamp":0},
          {"beamLimitSpring":1001000,"beamLimitDamp":100},
            ["CDC_BagTrailermount2r", "bgtax_F_3r"],
            ["CDC_BagTrailermount2l", "bgtax_F_3l"],
         {"beamPrecompression":1.0, "beamType":"|BOUNDED", "beamLongBound":0.4, "beamShortBound":0.05},			
			{"optional":true},
			["CDC_BagTrailerrigF1r","CDC_BagTrailerrigR1r"],
			["CDC_BagTrailerrigF1r","CDC_BagTrailerrigR1r"],			
			["CDC_BagTrailerrigF1l","CDC_BagTrailerrigR1l"],
			["CDC_BagTrailerrigF1l","CDC_BagTrailerrigR1l"],			
			
			{"beamSpring":20000,"beamDamp":100},			
		["CDC_BagTrailermount2r","CDC_BagTrailermount2l"]
		["CDC_BagTrailermountR2r","CDC_BagTrailermount2l"]
		["CDC_BagTrailermount2r","CDC_BagTrailermountR2l"]
		["CDC_BagTrailermountR2r","CDC_BagTrailermountR2l"]
			
            
    ],

    "triangles": [
            ["id1:","id2:","id3:"],
            //trailer
            //top
            {"group":"CDC_BagTrailer"},
            {"dragCoef":1},
            {"groundModel":"asphalt"},
            ["bgtax_F_5r", "bgtax_F_4r", "bgtax_F_3r"],
            ["bgtax_F_3r", "bgtax_F_2r", "bgtax_F_5r"],



            ["bgtax_F_3l", "bgtax_F_4l", "bgtax_F_5l"],
            ["bgtax_F_5l", "bgtax_F_2l", "bgtax_F_3l"],

            ["CDC_BagTrailermount1ll", "CDC_BagTrailerbagF1l", "bgtax_F_3l"],
            ["bgtax_F_5l", "CDC_BagTrailermount1ll", "bgtax_F_4l"],
            ["CDC_BagTrailermount1ll", "bgtax_F_3l", "bgtax_F_4l"],
            ["CDC_BagTrailermount1rr", "bgtax_F_5r", "bgtax_F_4r"],
            ["bgtax_F_4r", "bgtax_F_3r", "CDC_BagTrailerbagF1r"],
            ["CDC_BagTrailerbagF1r", "CDC_BagTrailermount1rr", "bgtax_F_4r"],


            {"group":""},
	],
}

"CDC_BagTrailer_wheeldata": {
    "information":{
        "authors":"BeamNG",
        "name":"Spindles",
        "value":0,
    }
    "slotType" : "CDC_BagTrailer_wheeldata",
    "pressureWheels": [
        ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
        //rear
        {"selfCollision":false},
        {"collision":true},
        {"hubcapBreakGroup":"hubcap_FR"},
        {"hubcapGroup":"hubcap_FR"},
        {"axleBeams":["axle_R"]},
        ["R", "wheel_FR", "tire_FR", "fw1rr", "fw1r", 9999, "bgtax_F_4r", 1],
        {"hubcapBreakGroup":"hubcap_FL"},
        {"hubcapGroup":"hubcap_FL"},
        {"axleBeams":["axle_L"]},
        ["L", "wheel_FL", "tire_FL", "fw1ll", "fw1l", 9999, "bgtax_F_4l",  -1],
        {"selfCollision":true},
        {"hubcapBreakGroup":""},
        {"hubcapGroup":""},
        {"axleBeams":[]},{"disableMeshBreaking":false,"disableTriangleBreaking":false},
        {"enableHubcaps":false},
        {"enableTireLbeams":false},
        {"enableTreadReinfBeams":false},
        {"enableTireReinfBeams":false},
        {"enableTreadReinfBeams":false},
    ],
},
"CDC_BagTrailer_brake": {
    "information":{
        "authors":"BeamNG",
        "name":"Brakes",
        "value":200,
    }
    "slotType" : "CDC_BagTrailer_brake",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
         //brake discs
         ["CDC_BagTrailer_disc_FR", ["wheel_FR","wheelhub_FR"], [], {"pos":{"x":0.0, "y":0.0, "z":0.0}}],
         ["CDC_BagTrailer_disc_FL", ["wheel_FL","wheelhub_FL"], [], {"pos":{"x":0.0, "y":0.0, "z":0.0}}],
    ],
    "pressureWheels": [
            ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
            //brakes
            {"brakeTorque":600},
            {"parkingTorque":1200},
    ],
    "engine":{
        "brakePressureDelay":0.2,
    },

}
"CDC_BagTrailer_fender_F":{
    "information":{
        "authors":"Blijo",
        "name":"Front Fender",
        "value":200,
    }
    "slotType" : "CDC_BagTrailer_fender_F",
    "flexbodies": [
         ["mesh", "[group]:", "nonFlexMaterials"],
        ["CDC_BagTrailer_fender_FR", ["CDC_BagTrailer_fender_FR"], [], {"pos":{"x":0.0, "y":0.0, "z":0.0}}],
        ["CDC_BagTrailer_fender_FL", ["CDC_BagTrailer_fender_FL"], [], {"pos":{"x":0.0, "y":0.0, "z":0.0}}],
    ],
    "nodes": [
         ["id", "posX", "posY", "posZ"],
         //--REAR DEAD AXLE SUSPENSION--
         {"frictionCoef":0.5},
         {"nodeMaterial":"|NM_METAL"},
         {"nodeWeight":4.5},
         {"selfCollision":true}
         {"collision":true}


        {"group":"CDC_BagTrailer_fender_FL"},
		{"nodeWeight":1},
		["bgtfen_F_1l", 1.05000, 4.92000, 0.95000],
		["bgtfen_F_1ll", 1.21000, 4.92000, 0.95000],

		["bgtfen_F_2l", 1.05000, 5.40000, 1.10000],
		["bgtfen_F_2ll", 1.21000, 5.40000, 1.10000],

		["bgtfen_F_3l", 1.05000, 5.60000, 0.83000],
		["bgtfen_F_3ll", 1.21000, 5.60000, 0.83000],
		
        {"group":"CDC_BagTrailer_fender_FR"},
		{"nodeWeight":1},
		["bgtfen_F_1r", -1.05000, 4.92000, 0.95000],
		["bgtfen_F_1rr", -1.21000, 4.92000, 0.95000],

		["bgtfen_F_2r", -1.05000, 5.40000, 1.10000],
		["bgtfen_F_2rr", -1.21000, 5.40000, 1.10000],

		["bgtfen_F_3r", -1.05000, 5.60000, 0.83000],
		["bgtfen_F_3rr", -1.21000, 5.60000, 0.83000],

         {"group":""},
    ],
	
    "beams": [
          ["id1:", "id2:"],
          {"beamPrecompression":1.0, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
          {"beamDeform":95000,"beamStrength":325000},	
	//Fender FL
          {"beamSpring":81000,"beamDamp":95},
            ["bgtfen_F_1ll", "bgtfen_F_2ll"],
            ["bgtfen_F_2ll", "bgtfen_F_3ll"],
            ["bgtfen_F_3ll", "bgtfen_F_3l"],
            ["bgtfen_F_3l", "bgtfen_F_2l"],
            ["bgtfen_F_2l", "bgtfen_F_2ll"],
            ["bgtfen_F_2l", "bgtfen_F_1l"],
            ["bgtfen_F_1l", "bgtfen_F_1ll"],
            ["bgtfen_F_2l", "bgtfen_F_3ll"],
            ["bgtfen_F_2l", "bgtfen_F_1ll"],
            ["bgtfen_F_3l", "bgtfen_F_1l"],
            ["bgtfen_F_1ll", "bgtfen_F_3ll"],
			
		  {"beamSpring":161000,"beamDamp":95},
          {"beamDeform":5000,"beamStrength":7500},
		  
          {"breakGroup":"fender_FL"},
		  {"breakGroupType":0}
				
            ["bgtfen_F_3l", "bgtax_F_2l"],
            ["bgtfen_F_2l", "bgtax_F_2l"],
            ["bgtfen_F_3ll", "bgtax_F_2l"],
            ["bgtfen_F_2l", "bgtax_F_3l"],
            ["bgtfen_F_2ll", "bgtax_F_3l"],
            ["bgtfen_F_1l", "CDC_BagTrailerbagF1l"],
            ["bgtfen_F_1ll", "CDC_BagTrailerbagF1l"],
            ["bgtfen_F_1ll", "CDC_BagTrailermount1ll"],
            ["bgtfen_F_3l", "bgtax_F_5l"],
            ["bgtfen_F_2ll", "bgtax_F_2l"],
			
            ["bgtfen_F_2ll", "CDC_BagTrailerbagF1l"],
            ["bgtfen_F_2ll", "CDC_BagTrailerrigF1l"],
            ["bgtfen_F_2l", "CDC_BagTrailerrigF1l"],
            ["bgtfen_F_1l", "CDC_BagTrailerrigF1l"],
            ["bgtfen_F_3l", "CDC_BagTrailerrigF1l"],
          {"beamDeform":95000,"beamStrength":325000},	
//Fender FR
          {"beamSpring":81000,"beamDamp":95},
            ["bgtfen_F_1rr", "bgtfen_F_2rr"],
            ["bgtfen_F_2rr", "bgtfen_F_3rr"],
            ["bgtfen_F_3rr", "bgtfen_F_3r"],
            ["bgtfen_F_3r", "bgtfen_F_2r"],
            ["bgtfen_F_2r", "bgtfen_F_2rr"],
            ["bgtfen_F_2r", "bgtfen_F_1r"],
            ["bgtfen_F_1r", "bgtfen_F_1rr"],
            ["bgtfen_F_2r", "bgtfen_F_3rr"],
            ["bgtfen_F_2r", "bgtfen_F_1rr"],
            ["bgtfen_F_3r", "bgtfen_F_1r"],
            ["bgtfen_F_1rr", "bgtfen_F_3rr"],
			
		  {"beamSpring":161000,"beamDamp":95},
          {"beamDeform":5000,"beamStrength":7500},
		  
          {"breakGroup":"fender_FR"},
		  {"breakGroupType":0}
				
            ["bgtfen_F_3r", "bgtax_F_2r"],
            ["bgtfen_F_2r", "bgtax_F_2r"],
            ["bgtfen_F_3rr", "bgtax_F_2r"],
            ["bgtfen_F_2r", "bgtax_F_3r"],
            ["bgtfen_F_2rr", "bgtax_F_3r"],
            ["bgtfen_F_1r", "CDC_BagTrailerbagF1r"],
            ["bgtfen_F_1rr", "CDC_BagTrailerbagF1r"],
            ["bgtfen_F_1rr", "CDC_BagTrailermount1rr"],
            ["bgtfen_F_3r", "bgtax_F_5r"],
            ["bgtfen_F_2rr", "bgtax_F_2r"],
            ["bgtfen_F_2rr", "CDC_BagTrailerbagF1r"],
			
            ["bgtfen_F_2rr", "CDC_BagTrailerrigF1r"],
            ["bgtfen_F_2r", "CDC_BagTrailerrigF1r"],
            ["bgtfen_F_1r", "CDC_BagTrailerrigF1r"],
            ["bgtfen_F_3r", "CDC_BagTrailerrigF1r"],
          {"breakGroup":""},
		  {"breakGroupType":1}		
	],		
   "triangles": [
            ["id1:","id2:","id3:"],
            //trailer
            //top
            {"group":"CDC_BagTrailer"},
            {"dragCoef":1},
            {"groundModel":"asphalt"},


//fender
            ["bgtfen_F_3ll", "bgtfen_F_3l", "bgtfen_F_2ll"],
            ["bgtfen_F_2ll", "bgtfen_F_3l", "bgtfen_F_2l"],
            ["bgtfen_F_2l", "bgtfen_F_1l", "bgtfen_F_1ll"],
            ["bgtfen_F_2l", "bgtfen_F_1ll", "bgtfen_F_2ll"],
            ["bgtfen_F_3l", "bgtfen_F_1l", "bgtfen_F_2l"],
			
           ["bgtfen_F_2rr", "bgtfen_F_3r", "bgtfen_F_3rr"],
            ["bgtfen_F_2r", "bgtfen_F_3r", "bgtfen_F_2rr"],
            ["bgtfen_F_2r", "bgtfen_F_1rr", "bgtfen_F_1r"],
            ["bgtfen_F_2rr", "bgtfen_F_1rr", "bgtfen_F_2r"],
            ["bgtfen_F_2r", "bgtfen_F_1r", "bgtfen_F_3r"],

            {"group":""},
	],	
}
"CDC_BagTrailer_sway": {
    "information":{
        "authors":"BeamNG",
        "name":"Sway Bar",
        "value":350,
    }
    "slotType" : "CDC_BagTrailer_sway",

    "torsionbars": [
        ["id1:", "id2:", "id3:", "id4:"],
        //13mm 637
        //14mm 857
        //15mm 1130
        //16mm 1463
        //17mm 1864
        {"spring":2436, "damp":10, "deform":"FLT_MAX", "strength":"FLT_MAX"},
        ["CDC_BagTrailerrigF1r", "CDC_BagTrailermount1r", "CDC_BagTrailermount1l", "CDC_BagTrailerrigF1l"],
    ],
    "beams": [
          ["id1:", "id2:"],
          //--ANTI-ROLL--
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
          {"beamSpring":5001000,"beamDamp":100},
          {"beamDeform":100000,"beamStrength":700000},
          //end links
          ["CDC_BagTrailermount1r","CDC_BagTrailermount1l"],
     
          {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
}
}