Dreikblack Posted February 20 Share Posted February 20 1. Create a brush. 2. Apply a texture with console commands: local texture = LoadTexture("/Materials/Developer/trigger.dds") local material = CreateMaterial() material:SetTexture(texture) local selected = program:GetSelection() for n = 1, #selected do local currentBrush = Brush(selected[n].entity) if currentBrush ~= nil then currentBrush:SetMaterial(material) currentBrush:Build() end end 3. Save map - material can be seen in .ultra file. 4, Save map again - material is gone, Brush still have a line in .ultra: "material": 1 Quote Link to comment Share on other sites More sharing options...
Solution Dreikblack Posted July 19 Author Solution Share Posted July 19 No longer relevant - saving now materials after creating as mat files 1 Quote 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.