Home » SIRTECH CLASSICS » Jagged Alliance 2 » The A.I.M. Library » Face coordinates
Face coordinates[message #254174] Thu, 17 June 2010 18:39 Go to next message
Thor is currently offline Thor

 
Messages:420
Registered:February 2007
Location: Belgium
Okay, so now that a lot has changed with Headrock's innovations concerning profiles, where do I adjust the x / y coordinates of faces?

Any particular help for Ron's faces? Thanks!

Report message to a moderator

Master Sergeant
Re: Face coordinates[message #254176] Thu, 17 June 2010 19:13 Go to previous messageGo to next message
Headrock

 
Messages:1757
Registered:March 2006
Location: Jerusalem
Ahoy Thor.

Well, if you do use READ_PROFILE_DATA_FROM_XML, the face coordinates should be changed in MercProfiles.XML. It's fairly simple. If you don't read from XML, well, then it's just proedit.

Remember that RPC and IMP coordinates are NOT stored in that XML. I hear there's a new externalization for that, dunno if it's already available or not, but it'll allow changing those faces (previously hardcoded).

Report message to a moderator

Sergeant Major

Re: Face coordinates[message #254183] Thu, 17 June 2010 21:14 Go to previous messageGo to next message
wanne (aka RoWa21) is currently offline wanne (aka RoWa21)

 
Messages:1949
Registered:October 2005
Location: Austria
Its available in the closed beta.

Report message to a moderator

Sergeant Major

Re: Face coordinates[message #254213] Thu, 17 June 2010 23:57 Go to previous messageGo to next message
Thor is currently offline Thor

 
Messages:420
Registered:February 2007
Location: Belgium
Aha, okay! Thanks guys, but do you know if there's a package out with all of Ron's face coordinates for the READ_PROFILE_DATA_FROM_XML? They are plenty to change manually...

[Updated on: Fri, 18 June 2010 00:03] by Moderator

Report message to a moderator

Master Sergeant
Re: Face coordinates[message #254217] Fri, 18 June 2010 00:16 Go to previous messageGo to next message
Headrock

 
Messages:1757
Registered:March 2006
Location: Jerusalem
Hmmmm no, but if you make one please make sure to post it Very Happy

Also, here's an interesting idea: Since prof.dat is now (somewhat) externalized, maybe it would be smart to move all the face coordinates to a separate file. That way, the file can be supplied together with the new faces, and doesn't include actual stat data. The faces file would then include the coordinates for all faces, including RPC and IMP.

Report message to a moderator

Sergeant Major

Re: Face coordinates[message #254218] Fri, 18 June 2010 00:24 Go to previous messageGo to next message
Thor is currently offline Thor

 
Messages:420
Registered:February 2007
Location: Belgium
Okay, I'll post it if I ever make it Wink

Report message to a moderator

Master Sergeant
Re: Face coordinates[message #254239] Fri, 18 June 2010 06:03 Go to previous messageGo to next message
usrbid is currently offline usrbid

 
Messages:1502
Registered:December 2008
Thor
Aha, okay! Thanks guys, but do you know if there's a package out with all of Ron's face coordinates for the READ_PROFILE_DATA_FROM_XML? They are plenty to change manually...


Last time I checked Ron's faces had very few if any faces where the x/y were different from "standard" 1.13. Ron made his new faces to align with the old ones, which is pretty amazing actually. Marlboro Man's faces are different, mostly because he re-arranged the position of RPC IDs, so he had to change some (but not many) of the x/y.

Report message to a moderator

Sergeant Major

Re: Face coordinates[message #254282] Sat, 19 June 2010 02:00 Go to previous messageGo to next message
Thor is currently offline Thor

 
Messages:420
Registered:February 2007
Location: Belgium
Yeah, I meant Marlboro's rearranged ones, actually. Wink

Report message to a moderator

Master Sergeant
Re: Face coordinates[message #254291] Sat, 19 June 2010 06:47 Go to previous messageGo to next message
Never Darktide is currently offline Never Darktide

 
Messages:88
Registered:July 2009
This might be common knowledge, but just a few heads up:

If you want to use faces with IMPs that were not set up for them (because the IMP coordinates are hardcoded in the .exe) you can use STI-Edit, which is sitting around here somewhere and should be accessible with a few searches.

First of all, change the face number to the appropriate number (IMP male 1 is 200.STI, IMP female 1 is 208.STI, hopefully you can figure it out from there). Then open up JA2, ideally a game in a peaceful sector (or else clear out Omerta quickly), and just run your IMP around for a minute or two so you can see in which direction and how much you need to adjust the eyes and mouth.

Now open up STI-Edit and load the appropriate face file. Next to "Offset", you'll see an x=, y=, and "Show". Check the "Show" box; when you change x= or y=, this will show you what direction you're moving the eyes or mouth. Don't adjust the main face at all; you will see two red arrows on either side of a long bar. Use the arrows to change the frame. All the eye frames should be adjusted the same way, and the same for all the mouth frames (but the eyes and the mouth will not necessarily be adjusted the same as each other). Then go into JA2 and check how you did.

It's mostly trial and error, but you should get the hang of it quickly (and it's not like you should have to do it terribly often). I was able to set up the balaclava faces for my IMPs, and they look sweet. Smile

I know I was going to say something else, but I can't remember what it was now. Sad When I do, I will edit this post.

Report message to a moderator

Corporal 1st Class
Re: Face coordinates[message #254675] Wed, 23 June 2010 18:05 Go to previous messageGo to next message
Thor is currently offline Thor

 
Messages:420
Registered:February 2007
Location: Belgium
Aha. Thanks, man. Wink Yeah, I also made a few IMP faces that I've posted a while back...

Report message to a moderator

Master Sergeant
Re: Face coordinates[message #254712] Thu, 24 June 2010 00:34 Go to previous messageGo to next message
Guest
Screenshots?

Report message to a moderator

Re: Face coordinates[message #256283] Thu, 15 July 2010 09:02 Go to previous message
Kaerar is currently offline Kaerar

 
Messages:2016
Registered:January 2003
Location: Australia :D
Or you can look here and grab my IMP templates Wink


EDIT: Woot 10,000th post in this sub-section Very Happy

[Updated on: Thu, 15 July 2010 09:03] by Moderator

Report message to a moderator

Lieutenant

Previous Topic: If This Was Cuba I Would Be Cienfuegos (Asking Opinions)
Next Topic: Noob Grenade Q
Goto Forum:
  


Current Time: Tue Jun 16 07:44:26 GMT+3 2026

Total time taken to generate the page: 1.00001 seconds