Home » SIRTECH CLASSICS » Jagged Alliance: Unfinished Business » Tools and Guides Repository (Archive) » Creating custom IMPs - A Tutorial
Creating custom IMPs - A Tutorial[message #188780] |
Sun, 15 June 2008 13:47  | |
Brms08
|
 |
Messages:10
Registered:June 2008 |
|
|
Hi all,
Just to give something back to the community, here's how I always create my custom IMPs.
First, the list of tools/files you need:
1. JA2 Custom MERC Editor v1.03 (JA2CME.EXE)
2. HEX Editor (HxD.EXE or any other)
3. An empty IMP.dat
4. CALC.EXE for HEX conversions (Scientific Mode)
5. \Data-1.13\TableData\Items.xml
The first three are in this package:
http://rapidshare.com/files/122574427/IMPEDIT_TOOLS.zip
Now, follow these steps:
PART I - Create an IMP
1. Copy 'IMP.dat' into \Data-1.13\ folder.
2. If you want all the 6 IMPs (3 male + 3 female) then you have to create 6 copies of 'IMP.dat'.
To do this, simply select IMP.dat and press CTRL+C, then press CTRL+V six times. Now you have 6 copies of IMP.dat.
I'm going to rename these files as '1.dat', '2.dat',..., '6.dat'.

I'm going to create only one IMP using '1.dat' though, as an example.
3. Now, run JA2CME.EXE
Here's how it looks like

4. Click on 'Set IMP.dat path' button and select 'Jagged Alliance 2 (Gold)\Data-1.13\' folder.
In the file open dialog box, type '*' as 'File Name' and press 'ENTER'. Now, you will be able to select '1.dat'.

Click on '1.dat' and click 'Open'.
5. JA2CME does not read the values in .dat files automatically,
so you need to click on 'Read/Reset Custom' button once.
6. Click on 'Name' button and give your IMP a name and a call sign.
I choose 'John Doe' and 'JD'.

7. Click on 'Portrait' button and choose a portrait for your IMP.

8. Click on 'Appearance' button and customize the appearance of your IMP.

9. You can use the 'Inventory' section to give equipment to your IMP but this program is not fully compatible with 1.13 items, so only a few of the weapons such as P90, FAMAS and C7 will work with 1.13. The rest probably won't. So I recommend using the following method to give your IMP weapons, armor or other items. So I'm going to skip the 'Inventory' button here.
10. You can now choose the Attributes, Experience, Sex, Voice, Traits and Personality of your new IMP.

11. Ok, now let's save it. Click 'Save Custom'.
[color:#FF0000]
There are a few BUGS in JA2CME.EXE:
- JA2CME.EXE won't read the skin color from the file properly, but it saves it without any problem. So be sure the skin color is what you wanted before saving the IMP file.
- If you create a male IMP which uses the 2nd voice, the program will not save it properly. You'll need to use the HEX editor to fix it. I'm going to explain it a bit later, it's really simple to fix.
[/color]
PART II - Equip your IMP (the dirty way)
This part involves a bit of HEX editing but it's really easy.
12. Run the HEX editor HxD.EXE and open '1.dat' that you've just saved.
13. Adjust 'Bytes per Row' as 8 (The red part in the pic).

14. To fix the bug I mentioned earlier (2nd voice), simply change the highlighted value from 33 to 34.

15. Now, go to the offset 000001A8. The highlighted area in the pic is where we add all of our items, such as armor, weapons, etc.

Every 4 HEX digit represents an item, so we can't have more than 19 items.
16. Now, open Items.xml and Windows calculator.
17. Here's how to calculate the HEX value of an item:
Choose an item from Items.xml. Let's take 'FO Dyneema Vest' as an example.
As you can see below the item number for FO Dyn. Vest is 869.
869

Now, we need to convert 869 to HEX. We can use Windows Calculator to do this.
Type 869 in the calculator and then click on the 'Hex' radio button. Now you see the HEX value 365 which means the value we're going to enter in HxD is 6503.


I prepared an MS Excel worksheet to make things easier for you. Here's how it looks like.

Mind you, some of these items may only work in Scifi mode, such as SO Vest etc. So you should either edit Items.xml or choose another item.
18. Let's enter these items in the HEX editor.

19. Save the file.
20. Create a new game in JA2, go to IMP website and type '1', then press 'ENTER' and enjoy.
That's it. 
[Credits to authors of JA2CME]
|
|
|
| | | | | | | | | |
Re: Creating custom IMPs - A Tutorial[message #322657] |
Sat, 13 July 2013 04:33  | |
SharkD
|
 |
Messages:356
Registered:July 2003 |
|
|
Thanks! Are the choices selected randomly?
|
|
|
|
Goto Forum:
Current Time: Sun Apr 11 06:30:13 EEST 2021
Total time taken to generate the page: 0.01596 seconds
|