-
Notifications
You must be signed in to change notification settings - Fork 13
How to create custom mark
KissLick edited this page Apr 25, 2016
·
19 revisions
This is not a tutorial how to make a custom mark, this is more like a few tips how to make your own custom mark. Creating custom materials is well documented in tutorials listed bellow.
I will talk only about one shader I deem to be the best for marks and that is UnlitGeneric
.
With this shader you can create material with alpha canal, set opacity of the texture and change render colors.
Example:
"UnlitGeneric"
{
"$basetexture" "path/to/your/texture/file"
"$translucent" "1" // Allows alpha canal for texture created in image editor
"$vertexcolor" "1" // Allows changing render colors in downloads config
"$vertexalpha" "1" // Allows changing alpha canal in downloads config
}
This material should allow you to use all arguments in [Mark]
download prefix and also in MoreMarks config.
If you want your mark to be visible through walls. Use shader parameter $ignorez
. The best use case for this would be as last mark in MoreMarks module.
Example:
"UnlitGeneric"
{
"$basetexture" "path/to/your/texture/file"
"$translucent" "1" // Allows alpha canal for texture created in image editor
"$vertexcolor" "1" // Allows changing render colors in downloads config
"$vertexalpha" "1" // Allows changing alpha canal in downloads config
"$ignorez" "1" // Makes mark visible through walls
}
- Installation guide
- Teams
- Games
- Marks
- Fences
- Commands
- Bind actions
- TG menu & Modules config
- Chat & ColorVariables config
- Downloads config
- Logs
- Modules
- How does it work
- Api site
- Commented examples
- Module templates
- How To's