Author Topic: Textures of oaks. Heeelp.  (Read 2074 times)

Offline Andreea

  • Familiar Grounds Dweller
  • **
  • Posts: 66
  • Floof-O-Meter: 4
    • View Profile
Textures of oaks. Heeelp.
« on: March 30, 2013, 07:53:50 pm »
Can you help me with something? Today i tried to change the textures at the oak with those from cherry blossom, but when i entered in game, i can't see the leaves from oaks. Can you explain to me? It would be very helpful.
I want to look like this...
[FeralHeart Username: Andreea]

Offline Aniuk

  • Finest Floof
  • ***
  • Posts: 718
  • Country: 00
  • Floof-O-Meter: 61
  • mesh requests? pm me~
    • giddyfox
    • View Profile
Re: Textures of oaks. Heeelp.
« Reply #1 on: April 01, 2013, 12:12:56 pm »
So, wait. You want the leaves of the oaks to be replaced with those of the cherry blossom?


sig by pokrova on deviantART

Offline Sibb

  • Dedicated Supporter
  • ***
  • Posts: 354
  • Country: 00
  • Floof-O-Meter: 31
  • #BusinessCat
    • http://www.youtube.com/user/Sibb
    • http://sibblet.deviantart.com/
    • STEAM_0:0:71732532
    • View Profile
Re: Textures of oaks. Heeelp.
« Reply #2 on: April 08, 2013, 11:31:05 pm »
Try having a look at the code names in the .cfg file in the main folder and at the same time have a look at the texture files in the texture folder.

Make sure that the code is labeled for the texture you want.

Signatures    |    Avatars

Offline BlueKinTsukiko

  • Experienced Traveler
  • **
  • Posts: 156
  • Floof-O-Meter: 6
    • View Profile
Re: Textures of oaks. Heeelp.
« Reply #3 on: April 08, 2013, 11:52:20 pm »
Take a note that your going to want to open up the .material file for the oak tree in order to put in the Cherry Blossoms texture. It ought to look something like this in order for it to work.

material ExampleMat/Leaf
{
   transparency_casts_shadows off
   receive_shadows off
   technique
   {
      pass
      {
         ambient 0.75 0.75 0.75 1
         diffuse 0.05 0.05 0.05 1
         cull_hardware none
         cull_software none

         alpha_rejection greater_equal 128

         texture_unit
         {
            texture Example.png
         }
      }
   }
}

Take note for certain textures to be added on to default feral heart meshes you have to copy and paste the code from the material file in the same file, edit it so it'll fit the description above, and it ought to load up properly from then on, save it as a different name though otherwise it could alter your map when you export it.

Offline Andreea

  • Familiar Grounds Dweller
  • **
  • Posts: 66
  • Floof-O-Meter: 4
    • View Profile
Re: Textures of oaks. Heeelp.
« Reply #4 on: April 10, 2013, 09:08:48 am »
Thank you soo much, it was very helpful! ^^
[FeralHeart Username: Andreea]