Author Topic: How to texture an object with terrain?  (Read 3664 times)

Offline Wolflover224

  • Community Champion
  • ****
  • Posts: 1,582
  • Country: 00
  • Floof-O-Meter: 16
  • Im an IRL dolphin; On hiatus
    • the-sketchy-orca
    • View Profile
How to texture an object with terrain?
« on: August 16, 2017, 10:15:54 pm »
So I need to know how to texture an object with the brownish stone terrain texture. Help?

Offline VortexAlive

  • Eevee Knight
  • Honored Hero
  • *****
  • Posts: 5,080
  • Country: us
  • Floof-O-Meter: 180
  • A wild floof has appeared!
    • VortexAlive
    • VortexAlive
    • VortexAlive
    • View Profile
    • VortexAlive is Rawrsome
Re: How to texture an object with terrain?
« Reply #1 on: August 16, 2017, 10:51:29 pm »
What you would do is make a new .material file in "FeralHeart > media > objects > my_objects" that uses the said texture and then you will be able to use the texture on any object by typing in the material name.
For the sake of my own health and interests, I've left FH and I won't be looking back.

Offline Wolflover224

  • Community Champion
  • ****
  • Posts: 1,582
  • Country: 00
  • Floof-O-Meter: 16
  • Im an IRL dolphin; On hiatus
    • the-sketchy-orca
    • View Profile
Re: How to texture an object with terrain?
« Reply #2 on: August 17, 2017, 09:36:05 pm »
What you would do is make a new .material file in "FeralHeart > media > objects > my_objects" that uses the said texture and then you will be able to use the texture on any object by typing in the material name.

I don't really know how to make materials or anything like that
You know how when you type something like mount1.mesh in the object maker and it has the default savannah grass texture on it? I wanted to find a way to get the stone texture on there instead of the default texture.

Offline VortexAlive

  • Eevee Knight
  • Honored Hero
  • *****
  • Posts: 5,080
  • Country: us
  • Floof-O-Meter: 180
  • A wild floof has appeared!
    • VortexAlive
    • VortexAlive
    • VortexAlive
    • View Profile
    • VortexAlive is Rawrsome
Re: How to texture an object with terrain?
« Reply #3 on: August 17, 2017, 09:54:11 pm »
Go to "FeralHeart > media > objects > myRocks".
Copy the rock.material file.
Go to "FeralHeart > media > objects > my_objects".
Paste the file in there.
Now right click on the file and Rename it to something else, then open it and change the first entry to this:
Code: [Select]
material yourMat
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture yourTex.jpg
}
}
}
}

and remove all the other entries. (you can add more of your own if you want to.)

Then go to "FeralHeart > media > terrains > textures" and find the texture you want to use.
Copy it & paste it into "FeralHeart > media > objects > my_objects".

Now you should be able to load the ground texture you want by typing yourMat into the material field of the object maker.
For the sake of my own health and interests, I've left FH and I won't be looking back.

Offline Wolflover224

  • Community Champion
  • ****
  • Posts: 1,582
  • Country: 00
  • Floof-O-Meter: 16
  • Im an IRL dolphin; On hiatus
    • the-sketchy-orca
    • View Profile
Re: How to texture an object with terrain?
« Reply #4 on: August 18, 2017, 09:22:46 pm »
Go to "FeralHeart > media > objects > myRocks".
Copy the rock.material file.
Go to "FeralHeart > media > objects > my_objects".
Paste the file in there.
Now right click on the file and Rename it to something else, then open it and change the first entry to this:
Code: [Select]
material yourMat
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture yourTex.jpg
}
}
}
}

and remove all the other entries. (you can add more of your own if you want to.)

Then go to "FeralHeart > media > terrains > textures" and find the texture you want to use.
Copy it & paste it into "FeralHeart > media > objects > my_objects".

Now you should be able to load the ground texture you want by typing yourMat into the material field of the object maker.

I don't really understand it
I remember that people could texture caves to have the flower terrain on them (I did it before) and I want to do that but make it the brownish stone tex instead of the flower pattern.
It didn't require making a material file you could just type in the tex and go

Offline Kuri

  • Immortal Legend
  • *****
  • Posts: 8,168
  • Country: nz
  • Floof-O-Meter: 136
  • Foreboding evil harmless kitten.
    • dumbstuff4friends
    • channel/UCo42jgbLvEzkofpOin0_a4A
    • View Profile
Re: How to texture an object with terrain?
« Reply #5 on: August 18, 2017, 09:48:33 pm »
Just put "material rockmat" in the item maker (as it's a default mat' it should work)
The Japanese concept of wabisabi:
The closest concept in english would be 'rustic'
They might have an old thing, one example is a favourite bowl or dish, it's broken, pieces are missing, why fix it?  With gold and pieces from other dishes?
"Because it was my favourite & I like it"

Offline Wolflover224

  • Community Champion
  • ****
  • Posts: 1,582
  • Country: 00
  • Floof-O-Meter: 16
  • Im an IRL dolphin; On hiatus
    • the-sketchy-orca
    • View Profile
Re: How to texture an object with terrain?
« Reply #6 on: August 19, 2017, 12:54:53 am »
Just put "material rockmat" in the item maker (as it's a default mat' it should work)

No not the default rock texture I'm talking about texturing an item the same texture as the terrain texture called brownish stone.

Offline Morgra

  • I don't like sand...
  • Immortal Legend
  • *****
  • Posts: 5,718
  • Country: us
  • Floof-O-Meter: 347
  • Ever been killed by a spider? I was
    • DinksterDaily
    • View Profile
Re: How to texture an object with terrain?
« Reply #7 on: August 19, 2017, 01:43:31 am »
I don't really understand it
I remember that people could texture caves to have the flower terrain on them (I did it before) and I want to do that but make it the brownish stone tex instead of the flower pattern.
It didn't require making a material file you could just type in the tex and go

For clarification, you definitely do need to make a .material file for a new object that's using the terrain texture that you wanted. When making objects in Object Maker, the object looks for a .material file and not a plain image. That's why VortexAlive's instructions are the way to go. Paste the brownishstone texture into my_objects, make a new .material file as shown by Vortex, also having that .material into my_objects and then type in what's next to material into the Material input box in Object Maker.
He showed it as "yourMat" <----what you type in.
Profile pic by Edolicious

People don't think the universe be like it is, but it do.


Offline Wolflover224

  • Community Champion
  • ****
  • Posts: 1,582
  • Country: 00
  • Floof-O-Meter: 16
  • Im an IRL dolphin; On hiatus
    • the-sketchy-orca
    • View Profile
Re: How to texture an object with terrain?
« Reply #8 on: August 20, 2017, 03:22:42 am »
I don't really understand it
I remember that people could texture caves to have the flower terrain on them (I did it before) and I want to do that but make it the brownish stone tex instead of the flower pattern.
It didn't require making a material file you could just type in the tex and go

For clarification, you definitely do need to make a .material file for a new object that's using the terrain texture that you wanted. When making objects in Object Maker, the object looks for a .material file and not a plain image. That's why VortexAlive's instructions are the way to go. Paste the brownishstone texture into my_objects, make a new .material file as shown by Vortex, also having that .material into my_objects and then type in what's next to material into the Material input box in Object Maker.
He showed it as "yourMat" <----what you type in.

How do you make a material file and how do you implement the textures into it? It's just super confusing lol
Also I didn't realize how much the modding and stuff changed from the old feralheart haha

Offline VortexAlive

  • Eevee Knight
  • Honored Hero
  • *****
  • Posts: 5,080
  • Country: us
  • Floof-O-Meter: 180
  • A wild floof has appeared!
    • VortexAlive
    • VortexAlive
    • VortexAlive
    • View Profile
    • VortexAlive is Rawrsome
Re: How to texture an object with terrain?
« Reply #9 on: August 20, 2017, 08:25:55 am »
This is how you Create a new Material file:
Go to "FeralHeart > media > objects > myRocks".
Right click on the "rock.material" file.
Left click "Copy"
Go to "FeralHeart > media > objects > my_objects".
Right click in that folder.
Left click "Paste" to create a new material file.
Now right click on the file you just made and "Rename" it to something else.

This is how you use the Ground Textures in that newly created material file:
Then open your new material file and change the first entry to this:
Code: [Select]
material yourMat
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture yourTex.jpg
}
}
}
}

and remove all the other entries. (you can add more of your own if you want to.)

Then go to "FeralHeart > media > terrains > textures" and find the texture you want to use.
Copy it & paste it into "FeralHeart > media > objects > my_objects".

Now you should be able to load the ground texture you want by typing yourMat into the material field of the object maker.

It really hasn't changed, the difference is that you are trying to use a Ground Texture which does not already have a Material set up. All the default Object Textures already have these and you would only need to know their material name to use their texture.

Please let us know if there is a certain part you are not understanding. =)
For the sake of my own health and interests, I've left FH and I won't be looking back.