Leftclick to set a material, rightclick to get a material, reload to reset, and a list of the default materials for if you don't already have the material somewhere.
Could someone make this?
You can't get the default material from a prop because.. I don't know, you can only get the override material.
If you really need the material the prop is using try "+mat_texture_list"
[QUOTE=CapsAdmin;16979291]You can't get the default material from a prop because.. I don't know, you can only get the override material.[/QUOTE]
Oh really, is that a bug or a problem with Source?
There simply is no built-in method in the source engine for getting a model's default material.
Actually, there should be. And if not, the textures are usually named the same as the prop anyway - the main problem, I'm fairly certain, is there's no build-in method in [i]Lua[/i] to get a model's material.
Besides, with how textures are UV-mapped, taking a texture from one prop and putting it on another will probably look like shit, primarily in the form of empty black spaces.
Sorry, you need to Log In to post a reply to this thread.