Page 1 of 1

cursors questions...

Posted: 28 Mar 2008, 21:31
by smoth
Not sure where this should go in modeling or modding so I post it here.

what was the deal with the new png support for cursors? can offset the cursors? so I could say, move the center of my select cursor so that a crosshair rather then an arrow would work?

Re: cursors questions...

Posted: 29 Mar 2008, 02:02
by rattle
I think you can set the xy origin of your cursor through a text file or something.

Re: cursors questions...

Posted: 29 Mar 2008, 03:08
by Gnomre
IIRC only "hotspot center" and "topleft" work, but that could have been changed/I could be wrong.

You can also set the frame length, re-use frames in animated cursor, and sort your cursors to your heart's content. Here's an example of one of SWIW's cursor text files:

Code: Select all

hotspot center
frame  bitmaps/cursors/move/move01.png  0.100
frame  bitmaps/cursors/move/move02.png  0.100
frame  bitmaps/cursors/move/move03.png  0.100
frame  bitmaps/cursors/move/move04.png  0.100
frame  bitmaps/cursors/move/move05.png  0.100
frame  bitmaps/cursors/move/move04.png  0.100
frame  bitmaps/cursors/move/move03.png  0.100
frame  bitmaps/cursors/move/move02.png  0.100
(each frame is one tenth of a second)

As you can see, I sorted all of our cursors into the bitmaps directory, leaving only these text files in (the now strangely named for its purpose) anims dir.

Re: cursors questions...

Posted: 29 Mar 2008, 03:55
by smoth
cool, thanks!