EDIT save game to change character appearance?

The place to discuss scripting and game modifications for X4: Foundations.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Min
Posts: 55
Joined: Sat, 23. Feb 19, 17:24
x4

EDIT save game to change character appearance?

Post by Min »

Hi I am a total noob when it comes to save game editing but I am wondering if it is possible to change my character's appearance after starting a game using the save game file? Are there any mods that allow changing character appearance once the game has already started? Thanks for all the help.
User avatar
Baconnaise
Posts: 766
Joined: Sat, 23. Nov 13, 15:50
x4

Re: EDIT save game to change character appearance?

Post by Baconnaise »

Min wrote: Wed, 19. Apr 23, 14:30 Hi I am a total noob when it comes to save game editing but I am wondering if it is possible to change my character's appearance after starting a game using the save game file? Are there any mods that allow changing character appearance once the game has already started? Thanks for all the help.
I've never done that TBH so kinda clueless. Search for something along the lines of that.

"player" macro="character_player_custom_m_cau_macro"

This instead perhaps since I have no clue what your choice was in this regard.

"player" macro="character_player

In game when you can choose your gender or racial model caucasian is always 01 asian 02 and african 03 I believe. You will have an argon or terran option as well which is abbreviated arg or ter. The other races are just gender options afaik. par = paranid with the m or f for male or female so on so forth.
Min
Posts: 55
Joined: Sat, 23. Feb 19, 17:24
x4

Re: EDIT save game to change character appearance?

Post by Min »

Baconnaise wrote: Thu, 20. Apr 23, 02:57
Min wrote: Wed, 19. Apr 23, 14:30 Hi I am a total noob when it comes to save game editing but I am wondering if it is possible to change my character's appearance after starting a game using the save game file? Are there any mods that allow changing character appearance once the game has already started? Thanks for all the help.
I've never done that TBH so kinda clueless. Search for something along the lines of that.

"player" macro="character_player_custom_m_cau_macro"

This instead perhaps since I have no clue what your choice was in this regard.

"player" macro="character_player

In game when you can choose your gender or racial model caucasian is always 01 asian 02 and african 03 I believe. You will have an argon or terran option as well which is abbreviated arg or ter. The other races are just gender options afaik. par = paranid with the m or f for male or female so on so forth.
Thanks for the advice I will try it out
Min
Posts: 55
Joined: Sat, 23. Feb 19, 17:24
x4

Re: EDIT save game to change character appearance?

Post by Min »

Also another question how do we edit save games now? I extract the xml file but it says its too big to open with notepad and it just lags when I open with wordpad. What are we suppose to use to edit save games?
Min
Posts: 55
Joined: Sat, 23. Feb 19, 17:24
x4

Re: EDIT save game to change character appearance?

Post by Min »

<component class="player" macro="character_player_terran_gamestart1_macro" connection="room" name="{1021,902}" code="EZS-284" owner="player" known="1" read="0" lastcontrolled="[0x120bd34c]" id="[0x141ff17b]">


I found this I am a Terran game start so I assume if I want to change my character I change the character_player_terran_gamestart1_macro to something else?
User avatar
Baconnaise
Posts: 766
Joined: Sat, 23. Nov 13, 15:50
x4

Re: EDIT save game to change character appearance?

Post by Baconnaise »

Min wrote: Thu, 20. Apr 23, 21:05 Also another question how do we edit save games now? I extract the xml file but it says its too big to open with notepad and it just lags when I open with wordpad. What are we suppose to use to edit save games?
Use notepad++ or visual studio code.
Min wrote: Thu, 20. Apr 23, 21:15 <component class="player" macro="character_player_terran_gamestart1_macro" connection="room" name="{1021,902}" code="EZS-284" owner="player" known="1" read="0" lastcontrolled="[0x120bd34c]" id="[0x141ff17b]">


I found this I am a Terran game start so I assume if I want to change my character I change the character_player_terran_gamestart1_macro to something else?
Yes. Notice in the example I gave has custom for the custom game start. I'm guessing the terran_gamestart1 is a tag for the avatar or links to such choices. Terran cadet I imagine. It might be simple as gamestart1 or gamestart2 etc. I'm unsure as I'm used to the macro names for crew and NPCs not the avatar for the player. Make a backup of your save and perhaps change the number from gamestart1 to gamestart2 and see if that works?
Last edited by Baconnaise on Thu, 20. Apr 23, 23:12, edited 1 time in total.
Min
Posts: 55
Joined: Sat, 23. Feb 19, 17:24
x4

Re: EDIT save game to change character appearance?

Post by Min »

Just reporting back I managed to make it work Baconnaise thank you for all the help! You are a rock star! I replaced my Terran Cadet guy with a Yaki guy with a masked face.
User avatar
Baconnaise
Posts: 766
Joined: Sat, 23. Nov 13, 15:50
x4

Re: EDIT save game to change character appearance?

Post by Baconnaise »

Min wrote: Thu, 20. Apr 23, 23:03 Just reporting back I managed to make it work Baconnaise thank you for all the help! You are a rock star! I replaced my Terran Cadet guy with a Yaki guy with a masked face.
Lmao saw this after I edited my post. Nice man! I never tried doing anything like that before. Glad that worked out. Yaki cyborgs are fun.
rudi_pioneer
XWiki Moderator
XWiki Moderator
Posts: 554
Joined: Fri, 2. Apr 21, 21:06
x4

Re: EDIT save game to change character appearance?

Post by rudi_pioneer »

Great going to try this myself!

How do you reliably see your character from third person? Best I can do is when on ship with external camera, but even then it’s relatively tiny with cockpit glare
Min
Posts: 55
Joined: Sat, 23. Feb 19, 17:24
x4

Re: EDIT save game to change character appearance?

Post by Min »

rudi_pioneer wrote: Sat, 22. Apr 23, 15:55 Great going to try this myself!

How do you reliably see your character from third person? The best I can do is when on the ship with an external camera, but even then it’s relatively tiny with cockpit glare
What I do is I park my ship at a station stand outside the ship and using the external view on your ship you can rotate the cam and get a close-up of your character and also of course they are in cutscenes
rudi_pioneer
XWiki Moderator
XWiki Moderator
Posts: 554
Joined: Fri, 2. Apr 21, 21:06
x4

Re: EDIT save game to change character appearance?

Post by rudi_pioneer »

Min wrote: Sat, 22. Apr 23, 16:17
rudi_pioneer wrote: Sat, 22. Apr 23, 15:55 Great going to try this myself!

How do you reliably see your character from third person? The best I can do is when on the ship with an external camera, but even then it’s relatively tiny with cockpit glare
What I do is I park my ship at a station stand outside the ship and using the external view on your ship you can rotate the cam and get a close-up of your character and also of course they are in cutscenes
Thank you, after trying few ships comes out that I can climb on Terran heavy fighter, stand on front part, and then external camera can see character up close!

Return to “X4: Foundations - Scripts and Modding”