Feral Heart

Help & Guidance => Game Help => Topic started by: PoisonIVy12 on June 11, 2015, 10:56:59 pm

Title: Ceiling Materials (Lock Please :) )
Post by: PoisonIVy12 on June 11, 2015, 10:56:59 pm
Usually I come here to ask for help on glitches and stuff wrong with my game (aided by my computer, which is frankly a piece of junk XD), but now I just need help on doing a thing that would be useful for map making.

How do I get a different ceiling? There's a bar on the Map Maker that would allow me to do just that, but I don't know how to make other ceiling material files, or if I even could. There's only CeilingMat, and I think it would be a lot of fun to have other ceilings that correspond to any texture I put on the ground; I've seen other maps with "custom ceilings" and I want to utilize this element of FeralHeart creativity for myself. XD

(Especially in my map the Netherworld. It has a crazy red-and-black texture which does not quite work with the CeilingMat ceiling texture.)
Title: Re: Ceiling Materials
Post by: Ingredient on June 12, 2015, 06:16:34 am
You can pretty much use any material used in-game as your ceiling material. For example rockMat, WaterMat etc.

You can make your own material by firstly going to Feralheart>> Media >> Objects >> Structures. Copy and paste the ceiling.material file. Rename it to whatever you'd like and open it with a program such as Notepad (or what I prefer Notepad++).

You can do this by right-clicking the file and choosing Open/Open With and selecting Notepad. Or just opening the program and search for the file by going File >> Open...

The code should look like this:

material CeilingMat
{
   receive_shadows on
   technique
   {
      pass
      {
         //lighting off
         texture_unit
         {
            texture ceilingTex.jpg
            scale 0.05 0.05
         }
      }
   }
}

This part you can change to whatever you like. It's the name you're going to type into that "Ceiling Bar" in Map Maker.

If you have an image what what you would like the ceiling to look like, just type in the name in this part. Make sure it's a .jpg image though.

When you're done editing the file, just go File >> Save and you can open up Feralheart. Go to Map Maker and type in the name you put in the CeilingMat bar and hopefully it should show up just fine!

I hope this helps :)
Title: Re: Ceiling Materials
Post by: PoisonIVy12 on June 12, 2015, 07:51:00 pm
All right, thanks :D I'll try that today~
Title: Re: Ceiling Materials (Lock Please :) )
Post by: Ingredient on June 13, 2015, 03:04:55 am
No problem, good luck! :)