google-code-export / p-g-qvm

Automatically exported from code.google.com/p/p-g-qvm
Other
1 stars 0 forks source link

Changing name of console #130

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Ingar requested this in IRC this morning:
 "08:20:59 « Ingar» Paradox: can you set the name for the console user ?"

This should not be too difficult. I just dont know where the files are, 
otherwise i would do it myself.

Perhaps a cvar. sv_consolename.

That way, whenever console does /say hi, it would print sv_consolename: hi

Original issue reported on code.google.com by Paradox460 on 26 Jun 2008 at 3:29

GoogleCodeExporter commented 9 years ago
[johne@Fly game]$ grep \"console\" *.c | wc -l                                  

63

ugh - way too much to change, unless all he wants is chat to be effected.

Original comment by Rez...@gmail.com on 27 Jun 2008 at 7:53

GoogleCodeExporter commented 9 years ago
/say from the server console is handled in the binary, not in the qvm.
SV_ConSay_f() in src/server/sv_ccmds.c

Original comment by amanieu on 27 Jun 2008 at 1:50

GoogleCodeExporter commented 9 years ago
Ah, so this cant be affected.

Ah well.

Original comment by Paradox460 on 28 Jun 2008 at 3:35

GoogleCodeExporter commented 9 years ago
You could always make a new command in the qvm which would act just like /say 
but
with a custom name.

Original comment by amanieu on 28 Jun 2008 at 5:55