Author Topic: Billboards?  (Read 1157 times)

Offline Bluminescent

  • Finest Floof
  • ***
  • Posts: 550
  • Country: us
  • Floof-O-Meter: 59
  • "It's always about your friends, isn't it?"
    • Bluminescent
    • blumutt
    • View Profile
Billboards?
« on: December 04, 2012, 12:18:24 am »
How do I make a billboard? I mean.. it's confusing. Seriously how? o3o
My Deviantart



" Y'ever wonder what stars are? Where light comes from? "

Thierry

  • Guest
Re: Billboards?
« Reply #1 on: December 04, 2012, 12:21:08 am »
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
         }
      }

   }
}

Offline Bluminescent

  • Finest Floof
  • ***
  • Posts: 550
  • Country: us
  • Floof-O-Meter: 59
  • "It's always about your friends, isn't it?"
    • Bluminescent
    • blumutt
    • View Profile
Re: Billboards?
« Reply #2 on: December 04, 2012, 12:34:11 am »
How do I make a material file? I want to make a Justin Bieber billboard for a troll map really bad. X3
My Deviantart



" Y'ever wonder what stars are? Where light comes from? "

Offline Bluminescent

  • Finest Floof
  • ***
  • Posts: 550
  • Country: us
  • Floof-O-Meter: 59
  • "It's always about your friends, isn't it?"
    • Bluminescent
    • blumutt
    • View Profile
Re: Billboards?
« Reply #3 on: December 04, 2012, 12:38:40 am »
Nvm. I'll test this.
My Deviantart



" Y'ever wonder what stars are? Where light comes from? "

Thierry

  • Guest
Re: Billboards?
« Reply #4 on: December 04, 2012, 12:46:16 am »
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 )

Offline Bluminescent

  • Finest Floof
  • ***
  • Posts: 550
  • Country: us
  • Floof-O-Meter: 59
  • "It's always about your friends, isn't it?"
    • Bluminescent
    • blumutt
    • View Profile
Re: Billboards?
« Reply #5 on: December 04, 2012, 12:47:26 am »
Ok. Thanks!
My Deviantart



" Y'ever wonder what stars are? Where light comes from? "