1. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  2. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.25 Bug Reporting thread
    Solutions and more information may already be available.

Editor: Materials almost always remap to "--_mat"

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by Danny Werewolf, Mar 6, 2019.

  1. Danny Werewolf

    Danny Werewolf
    Expand Collapse

    Joined:
    Mar 31, 2017
    Messages:
    2,195
    Not sure if this is me being dumb or actually a bug, but pretty much ever since I've been mapping "wood" to
    "ind_metalplates" on "race_rally_start_finish" and "race_wood" on "race_rally_finish_checkpoints"

    I might have fixed "race_rally_start_finish" but I'm not quite sure...

    My issue is for "race_rally_finish_checkpoints". I keep leaving the game to make sure the material actually worked, yet it rarely did. It seems to want to change to "race_wood_mat" or "ind_metalplates_mat".

    Expectation:
    609a58f397efd8de5cd5c7aa0e7b8a0b.png
    Reality:
    9bb46fd61e5fa31ad3e1a9340af5727e.png
    Here's the items and mapping in Material.cs
    Code:
    singleton Material(douglas_rally_start_finish)
    {
       mapTo = "race_rally_start_finish";
       diffuseColor[0] = "0.992156982 0.992156982 0.992156982 1";
       colorMap[0] = "levels/rallystage/art/shapes/misc/race_rally_start_finish_d.dds";
       normalMap[0] = "levels/rallystage/art/shapes/misc/race_rally_start_finish_n.dds";
       specularPower[0] = "1";
       pixelSpecular[0] = "1";
       annotation = "SAND";
       materialTag0 = "beamng";
       specularStrength0 = "0.588235";
       materialTag2 = "Natural";
       materialTag1 = "rally";
       specularStrength1 = "1.76471";
    };
    
    
    singleton Material(wood)
    {
       mapTo = "race_wood";
       colorMap[0] = "levels/rallystage/art/shapes/misc/wood_d.dds";
       normalMap[0] = "levels/rallystage/art/shapes/misc/wood_n.dds";
       specularMap[0] = "levels/rallystage/art/shapes/misc/wood_s.dds";
       specularStrength1 = "1.76471";
       materialTag1 = "rally";
       materialTag2 = "Natural";
       annotation = "SAND";
       materialTag0 = "beamng";
       specularStrength0 = "0.588235";
    };
    
    singleton Material(wood)
    {
       mapTo = "ind_metalplates";
       colorMap[0] = "levels/rallystage/art/shapes/misc/wood_d.dds";
       normalMap[0] = "levels/rallystage/art/shapes/misc/wood_n.dds";
       specularMap[0] = "levels/rallystage/art/shapes/misc/wood_s.dds";
       specularStrength1 = "1.76471";
       materialTag1 = "rally";
       materialTag2 = "Natural";
       annotation = "SAND";
       materialTag0 = "beamng";
       specularStrength0 = "0.588235";
    };
    These are the items I'm hoping to fix.
    301ae3ed83abdbed34d636504424f0d3.png screenshot_2019-02-25_22-37-35.jpg

    P.S: During this, I restarted the map and now it's mapped correctly. My amount of confusion is through the roof, and I'm getting annoyed with this. Really hoping this is my stupidity's doing...
     
  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