Solved Material Error [Help]

Discussion in 'Mod Support' started by Diode, Dec 15, 2017.

  1. Diode

    Diode
    Expand Collapse

    Joined:
    Aug 5, 2013
    Messages:
    115
    Hi I create a mods just for me (props for beamng)
    my problem is:
    052.695[E] material | [MaterialList::mapMaterials] Unable to find material for texture: packedMaterial0
     
  2. Spiicy

    Spiicy
    Expand Collapse

    Joined:
    Sep 8, 2016
    Messages:
    3,822
    What does the material cs look like? Do you have it mapped to the right texture?
     
  3. Diode

    Diode
    Expand Collapse

    Joined:
    Aug 5, 2013
    Messages:
    115
    UPDATE:17/12/2017:3.44h
    It's a human props export by software model <<<<<< It's a test for my futur Mods.

    I create a Jbeam good. jbeam work in progresse...
    Just My Material.cs it's good?

    My folder Mods/girl_props.zip/vehicles/girl

    default.png
    girl.dae
    girl.jbeam
    body_001.png
    clothes_001.png
    hair_001.png
    info.json
    material.cs
    ///end

    singleton Material(girl)
    {
    mapTo = "body_001";
    diffuseMap[2] = "vehicles/girl/body_001.png";
    specularMap[2] = "vehicles/girl/body_001.png";
    normalMap[2] = "vehicles/girl/body_001.png";
    diffuseMap[1] = "vehicles/girl/clothes_001.png";
    specularMap[1] = "vehicles/girl/clothes_001.png";
    normalMap[1] = "vehicles/girl/clothes_001.png";
    diffuseMap[0] = "vehicles/girl/hair_001.png";
    specularMap[0] = "vehicles/girl/hair_001.png";
    normalMap[0] = "vehicles/girl/hair_001.png";
    specular[0] = "0.5 0.5 0.5 0.1";
    specular[1] = "0.5 0.5 0.5 0.1";
    specular[2] = "0.5 0.5 0.5 0.1";
    specularPower[0] = "128";
    specularPower[1] = "128";
    specularPower[2] = "128";
    pixelSpecular[0] = "1";
    pixelSpecular[1] = "1";
    pixelSpecular[2] = "1";
    castShadows = "1";
    translucent = "1";
    translucentBlendOp = "None";
    alphaTest = "0";
    alphaRef = "0";
    dynamicCubemap = true;
    beamngDiffuseColorSlot = 2;
    materialTag0 = "Miscellaneous";
    };
     
    #3 Diode, Dec 16, 2017
    Last edited: Dec 17, 2017
  4. Taza

    Taza
    Expand Collapse

    Joined:
    Nov 8, 2015
    Messages:
    1,356
    The file name is "materials.cs" not "Material.cs"
     
  5. Spiicy

    Spiicy
    Expand Collapse

    Joined:
    Sep 8, 2016
    Messages:
    3,822
    hmm, what are the material names in blender?
     
  6. Diode

    Diode
    Expand Collapse

    Joined:
    Aug 5, 2013
    Messages:
    115
    Ok thanks [Keys] for name in blender!
    I have just a question how to increase the rigidity on beam?

    "beams": [
    ["id1:", "id2:"],
    {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
    {"beamSpring":500,"beamDamp":20},
    {"beamDeform":200,"beamStrength":"FLT_MAX"},
    --- Post updated ---
    (WIP)
    Texture material1/3
    Model: 2.9/3
    Jbeam 2.1/3
     

    Attached Files:

    • JbeamgirlpropsHrv29.jpg
    • Jbeamgirlpropsv0009Hrv29.jpg
    • Like Like x 1
  7. Spiicy

    Spiicy
    Expand Collapse

    Joined:
    Sep 8, 2016
    Messages:
    3,822
    That I do not know, :p I am not good with jbeam, but @Nadeox1 may be able to help you
     
    • Like Like x 1
  8. Diode

    Diode
    Expand Collapse

    Joined:
    Aug 5, 2013
    Messages:
    115
    Thanks For Your Help Keys

    Jbeam Active 2.5 New released in game
    Model 2.95 update
    Texture (Material) 1/3
    But probleme with material i have 3 texture mesh.
    But beamng accept 1 texture (UVmaps)

     

    Attached Files:

    • 2017-12-17-at-02-22-28.gif
    • Beamngproblememat.jpg
    • Like Like x 1
  9. Diode

    Diode
    Expand Collapse

    Joined:
    Aug 5, 2013
    Messages:
    115
    OK Ihave Converted 3 texture.png in DDS But (texture 1.1/3)
    (body_001.dds)
    (clothes_001.dds)
    (hair_001.dds)
    but...it's still the same problem it only accepts 1 texture
     

    Attached Files:

    • Beamngproblememat.jpg
    • problemmat2.jpg
  10. Diode

    Diode
    Expand Collapse

    Joined:
    Aug 5, 2013
    Messages:
    115
    Ok All texture running ^^ (material v2.3 /3.)
    But...o_O is very dark color (how to light this texture in game)?
     
  11. Spiicy

    Spiicy
    Expand Collapse

    Joined:
    Sep 8, 2016
    Messages:
    3,822
    It has to be something in the material.cs file. I have a mod im working on myself, but im stuck on reflections
     
  12. Diode

    Diode
    Expand Collapse

    Joined:
    Aug 5, 2013
    Messages:
    115
    Jbeam stable little fix...(v0.0.8.5)
     

    Attached Files:

    • darktexture.jpg
    • 2017-12-17-at-18-40-06.gif
    • Like Like x 1
  13. Diode

    Diode
    Expand Collapse

    Joined:
    Aug 5, 2013
    Messages:
    115
    Ok it's fixed because the mesh model was Join, So the Material could not apply.;)
     

    Attached Files:

    • textureaply.jpg
  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