Author Topic: Object help?  (Read 730 times)

Offline Inner Knowing

  • Curious Wanderer
  • *
  • Posts: 29
  • Floof-O-Meter: 2
    • View Profile
Object help?
« on: September 16, 2012, 06:20:33 pm »
It should seem that every single time I download an object to put in a map, it never works. I load the mesh of the object into the object maker, and it comes up as basewhite. When I try to use the material file that came with the object, the maker says it cannot find the file. I follow the directions I am given, copy all files into myobjects. I have done this, and it does not work. Does someone know what I'm doing wrong?

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: Object help?
« Reply #1 on: September 16, 2012, 06:29:27 pm »
Could you be using the material incorrectly?
The way to use it is to open the material file in notepad, and the first line is something like
material {NAME}Mat
Though yours is probably something different.
Like lets take the rocks for an example.
The material for rocks is
rock.material
but if we open the material in notepad, it reads
Code: [Select]
material rockMat
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture rockTex.jpg
}
}
}
}
material rockMat1
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture rockTex1.jpg
}
}
}
}
material rockMat2
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture rockTex2.jpg
}
}
}
}
material rockMat3
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture rockTex3.jpg
}
}
}
}
material rockMat4
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture rockTex4.jpg
}
}
}
}
material rockMat5
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture rockTex5.jpg
}
}
}
}
material rockMat6
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture rockTex6.jpg
}
}
}
}

So in order to use one of the materials we can use
rockMat
rockMat1
rockMat2
and so on in the Material line in object maker.

Is this any help?

Offline Inner Knowing

  • Curious Wanderer
  • *
  • Posts: 29
  • Floof-O-Meter: 2
    • View Profile
Re: Object help?
« Reply #2 on: September 16, 2012, 07:00:49 pm »
It should seem that FeralHeart needed to be restarted. Though, I still can't get a few objects to work, but I think I can live without them on a map ;) thank you, though.