Page 1 of 1

change nickname

Posted: Sat Jan 14, 2017 2:58 pm
by realm174
Hello all,

not too sure which category to put this in.. Technical Help, but it's not preventing me from playing the game, Gameplay Help, but it's not affecting gameplay... so feel free to move where appropriate.

I am attempting to change my nickname in game. Already changed on steam, already changed on Factorio.com, however, in Factorio, previously saved games still have my old nickname, and new games have my new nickname. Any way to fix the old save game to show my new nickname? I've tried loading the game, go into options (my new nickname already shows there) saved game, quit factorio, reload, and old nick still shows.. Any idea?

thanks!

Re: change nickname

Posted: Sat Jan 14, 2017 4:28 pm
by daniel34
You can change the name displayed ingame for a specific save using this console command, replace yourname with your desired name:

Code: Select all

/c game.player.name = "yourname"
Important: This will disable achievements. Also, if you never used a console command on that savegame before you'll need to enter it twice (the first time it only displays a warning).

Re: change nickname

Posted: Sun Jan 15, 2017 1:03 am
by realm174
Worked perfectly, thanks!!

Re: change nickname

Posted: Wed Nov 24, 2021 8:17 am
by yukinyaa
This does not work anymore since LuaPlayer::name is readonly.
Is there a another way?

Re: change nickname

Posted: Wed Nov 24, 2021 1:17 pm
by Xorimuth
yukinyaa wrote:
Wed Nov 24, 2021 8:17 am
This does not work anymore since LuaPlayer::name is readonly.
Is there a another way?
viewtopic.php?p=480321#p480321 suggests /swap-players

Re: change nickname

Posted: Mon Dec 27, 2021 8:41 pm
by NotRexButCaesar
yukinyaa wrote:
Wed Nov 24, 2021 8:17 am
Is there a another way?
What I did was save the game as a scenario, then load the scenario and overwrite the old save. I think that you should still be able to get achievements that way?