Q: cursors ...
Q: cursors ...
Ive continued to mod the GUI in FOT and eventually had a bit of a run in with cursors...
the main GUI cursor is a no brainer with "top left" as hot spot but the ingame (move, attack etc) are a different matter..
they are centered and dont use "top left".
since they are zar i cannot view them in psp/acdsee to check for any markers in them used as hotspot indicator..
(ive tried using a 255,0,255 pixel in the center and creating them as with the fonts, but no luck sofar )
does anyone have info on what tells FOT to have these icons use center instead of "top left" as hotspot?
the main GUI cursor is a no brainer with "top left" as hot spot but the ingame (move, attack etc) are a different matter..
they are centered and dont use "top left".
since they are zar i cannot view them in psp/acdsee to check for any markers in them used as hotspot indicator..
(ive tried using a 255,0,255 pixel in the center and creating them as with the fonts, but no luck sofar )
does anyone have info on what tells FOT to have these icons use center instead of "top left" as hotspot?
< V i R u Z >
- Jimmyjay86
- Hero of the Glowing Lands
- Posts: 2102
- Joined: Thu Apr 18, 2002 4:02 am
- Location: Wisconsin
- Contact:
- Red
- Hero of the Glowing Lands
- Posts: 2085
- Joined: Wed May 15, 2002 11:58 am
- Location: Nowhere (important anyway)
- Contact:
Bascially that's also how I think of it, as otherwise they would have found a way to slap it into the ZAR format, or made a new format for it.
Which evedently sucks.
On the bright side, if you make your picture 8 pixel/15 pixels taller (and slap transparant stuff there), then the ZAR will be "centere" on the top left. On top of it, the ZAR itself won't be much bigger than the original (without this centering stuff) would have been as the RLE compression will take care of all these empty pixels. It'll still be a bit bigger though.
Which evedently sucks.
On the bright side, if you make your picture 8 pixel/15 pixels taller (and slap transparant stuff there), then the ZAR will be "centere" on the top left. On top of it, the ZAR itself won't be much bigger than the original (without this centering stuff) would have been as the RLE compression will take care of all these empty pixels. It'll still be a bit bigger though.
...
yup it looks that way... i basically vanted to do a more 3d icon but i have to do with beeing able to change their look.
these are some i made to test transparency settings and visibility:

you can download the PNG's here .
(they look better in game:)
thanks for your feedback guys!, next ill try to setup maya to automate the render process for the spritestage.... and finish off the GUI mods..
i hope you are still feeling bound by your statement of making a tga -> spr importer Red
still messing with it but its coming together....

these are some i made to test transparency settings and visibility:

you can download the PNG's here .
(they look better in game:)
thanks for your feedback guys!, next ill try to setup maya to automate the render process for the spritestage.... and finish off the GUI mods..
i hope you are still feeling bound by your statement of making a tga -> spr importer Red

still messing with it but its coming together....

< V i R u Z >
- Red
- Hero of the Glowing Lands
- Posts: 2085
- Joined: Wed May 15, 2002 11:58 am
- Location: Nowhere (important anyway)
- Contact:
Been a while I looked at FOT and concentrated on FO lately... I'm totally forgetting about these text files lying all over the place in FOT...
And yes my promise still holds. If a graphic artist works hard enough to produce what I need to process new sprites then I'll work hard enough for it to work
.
Now all this talk about centers made me realise there might be trouble with centering of images. Ideally you'd get your 3d renderer to specify a center for the image. I beleive we'd need a file describing the centers, or an image format that supports it. Actually TGA has such a feature and we could create a PNG extention for it though I don't know wether MAYA'd (or anything else) support it. Not to mention my viewer doesn't support PNG.
And yes my promise still holds. If a graphic artist works hard enough to produce what I need to process new sprites then I'll work hard enough for it to work

Now all this talk about centers made me realise there might be trouble with centering of images. Ideally you'd get your 3d renderer to specify a center for the image. I beleive we'd need a file describing the centers, or an image format that supports it. Actually TGA has such a feature and we could create a PNG extention for it though I don't know wether MAYA'd (or anything else) support it. Not to mention my viewer doesn't support PNG.
...
-
- Vault Hero
- Posts: 1017
- Joined: Thu Apr 18, 2002 5:30 pm
- Location: Stone of Light Land
- Contact:
since i use a sprite stage all sprites will be centered by default ... this we have to check though....
how are the game handling the centering of images?
if we need a txt file for instance to go with the importing of sprites to specify the center i must really script this into maya.. since editing these by hand would be very time consuming....
BTW ... what does the SDF! by my nick mean???
how are the game handling the centering of images?
if we need a txt file for instance to go with the importing of sprites to specify the center i must really script this into maya.. since editing these by hand would be very time consuming....
BTW ... what does the SDF! by my nick mean???
< V i R u Z >
- Jimmyjay86
- Hero of the Glowing Lands
- Posts: 2102
- Joined: Thu Apr 18, 2002 4:02 am
- Location: Wisconsin
- Contact:
Using Redviewer or Spray you can specify the bounding box of the sprite. This will define the origin and the centering. It is graphical so you can create the box around the object.
Umm, I think SDF means Some Dumb Fuck?, Not really sure on that but it is the beginner/newbie tag until you get enough posts to move up in ranks. Email Kreegle to ask for the venerated Map Rats title.
Umm, I think SDF means Some Dumb Fuck?, Not really sure on that but it is the beginner/newbie tag until you get enough posts to move up in ranks. Email Kreegle to ask for the venerated Map Rats title.
- Red
- Hero of the Glowing Lands
- Posts: 2085
- Joined: Wed May 15, 2002 11:58 am
- Location: Nowhere (important anyway)
- Contact:
Well you COULD render the thing so that the image size is always the same and make maya center it appropriatly, however the currently used approach is that each image is cropped to the pixels it has, and thus each has it's own center (since if you were wielding a sniper riffle while looking "right" the center wouldn't be the same as when looking "up".ViruZ wrote:since i use a sprite stage all sprites will be centered by default ... this we have to check though....
how are the game handling the centering of images?
Yes, VERY time consuming. I was hoping we could use it directly in the file format (as I mentioend TGA has such a field), however failing that we'll need a text file. On the bright side of the text file we could add some other parameters to it (like wether we want to use the optimization I talked about in the email I sent you, if you want that animation compressed and possibly other stuff that's escaping me).if we need a txt file for instance to go with the importing of sprites to specify the center i must really script this into maya.. since editing these by hand would be very time consuming....
...