Author Topic: Retexture the default cave?  (Read 2847 times)

Offline Balthazar

  • Curious Wanderer
  • *
  • Posts: 11
  • Floof-O-Meter: 0
    • View Profile
Retexture the default cave?
« on: July 10, 2014, 09:11:10 am »
I have not been able to do this myself..  I've tried again and again with no luck, could someone please try to do this for me?  I'm trying to retexture the default fh cave - Cave1.mesh with the greengrass texture... I did it once, but I realized that it wouldn't show up like that to everyone else if I were to use it in my map. lol.  I screwed it all up.  But, if you can help me I would be very thankful!

This is the green grass texture thingie.

Offline LordSuragaha

  • The Karen Slayer
  • Immortal Legend
  • *****
  • Posts: 11,027
  • Country: 00
  • Floof-O-Meter: 1052
    • View Profile
Re: Retexture the default cave?
« Reply #1 on: July 10, 2014, 10:15:50 am »
Are you trying to simply retexture it for a map or for your entire game? If I recall right to retexture it for the general game you can simply swap up it's texture in the media>objects>rocks group. (That is I believe since it's been a while. At the moment I can't verify that since I'm away from my PC and can't access those files). It could also be one of the rock textures from the media>terrains>textures folder.

By the way moving this to Game Help

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: Retexture the default cave?
« Reply #2 on: July 10, 2014, 03:55:45 pm »
If you're trying to retexture it for a map and get it to show up for others, then you need to make a material file.
Copy any material file and just rename it to greengrassTerrain or open notepad and just save the file as .material when we're done. (Or skip this section and just download the file from below.)
But now, if you've copied a material file, erase what's inside and paste this;
Code: [Select]
material Terrain/GreenGrass
{
receive_shadows on
technique
{
pass
{
lighting off
texture_unit
{
texture greengrass.jpg
}
}
}
}
Save this .material file as greengrassTerrain.material in your my_objects folder.
OR
Just download the material file from here;
https://www.dropbox.com/s/1rtqqw6dtbym8rx/greengrassTerrain.material
and put it in your my_objects folder.
-
Once you have the material file, launch FeralHeart and go into Object Maker. In the Mesh tab, load cave1.mesh and click Add New. Change rock1Mat to our material, Terrain/GreenGrass. Then click Update, and boom. Grass cave. Now go back to the first tab, name the mesh whatever you want, and save it to a group. Do not save it to an existing group like, MyRocks, Default, Misc, etc. Make sure you just type in whatever you want so it saves to a new group.
Then once you export and share your map, it will show up like this for others.

Offline Balthazar

  • Curious Wanderer
  • *
  • Posts: 11
  • Floof-O-Meter: 0
    • View Profile
Re: Retexture the default cave?
« Reply #3 on: July 11, 2014, 03:38:45 am »
Oh, thank you so much, Ruby!  I finally figured it out. xD  I kept failing, even with your advice.  It turns out, when I type the material in on the Object maker, I would put it like this- "greengrassterrain.material" When, I really just had to put "greengrassterrain" without a .material at the end.  Thank you so much for this!

Offline Balthazar

  • Curious Wanderer
  • *
  • Posts: 11
  • Floof-O-Meter: 0
    • View Profile
Re: Retexture the default cave?
« Reply #4 on: July 11, 2014, 03:41:02 am »
Are you trying to simply retexture it for a map or for your entire game? If I recall right to retexture it for the general game you can simply swap up it's texture in the media>objects>rocks group. (That is I believe since it's been a while. At the moment I can't verify that since I'm away from my PC and can't access those files). It could also be one of the rock textures from the media>terrains>textures folder.

By the way moving this to Game Help

I meant to retexture it for a single map to match the ground for a couple dens.  I wanted to make it seem like they were hidden underground and everything..  But thanks, Ruby helped me out. x)

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: Retexture the default cave?
« Reply #5 on: July 11, 2014, 03:50:04 am »
Happy to help!
Good luck on that map. c: