Page 1 of 1
Game chat
Posted: Sun Jan 17, 2010 6:21 pm
by Whispere
Hello,
I have small problems.
Where I can edit game chat?
I need define some background and make more bigger letters and change them colors.
Sorry for my english.
Thanks for your answers.
Re: Game chat
Posted: Sun Jan 17, 2010 9:03 pm
by ^misantropia^
You mean the console? The background is a shader with the unimaginative name 'console', you can just override it.
The fonts are a special case. They're 256x256 bitmaps (see menu/art/font*.tga in pak0.pk3 for examples) that are scaled in-game. Changing the font type and colour is straight forward: give your font bitmap the same name as the one it should override (e.g. menu/art/font2_prop.tga) and put it in a PK3 of your own. Changing the console font size is more involved; you need to hack the engine, client/cl_console.c to be precise.
Re: Game chat
Posted: Mon Jan 18, 2010 2:07 pm
by Whispere

This image is as example.
On the left is original and on the right is new theme, whitch I want.
I need add chat´s background and change letters color.
Re: Game chat
Posted: Tue Jan 19, 2010 6:32 pm
by ^misantropia^
Yeah, that requires an engine hack. The function you want is Con_DrawNotify() in client/cl_console.c.
Re: Game chat
Posted: Tue Jan 19, 2010 7:55 pm
by Whispere
When I´m compiling I have a lots of errors.
Some errors:
Code: Select all
sdl_glimp.c
..\..\code\sdl\sdl_glimp.c(26) : fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory
sdl_gamma.c
..\..\code\sdl\sdl_gamma.c(26) : fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory
I need SDL pack, I download it, but I don´t know, where is my copy.
Re: Game chat
Posted: Tue Jan 19, 2010 8:53 pm
by ^misantropia^
Can't really help you there, I'm not a Windows developer. I suspect you need to point Visual Studio to the location of the SDL headers/libraries but you'll have to consult Google for the finicky details.
Re: Game chat
Posted: Wed Jan 20, 2010 1:33 pm
by Whispere
^misantropia^ wrote:Can't really help you there, I'm not a Windows developer. I suspect you need to point Visual Studio to the location of the SDL headers/libraries but you'll have to consult Google for the finicky details.
Thanks, I find some needed libraries, but I can´t find libcurl.lib.
Where download I it?
Re: Game chat
Posted: Wed Jan 20, 2010 2:25 pm
by ^misantropia^