HakariTenrai wrote: ↑Tue Oct 16, 2018 6:02 pm
...
In order to change the NPC's portrait, it is easiest to follow these instructions:
1. Scroll down to the very bottom of the party.json file, and starting from the bottom, read up until you find the very last instance of " $id " in the file... write that number down, you'll need to know it in a few moments.
2. Next, use "ctrl+f", and search for your character's portrait folder number or name - I am assuming that you know the number or name of your character's portrait folder, if you do not know it, ask me, and I can tell you how to get it. I am also assuming that you have already created a custom NPC portrait folder, you'll need the name or number of that folder in a few moments too.
3. Once you have found your character's portrait code (as shown in the "player code" example), highlight the part of the code that I have pasted in the example above, and copy it.
4. Use the search feature to search for { "m_CustomPortrait": null } exactly as it is between the brackets. This should take you to one of your NPC's portrait codes...
(Note: There will probably be several instances of this line of code in the folder, there
should be one for each NPC - I cannot tell you which line goes to which NPC... you would have to find out through trial and error.)
5. Replace the code found in the NPC example, with the code you copied from your own character's code.
6. Change the numbers or name of the folder from your character's folder, to the custom NPC folder that you created.
7. Lastly... remember step one?... You need to change the $id from the one that your character is using, to exactly 1 number higher than the number that you wrote down in step one... if you wrote down 463, then you need to put down 464,... if you wrote down 15488, then you need to change the $id to 15489 (DO NOT MAKE THIS A RANDOM NUMBER, it will corrupt your save later in the game, or so I have been told)… oh... that's it... you're done. Save the file... close the programs,... make sure you exit to desktop, and restart the game if it is already running... or just start it if it is not.