1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. 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. needforsuv

    needforsuv
    Expand Collapse

    Joined:
    Nov 17, 2015
    Messages:
    491
    i think its like that from stock
    its in its own folder like the semi
     
    • Like Like x 1
  2. acynder

    acynder
    Expand Collapse

    Joined:
    Mar 21, 2015
    Messages:
    68
    .... I cant find the trailer folder.
    Is ti on SteamLibrary\SteamApps\common\BeamNG.drive\content\vehicles?
    or inside on the common .zip?

    EDIT:
    I din't see the gavril post, its in common tsfb_x.jbeam
     
    #42 acynder, Jan 28, 2016
    Last edited: Jan 28, 2016
  3. needforsuv

    needforsuv
    Expand Collapse

    Joined:
    Nov 17, 2015
    Messages:
    491
    should've figured it out by now :p
     
  4. acynder

    acynder
    Expand Collapse

    Joined:
    Mar 21, 2015
    Messages:
    68
    I reinstalled the game and the H-Series brakes still buged, I think that isn't my fault, in other order of things I cant add hudcaps tho the trailer...
     
  5. needforsuv

    needforsuv
    Expand Collapse

    Joined:
    Nov 17, 2015
    Messages:
    491
    tis like that from stock :p

    why hubcaps when you can use alloys
     
  6. acynder

    acynder
    Expand Collapse

    Joined:
    Mar 21, 2015
    Messages:
    68
    ... You have the true... I will try whit the covet beater old wheels or something...
    [I'm sure I had errors in this phrase]
     
  7. oliafro

    oliafro
    Expand Collapse

    Joined:
    Aug 28, 2014
    Messages:
    7
    If you were making a mod and you wanted to have interchangeable parts on it would it still all work the same as this? And also how would you set what drop down you wanted it to go to? If this has already been asked and answered could i please get a link to it? And also it'd be greatly appreciated if anyone had an example file that could be used as a reference. (In advance thank you for the responses)
     
  8. 147689

    147689
    Expand Collapse

    Joined:
    Jun 10, 2014
    Messages:
    380
    Ha, I got custom rims on my trailer
    screenshot_00001.png
     
  9. acynder

    acynder
    Expand Collapse

    Joined:
    Mar 21, 2015
    Messages:
    68
    Maybe because I am a newbie in the multidae but I have many problems trying to change the entire wheel, or adding hubcaps on the trailer.
    By the way, me too!
    screenshot_00006.png
     
  10. MitchellKnb

    MitchellKnb
    Expand Collapse

    Joined:
    Dec 19, 2016
    Messages:
    192
    I cannot get my meshes in for some reason. The entire game breaks whenever I have my mesh assigned (If I'm doing it correctly that is.)

    My dae file is called CLK_Sport_16x7.dae
    My group within the file is called CLK_Sport_16x7 as well.
    What am I doing wrong?

    Code:
    {
    
    //CLK_Sport_16x7
    //"begin"
    
    "CLK_Sport_16x7": {
    //"begin"
        "information":{
            "authors":"MitchellKnb",
            "name":"01CLK",
            "value":150,
        },
    
        "slotType" : "wheel_F_5_Mercedes",
        "slots": [
            ["type", "default", "description"]
            ["tire_F_DT_17x9","tire_F_DT_240_17_23_standard", "Front Tires"],
        ],
    
        "flexbodies": [
            ["mesh", "[group]:", "nonFlexMaterials"],
            ["CLK_Sport_16x7",   ["wheel_FR","wheelhub_a_FR","wheelhub_b_FR"], [], {"pos":{"x":-0.47, "y":0.0, "z":0.0}, "rot":{"x":0, "y":0, "z":180}, "scale":{"x":1, "y":1, "z":1}}],
            ["CLK_Sport_16x7",   ["wheel_FL","wheelhub_a_FL","wheelhub_b_FL"], [], {"pos":{"x": 0.47, "y":0.0, "z":0.0}, "rot":{"x":0, "y":0, "z":0},   "scale":{"x":1, "y":1, "z":1}}],
        ],
            "nodes": [
            ["id", "posX", "posY", "posZ"],
            {"collision":true},
            {"selfCollision":true},
            //front wheels
            {"nodeWeight":4.5},
            {"nodeMaterial":"|NM_METAL"},
            {"chemEnergy":200,"burnRate":0.5,"flashPoint":300,"smokePoint":200,"selfIgnition":0,"specHeat":1},
            {"frictionCoef":0.5},
            {"group":"wheelhub_a_FR"},
            ["fw1r", -0.31, 0.0, 0.0],
            {"group":"wheelhub_b_FR"},
            ["fw1rr", -0.57, 0.0, 0.0],
            {"group":"wheelhub_a_FL"},
            ["fw1l", 0.31, 0.0, 0.0],
            {"group":"wheelhub_b_FL"},
            ["fw1ll", 0.57, 0.0, 0.0],
            {"chemEnergy":false,"burnRate":false,"flashPoint":false,"smokePoint":false,"selfIgnition":false,"specHeat":false},
            {"group":""},
        ],
        "beams": [
            ["id1:", "id2:"],
            {"beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
            {"breakGroup":""},
            {"beamDeform":97500,"beamStrength":408000},
            {"beamSpring":801000,"beamDamp":6},
            //front wheel
            ["fw1r","fw1rr"],
            ["fw1l","fw1ll"],
            {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
        ],
        "pressureWheels": [
            ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
            {"disableMeshBreaking":true,"disableHubMeshBreaking":false,"enableHubcaps":false,"hasTire":false},
    
            //general settings
            {"hubRadius":0.234},
            {"wheelOffset":-0.055},
            {"hubWidth":0.245},
            {"numRays":16},
    
            //hub options
            {"hubTreadBeamSpring":1051000, "hubTreadBeamDamp":6},
            {"hubPeripheryBeamSpring":1051000, "hubPeripheryBeamDamp":6},
            {"hubSideBeamSpring":1501000, "hubSideBeamDamp":6},
            {"hubNodeWeight":0.46},
            {"hubNodeMaterial":"|NM_METAL"},
            {"hubFrictionCoef":0.5},
            {"hubBeamDeform":68600, "hubBeamStrength":76000},
        ],
    },
    //"eind"
    
    //"eind"
    
    }
    I have placed my new files in a zip, but when trying to get it working it was located in the Dtroxx wheels folder.

    credits go to DTROXX as I used his file as a template.
     

    Attached Files:

  11. Nadeox1

    Nadeox1
    Expand Collapse
    BeamNG.Support
    Staff Member

    Joined:
    Aug 5, 2012
    Messages:
    10,720
    The issue has not to do with multi-dea, but the Jbeam you have.
    It's formatting is quite strange. I suggest to use a better formatted Jbeam as base.
     
    • Informative Informative x 1
  12. MitchellKnb

    MitchellKnb
    Expand Collapse

    Joined:
    Dec 19, 2016
    Messages:
    192
    Awesome, the game no longer freezes! However my mesh is acting very weird. Is this a problem with the mesh or with the Jbeam?
    --- Post updated ---
    Awesome, the game no longer freezes! However my mesh is acting very weird. Is this a problem with the mesh or with the Jbeam? When driving it kind of expands and shrinks again.
     

    Attached Files:

    #52 MitchellKnb, Feb 27, 2017
    Last edited: Feb 27, 2017
  13. Nadeox1

    Nadeox1
    Expand Collapse
    BeamNG.Support
    Staff Member

    Joined:
    Aug 5, 2012
    Messages:
    10,720
    Your mesh seems to be a group of meshes. I'm not sure how well the game handles that.

    Have you tried to merge everything into a single mesh?
     
    • Informative Informative x 1
  14. MitchellKnb

    MitchellKnb
    Expand Collapse

    Joined:
    Dec 19, 2016
    Messages:
    192
    Just tried. Has no effect sadly..
     

    Attached Files:

  15. Nadeox1

    Nadeox1
    Expand Collapse
    BeamNG.Support
    Staff Member

    Joined:
    Aug 5, 2012
    Messages:
    10,720
    I cannot test your files properly at the moment.
    Are you sure your flexbody groups are correct? Having the mesh assigned to the wrong group could do fancy things.
     
    • Informative Informative x 1
  16. MitchellKnb

    MitchellKnb
    Expand Collapse

    Joined:
    Dec 19, 2016
    Messages:
    192
    I think so yea, I have assigned them as you did with the Hirochi wheels in the tutorial on page one. I do not have any materials or tires assigned at the moment, would that cause any problems maybe?
     
  17. Nadeox1

    Nadeox1
    Expand Collapse
    BeamNG.Support
    Staff Member

    Joined:
    Aug 5, 2012
    Messages:
    10,720
    The tutorial on the first page is quite old. The example I did there is not much relevant anymore, since we changed how wheels work now (ie. wheels are a common part now, etc)
    I need to update it when I have some time.
     
    • Informative Informative x 1
  18. MitchellKnb

    MitchellKnb
    Expand Collapse

    Joined:
    Dec 19, 2016
    Messages:
    192
    Ah, that might explain something! Thanks! I'll see if I can find other templates and see if it makes a difference. :)
    --- Post updated ---
    I restarted the Jbeam from another wheel, I used the ETK SS wheels. Seems to work okay, I now see a tyre and no funny mesh. but my mesh doesn't show up at all now. So I assume that what I saw with the other Jbeam was the tyre and I think my mesh didn't show up at all.

    I have added the zip to this post, so maybe when you have time you can check it out. I really appreciate the help so far! :D
     

    Attached Files:

  19. Nadeox1

    Nadeox1
    Expand Collapse
    BeamNG.Support
    Staff Member

    Joined:
    Aug 5, 2012
    Messages:
    10,720
    Mesh
    I opened the 'Vossen_CV3_19x8.5.dae' file.
    Nothing in it, just an 'empty'.

    Infact, if you open the console, you will see an error about it not finding the mesh.

    The other .dae contains the mesh, but it's not centered (origin point must be at 0,0,0)


    After I centered it


    To change the scale, either modify the mesh itself, or do it from the Jbeam, by editing these:



    Also, you can have everything in a single .dae (a .dae can have multiple objects, no need to make a .dae for each wheel).
    And, the .dae can be named how you want, what matters is the name that shows up here:

    Which will be the one you put in the flexbody section:



    Material

    Layer 1 to 3 are the same. You don't need to use 3 layers, that are the same, it just wastes GPU work.

    I slimmed this one down by removing the unnecessary layers, and the result is the same, minus that the GPU doesn't have to render 2 useless layers :)
     
    #59 Nadeox1, Feb 28, 2017
    Last edited: Feb 28, 2017
    • Informative Informative x 2
  20. MitchellKnb

    MitchellKnb
    Expand Collapse

    Joined:
    Dec 19, 2016
    Messages:
    192
    Thank you very much for your patience!

    Right now I got the wheel fitted, also changed the tires and rim size in the Jbeam, that all works! :D

    However the texture doesn't quite work. The CLK wheel is no longer orange, but not textured either.. The Vossen wheel remains orange somehow.

    EDIT

    I found the problem here. Turns out Blender exported my meshes without textures!
     

    Attached Files:

    #60 MitchellKnb, Feb 28, 2017
    Last edited: Feb 28, 2017