From 0d65944d4f680efb9bd3805d57c9b6f03f3836f7 Mon Sep 17 00:00:00 2001 From: Shtoyan Date: Sat, 11 Mar 2023 22:36:06 +0400 Subject: [PATCH] Add default config --- Classes/KFZedsReportMut.uc | 3 ++- Configs/KFZedsReport.ini | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 Configs/KFZedsReport.ini diff --git a/Classes/KFZedsReportMut.uc b/Classes/KFZedsReportMut.uc index 66a140d..a8e1b84 100644 --- a/Classes/KFZedsReportMut.uc +++ b/Classes/KFZedsReportMut.uc @@ -5,7 +5,8 @@ * Author: dkanus * Home repo: https://insultplayers.ru/git/dkanus/KFZedsReport */ -class KFZedsReportMut extends Mutator; +class KFZedsReportMut extends Mutator + config(KFZedsReport); // How often should we update our information? var config float updateInterval; diff --git a/Configs/KFZedsReport.ini b/Configs/KFZedsReport.ini new file mode 100644 index 0000000..54a7cab --- /dev/null +++ b/Configs/KFZedsReport.ini @@ -0,0 +1,6 @@ +[KFZedsReport.KFZedsReportMut] +;= Home repo: https://insultplayers.ru/git/dkanus/KFZedsReport +;= How often should we update our information? +updateInterval=0.25 +;= Over what interval do we count average spawn rate? +smoothingInterval=10.0