hideRadarViewLines
Posted: Sat Jul 09, 2011 12:53 am
This feature was surely intended by the author of bz, but i think he forgot to add this as option in config file.
To enable it simply add one line in src/bzflag/defaultBZDB.cxx. There's no diff between bzf 2.0.16 and 2.4.0 - there's the same file in the same directory.
Here's output of diff, as you see, only 1 line to add.
$ diff -rc bzflag-2.0.16 bzflag-2.0.16.hideradarviewlines
diff -rc bzflag-2.0.16/src/bzflag/defaultBZDB.cxx bzflag-2.0.16.hideradarviewlines/src/bzflag/defaultBZDB.cxx
*** bzflag-2.0.16/src/bzflag/defaultBZDB.cxx 2010-02-14 15:45:55.000000000 +0100
--- bzflag-2.0.16.hideradarviewlines/src/bzflag/defaultBZDB.cxx 2011-07-09 02:33:09.000000000 +0200
***************
*** 63,68 ****
--- 63,69 ----
{ "displayReloadTimer", "1", true, StateDatabase::ReadWrite, NULL },
{ "displayRadar", "1", false, StateDatabase::ReadWrite, NULL },
{ "displayRadarRange", "0.5", false, StateDatabase::ReadWrite, NULL },
+ { "hideRadarViewLines", "0", true, StateDatabase::ReadWrite, NULL },
{ "defaultFOV", "60.0", false, StateDatabase::ReadWrite, NULL },
{ "displayFOV", "60.0", false, StateDatabase::ReadWrite, NULL },
{ "roamZoomMax", "120", false, StateDatabase::ReadWrite, NULL },
After compiling and running, bzf should automagically append this line to config.cfg:
$ cat ~/.bzf/2.0/config.cfg | grep hideRadarViewLines
#set hideRadarViewLines 0
Uncomenting this line and setting to 1 will hide two view lines on radar. Now it's way easier to dodge.
OS: pld linux kernel: 2.6.38.8-1 x86_64
TODO: menu in gui option.
sry my bad english
To enable it simply add one line in src/bzflag/defaultBZDB.cxx. There's no diff between bzf 2.0.16 and 2.4.0 - there's the same file in the same directory.
Here's output of diff, as you see, only 1 line to add.
$ diff -rc bzflag-2.0.16 bzflag-2.0.16.hideradarviewlines
diff -rc bzflag-2.0.16/src/bzflag/defaultBZDB.cxx bzflag-2.0.16.hideradarviewlines/src/bzflag/defaultBZDB.cxx
*** bzflag-2.0.16/src/bzflag/defaultBZDB.cxx 2010-02-14 15:45:55.000000000 +0100
--- bzflag-2.0.16.hideradarviewlines/src/bzflag/defaultBZDB.cxx 2011-07-09 02:33:09.000000000 +0200
***************
*** 63,68 ****
--- 63,69 ----
{ "displayReloadTimer", "1", true, StateDatabase::ReadWrite, NULL },
{ "displayRadar", "1", false, StateDatabase::ReadWrite, NULL },
{ "displayRadarRange", "0.5", false, StateDatabase::ReadWrite, NULL },
+ { "hideRadarViewLines", "0", true, StateDatabase::ReadWrite, NULL },
{ "defaultFOV", "60.0", false, StateDatabase::ReadWrite, NULL },
{ "displayFOV", "60.0", false, StateDatabase::ReadWrite, NULL },
{ "roamZoomMax", "120", false, StateDatabase::ReadWrite, NULL },
After compiling and running, bzf should automagically append this line to config.cfg:
$ cat ~/.bzf/2.0/config.cfg | grep hideRadarViewLines
#set hideRadarViewLines 0
Uncomenting this line and setting to 1 will hide two view lines on radar. Now it's way easier to dodge.
OS: pld linux kernel: 2.6.38.8-1 x86_64
TODO: menu in gui option.
sry my bad english