Merge branch 'bones_was_here/flaglights' into 'master'
authorMario <mario.mario@y7mail.com>
Mon, 20 Jan 2020 22:42:55 +0000 (22:42 +0000)
committerMario <mario.mario@y7mail.com>
Mon, 20 Jan 2020 22:42:55 +0000 (22:42 +0000)
Add description for g_ctf_dynamiclights and whitelist

See merge request xonotic/xonotic-data.pk3dir!764

gamemodes-server.cfg
qcsrc/server/g_world.qc

index 28b434dc2436fd9ef265c42c85532592914bff9f..501f07f035d6ce675f4f4fe5ca28b72a7de8d280 100644 (file)
@@ -311,7 +311,7 @@ set g_ctf_flag_neutral_model "models/ctf/flags.md3"
 set g_ctf_flag_neutral_skin 4
 set g_ctf_flag_glowtrails 1
 set g_ctf_fullbrightflags 0
-set g_ctf_dynamiclights 0
+set g_ctf_dynamiclights 0 "flags (not flag carriers) cast light of their team's colour"
 
 set g_ctf_ignore_frags 0       "1: regular frags give no points"
 exec ctfscoring-samual.cfg
index 12155f756140d92e5b547f512704a52151ff0df6..2a3ede6b8d8e3071d6c6215449d4ffac7bb509eb 100644 (file)
@@ -336,6 +336,7 @@ void cvar_changes_init()
                BADCVAR("g_ca_point_limit");
                BADCVAR("g_ctf_captimerecord_always");
                BADCVAR("g_ctf_flag_glowtrails");
+               BADCVAR("g_ctf_dynamiclights");
                BADCVAR("g_ctf_flag_pickup_verbosename");
                BADCVAR("g_domination_point_leadlimit");
                BADCVAR("g_forced_respawn");