VicToMeyeZR Posted January 7, 2010 Share Posted January 7, 2010 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. Quote AMD Phenom II x6 1100T - 16GB RAM - ATI 5870 HD - OCZ Vertex 2 60GB SSD Link to comment Share on other sites More sharing options...
Rick Posted January 7, 2010 Share Posted January 7, 2010 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. Quote Link to comment Share on other sites More sharing options...
VicToMeyeZR Posted January 7, 2010 Author Share Posted January 7, 2010 the original didn't have the property field at all, so it wasn't changeable.. Line 453 didn't really change, I just changed material to Material, to make sure it selected the property field correctly. Quote AMD Phenom II x6 1100T - 16GB RAM - ATI 5870 HD - OCZ Vertex 2 60GB SSD Link to comment Share on other sites More sharing options...
Recommended Posts
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.