Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 Modding, Customising, Editing » Q&A about portrait .sti files; portraits
Re: Questions about portrait .sti files; test portrait[message #353289 is a reply to message #353288] Mon, 23 April 2018 05:03 Go to previous messageGo to previous message
edmortimer is currently offline edmortimer

 
Messages:1533
Registered:January 2015
Location: Home Free
Quote:
Lets say our frame 0 pic is 40x40 pixel, pics for eyes and mouth both 20x10 each.
Eye pic is at correct position at 10 px distance from upper(=Y) and left border(=X) of frame 0 pic,
while mouth is placed correct at 25 from upper and 10 from left.
If we have correct coordinates for this or any other relation of frame0 pic to rest in .sti,
we can calculate offset values for any other dimensions of frame0 pic
or the dimensions of other pics in same .sti file for face anim.
So its probably best to keep the upper left corner of frame1+ pics at the same spot in all portrait pics of same dimension,
and use equal eye%mouth values in .xml for at least the new entries
either use always the same.



Are you using different size mouth and eyes sections? Is that why you have come to this question? There is only one set of coordinates, and only one animated portrait (two coordinates and portraits if an recruitable NPC). All eyes sections have to be the same size and fit in the same place, likewise for the mouth sections.

Of course, you could make the eyes and mouths each a half-portrait . . . to make it easier for coordinates.


Quote:
There are a couple of tools in the Gimp(and probably most other pic editors)
which allow to do at least the general work faster like blur&unsharp mask, random pixel distortions ...


Yes, I use those tools but my results usually leave a lot to be desired. I need more practice.

Quote:
OT question: Anybody knows where the 106x122 "photos" in this thread were taken?


The Ryder Twins are a screenshot from Flugente's Mass Effect game. Max came from elsewhere, I forget.

Report message to a moderator

Sergeant Major
 
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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon10.gif
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
Previous Topic: 1.13 with Vanilla- or Wildfire-Items possible?
Next Topic: Italian Translation
Goto Forum:
  


Current Time: Wed Dec 04 01:30:38 GMT+2 2024

Total time taken to generate the page: 0.01583 seconds