Jump to content

Raod Mat


VicToMeyeZR
 Share

Recommended Posts

I modified the Road node lua file slightly.

 

Open file: Raod_node.lua

 

Add on line 26

 

group:AddProperty("Material", PROPERTY_FILE, "MAT Files (*.mat):mat", "", "RoadMaterial Files")

 

Find line 453 or

material=LoadMaterial("abstract::"..self.model:GetKey("material"))

 

And change the material to Material

 

I have not tested this extensively, but it should allow you to change the road material easily.

 

If some one wants to confirm, or show I better solution. :blink:

AMD Phenom II x6 1100T - 16GB RAM - ATI 5870 HD - OCZ Vertex 2 60GB SSD

76561197984667096.png

Link to comment
Share on other sites

How was it originally. I'm not home and don't have access to see it. If it wasn't allowing a setting to change it then this should be something Josh puts into the final version because it would suck to have to make sure this doesn't get overwritten with updates.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...