Feral Heart
Help & Guidance => Game Help => Topic started by: Bluminescent on December 04, 2012, 12:18:24 am
-
How do I make a billboard? I mean.. it's confusing. Seriously how? o3o
-
You can load any material as billboard, just type the material name.
You need to open any .material file with notepad and search for the material name.
The material name comes after the keyword material just like this:
material lights
{
technique
{
pass
{
ambient 0.588235 0.588235 0.588235 1
diffuse 0.588235 0.588235 0.588235 1
specular 0 0 0 10 0
texture_unit
{
texture greenlights.jpg
}
}
}
}
-
How do I make a material file? I want to make a Justin Bieber billboard for a troll map really bad. X3
-
Nvm. I'll test this.
-
take a new blank text file and add a code like this, just change the material name and the image file (marked in white):
material JustinBieber
{
technique
{
pass
{
ambient 0.588235 0.588235 0.588235 1
diffuse 0.588235 0.588235 0.588235 1
specular 0 0 0 10 0
texture_unit
{
texture Justin.jpg
}
}
}
}
Then save it as a .material file. Be sure you can see all file extensions, and the file name end with .material (not .txt or .material.txt )
-
Ok. Thanks!