ficool2 / HammerPlusPlus-Issue-Tracker

Bug and feature request tracker for Hammer++
36 stars 1 forks source link

[Feature Request] Material Browser "Duplicate Source" #348

Open JimbobweSmells opened 2 years ago

JimbobweSmells commented 2 years ago

Create a new button inside of the material browser which lets you duplicate a VMT as a loose file for replacement (same name and relative directory), or creating a copy with a new name (same directory). This would make updating materials for new shaders and adding unique variants a lot easier, especially if sections of your map require several of the same textures with different parameters, such as changing the envmap tint, or color tint.

MARK2580 commented 2 years ago

I don’t see any point, well, for example, a copy is created, what’s next? will you still climb into this folder and edit it manually?

JimbobweSmells commented 2 years ago

I don’t see any point, well, for example, a copy is created, what’s next? will you still climb into this folder and edit it manually?

Hammer++ would either open the directory for you or prompt you to directly open the VMT or such. Or, since the material would automatically be hotloaded, you can just hit the Open Source button also in the material browser, which otherwise serves little purpose since it can only open loose files. This is not a hard solution.