Feral Heart

Help & Guidance => Game Help => Topic started by: CheetahQueen42 on April 10, 2014, 09:08:20 pm

Title: Help me change the sun texture! - SOLVED
Post by: CheetahQueen42 on April 10, 2014, 09:08:20 pm
Hello! I've been working on a sky for my map, and I'd like it to be night all the time. I've changed all the colours and everything to appear that way, and I'm hoping to change the sun texture to match that of the moon. How do I do that? Do I need a special .MAT file for it, or do I just need to copy the default moon texture into another folder?
Title: Re: Sky Maker - Help me change the sun texture!
Post by: zady on April 11, 2014, 04:57:09 am
Scroll down past night bottom, there is an option for sun ^^
Title: Re: Sky Maker - Help me change the sun texture!
Post by: Ingredient on April 11, 2014, 05:52:30 am
Go to your Feralheart >> Media >> Sky folder and copy and paste one of the .material files. Open it up with Notepad and replace it with this:

material NewSunMat
{
   technique
   {
      pass
      {
         lighting off
         scene_blend add
         depth_write off
         fog_override true
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture IMAGE.png
         }
      }
   }
}

The parts coloured in are the only parts you really need to modify. The first one is the name of the material or what you want to type in Sky Maker to make the new texture show.

The image part, well just the name of the image but it must be in .png format. For the image you will have to copy and paste the original sun texture used in the game and rename it. Make sure to keep the black background when editing it. Anything black will show up transparent in the game.

Hope this helps :)
Title: Re: Sky Maker - Help me change the sun texture!
Post by: CheetahQueen42 on April 11, 2014, 08:47:30 pm
Yes, that worked! c: Thanks so much, it looks just like I had hoped! ^^
Title: Re: Help me change the sun texture! - SOLVED
Post by: Ingredient on April 11, 2014, 10:04:53 pm
No problem at all ^^