From 3898e179250ecffe8593899fa6a3bc72e00e5242 Mon Sep 17 00:00:00 2001 From: ineedbots Date: Sat, 4 Sep 2021 23:30:02 -0600 Subject: [PATCH] Configs --- main/pvbrust.cfg | 10 +++++----- main/pvbvote.cfg | 16 ++++++++-------- z_server.bat | 27 ++++++++++++++++++++++++++- z_server_pvbrust.bat | 27 ++++++++++++++++++++++++++- z_server_pvbvote.bat | 27 ++++++++++++++++++++++++++- 5 files changed, 91 insertions(+), 16 deletions(-) diff --git a/main/pvbrust.cfg b/main/pvbrust.cfg index 9bdfc31..36f62b5 100644 --- a/main/pvbrust.cfg +++ b/main/pvbrust.cfg @@ -526,15 +526,15 @@ set bots_manage_fill "9" set bots_manage_fill_spec "0" set bots_manage_fill_mode "1" set bots_manage_fill_kick "1" -set bots_team "axis" +set bots_team "custom" set bots_team_amount "0" set bots_team_force "1" -set bots_team_mode "0" -set bots_skill "0" -set bots_skill_axis_hard "0" +set bots_team_mode "1" +set bots_skill "8" +set bots_skill_axis_hard "1" set bots_skill_axis_med "0" set bots_skill_allies_hard "0" -set bots_skill_allies_med "0" +set bots_skill_allies_med "3" set bots_loadout_reasonable "0" set bots_loadout_allow_op "0" set bots_loadout_rank "-1" diff --git a/main/pvbvote.cfg b/main/pvbvote.cfg index ee7b535..0224322 100644 --- a/main/pvbvote.cfg +++ b/main/pvbvote.cfg @@ -521,20 +521,20 @@ set bots_main "1" set bots_main_GUIDs "" set bots_main_firstIsHost "0" set bots_main_waitForHostTime "10" -set bots_manage_add "10" -set bots_manage_fill "10" +set bots_manage_add "9" +set bots_manage_fill "9" set bots_manage_fill_spec "0" set bots_manage_fill_mode "1" set bots_manage_fill_kick "1" -set bots_team "custom" -set bots_team_amount "1" +set bots_team "axis" +set bots_team_amount "0" set bots_team_force "1" -set bots_team_mode "1" +set bots_team_mode "0" set bots_skill "8" -set bots_skill_axis_hard "1" -set bots_skill_axis_med "0" +set bots_skill_axis_hard "0" +set bots_skill_axis_med "3" set bots_skill_allies_hard "0" -set bots_skill_allies_med "3" +set bots_skill_allies_med "0" set bots_loadout_reasonable "0" set bots_loadout_allow_op "0" set bots_loadout_rank "-1" diff --git a/z_server.bat b/z_server.bat index d7e820b..7687c97 100644 --- a/z_server.bat +++ b/z_server.bat @@ -1 +1,26 @@ -start "" "%~dp0iw4x.exe" -dedicated +set sv_lanonly "0" +set net_port "28960" +set fs_game "" +exec server.cfg +map_rotate \ No newline at end of file +@echo off +::RemoteCONtrol password, needed for most management tools like IW4MADMIN and B3. Do not skip if you installing IW4MADMIN. +set rcon_password= +::Name of the config file the server should use. +set cfg=server.cfg +::Name of the server shown in the title of the cmd window. This will NOT bet shown ingame. +set name=IW4x Bot Warfare Server +::Port used by the server (default: 28960) +set port=28960 +::What ip to bind too +set ip=0.0.0.0 +::Mod name (default "") +set mod= +::Only change this when you don't want to keep the bat files in the game folder. MOST WON'T NEED TO EDIT THIS! +set gamepath=%cd% + +title IW4x MP - %name% - Server restarter +echo Visit plutonium.pw / Join the Discord (a6JM2Tv) for NEWS and Updates! +echo Server "%name%" will load "%cfg%" and listen on port "%port%" UDP with IP "%ip%"! +echo To shut down the server close this window first! +echo (%date%) - (%time%) %name% server start. + +:server +start /wait /abovenormal "%name%" "%~dp0iw4x.exe" -dedicated +set sv_lanonly "0" +set net_ip "%ip%" +set net_port "%port%" +set rcon_password "%rcon_password%" +set fs_game "%mod%" +exec "%cfg%" +map_rotate +echo (%date%) - (%time%) WARNING: %name% server closed or dropped... server restarts. +goto Server diff --git a/z_server_pvbrust.bat b/z_server_pvbrust.bat index a6fad7b..a637c61 100644 --- a/z_server_pvbrust.bat +++ b/z_server_pvbrust.bat @@ -1 +1,26 @@ -start "" "%~dp0iw4x.exe" -dedicated +set sv_lanonly "0" +set net_port "28960" +set fs_game "" +exec pvbrust.cfg +map_rotate \ No newline at end of file +@echo off +::RemoteCONtrol password, needed for most management tools like IW4MADMIN and B3. Do not skip if you installing IW4MADMIN. +set rcon_password= +::Name of the config file the server should use. +set cfg=pvbrust.cfg +::Name of the server shown in the title of the cmd window. This will NOT bet shown ingame. +set name=IW4x Bot Warfare PvB Rust +::Port used by the server (default: 28960) +set port=28965 +::What ip to bind too +set ip=0.0.0.0 +::Mod name (default "") +set mod= +::Only change this when you don't want to keep the bat files in the game folder. MOST WON'T NEED TO EDIT THIS! +set gamepath=%cd% + +title IW4x MP - %name% - Server restarter +echo Visit plutonium.pw / Join the Discord (a6JM2Tv) for NEWS and Updates! +echo Server "%name%" will load "%cfg%" and listen on port "%port%" UDP with IP "%ip%"! +echo To shut down the server close this window first! +echo (%date%) - (%time%) %name% server start. + +:server +start /wait /abovenormal "%name%" "%~dp0iw4x.exe" -dedicated +set sv_lanonly "0" +set net_ip "%ip%" +set net_port "%port%" +set rcon_password "%rcon_password%" +set fs_game "%mod%" +exec "%cfg%" +map_rotate +echo (%date%) - (%time%) WARNING: %name% server closed or dropped... server restarts. +goto Server diff --git a/z_server_pvbvote.bat b/z_server_pvbvote.bat index 09cab02..6432539 100644 --- a/z_server_pvbvote.bat +++ b/z_server_pvbvote.bat @@ -1 +1,26 @@ -start "" "%~dp0iw4x.exe" -dedicated +set sv_lanonly "0" +set net_port "28960" +set fs_game "mods/pvb" +exec pvbvote.cfg +map_rotate \ No newline at end of file +@echo off +::RemoteCONtrol password, needed for most management tools like IW4MADMIN and B3. Do not skip if you installing IW4MADMIN. +set rcon_password= +::Name of the config file the server should use. +set cfg=pvbvote.cfg +::Name of the server shown in the title of the cmd window. This will NOT bet shown ingame. +set name=IW4x Bot Warfare PvB Vote +::Port used by the server (default: 28960) +set port=28966 +::What ip to bind too +set ip=0.0.0.0 +::Mod name (default "") +set mod=mods/pvb +::Only change this when you don't want to keep the bat files in the game folder. MOST WON'T NEED TO EDIT THIS! +set gamepath=%cd% + +title IW4x MP - %name% - Server restarter +echo Visit plutonium.pw / Join the Discord (a6JM2Tv) for NEWS and Updates! +echo Server "%name%" will load "%cfg%" and listen on port "%port%" UDP with IP "%ip%"! +echo To shut down the server close this window first! +echo (%date%) - (%time%) %name% server start. + +:server +start /wait /abovenormal "%name%" "%~dp0iw4x.exe" -dedicated +set sv_lanonly "0" +set net_ip "%ip%" +set net_port "%port%" +set rcon_password "%rcon_password%" +set fs_game "%mod%" +exec "%cfg%" +map_rotate +echo (%date%) - (%time%) WARNING: %name% server closed or dropped... server restarts. +goto Server