Rewrites question: you can make a texture, but where and how do you get a png image and post it on your waterfall texture on the program GIMP?
I use GIMP 2.8 so saving it as a .png may be different to an older version.
When you have finished making your texture go File>> Export>> (C:)>> Feralheart>> Media>> Objects>> Misc and type in your texture name then ADD .png at the end of the name.
Once you've done that click Export. If you get this box, click Load Defaults.
Go to your Misc folder and copy and paste that waterfall.material file. Open it up by Right-Clicking the file and choosing to open it with Notepad or Notepad++.
Then you just follow the instructions on my first post:
material WaterFallMat
{
technique
{
pass
{
lighting off
cull_hardware none
cull_software none
scene_blend alpha_blend
depth_write off
texture_unit
{
texture waterfall1.png
scroll_anim 0 1
}
texture_unit
{
texture waterfallMask1.png
scroll_anim 0 0.7
colour_op modulate
}
}
}
}
This is the material name, typing that in will make the texture show. Since we have made our own lets call it something else. How about "MyFirstWaterfall" or like me just add a number at the end. Make sure you remember exactly what you called it.
You type in the name of your image here. I called mine waterfall3.png so that is what i shall type in. Whatever you called yours type in remember to type the .png in too.
You can leave this how it is since the image is already there. What this does is kind of creates the shape of the waterfall. If you typed in the image of your texture it just looks unusual. Just trust me and leave it how it is, your waterfall will look better.
So lets change the code and now it will look like this.
material WaterFall3Mat
{
technique
{
pass
{
lighting off
cull_hardware none
cull_software none
scene_blend alpha_blend
depth_write off
texture_unit
{
texture waterfall3.png
scroll_anim 0 1
}
texture_unit
{
texture waterfallMask1.png
scroll_anim 0 0.7
colour_op modulate
}
}
}
}
Do you notice the differences in the code?
Ok now save it. Dont click "Save As" just click the "Save" button. Now get ready for what you are about to witness.
You remember what your material is called, right? Look back into your .material file and find your material name in case you didn't remember it.
Now lets open Feralheart and go onto Object Maker. Go to the tab called Mesh, lets type in "Waterfall1.mesh" into the Mesh box and then click the Add New button. There's Feralheart's waterfall, lets change that texture now.
See in the Material box (underneath the Mesh box) it says "WaterFallMat" well lets change that to our material name. My waterfalls material name was WaterFall3Mat so that is what i shall change it too. Hit Enter on your keyboard and observe as the waterfall has a different texture.
Now this is the shape of the waterfall, if you changed that "waterfallMask1.png" in the material code to your texture image, you would see a difference. Im sure you would prefer it if you left the "waterfallMask1.png" there.
I hope you managed to get your texture to show successfully. Remember to save your waterfall so you can use it in your maps.