Feral Heart
Help & Guidance => Game Help => Topic started by: Shenzai on August 25, 2011, 10:10:04 pm
-
I don't know what am I doing wrong.
I'm trying to make a Dark fern for my Dark map, but the texture doesn't want to appear on the object!
First I edited the original fern texture to my DarkFern texture.
Then I copied the fern.material and renamed it to 'DarkFernMat'. I edited it so it looks like this:
material DarkFernMat
{
transparency_casts_shadows off
receive_shadows off
technique
{
pass
{
diffuse 0.5 0.5 0.5 1
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
texture_unit
{
DarkFern.png
}
}
}
}
Then I placed DarkFernMat.material, fern1.mesh and DarkFern.png into my_objects.
When I load the mesh in the maker, it appears like the original green fern. So, I type 'DarkFernMat' in the material space and all what appears is a black and yellow texture.
I don't know what's happening! I followed this tutorial (http://buttonslady927.blogspot.com/2011/08/to-z-map-tutorial-object-maker-1-of-2.html). Am I just being stupid?
Thank you!
-
material DarkFernMat
{
transparency_casts_shadows off
receive_shadows off
technique
{
pass
{
diffuse 0.5 0.5 0.5 1
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
texture_unit
{
texture DarkFern.png
}
}
}
}
You didn't have the word "texture" before the image name D:
That should work now.
-
OhMyDog! :o How silly I am! hehe, I might have erased it by mistake, thinking it was still the name I had to replace XD
I knew it would be something very stupid...
Thank you so much! ;D Now it works perfectly!
-
Your welcome :3