Author Topic: Needing Help Making Items For FeralHeart That Have More Than One Texture(SOLVED)  (Read 2158 times)

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
This problem is related to making /Items/ not objects.

I can make multi-textured objects just fine but I can't seem to make a multi-textured item!

A quick example of what I have so far for reference:
[Couch] #WIP
mesh=vtxSimpleCouch.mesh
material=vtx1xGrayMat
bone=Main
offset_f=0 -5 8
rotation_f=85 -180 0
offset_c=0 -5 8
rotation_c=85 -180 0

This Couch item was made with two materials/textures in Blender and they both show up in object maker but when I make it an item it just covers the entire object with one texture, I know why but I don't know what to change to make it display 2 textures instead of one.
In the material section, what would I do to specify the second texture like I would when making it in object maker? Or do I need to do something in the .material file for it to make it notice two mats instead of one, how would I do that?

Edit: I've noticed that the items that come with the Legendary Items Pack have multiple textures. However, many of them don't even specify a material in items.cfg but have .material files?... this is really confusing because their textures work just fine until you rename a couple of files relating to the specific item but normally if no material is specified it would simply use the BaseWhite texture and when I re-organized the items.cfg, all of the multi-textured items stopped displaying their textures.

The many things I've tried so far that don't work:

material=name1 name2

materials=name1 name2

material=name1
material=name2

material1=name1
material2=name2

material 1=name1
material 2=name2

material(s)=CouchMats #I did this is the .material file: material CouchMats/tex1 & material CouchMats/tex2
« Last Edit: December 30, 2016, 08:41:05 pm by VortexAlive »
For the sake of my own health and interests, I've left FH and I won't be looking back.

Offline Kuri

  • Immortal Legend
  • *****
  • Posts: 8,168
  • Country: nz
  • Floof-O-Meter: 136
  • Foreboding evil harmless kitten.
    • dumbstuff4friends
    • channel/UCo42jgbLvEzkofpOin0_a4A
    • View Profile
Re: Needing Help Making Items For FeralHeart That Have More Than One Texture
« Reply #1 on: December 30, 2016, 07:13:22 pm »
i have retextured objects, you need the material to specify 2 textures, like if you examine the default flowers you'll see they have 2 leaves & 3 petals specified.  Just copy what they did.
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 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: Needing Help Making Items For FeralHeart That Have More Than One Texture
« Reply #2 on: December 30, 2016, 07:19:11 pm »
I appreciate the help Kuri but like I said, this is about wearable items which are made differently... not objects. I am well aware of how the objects work.
For the sake of my own health and interests, I've left FH and I won't be looking back.

Offline Kuri

  • Immortal Legend
  • *****
  • Posts: 8,168
  • Country: nz
  • Floof-O-Meter: 136
  • Foreboding evil harmless kitten.
    • dumbstuff4friends
    • channel/UCo42jgbLvEzkofpOin0_a4A
    • View Profile
Re: Needing Help Making Items For FeralHeart That Have More Than One Texture
« Reply #3 on: December 30, 2016, 07:48:08 pm »
Oh right...  i retextured the glowsticks and stuff once but the material for them is different.  Never mind me then...  *Goes to corner*
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 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: Needing Help Making Items For FeralHeart That Have More Than One Texture
« Reply #4 on: December 30, 2016, 08:15:02 pm »
Okay Vortex, I am actually pretty clueless, as I have no experience with this but I thought I'd input some information about materials. You say you were trying to add different textures in the items.cfg file, correct? And that you've tried changing to a different texture in the .material file? Well, I wasn't sure by the way it sounds, but it sounds like you haven't tried layering the different textures. Now, I've only worked with presets on this, so for objects, I have extremely minimal knowledge in the technicalities of how to get two to show up, but in most of the material files I looked through that had two textures, it looked a little something like this (i.e. it had multiple passes/texture_units):





That image is just one item's material, but it has two different "layers" (I call them that but I don't really know the actual terminology) with two different textures. Now as for trying to get them to appear correctly from blender onto there, I would have no idea. I've never worked with that before. However, try experimenting with adding a second pass above the other one with your two different textures and see how it looks. (If you need a little bit better description I can do my best to do so)


« Last Edit: December 30, 2016, 08:24:03 pm by MorgraWolf »
Profile pic by Edolicious

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


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: Needing Help Making Items For FeralHeart That Have More Than One Texture
« Reply #5 on: December 30, 2016, 08:40:34 pm »
I FIGURED IT OUT!
Here is an explanation of what I had to do:

To start with, it had /nothing/ to do with the .material files or the items.cfg! I saw that some items in the items.cfg had no material line and then it hit me, those items have .material files that are specified in the .mesh files themselves! I had to make 2 materials in blender like this:


and then I removed the material line from the items.cfg since the mesh itself already specified them:

[Couch] #WIP -multi-texture works!
mesh=vtxSimpleCouch.mesh
bone=Main
offset_f=0 -5 8
rotation_f=85 -180 0
offset_c=0 -5 8
rotation_c=85 -180 0


Unfortunately I am going to have to fix a ton of changes I made to get all those multi-textured items working again... x'D

Thank you very much everyone! All of your input helped very much! ^.^

---(For Morgra) That is actually just having multiple materials in the same file to help keep the folder that the .material files are in from having thousands of files. It can really help keep things organized. The word "pass" is the same as the word "layer" in this case but all that does is slap a new texture on top of the previous layer. =)
For the sake of my own health and interests, I've left FH and I won't be looking back.

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
So glad you got it to work! Even though it must've taken you a lot to figure out to remove the material line, it makes sense in a way, doesn't it?

And your response to me: I thought it could have something to do with it, but wasn't sure. I'll have to work with objects a bit and it'll all probably make some more sense to me. 

Congrats for figuring it out! ^^
Profile pic by Edolicious

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


Offline Kerriki

  • Band Geek
  • Immortal Legend
  • *****
  • Posts: 5,670
  • Country: us
  • Floof-O-Meter: 371
  • Who needs furniture when you have the floor?
    • Kikiorylandia
    • View Profile
    • DeviantART
Have fun with the items! I'll go ahead and lock this up now~
Farewell everyone<3