1

Topic: [QUESTION] How to disable nameplates

I have got a server with a lot of campplaces. But this isn't fun if you can see where the players are because you see the nameplates,

So my question is: Is it possible to disable names or nameplates for everyone? You can ask people to disable it, but this doesn't work...

2

Re: [QUESTION] How to disable nameplates

Nope, the only way would be to modify the server

3

Re: [QUESTION] How to disable nameplates

And you don't want to explain to us how to do that?
PS: Plz try the server: [GOD]Clanserver

4

Re: [QUESTION] How to disable nameplates

here are topics about mods supporting this. just use the search function and take a look into the source code of them

solved?

5 (edited by Driehoek 2010-07-12 19:22:45)

Re: [QUESTION] How to disable nameplates

Solved, but how to use a mod?
Ps, i found this page, but it din't worked. http://www.teeworlds.com/forum/viewtopic.php?id=4810
(the sv_show_name part)

6

Re: [QUESTION] How to disable nameplates

There is a function like try_set_client_name or something like that, just search a bit for its right name. You can try to change clients name. If you will change joining's player name to "", his nameplate will not visible.

Goodbye all. Account inactive since March 2011.

7 (edited by Slayer *gV* 2010-07-13 16:01:15)

Re: [QUESTION] How to disable nameplates

Simply send fake names to the clients
you can do so with modifying the code in player.cpp CPlayer::Snap
could look like this:

    // display player name
    if(g_Config.m_Command1 && m_Team != -1)
        StrToInts(&ClientInfo->m_Name0, 6, "");
    else
        StrToInts(&ClientInfo->m_Name0, 6, Server()->ClientName(m_ClientID));

8

Re: [QUESTION] How to disable nameplates

Where do I find player.cpp?

9

Re: [QUESTION] How to disable nameplates

Teeworlds forum isn't for helping people to use their computers, if you can't use the search function of windows, don't try to program teeworlds...

Not Luck, Just Magic.

10 (edited by Driehoek 2010-07-13 21:47:43)

Re: [QUESTION] How to disable nameplates

Ah, just found out I needed to look in the source code. I didn't know that. OK, I will ask you again when I run into problems.

OK, I ran into a problem: I have edited the player.cpp, but how do I continue? How do I compile the whole program?

11

Re: [QUESTION] How to disable nameplates

Driehoek wrote:

Ah, just found out I needed to look in the source code. I didn't know that. OK, I will ask you again when I run into problems.

OK, I ran into a problem: I have edited the player.cpp, but how do I continue? How do I compile the whole program?

http://www.teeworlds.com/?page=docs& … Everything

Support Staff - ESL.eu Teeworlds Admin