natirips wrote:
[...]
Btw, I'm working on my own solution for the big font. Hopefully wurst will allow me to use this kind of hack on his serwer.
Code:
seta cg_teamChatTime "1"
seta cg_msgTime "1"
seta cg_chatTime "1"
As these settings control only the time the client displays messages,
Wursti shouldn't notice anything -- and I claim it's not viewed as
cheating, either. :-)
natirips wrote:
And also
Code:
natirips@nati-desk:~/bin$ cat urt
#!/bin/bash
lxterminal --geometry=50x57 -t urt-output -e urt-play
natirips@nati-desk:~/bin$ cat urt-play
xgamma -gamma 2
mv ~/.asoundrc ~/.asoundrc-urtt
/razno/igre/UrbanTerror/ioUrbanTerror.x86_64 +set fs_homepath ~/.urt +set ttycon 0 $* 2>&1 | urt-izlaz-boja
xgamma -gamma 1
mv ~/.asoundrc-urtt ~/.asoundrc
natirips@nati-desk:~/bin$
[...]
Two annotations / suggestions:
1) Is there a need to use xgamma? ioUrt has its own
gamma settings (r_gamma), and with xgamma you change
the gamma not only for UrT, but also for the complete
desktop. I'm not a color expert, so maybe xgamma has a
good reason to be run here ...
2) Instead of yanking around sound configuration files
which are evaluated by all kinds of programs, you could
probably do it on application level:
URL:
http://www.alsa-project.org/main/index.php/Asoundrc---------------- snip ----------------
The asoundrc file is typically installed in a user's home directory
$HOME/.asoundrc
and is called from
/usr/share/alsa/alsa.conf
---------------- snip ----------------
URL:
http://www.alsa-project.org/alsa-doc/al ... onfig.html---------------- snip ----------------
The global configuration files are specified in the environment
variable ALSA_CONFIG_PATH. If this is not set, the default
value is "/usr/share/alsa/alsa.conf".
---------------- snip ----------------
From these two pieces of information I gather the following
procedure would work like a charme:
(replace "&" by a mere "&")
Code:
- cat /usr/share/alsa/alsa.conf | sed 's|\.asoundrc|\&-urtt|gi' > ~/.alsa.conf-urtt
- Then, in your ~/bin/urt-play, you write:
export ALSA_CONFIG_PATH=~/.alsa.conf-urtt
UrbanTerror/ioUrbanTerror.x86_64 ...
And if xgamma and that asoundrc-moving are not
needed anymore, you only need one file to start up
UrT:
Code:
ALSA_CONFIG_PATH=~/.alsa.conf-urt exec lxterminal ... -e "UrbanTerror/ioUrbanTerror.x86_64 $* ..."
(the "exec" in front of "lxterminal" replaces the shell with lxterminal,
thereby saving resources :-)
.