Page 1 of 1

How to make a transparent texture with gratings ?

Posted: Tue Jul 22, 2008 9:53 am
by Redline
Hello everybody , how can I create a transparent texture with gratings ?

Here is a picture.
Hidden/Spoiler:
Image
So and which number must I choose in Edit flags?
thx in advance :wink:

Re: How to make a transparent texture with gratings ?

Posted: Tue Jul 22, 2008 10:22 am
by MandeRek
Just use the transparent one, set it to 1 or 2, depends what you want, and apply the alpha channel to the texture. Just make the parts transparant what you want to have transparant ingame ;)

Re: How to make a transparent texture with gratings ?

Posted: Tue Jul 22, 2008 1:55 pm
by Caleb1117
There is also a way to hex edit a already exported mesh to use transparency on a texture.
The tut is in the modding FAQ.

Re: How to make a transparent texture with gratings ?

Posted: Wed Jul 23, 2008 4:21 am
by wazmol
Caleb1117 wrote:There is also a way to hex edit a already exported mesh to use transparency on a texture.
The tut is in the modding FAQ.
Yep, i did that just yesterday. Heres how to do it:
Mav' wrote:If you want to enable transparency, open up your .msh file with a hexeditor and find the name of the texture to which you're going to give transparency (search for .tga), say it's rep_inf_sharpshooter_cape. Once your cursor is on the name of the .tga, move it back a few places to where it says HBATRB - place your cursor on the place immediately after the last "B." The next 8 places should be "04 00 00 00 00 00 00 00." Change that to "04 00 00 00 04 00 00 00." Then save the mesh file and give your actual texture an alpha channel.
By the way, thanks Mav for that once again.