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.
Game chat
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
Re: Game chat
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.
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

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.
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
Re: Game chat
Yeah, that requires an engine hack. The function you want is Con_DrawNotify() in client/cl_console.c.
Re: Game chat
When I´m compiling I have a lots of errors.
Some errors:
I need SDL pack, I download it, but I don´t know, where is my copy.
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
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
Re: Game chat
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
Thanks, I find some needed libraries, but I can´t find libcurl.lib.^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.
Where download I it?
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
Re: Game chat
There you go: http://curl.haxx.se/download.html