Page 1 of 1

Change in-game player name after game has started? (Single player)

Posted: Tue Dec 22, 2020 5:40 am
by Crixomix
Hello all,

I'm wondering if there is a way to change the player-name after the game has started. I tried an old console command I found but it doesn't work:

/c game.player.name = "yourname"

I'm not talking about changing the name in such a way that fixes it for FUTURE saves, I'm talking about a way to change the player name for a current save. Is it possible? I'm not needing achievements so I'm willing to try anything.

Thanks,

Re: Change in-game player name after game has started? (Single player)

Posted: Tue Dec 22, 2020 6:30 am
by Loewchen
Try /c game.local_player.name="yourname"

Re: Change in-game player name after game has started? (Single player)

Posted: Tue Dec 22, 2020 3:57 pm
by eradicator
Loewchen wrote: Tue Dec 22, 2020 6:30 am Try /c game.local_player.name="yourname"
"local_player" has been renamed "player" in... 0.13.0! :p. And LuaPlayer.name has been made read-only in 0.18.7. I don't konw any method to change the displayed name seperately.

Re: Change in-game player name after game has started? (Single player)

Posted: Tue Dec 22, 2020 7:44 pm
by NotRexButCaesar
What I did was convert the save to a scenario, load the scenario, and then save over the original.

Re: Change in-game player name after game has started? (Single player)

Posted: Tue Dec 22, 2020 8:40 pm
by Crixomix
AmericanPatriot wrote: Tue Dec 22, 2020 7:44 pm What I did was convert the save to a scenario, load the scenario, and then save over the original.
That's brilliant. Thank you!

Re: Change in-game player name after game has started? (Single player)

Posted: Tue Oct 03, 2023 12:21 am
by BaliAgha
NotRexButCaesar wrote: Tue Dec 22, 2020 7:44 pm What I did was convert the save to a scenario, load the scenario, and then save over the original.
This comment still helps today.

Thank you for this unique and perfect work-a-round.

Story: "Downloaded save game from Bold Viking (Pyanodon save) and I did not want to have his name for my character. Going this route completely fixed my problem."

Re: Change in-game player name after game has started? (Single player)

Posted: Thu Nov 14, 2024 12:43 am
by OniNaito
Sorry for the necro post. I just wanted to add that the 'convert to scenario' method described above disables achievements.

Version 2.0.15 with Space Age enabled.