Skip to content

Commit

Permalink
update bb2
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibbs64 committed Dec 7, 2023
1 parent f4dc6ca commit 64e918a
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 62 deletions.
74 changes: 26 additions & 48 deletions bb2/server.cfg
Original file line number Diff line number Diff line change
@@ -1,73 +1,51 @@
// ************************************************************************** //
// //
// BrainBread 2 - server.cfg //
// Version 240917 //
// //
// ************************************************************************** //
// ****************************************************************************
// Brainbread 2
// Config - server.cfg
// Date - 06/12/2023
// ****************************************************************************

// .................................. Basic ................................. //

// Hostname - Name of the server.
// hostname - Hostname for server.
hostname "SERVERNAME"

// RCON - remote console password.
rcon_password "ADMINPASSWORD"

// Server password - for private servers.
// sv_password - Server password for entry into multiplayer games.
sv_password ""

// Email - Server admin email.
// Example: sv_contact "[email protected]"
sv_contact ""
// Default Map - map <mapname> :Load a new map.
map "bba_barracks"

// LAN mode - If set the server will not show on the internet.
// Default: sv_lan 0
// sv_lan - Server is a lan server ( no heartbeat, no authentication, no non-class C addresses ).
sv_lan 0

// Server tags - Tags show up on the in-game server browser. This helps
// users filter servers.
// vanilla - the server runs the default settings.
// custom - the server runs custom gameplay settings or mods.
// Example: sv_tags "custom, fastdl"
sv_tags ""


// ................................. In Game ................................ //
// sv_logfile - Log server information in the log file.
sv_logfile 1

// Cheats - Allow cheats on the server. Steam achievements and stats are disabled.
// 0 = cheats off.
// 1 = cheats on.
// Default: sv_cheats 0
// Reccomended: sv_cheats 0
sv_cheats 0
// sv_logbans - Log server bans in the server logs.
sv_logbans 1

// Profile System
// desc: Sets if the player will be able to save and load their skills. (0 - Disabled | 1 - Global | 2 - Local, achievements and steam stats are disabled)
// default 1
// Profile Saving only works on dedicated servers.
bb2_allow_profile_system 1
// sv_voiceenable - Enable voice communications.
sv_voiceenable 1

// Misc
sv_region 255
// sv_alltalk - Players can hear all other players, no team restrictions.
sv_alltalk 1

// sv_allowupload - Allow clients to upload customizations files.
sv_allowupload 1
sv_allowdownload 1

// Rates
sv_maxrate 0
sv_minrate 35000
// sv_allowdownload - Allow clients to download files.
sv_allowdownload 1

sv_maxcmdrate 33
sv_mincmdrate 30
// sv_downloadurl - Location from which clients can download missing files.
sv_downloadurl ""

sv_maxupdaterate 33
sv_minupdaterate 30
// mp_allowspectators - Toggles whether the server allows spectator mode or not.
mp_allowspectators 1

sv_forcepreload 0
// bb2_allow_profile_system - Allow players to load Global stats or local stats defined on the server. 1 = Global, 2 = Local!
bb2_allow_profile_system

exec server_core.cfg
exec server_game.cfg
exec server_custom.cfg

heartbeat
4 changes: 1 addition & 3 deletions bb2/server.cfg.orig
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,4 @@ sv_forcepreload 0

exec server_core.cfg
exec server_game.cfg
exec server_custom.cfg

heartbeat
exec server_custom.cfg
36 changes: 25 additions & 11 deletions bb2/server_core.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ bb2_elimination_score_from_extermination 10
// desc: Whenever the zombie team gets a kill this is the value to add.
// minimum: 1
// maximum: 10
// default 4
bb2_elimination_score_zombies 4
// default 5
bb2_elimination_score_zombies 5

// Elimination: Human Score
// desc: Whenever the human team gets a zombie player kill this is the value to add.
Expand All @@ -127,12 +127,19 @@ bb2_elimination_score_humans 1
// default 30
bb2_elimination_teamperk_duration 10

// Elimination: TeamPerk Required Kills
// desc: How many kills does a team need to get in order to activate a team perk?
// minimum: 10
// Elimination: TeamPerk Required Kills for Zombies
// desc: How many kills does the zombies need to activate a team perk?
// minimum: 1
// maximum: 100
// default 2
bb2_elimination_teamperk_zombies 2

// Elimination: TeamPerk Required Kills for Humans
// desc: How many kills does the humans need to activate a team perk?
// minimum: 1
// maximum: 100
// default 12
bb2_elimination_teamperk_kills_required 12
// default 4
bb2_elimination_teamperk_humans 4

// Deathmatch: Fraglimit
// minimum: 20
Expand All @@ -147,12 +154,18 @@ bb2_deathmatch_fraglimit 60
bb2_deathmatch_respawn_time 3

// Voting: Passing Votes
// desc: How much % of the players will be required to vote YES in order to pass a vote?
// desc: How much % of the players will be required to vote YES in order to pass a map vote?
// minimum: 0
// maximum: 100
// default 70
// default 60
bb2_vote_required_percentage 60

// desc: How much % of the players will be required to vote YES in order to pass a kick or ban vote?
// minimum: 0
// maximum: 100
// default 82
bb2_vote_required_percentage_kickban 78

// Voting: Ban Time
// desc: For how many minutes will a player be banned if a ban vote passes?
// minimum: 0 (permanent)
Expand All @@ -171,7 +184,7 @@ bb2_enable_high_ping_kicker 1
// minimum: 100
// maximum: 600
// default 200
bb2_high_ping_limit 350
bb2_high_ping_limit 400
// AFK Kicker
// Desc: Kick players who are AFK for too long?
Expand All @@ -191,7 +204,7 @@ bb2_afk_kick_time 90
// Desc: The time in minutes before the game ends.
// minimum: 10
// default 60
mp_timelimit_objective 60
mp_timelimit_objective 90
// Timelimit - Arena Mode
// Desc: The time in minutes before the game ends.
Expand Down Expand Up @@ -314,3 +327,4 @@ exec banned_user.cfg
exec banned_ip.cfg

writeip
writeid
26 changes: 26 additions & 0 deletions bb2/server_game.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,29 @@ bb2_zombie_lifespan_min "0.8"
bb2_zombie_lifespan_max "1.2"

// Set how frequent in seconds our zombies can spawn in any spawners not overriding spawn frequencies.
bb2_zombie_spawn_freq_min "0.2"
bb2_zombie_spawn_freq_max "0.4"

// Set if zombie volumes should spawn new zombie waves even if previous waves interesect with it = keep spawning all the time.
// Disable this for your map if you want more controlled spawns, leave this on for arena though, it is handy.
bb2_zombie_spawner_continuous "1"

// Enable aggressive lifetime changes for zombies when zombie spawners fail to spawn due to zombie limit, force old zombies to die sooner.
// Will only work in objective & story mode.
bb2_zombie_lifetime_advanced 1

// Set how often ammo clips can respawn.
mp_ammo_respawn_time "4.0"

// NPCs

bb2_m1a1_damage "200"
bb2_m1a1_damage_machinegun "12"
bb2_m1a1_machinegun_firerate "0.08"
bb2_m1a1_radius "500"

sk_npc_boss_fred_rage_health "30"
sk_npc_boss_fred_rage_duration "60"
sk_npc_boss_fred_rage_damage "110"

sk_npc_zombie_speed_override "0"

0 comments on commit 64e918a

Please sign in to comment.