HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Custom cursor

03-21-2007, 11:58 AM#1
Callahan
I've made a cursor textures.But i don't know how to use it.
I've imported the textures in my map with the path : UI\Cursor\HumanCursor.blp
I've the human race but it doesn't appear in game and i've an invisible cursor.
What is wrong with my textures?
here the textures:
Zoom (requires log in)
Attached Images
File type: jpgRPGcursor.jpg (14.2 KB)
03-21-2007, 12:02 PM#2
Rao Dao Zao
No or totally white alpha channel, presumably.

But how to fix that depends on what program you're using.
03-21-2007, 12:24 PM#3
Callahan
I'm using gimp 2-0 to edit the tga and w3 viewer to convert to blp.
The alpha channel dosen't seems to be totally white.
RGBA appear like the screenshot on a black background
03-21-2007, 01:52 PM#4
Rao Dao Zao
From my own experience with interface textures, they all seem to have the wrong alpha channel, so I suspect it's some residual error therein.

But I can't help you with the GIMP, I'm afraid.
03-21-2007, 06:03 PM#5
Callahan
so i'll submit the textures here hoping someone can fix it with other program than gimp.
But Gimp is similar to photoshop (i think) so if you know what to to in photoshop or other program just tell me and then i'll try to manage to fix it with gimp.
Attached Images
File type: tgaCustomCursor.tga (89.8 KB)
Attached Files
File type: blpCustomCursor.blp (74.1 KB)
03-21-2007, 06:28 PM#6
Rao Dao Zao
Hmm, the alpha channels on there seem fine.

Perhaps try replacing a different race cursor (just to test)? It could be interference with the human cursor being already loaded for the main menu.
03-21-2007, 07:57 PM#7
Callahan
No the problem did not come from the path(i tried).
Or maybe i have to modify it at "game interface" i'll chek it now.
Edit :No it's not at the game interface
03-21-2007, 08:23 PM#8
Rao Dao Zao
Something queer is definitely afoot, because I've replaced cursors before in stand-alone maps without problems at all.

But I'm damned if I know what's the beef. :/
03-21-2007, 09:18 PM#9
Jualin
I took both the .tga and the .blp, converted the .blp to tga with the Wc3 Viewer, and opened the .tga file with GIMP. It had no alpha channel. I blamed the conversion process for that.

I converted it back into a .blp just in case, and it didn't work in a test map. I then proceeded to load it into Fireworks, an image making program which automatically eats alpha channels.

After marking each image, just in case it showed but the alpha channel didn't (a moot point, considering that the alpha channel used by Fireworks has to be altered to make it readable to WC3, and I forgot to do that), I changed it back to .blp. It worked.

However, the image file ended up upside down somehow. For that I blame the conversion.

My personal suspicion in this matter is either the Viewer's conversion or the file's alpha. One or the other. Perhaps both.

Click image for larger version

Name:	Picy.jpg
Views:	24
Size:	27.7 KB
ID:	22740
Attached Images
File type: jpgPicy.jpg (27.7 KB)
03-21-2007, 10:07 PM#10
Ammorth
I tried to get a working copy and I found a few strange things.

The original human cursor is still hidden in the image some where, and I could not remove it. I tried creating only the image on a new layer, adding an alpha channel, placing the layer on an image that previously worked for me, copying the image to a new image, and 3 different image converters. It seems that Wc3 Viewer wasn't displaying the residue of the original cursor, but Wc3 Image Extractor and Wc3 Model Editor were. Weird enough is that both the .tga and the .blp suffered from this. This shows that it has nothing to do with the image converters, but the image itself.

This is where my knowledge fails me. I would try making the cursor again (don't copy and paste this one) in a new document. Delete the original cursor first before making it.

Good luck.
03-22-2007, 05:15 PM#11
Callahan
Problem solved i've copy/past the texture to another transparent pictures.
Zoom (requires log in)Zoom (requires log in)
Attached Images
File type: jpgCursor.jpg (26.4 KB)
File type: jpgCursor1.jpg (13.1 KB)