Cloaked Texture Problem
Posted: 03 Mar 2007, 07:52
Please forgive me if this problem/question was addressed in another post. I couldn't seem to find anything pertaining to this, so I hope someone could lend a hand.
I'm giving a try at making new units, and have struggled here and there, partially because the majority of tutorials assume you already know how to do some specific things, some of which I've never done before.
Anyways, I decided to start simple and modify a MOD by adding a simple cube which will act as a land mine. So, I coppied all the required resource files, the .fbi the .cob etc...and moddled a simple cube in Wings3d, exported a UV map and edited that map with photoshop, adding a alpha channel, and saving as a 32 bit tga. Now, I got it all to work in game, but as you all know, mines start out cloaked. If I unloak the mine, the texture looks fine, but when it's cloaked, it goes transparent like its supposed to, but acts like it doesn't use the UV mapped texture anymore, and shows a bunch of little cubes of generic textures.
I've messed with this thing for quite a long time, checking the wiki the boards, messing some more. It's been several days now and I'm pretty well stuck, so if anyone could help me out, that would be great. Thanks.
I'm giving a try at making new units, and have struggled here and there, partially because the majority of tutorials assume you already know how to do some specific things, some of which I've never done before.
Anyways, I decided to start simple and modify a MOD by adding a simple cube which will act as a land mine. So, I coppied all the required resource files, the .fbi the .cob etc...and moddled a simple cube in Wings3d, exported a UV map and edited that map with photoshop, adding a alpha channel, and saving as a 32 bit tga. Now, I got it all to work in game, but as you all know, mines start out cloaked. If I unloak the mine, the texture looks fine, but when it's cloaked, it goes transparent like its supposed to, but acts like it doesn't use the UV mapped texture anymore, and shows a bunch of little cubes of generic textures.
I've messed with this thing for quite a long time, checking the wiki the boards, messing some more. It's been several days now and I'm pretty well stuck, so if anyone could help me out, that would be great. Thanks.