1. Stuck, Having problems with creating your mod? Let us help you: Mod Support

Introduction to MultiDae

Discussion in 'Content Creation' started by Nadeox1, Sep 14, 2014.

  1. Nadeox1

    Nadeox1
    Expand Collapse
    BeamNG.Support
    Staff Member

    Joined:
    Aug 5, 2012
    Messages:
    12,205
    Have you tried the rim ingame to let the game parse it's materials?
    The material editor is very very easy to use, and will make things less confusing. Give it a shot.
     
  2. TomiL88

    TomiL88
    Expand Collapse

    Joined:
    Aug 6, 2013
    Messages:
    169
    Yes I have, many times :D
    The problem with the material editor is that I dont know what slot is my rim material. I see pickup textures etc but no my rims.

    EDIT!
    Found the material slot in editor. it was called: Material :D

    Oh and thanks Nade for all of your effort!
     

    Attached Files:

    • Untitled-1.jpg
    #22 TomiL88, Sep 23, 2014
    Last edited: Sep 24, 2014
  3. KennyWah

    KennyWah
    Expand Collapse

    Joined:
    Jan 16, 2013
    Messages:
    2,093
    Thanks alot, nadeox, this took very little time and moderate effort to accomplish+understand. ;)
     
  4. oliafro

    oliafro
    Expand Collapse

    Joined:
    Aug 28, 2014
    Messages:
    7
    I'm sorry if this is just me being stupid but would this method work for putting wheels from one vehicle on to another?
     
  5. SixSixSevenSeven

    SixSixSevenSeven
    Expand Collapse

    Joined:
    Sep 13, 2013
    Messages:
    6,997
    Ever since the introduction of multidae, wheels are already added to vehicles with it. Wheel meshes are in wheels.dae in common.zip. None of the vehicles have their own wheels in their meshes. Multi-dae is used.
     
  6. oliafro

    oliafro
    Expand Collapse

    Joined:
    Aug 28, 2014
    Messages:
    7
    Sorry didnt make it clear I meant for example transferring parts from one car to another like the off road bumper. As i was going to try make an off road version of the barnstow.
     
  7. needforsuv

    needforsuv
    Expand Collapse

    Joined:
    Nov 17, 2015
    Messages:
    488
    i made custom wheels work for the semi
    but if i am correct i have to move other meshes to common if some other cars use that mesh
    ie my semi uses sbr discs so i made a mod that placed the sbr dae in the common folder
    ofcourse the slot name and name is different so far so good
    nothing conflicts but when i try and shove the barstol v8 in the 89 pessima the barstol wont spawn with textures unless the WHOLE folder .dae, materials and jbeams were in the common folder

    the probelm i now have is that the other classic cars (burnside and moonhawk)and the van now spawn as barstol meshes

    has something gone wrong?

    if so what is the best way to borrow an engine from a car
     
    #27 needforsuv, Jan 24, 2016
    Last edited: Jan 24, 2016
  8. acynder

    acynder
    Expand Collapse

    Joined:
    Mar 21, 2015
    Messages:
    150
    I think we need a new tutorial because in these years the game has changed much and now I have no idea how to put the front heavy duty van wheels on his rear axle
     
  9. needforsuv

    needforsuv
    Expand Collapse

    Joined:
    Nov 17, 2015
    Messages:
    488
    i do
    you just take the mesh from the front and use it in the rear
     
  10. acynder

    acynder
    Expand Collapse

    Joined:
    Mar 21, 2015
    Messages:
    150
    Can you explain step by step please?
     
  11. needforsuv

    needforsuv
    Expand Collapse

    Joined:
    Nov 17, 2015
    Messages:
    488
    find
    wheels_R_6.jbeam
    and wheels F 6

    make new single wheel

    remove the inner (or outer) wheel
    and replace
    steelwheel_04a_16x8_inner/outer
    with
    steelwheel_04a_16x8

    and adjust

    and follow the tutorial

    you can do this with any mesh although i'm having some problems which may or may not be my fault

    finished should look like this


    "steelwheel_04a_16x8_R": {
    "information":{
    "authors":"BeamNG",
    "name":"Heavy Duty 16x8 Rear Steel Wheels",
    "value":650,
    }
    "slotType" : "wheel_R_8",
    "slots": [
    ["type", "default", "description"]
    ["tire_R_16x8_alt","tire_R_225_75_16_heavy","Rear Tires"],
    ],
    "flexbodies": [
    ["mesh", "[group]:", "nonFlexMaterials"],
    //outer
    ["steelwheel_04a_16x8", ["wheel_RR"], [], {"pos":{"x":-0.56, "y":0.0, "z":0.0}, "rot":{"x":0, "y":0, "z":180}, "scale":{"x":1, "y":1, "z":1}}],
    ["steelwheel_04a_16x8", ["wheel_RL"], [], {"pos":{"x": 0.56, "y":0.0, "z":0.0}, "rot":{"x":0, "y":0, "z":0}, "scale":{"x":1, "y":1, "z":1}}],

    ],

    BLAH BLAH BLAH useless node beam stuff

    "pressureWheels": [
    ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
    {"enableTireReinfBeams":true},{"disableMeshBreaking":true,"disableHubMeshBreaking":false},
    {"enableTireSideReinfBeams":true},

    //general settings
    {"hubRadius":0.215},
    {"wheelOffset":-0.08},
    {"hubWidth":0.225},
    {"numRays":16},

    //hub options
    {"hubTreadBeamSpring":1512840, "hubTreadBeamDamp":6.5},
    {"hubPeripheryBeamSpring":1512840, "hubPeripheryBeamDamp":6.5},
    {"hubSideBeamSpring":2352840, "hubSideBeamDamp":6.5}
    {"hubBeamDeform":54000, "hubBeamStrength":163440},
    {"hubNodeWeight":1.4},
    {"hubNodeMaterial":"|NM_METAL"},
    {"hubFrictionCoef":0.5,"hasTire":false},


    ],
    }
    you may need to adjust offset as needed

    you could also use other rims in place of this but you may need to change the brakes

    or alternatively you could tell the hd rear hub to use the front wheels
    EDIT
    having two sets of front tires upsets the game

    and there you go custom wheels, discs, engines and radiators
    (still working on the last 2)
     

    Attached Files:

    • BeamNG 2016-01-25 05-21-48-61.png
    • BeamNG 2016-01-25 05-22-20-09.png
    • BeamNG 2016-01-25 05-54-31-73.png
    • BeamNG 2016-01-25 05-57-16-95.png
    #31 needforsuv, Jan 24, 2016
    Last edited: Jan 24, 2016
    • Like Like x 2
  12. acynder

    acynder
    Expand Collapse

    Joined:
    Mar 21, 2015
    Messages:
    150
    It work! Oh Thanks!!! Oh... It's amazing!
    The correct offset x pos are these ones
    //outer
    ["steelwheel_04a_16x8", ["wheel_RR"], [], {"pos":{"x":-0.56, "y":0.0, "z":0.0}, "rot":{"x":0, "y":0, "z":180}, "scale":{"x":1, "y":1, "z":1}}],
    ["steelwheel_04a_16x8", ["wheel_RL"], [], {"pos":{"x": 0.56, "y":0.0, "z":0.0}, "rot":{"x":0, "y":0, "z":0}, "scale":{"x":1, "y":1, "z":1}}],

    Can i use the Front brakes on the rear whit the "front" rear HD wheels?

    Thanks Again!! Oh... I will gonna have much fun...

    EDIT:
    Awww man that pictures are awersome, I Specially like the pesima, Remembers me that Vaz 2107 crazy tunes

    I can tell the HD rear hub to use the front single HD wheell and be able to swich to the Rear Dually HD rear Whells?
     
    #32 acynder, Jan 24, 2016
    Last edited: Jan 24, 2016
    • Like Like x 1
  13. needforsuv

    needforsuv
    Expand Collapse

    Joined:
    Nov 17, 2015
    Messages:
    488
    i got it either way the front brakes dont show by default anyway in any place so theres an empty hole in the middle
    while theres nothing stopping using front category wheels to be used in the rear...
    you only need to add a separate hub with a front slot instead of a rear slot
    like
    XX_R to XX_F
    although beam may get grumpy with having multiple "front" wheels IIRC even the semi has separate fr /rr wheels you could put the front wheels in the middle but not when the front is also using them....
    it makes the game grumpy because theres multiple entries for each corner
     
    • Like Like x 1
  14. acynder

    acynder
    Expand Collapse

    Joined:
    Mar 21, 2015
    Messages:
    150
    I'm having a problem trying to put the Dually on the front hubs.
    The wheels works fine but the textures are rotating of a invisible centre on the midle of the car
     

    Attached Files:

    • screenshot_00004.png
  15. needforsuv

    needforsuv
    Expand Collapse

    Joined:
    Nov 17, 2015
    Messages:
    488
    what i mean was the wheels and the center bit of the brake are separate and dont change with the offset
    to fix that
    add this entry in the common pickup heavy rear suspention

    "pickup_brake_R_heavy_off": {
    "information":{
    "authors":"BeamNG",
    "name":"Heavy Duty Rear Brakes Offset",
    "value":500,
    }
    "slotType" : "pickup_brake_R",
    "flexbodies": [
    ["mesh", "[group]:", "nonFlexMaterials"],
    //brake discs
    ["pickup_disc_RR_heavy", ["wheel_RR","wheelhub_RR"], ["pickup"],{"pos":{"x":-0.055, "y":0.0, "z":0.0}"scale":{"x":0.99, "y":1, "z":1}}],
    ["pickup_disc_RL_heavy", ["wheel_RL","wheelhub_RL"], ["pickup"],{"pos":{"x":0.055, "y":0.0, "z":0.0}"scale":{"x":0.99, "y":1, "z":1}}],
    ],
    "pressureWheels": [
    ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
    //brakes
    {"enableABS":false},
    {"brakeTorque":3000},
    {"brakeInputSplit":0.50},
    {"brakeSplitCoef":0.25},
    {"parkingTorque":3000},
    {"brakeSpring":20},
    ],
    },

    as for front duals just do the reverse of adding singles to the rear and use logic

    IN other news i fixed my problem
     
    #35 needforsuv, Jan 25, 2016
    Last edited: Jan 25, 2016
  16. acynder

    acynder
    Expand Collapse

    Joined:
    Mar 21, 2015
    Messages:
    150
    Ohh, Thanks!
    But now have a problem whit the Original HD rear brake on the van and the Offset ones arent selectable [Picture addjunted]
    screenshot_00005.png
     
  17. needforsuv

    needforsuv
    Expand Collapse

    Joined:
    Nov 17, 2015
    Messages:
    488
    the brakes should be a new entry
    cause my van works fine
     
  18. acynder

    acynder
    Expand Collapse

    Joined:
    Mar 21, 2015
    Messages:
    150
    Like that?
    /pickup_suspension_R_heavy.jbeam

    Bla bla bla....
    (Line 492)
    {"beamSpring":0,"beamDamp":0,"beamDeform":750000,"beamStrength":2314000},
    //bed
    {"beamPrecompression":1, "beamType":"|BOUNDED", "beamLongBound":0.48, "beamShortBound":0.28},
    ["ax1","fr19r"],
    ["ax1","fr20r"],
    ["ax1","fr19l"],
    ["ax1","fr20l"],
    ["ax2","fr19r"],
    ["ax2","fr20r"],
    ["ax2","fr19l"],
    ["ax2","fr20l"],
    {"optional":false},
    {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
    ],
    "pressureWheels": [
    ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
    {"propulsed":1}
    ],
    }
    //----------------------------------------------------- BRAKES
    "pickup_brake_R_heavy": {
    "information":{
    "authors":"BeamNG",
    "name":"Heavy Duty Dually Rear Brakes",
    "value":500,
    }
    "slotType" : "pickup_brake_R",
    "flexbodies": [
    ["mesh", "[group]:", "nonFlexMaterials"],
    //brake discs
    ["pickup_disc_RR_heavy", ["wheel_RR","wheelhub_RR"], ["pickup"],{"pos":{"x":0.0, "y":0.0, "z":0.0}"scale":{"x":0.99, "y":1, "z":1}}],
    ["pickup_disc_RL_heavy", ["wheel_RL","wheelhub_RL"], ["pickup"],{"pos":{"x":0.0, "y":0.0, "z":0.0}"scale":{"x":0.99, "y":1, "z":1}}],
    ],
    "pressureWheels": [
    ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
    //brakes
    {"enableABS":false},
    {"brakeTorque":3000},
    {"brakeInputSplit":0.50},
    {"brakeSplitCoef":0.25},
    {"parkingTorque":3000},
    {"brakeSpring":20},
    ],

    },


    "pickup_brake_R_heavy_single": { //MODIFIED ONES
    "information":{
    "authors":"BeamNG",
    "name":"Heavy Duty Single Rear Brakes",
    "value":500,
    }
    "slotType" : "pickup_brake_R",
    "flexbodies": [
    ["mesh", "[group]:", "nonFlexMaterials"],
    //brake discs
    ["pickup_disc_RR_heavy", ["wheel_RR","wheelhub_RR"], ["pickup"],{"pos":{"x":-0.055, "y":0.0, "z":0.0}"scale":{"x":0.99, "y":1, "z":1}}],
    ["pickup_disc_RL_heavy", ["wheel_RL","wheelhub_RL"], ["pickup"],{"pos":{"x":0.055, "y":0.0, "z":0.0}"scale":{"x":0.99, "y":1, "z":1}}],
    ],
    "pressureWheels": [
    ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
    //brakes
    {"enableABS":false},
    {"brakeTorque":3000},
    {"brakeInputSplit":0.50},
    {"brakeSplitCoef":0.25},
    {"parkingTorque":3000},
    {"brakeSpring":20},
    ],
    },
    //--------------------------------------------------------------------------------------------END BRAKES
    "pickup_spring_R_heavy": {
    "information":{
    "authors":"BeamNG",
    "name":"Heavy Duty Rear Leaf Springs",
    "value":300,
    },
    Bla bla bla...
     
  19. needforsuv

    needforsuv
    Expand Collapse

    Joined:
    Nov 17, 2015
    Messages:
    488
    no idea why the van would be weird
    it seems correct

    my entry

    "pickup_brake_R_heavy": {
    "information":{
    "authors":"BeamNG",
    "name":"Heavy Duty Rear Brakes",
    "value":500,
    }
    "slotType" : "pickup_brake_R",
    "flexbodies": [
    ["mesh", "[group]:", "nonFlexMaterials"],
    //brake discs
    ["pickup_disc_RR_heavy", ["wheel_RR","wheelhub_RR"], ["pickup"],{"pos":{"x":0.0, "y":0.0, "z":0.0}"scale":{"x":0.99, "y":1, "z":1}}],
    ["pickup_disc_RL_heavy", ["wheel_RL","wheelhub_RL"], ["pickup"],{"pos":{"x":0.0, "y":0.0, "z":0.0}"scale":{"x":0.99, "y":1, "z":1}}],
    ],
    "pressureWheels": [
    ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
    //brakes
    {"enableABS":false},
    {"brakeTorque":3000},
    {"brakeInputSplit":0.50},
    {"brakeSplitCoef":0.25},
    {"parkingTorque":3000},
    {"brakeSpring":20},
    ],
    },
    "pickup_brake_R_heavy_off": {
    "information":{
    "authors":"BeamNG",
    "name":"Heavy Duty Rear Brakes Offset",
    "value":500,
    }
    "slotType" : "pickup_brake_R",
    "flexbodies": [
    ["mesh", "[group]:", "nonFlexMaterials"],
    //brake discs
    ["pickup_disc_RR_heavy", ["wheel_RR","wheelhub_RR"], ["pickup"],{"pos":{"x":-0.055, "y":0.0, "z":0.0}"scale":{"x":0.99, "y":1, "z":1}}],
    ["pickup_disc_RL_heavy", ["wheel_RL","wheelhub_RL"], ["pickup"],{"pos":{"x":0.055, "y":0.0, "z":0.0}"scale":{"x":0.99, "y":1, "z":1}}],
    ],
    "pressureWheels": [
    ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
    //brakes
    {"enableABS":false},
    {"brakeTorque":3000},
    {"brakeInputSplit":0.50},
    {"brakeSplitCoef":0.25},
    {"parkingTorque":3000},
    {"brakeSpring":20},
    ],
    },

    i think its because the h45 and h15 have different wheel bases
     
    #39 needforsuv, Jan 27, 2016
    Last edited: Jan 27, 2016
  20. acynder

    acynder
    Expand Collapse

    Joined:
    Mar 21, 2015
    Messages:
    150
    I dont now. But I have tried some diferent conbinations and taht are the results
    Vanster:
    Stock brakes: Corrrect
    Off.road brakes: Correct
    Heavy Duty brakes: Wrong pos
    Cabster:
    Stock brakes: Wrong pos
    Off:Road Brakes: Wrong pos
    Heavy Duty: Correct

    (I didn't touch the H.Series brakes, only the D.Series ones)

    Edit: Where are the small trailer defined? I want to allow it to use hudcaps and other 4 lug whells
     
    #40 acynder, Jan 27, 2016
    Last edited: Jan 27, 2016
  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