Author Topic: Help me change the sun texture! - SOLVED  (Read 1235 times)

Offline CheetahQueen42

  • Forum Newcomer
  • *
  • Posts: 9
  • Floof-O-Meter: 0
  • Greetings, wanderer.
    • View Profile
    • deviantART
Help me change the sun texture! - SOLVED
« 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?
« Last Edit: April 11, 2014, 08:48:26 pm by One-For-Sorrow »
They see you as small and helpless;
They see you as just a child;
Surprise when they find out that a warrior will soon run wild!

Offline zady

  • I BLAME RAZ!
  • Finest Floof
  • ***
  • Posts: 629
  • Country: 00
  • Floof-O-Meter: 56
  • DJ Rin
    • View Profile
    • Deviant Art
Re: Sky Maker - Help me change the sun texture!
« Reply #1 on: April 11, 2014, 04:57:09 am »
Scroll down past night bottom, there is an option for sun ^^


MESH edition
Preset & marking edition

Feel free to pm me for help!

Offline Ingredient

  • ~Dead men tell no tales~
  • Ancient Silver Mane
  • *****
  • Posts: 3,662
  • Country: 00
  • Floof-O-Meter: 366
    • Ingredient91
    • View Profile
Re: Sky Maker - Help me change the sun texture!
« Reply #2 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 :)
Will be inactive due to work and exams.

Offline CheetahQueen42

  • Forum Newcomer
  • *
  • Posts: 9
  • Floof-O-Meter: 0
  • Greetings, wanderer.
    • View Profile
    • deviantART
Re: Sky Maker - Help me change the sun texture!
« Reply #3 on: April 11, 2014, 08:47:30 pm »
Yes, that worked! c: Thanks so much, it looks just like I had hoped! ^^
They see you as small and helpless;
They see you as just a child;
Surprise when they find out that a warrior will soon run wild!

Offline Ingredient

  • ~Dead men tell no tales~
  • Ancient Silver Mane
  • *****
  • Posts: 3,662
  • Country: 00
  • Floof-O-Meter: 366
    • Ingredient91
    • View Profile
Re: Help me change the sun texture! - SOLVED
« Reply #4 on: April 11, 2014, 10:04:53 pm »
No problem at all ^^
Will be inactive due to work and exams.