Initialize

This commit is contained in:
Pratyush Desai 2023-01-13 07:08:11 +05:30
commit 045c19fb8e
Signed by: pratyush
GPG Key ID: DBA5BB7505946FAD
3 changed files with 84 additions and 0 deletions

0
.gitignore vendored Normal file
View File

6
README.md Normal file
View File

@ -0,0 +1,6 @@
# Day of Infamy Dedicated Server
> WIP repo
> Consider these [docs](https://libertacasa.info/books/day-of-infamy)

78
server.cfg Executable file
View File

@ -0,0 +1,78 @@
// Make sure the right people are banned. Done first due to a game bug.
exec banned_user.cfg
exec banned_ip.cfg
hostname "My DoI Server Name"
mapcyclefile "mapcycle_coop.txt"
mp_friendlyfire 1
mp_tkpunish 1
sv_hud_deathmessages 0
sv_hud_scoreboard_show_kd 1
sv_hud_targetindicator" 1 // show friendly player names when looking at them
mp_timer_pregame 10
mp_timer_preround 15
mp_timer_postround 15
mp_timer_postgame 21
maxplayers 16
ins_bot_quota 26
sv_deadvoice 1
sv_deadchat 1
sv_deadchat_team 0 // is deadchat limited to just your team?
heartbeat
sv_playlist nwi/coop
mp_coop_lobbysize 16 //Number of players on team in coop
// General HL cfgs
sv_cheats 0
// RCON Stuff (Insert your own)
rcon_password "xxxxxxxxxx"
// Compat
sv_master_legacy_mode 0
// Write Bans
writeip
writeid
// LETS TEST THESE
///////////////////////////////////////////////////////////////////////////////////////////
///// BOT SETTINGS ///////
//////////////////////////////////////////////////////////////////////////////////////////
ins_bot_change_difficulty 1 //When to change bot difficulty, 1 = instantly, 0 = when new bots are added
ins_bot_count_checkpoint 0 //A set bot count for Checkpoint
ins_bot_count_checkpoint_max 16 //The max bot count for Checkpoint
ins_bot_count_checkpoint_min 5 //The min bot count for Checkpoint
ins_bot_count_hunt 0 //a set bot count for hunt
ins_bot_count_hunt_max 25 //The max bot count for hunt
ins_bot_count_hunt_min 15 //The min bot count for hunt
ins_bot_difficulty 1 //difficult of bots
ins_bot_quota 12 //How many bots to place on each team when no players are present?
///////////////////////////////////////////////////////////////////////////////////////////
///// VOTING ///////
//////////////////////////////////////////////////////////////////////////////////////////
sv_allow_votes 1 //allow voting
sv_map_voting 1 //allow map voting
sv_vote_allow_spectators 0 //allow spectator voting
sv_vote_command_delay 5 //How long after a vote passes until the action happens
sv_vote_creation_timer 120 //How long after a vote passes until the action happens
sv_vote_failure_timer 90 //A vote that fails cannot be re-submitted for this long
sv_vote_issue_botcount_allowed 1 //Can people hold votes to change AI count??
sv_vote_issue_botcount_min_population 1 //The voting population required to pass a bot count vote
sv_vote_issue_botcount_min_ratio .5 //ratio needed to be yes to pass? (1.0 = All votes need to be yes)
sv_vote_issue_botdifficulty_allowed 1 //Can people hold votes to change AI difficulty?
sv_vote_issue_botdifficulty_min_population 1 //population to pass a bot difficulty vote?
sv_vote_issue_botdifficulty_min_ratio .5 //ratio needed to be yes to pass? (1.0 = All votes need to be yes)
sv_vote_issue_changegamemode_allowed 1 //Can people hold votes to change the gamemode?
sv_vote_issue_changelevel_allowed 1 //Can people hold votes to change levels?
sv_vote_issue_kick_allowed 1 //Can people hold votes to kick players from the server?