Day of infamy server setup12/31/2023 ![]() "mp_tkpunish" "2" // How to punish team killing ( 0 = none, 1 = warning, 2 = kill ) "mp_friendlyfire" "1" // enables/disables friendly fire These are only examples, there are hundreds of variables which you can customize. "bot_damage" "1" // the amount of damage bots give off compared to normal players, 0.1 - 1.0 (in 0.1 increments) "mp_timer_preround_first" "10" // timer for pre-round right after the map loads (additional timer, it counts towards “mp_timer_preround”) "mp_timer_postgame" "10" // timer for the post-game (at the end of a game / map rotation) "mp_timer_postround" "8" // timer for the post-round (after the round starts) "mp_timer_preround" "10" // timer for the pre-round (before the round starts, usually after a previous round ends or on mp_restartround 1), in seconds "mp_timer_pregame" "0" // timer for the pre-game (before the game starts, usually after map change or on mp_restartgame 1), in seconds "mp_player_resupply_penalty_reset" "45" // time in seconds where penalty resets "mp_player_resupply_delay_penalty" "20" // penalty for resupply spamming, in seconds "mp_player_resupply_delay_max" "130" // maximum delay between resupply in seconds "mp_player_resupply_delay_base" "10" // base delay between player resupply in seconds "mp_supply_token_max" "50" // maximum supply points (base + earned) Now you can edit this with adding optional CVARs such as these: "mp_stronghold_bot_respawn_frequency" "40" // in seconds "mp_supply_rate_winning_team_low" "1" // non-MVP winning team ![]() "mp_supply_rate_winning_team_high" "1" // how many supply points will player earn on winning team as MVP "mp_supply_rate_losing_team_low" "1" // non-MVP losing team "mp_supply_rate_losing_team_high" "1" // how many supply points will player earn on losing team as MVP "mp_supply_token_bot_base" "18" // number of supply points for bots "mp_supply_token_base" "10" // number of supply points at start of the map "mp_cp_capture_time" "30" // number of seconds needed to capture an objective "mp_roundtime" "900" // round time in seconds, ATTENTION! for COOP modes, this is time till next objective is captured, not for whole round ! "mp_winlimit_coop" "1" // maximum number of WINS before next map can be loaded "mp_maxrounds" "5" // maximum number of rounds played before map changes without reaching winlimit "mp_maxgames" "1" // maximum number of games played "mp_coop_lobbysize" "6" // how many players are allowed in coop modes, maximum 8 These files are located in ".\doi\cfg" directory and contain per-gamemode settings, the name of the file matching the mode it modifies.Įxample of server_stronghold.cfg, starting with default settings: Now You can proceed to edit files which are loaded by the server and correspond to the current game mode. Those config files are not default and you must create them if you want to have such settings. You just saw that there is possibility to have per-map settings as well as per-map-gamemode. If you have conflicting CVARS (Console Variables, simply put: commands) the last loaded config will have highest priority, thus overriding such conflicting cvar. ![]() Loaded from top to bottom (from most general to most specific). Server_.cfg // optional file for settings per-map-gamemode ![]() Server_.cfg // optional file for settings per-map Server_.cfg // non-default config, overrides default, use this for custom servers Server.cfg // this is your primary server config file containing global variablesĭefault_server_.cfg // default file which contains settings for specific mode Now You have fully functional server with basic settings, if you want more customization just continue reading this guide. Unlike Insurgency server, DoI no longer uses default mapcycle files for NWI servers so don't be surprised if you didn't see any in your doi folder. Mapcyclefile: this Console Variable (aka CVAR, cvars can be found in “cvarlist” explained later in this guide, you will not need this for basic setup) sets your map cycle file, you can either use default mapcycle files or create your own. "mapcyclefile" "your_mapcycle.txt" // this cvar sets your mapcycle file and defines your map/gamemode rotation Sv_battleye 1 // Anti-cheat, 0 = disabledĮxec banned_user.cfg // personal banlist based on user IDsĮxec banned_ip.cfg // personal banlist based on user IPs Log on // enables/disables server logging, it will store all text which console prints into TXT files ![]() Sv_password "" // server password for private matches, if you have sv_playlist, it won't be matchmaked Rcon_password "your_password" // remote console access password Hostname "your_server_name" // server name ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |