PDA

View Full Version : names above player's heads


<MAD>Jackson
11-12-2007, 06:53 PM
Hi all
I'am sure i've seen this somewhere but unfortunatly can't remmember where LOL.
so i'll have to ask if anyone knows how to remove the names above the players head ?

Thanks
Jackson

[Dead*Prez]Hamburger
11-13-2007, 01:55 AM
I can only seem to get the icons to disappear from the enemy with "scr_drawfriend 0"

There are still names above your team-mates.

<MAD>Jackson
11-13-2007, 02:10 AM
Thanks for that its a start :D i'll go and give it a try now

wacko
11-14-2007, 11:01 PM
Does this work on both ranked and unranked servers?

[Dead*Prez]Hamburger
11-15-2007, 03:15 AM
yes

DirtyRat
11-15-2007, 02:13 PM
I too want to find out how to disable player names for when i am filming, so if you know the command please let me know!

wacko
11-15-2007, 09:51 PM
Hamburger;55854']yes

Strange.... can't get it to work on my server (ranked)

set scr_drawfriend 0 is what I got in my server.cfg but nothing change.

What am I doing wrong?

DeathMonkey
11-21-2007, 11:04 AM
Has anyone else had any luck removing the name from above enemy heads?

From what it appears:
scr_drawfriend 0

will only remove the team symbol from above your teammates heads.

Any thoughts are greatly appreciated.

Number7
11-21-2007, 02:28 PM
You can do this, but only with a mod. You just need to set a client dvar when they connect (or spawn):

self setClientDvar ("cg_drawCrosshairNames", 0);


I've already had this in my mod and it works fine. And since it's cheat protected now, players cannot reset it back on :)

In previous cod's, i would have to set these vars in a continuous "loop" because the players [could] turn them back.

Nat_Greene
11-22-2007, 08:45 AM
You can do this, but only with a mod. You just need to set a client dvar when they connect (or spawn):

self setClientDvar ("cg_drawCrosshairNames", 0);


I've already had this in my mod and it works fine. And since it's cheat protected now, players cannot reset it back on :)

In previous cod's, i would have to set these vars in a continuous "loop" because the players [could] turn them back.

Are you saying that this will ONLY work on an unranked modded server?

Also, where exactly would you put that command, in the config? :confused:

Number7
11-22-2007, 09:34 PM
Yessir, it requires a modified script to set the client dvar.
You could open the z_modwarfare.iwd mod, find the maps\mp\gametypes\_globallogic.gsc ,
search for the Callback_PlayerConnect() function, and add this line (in bold) to it:

Callback_PlayerConnect()
{
thread notifyConnecting();

self.statusicon = "hud_status_connecting";
self waittill( "begin" );
waittillframeend;
self.statusicon = "";

level notify( "connected", self );

self setClientDvar ("cg_drawCrosshairNames", 0);


Then pack all of the files from that .iwd into a new .iwd , place it in your fs_game folder along with the mod.ff file.
You can add _svr_ to the filename since it is NOT something that the players need to download.

Nat_Greene
11-23-2007, 07:51 AM
Roger that, thanks! :D

Jazz
11-24-2007, 11:08 AM
number 7,

how much can be removed from oldschool? I changed a server to oldschool to get the compass. What else can be done to make it more like hardcore? Any help appreciated.

Number7
11-24-2007, 11:44 AM
number 7,

how much can be removed from oldschool? I changed a server to oldschool to get the compass. What else can be done to make it more like hardcore? Any help appreciated.

Sry to say, but i have not tried that yet and have very little knowledge of what it actually is..

Puf_N_Stuf
04-09-2008, 01:48 PM
Hi

I am using the TRM tactical realism mod and wanted to know if there is a way to REMOVE FREINDLY names from above a players head.

Currently seta cg_drawCrosshairNames 0 // show enemynames when aiming at them ( over the ememy works great) BUt we would like to remove friendly names also...

In the mod we have this, but nothing seems to remove the friendly names.

seta cg_drawFriendlyNames 0 // show friendly names

seta cg_enemyNameFadeIn 0

seta cg_enemyNameFadeOut 0

seta cg_overheadIconSize 0

seta cg_overheadNamesGlow "0 0 0 0"

seta cg_overheadNamesMaxDist "0"

seta cg_overheadNamesSize 0

seta cg_overheadRankSize 0

seta cg_scoreboardRankFontScale 0

seta arcademode 0 // avoid annoying points over head

seta arcademode_full 0 // avoid annoying points over head

As you can see everything is set to " 0" and should remove the friendly names, any help would be greatly appreciated.

Thanks

Puf n Stuf

Number7
04-09-2008, 02:59 PM
cg_drawfriendlynames is the proper dvar, but setting it via the config is not going to do it.
You have to send the dvar to the player with a mod. My mod will do this after player connects.

Puf_N_Stuf
04-09-2008, 03:10 PM
cg_drawfriendlynames is the proper dvar, but setting it via the config is not going to do it.
You have to send the dvar to the player with a mod. My mod will do this after player connects.

Hi Number 7

You mention your mod will do this, how do you do it.

Could you please help me out?

Thanks

Puf n Stuf

Number7
04-09-2008, 06:12 PM
You could do it the same way as mentioned in reply # 11

Just change:

self setClientDvar ("cg_drawCrosshairNames", 0);


to:

self setClientDvar ("cg_drawfriendlynames", 0);

Puf_N_Stuf
04-09-2008, 07:45 PM
Thanks Number 7

I will give it a try.

Update: It works great, so now both OPFOR and friendly sides have no names!!! :)

Much appreciated and what mod do you use?

Thanks

Puf n Stuf