Browse Source

Updated the default config

some needed cvars were missing I have added these now
Daniel Gibbs 12 năm trước cách đây
mục cha
commit
98666e1a5e
1 tập tin đã thay đổi với 34 bổ sung0 xóa
  1. 34 0
      FistfulOfFrags/fofserver

+ 34 - 0
FistfulOfFrags/fofserver

@@ -811,6 +811,40 @@ echo "================================="
 		echo -e "sv_logecho 1"
 		echo -e "sv_logecho 1"
 		echo -e "sv_logfile 1"
 		echo -e "sv_logfile 1"
 		echo -e "sv_log_onefile 0"
 		echo -e "sv_log_onefile 0"
+		echo -e "//Fistful of Frags"
+		echo -e ""
+		echo -e "//// Game Modes"
+		echo -e "// 1 = Shootout"
+		echo -e "// 2 = Teamplay/Objectives"
+		echo -e ""
+		echo -e "fof_sv_currentmode 1 "
+		echo -e ""
+		echo -e ""
+		echo -e "//// Teamplay"
+		echo -e "// 0 = Free-for-all"
+		echo -e "// 1 = Team Deathmatch"
+		echo -e ""
+		echo -e "mp_teamplay 0"
+		echo -e ""
+		echo -e ""
+		echo -e "//// Friendly Fire"
+		echo -e "// 0 = Friendly fire disabled"
+		echo -e "// 1 = Friendly fire enabled"
+		echo -e ""
+		echo -e "mp_friendlyfire 0"
+		echo -e ""
+		echo -e ""
+		echo -e "//// Team numbers"
+		echo -e "// 2 = Vigilantes & Desperados"
+		echo -e "// 3 = Vigilantes, Desperados & Bandidos"
+		echo -e "// 4 = Vigilantes, Desperados, Bandidos & Rangers"
+		echo -e ""
+		echo -e "fof_sv_maxteams 4"
+		echo -e ""
+		echo -e "//// Scrable Teams"
+		echo -e "// Teams get scrambled when 75% of kills come from same team"
+		echo -e "fof_sv_scrambleteams 1"
+		echo -e "fof_sv_scrambleteams_maxkillratio 0.75"
 	}|tee "${servercfgfullpath}" > /dev/null 2>&1
 	}|tee "${servercfgfullpath}" > /dev/null 2>&1
 	sleep 1
 	sleep 1
 	echo ""
 	echo ""