Garry's Mod

Garry's Mod

Team Fortress 2 Hud For GMod | REMADE
 此主题已被置顶,因此可能具有重要性
Турельк  [开发者] 7 月 17 日 上午 4:40
Making your own player portrait
If you don't want to use a 3D model, you can use a 2D portrait instead.
By default, the mod comes with a default error (colorable and non-colorable) portrait. Creating your own portrait is actually simple!
You need to create a file in the data/tf2_hud/minimodel/ directory, and name it <your_own_name>.plyimg

Paste this template into the file:
{ "layer1": "nil", "layer2": "nil", "layer3": "nil", "layer4": "nil", "layer_color": "0,0,0,0" }

Set the key value layer1 to the path of your image (Path starts at "materials/tf2_hud/minimodel"). If you want to color your portrait, you need to split it into multiple images. Make the colorable images black and white, and separate non-colorable parts of the portrait.
In order for the layer to be colored, change the value of layer_color corresponding to the number of the layer from 0 to 1.
最后由 Турельк 编辑于; 7 月 18 日 下午 2:15
< >
正在显示第 1 - 2 条,共 2 条留言
Thx. But I Didn't Test It :(
Soliriox 9 月 21 日 下午 3:08 
ca u make a video about it ? don't work for me
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50