Home » SIRTECH CLASSICS » Jagged Alliance 2 » JA2 Technical Department » Trying to Copy/Paste Gaston/Stogie/Tex From JA2UB Onto MERC in JA2 - help! :)
Re: Trying to Copy/Paste Gaston/Stogie/Tex From JA2UB Onto MERC in JA2 - help! :)[message #11758] Fri, 23 September 2005 04:14 Go to previous messageGo to previous message
CatSpam is currently offline CatSpam

 
Messages:75
Registered:May 2004
Location: Canada
This is a really old question. And I know where you can find a really old answer.


Deutscher made an excellent guide on how to swap characters.

You can still find it on the LORDS OF THE BYTES website

http://www.lords-of-the-bytes.com/

Just click on FORUM, MODDING GUIDES, PAGE 2 - it is near the bottom because it is an old guide. You can find some information on PROEDIT on the same site.


I have swapped characters like this quite a bit.


You will need to work out the eye coordinates for these characters, but shouldn't have trouble with hardcoded coordinates. Mad Mugsy is right - the eye coordinates are hardcoded into the game for recruitable NPC's - but the AIM and MERC mercs only use the coordinates in the PROF.DAT file.


Since all you want to do is replace some MERC characters with these characters, you just need to figure out what the final eye coordinates for the characters are and use PROEDIT to put them in prof.dat.


I used trial and error to find out the eye coordinates for some characters a long time ago, using the custom merc faces to create new NPC's I could recruit.

I am sure there are easier ways, but what I did was replace Fatima and Pacos and used information on editing NPcDATA files to make them recruitable.

I also set them up that if I gave them money (even just $10) they would be recruited. That information is in a topic called "NPC scripting" in the Discoveries section of the LORDS OF THE BYTES forum.

I would start a new game, clear out the sector, and then recruit Fatima and Pacos. Then check their eyes and see where the box with the eyes appears when they blink. If it is above their normal eyes, you need to increase "X". Decrease "X" if it is below. If the box eyes are to the left of the normal eyes, increase "Y". I kept doing that until I got the eyes working right.


That is a lot of work, which makes John Wright's offer to post his information a great offer. Maybe someone has the coordinates for Tex handy so you could get that info too without having to do all this work.


BTW, you can change NPC's to make them recruitable, even if they are out of the range of usually recruitable NPC's. They will not change sets of eye coordinates so they will only use the coordinates they start with. This will make their original NPC faces all screwed up if you want their recruited faces to work. But I have replaced FATIMA and PACOS with mercenaries and used those mercenaries throughout the game. It is stable.

You must remember to change their body shape as well to "reg male" or "reg female" because their current bodies (woman with a dress, child) won't be able to use guns.

Good luck.

Report message to a moderator

Corporal
 
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
Previous Topic: What weapons are in these Russian Mods?
Next Topic: Autofire
Goto Forum:
  


Current Time: Mon Jan 20 14:00:00 GMT+2 2025

Total time taken to generate the page: 0.01831 seconds