From: MirceaKitsune Date: Thu, 4 Aug 2011 10:09:04 +0000 (+0300) Subject: Add decals showing on models to the menu, and configuration presets. Also, only enabl... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5147aee5df57b530aef66a1cebeeaf7e5d029866;p=voretournament%2Fvoretournament.git Add decals showing on models to the menu, and configuration presets. Also, only enable them on high presets, as I'm told they can decrease performance a bit. --- diff --git a/data/defaultVT.cfg b/data/defaultVT.cfg index 3b1ff201..fcaeb041 100644 --- a/data/defaultVT.cfg +++ b/data/defaultVT.cfg @@ -1682,8 +1682,8 @@ set cl_lerpanim_maxdelta_framegroups 0.05 // must be faster than fastest weapon set cl_lerpanim_maxdelta_server 0.1 // must be slower than slowest server controlled anim (e.g. animinfo stuff) // sucks less than the old one -cl_decals_newsystem 1 -cl_decals_models 1 +seta cl_decals_newsystem 1 +seta cl_decals_models 0 // FIXME temporary set menu_font_size_snapping_fix 1 diff --git a/data/effects-high.cfg b/data/effects-high.cfg index d662c8af..03a32e74 100644 --- a/data/effects-high.cfg +++ b/data/effects-high.cfg @@ -1,4 +1,5 @@ cl_decals 1 +cl_decals_models 1 cl_decals_time 5 cl_particles_quality 0.75 cl_particles_rain 1 diff --git a/data/effects-low.cfg b/data/effects-low.cfg index 28d081f6..112f6c19 100644 --- a/data/effects-low.cfg +++ b/data/effects-low.cfg @@ -1,4 +1,5 @@ cl_decals 1 +cl_decals_models 0 cl_decals_time 2 cl_particles_quality 0.2 cl_particles_rain 0 diff --git a/data/effects-med.cfg b/data/effects-med.cfg index 16ca0b11..9de94c74 100644 --- a/data/effects-med.cfg +++ b/data/effects-med.cfg @@ -1,4 +1,5 @@ cl_decals 1 +cl_decals_models 0 cl_decals_time 2 cl_particles_quality 0.5 cl_particles_rain 1 diff --git a/data/effects-normal.cfg b/data/effects-normal.cfg index a8261b99..f244dbfa 100644 --- a/data/effects-normal.cfg +++ b/data/effects-normal.cfg @@ -1,4 +1,5 @@ cl_decals 1 +cl_decals_models 0 cl_decals_time 5 cl_particles_quality 0.5 cl_particles_rain 1 diff --git a/data/effects-omg.cfg b/data/effects-omg.cfg index 31ba56c4..8b2b231b 100644 --- a/data/effects-omg.cfg +++ b/data/effects-omg.cfg @@ -1,4 +1,5 @@ cl_decals 0 +cl_decals_models 0 cl_decals_time 2 cl_particles_quality 0.2 cl_particles_rain 0 diff --git a/data/effects-ultimate.cfg b/data/effects-ultimate.cfg index 2c1a0596..a1c64553 100644 --- a/data/effects-ultimate.cfg +++ b/data/effects-ultimate.cfg @@ -1,4 +1,5 @@ cl_decals 1 +cl_decals_models 1 cl_decals_time 10 cl_particles_quality 1 cl_particles_rain 1 diff --git a/data/effects-ultra.cfg b/data/effects-ultra.cfg index c501d6bc..156a2fd1 100644 --- a/data/effects-ultra.cfg +++ b/data/effects-ultra.cfg @@ -1,4 +1,5 @@ cl_decals 1 +cl_decals_models 1 cl_decals_time 10 cl_particles_quality 1 cl_particles_rain 1 diff --git a/data/qcsrc/menu/voret/dialog_settings_effects.c b/data/qcsrc/menu/voret/dialog_settings_effects.c index 13ba2ff1..c04b8cfb 100644 --- a/data/qcsrc/menu/voret/dialog_settings_effects.c +++ b/data/qcsrc/menu/voret/dialog_settings_effects.c @@ -101,7 +101,9 @@ void fillVoretEffectsSettingsTab(entity me) makeMulti(e, "cl_particles_snow"); me.TR(me); me.TR(me); - me.TD(me, 1, 3, e = makeVoretCheckBox(0, "cl_decals", "Decals")); + me.TD(me, 1, 1, e = makeVoretCheckBox(0, "cl_decals", "Decals")); + me.TD(me, 1, 3, e = makeVoretCheckBox(0, "cl_decals_models", "On models")); + setDependent(e, "cl_decals", 1, 1); me.TR(me); me.TDempty(me, 0.2); me.TD(me, 1, 0.8, e = makeVoretTextLabel(0, "Distance:"));