[Request] Unique player names on local multiplayer

I’d like to request that unique names are given to each character when you play the game in editor using the option “Number of Clients” (drop-down menu by the Play In button). Currently, every client has the same name.

That would make it easier to track / debug who killed who, if scores are being correctly attributed, etc…

Ehh, actually I don’t really know if this is something in the editor, or if this should be programmed on the project. In the latter case, consider this a question, not a request. :slight_smile:

You could most likely give each player a prefix and before the player spawns you could check for how many players are currently on the server and make the name of the player that + 1. So if the player count is 2 the result would be player_2 because you already have player_0 and player_1.

Hi Jefferson,

Thank you for your question. The simplist solution would be to use the “set name [string]” command in the command window while playing. You would be able to set the name of each client individually as well, making them all unique and easy to identify. Please let me know if this has helped.

Thank you,

Alexander

Nope. Output log says:
Set commands not allowed in the editor

Are you in the game window and opening the console menu with the ~ key, then inputting the command? You will receive a " Set commands not allowed in the editor" error if you are doing the setting from the editor’s console command and not per host/client instance. You will have to set the name in each individual window after play has begun.

Yes, I was using the console (~ key), on each client window.

I’m sorry, but I do not understand what I’m supposed to do.

At any rate, it would be nice if the editor gave sequential / random names for each client automatically.

But don’t bother explaining (how to set client names), if this auto naming feature could be implemented in the engine eventually, I’m not in a hurry. :slight_smile: