New log features, class attribute and minior changes. See details.

Made new log CVAR for overriding filters on error log types: zr_log_error_override. If this is on, errors are always logged, independent of flags and filters. Now all non-error logging can be completely disabled without complex flags or filtering.
Made new class attribute ("has_napalm", ClassGetHasNapalm) that specifies if the class have or can trhow napalm grenades. Implemented usage in napalm module.
Added team id validation in class attributes.
Improved formatting of log messages in cvars module.
Known issue: Commands in config for adding modules to log filter are executed too late. Otherwise the module filter works fine.
This commit is contained in:
richard
2009-06-14 19:10:30 +02:00
parent 0a72dc2100
commit 4b66f688ab
11 changed files with 102 additions and 28 deletions

View File

@ -69,6 +69,7 @@
"fov" "90"
// Effects
"has_napalm" "0"
"napalm_time" "10.0"
// Player behaviour
@ -110,6 +111,7 @@
"fov" "90"
// Effects
"has_napalm" "0"
"napalm_time" "5.0"
// Player behaviour
@ -151,6 +153,7 @@
"fov" "90"
// Effects
"has_napalm" "0"
"napalm_time" "15.0"
// Player behaviour
@ -192,6 +195,7 @@
"fov" "90"
// Effects
"has_napalm" "0"
"napalm_time" "20.0"
// Player behaviour
@ -239,6 +243,7 @@
"fov" "90"
// Effects
"has_napalm" "1"
"napalm_time" "0.0"
// Player behaviour
@ -280,6 +285,7 @@
"fov" "90"
// Effects
"has_napalm" "0"
"napalm_time" "0.0"
// Player behaviour
@ -321,6 +327,7 @@
"fov" "90"
// Effects
"has_napalm" "1"
"napalm_time" "0.0"
// Player behaviour