Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 Time Capsule (How-to Library) » How to create face sti's [the basic tutorial]
Re: How to create face sti's [the basic tutorial][message #9457] Wed, 18 August 2004 22:01 Go to previous messageGo to previous message
Wodan is currently offline Wodan

 
Messages:538
Registered:December 2001
Location: Antwerp, Belgium
I understand the terminology can cause some confusing.

Each character has a set of sti files in different sizes. (The set of 7 I mention, although not all characters need all 7 files)
Every sti file in that set has 8 different images in it.
Out of those 8, the first is fixed in size and determines the size of the sti, the 7 following images
are the eye and mouth details and shouldn't be bigger than respectively +/- the eye and the mouth region.(see below).

So, if you have an npc, it would use 3 bXX.sti's, meaning his face in 3 different sizes, with every face having 7 eye and mouth details.


Let's say, open ja2/data/faces/B165.sti
That is the 90x100 face of Sparks. (a guy you should only encounter in the Sci-fi version of UC,
which isn't released yet)

Anyways, the sti consists of 8 images:
0: 90x100 total face image
1: 46x43 eye detail
2: 46x43 eye detail
3: 46x43 eye detail
4: 46x43 eye detail
5: 47x36 mouth detail
6: 47x36 mouth detail
7: 47x36 mouth detail

You will see the same structure for all face images, with the exception of the 106x122 bigface image. (used in profile and AIM, MERC page)

Of course, for another pic, the sizes of mouth and eye details might be slightly different.
Now open Proedit and check the eye detail offset (1,2,3 and 4)
an mouth image offset (5, 6 and 7). They should be eye 23,31 and mouth: 40.67. If so, you have a working pic. Voila.

For smaller sti's, yes, the images might become tiny. This is after all a 640x480 res game you know.
But as I said before, i think the game only actually uses the moving eye and mouth images for a few sti sizes,
and I forgot which ones. 90x100 is one of them for sure, but maybe the smallest ones don't have moving mouths
(although the images/sti's are made to be so in the original game. Maybe the dev's never got to implementing it)


Hope this answers your question...

Report message to a moderator

First Sergeant
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Next Topic: 1.13 Map Editor Guide
Goto Forum:
  


Current Time: Mon Dec 02 08:38:45 GMT+2 2024

Total time taken to generate the page: 0.01137 seconds