Left 4 Dead 2 Gamemodes.txt File
Jump to navigation
Jump to search
This is the gamemode.txt file included which is packed in /left 4 dead 2/update/pak01_dir.vpk located in the scripts directory. Feel free to use this as a template for the metadata for your own Mutation Gametype.
Left 4 Dead 2 Gamemodes.txt

"GameModes"
{
"coop"
{
"base" "coop"
"maxplayers" "4"
"x360ctx" "0"
"x360matchrule" "0"
"x360presence" "5"
"x360presence:"
{
"network:offline" "11"
"play:commentary" "3"
"play:credits" "2"
}
"hasdifficulty" "1"
}
"realism"
{
"base" "realism"
"maxplayers" "4" // realism
"x360ctx" "6"
"x360matchrule" "0"
"x360presence" "5"
"hasdifficulty" "1"
// set base gamemode convars first, then the current gamemode
convar {
sv_disable_glow_survivors 1
sv_disable_glow_faritems 1
sv_rescue_disabled 1
z_non_head_damage_factor_multiplier 0.5
z_head_damage_causes_wounds 1
z_use_next_difficulty_damage_factor 1
z_witch_always_kills 1
}
}
"survival"
{
"base" "survival"
"maxplayers" "4" // survival
"x360ctx" "3"
"x360matchrule" "2"
"x360matchruleteam" "3"
"x360presence" "9"
"singlechapter" "1"
}
"versus"
{
"base" "versus"
"maxplayers" "8" // versus
"x360ctx" "1"
"x360matchrule" "1"
"x360matchruleteam" "3"
"x360presence" "7"
"playercontrolledzombies" "1"
convar
{
"z_scrimmage_creep_delay" 0
"z_scrimmage_creep_rate" 100
"z_spawn_safety_range" 200
"tongue_miss_delay" 3
"tongue_hit_delay" 15
"tongue_dropping_to_ground_time" 0.5
"tongue_los_forgiveness_time" 1.5
"tongue_no_progress_choke_early_delay" 1.0
"z_pounce_stumble_radius" 160
"z_pounce_damage_interrupt" 150
"z_hunter_limit" 2
"z_smoker_limit" 2
"z_max_stagger_duration" 0.9
"sv_alltalk" 0
"z_ghost_los_expected_progress" 2000
"tongue_choke_damage_amount" 5
"tongue_break_from_damage_amount" 300
"director_special_initial_spawn_delay_min" 2
"director_special_initial_spawn_delay_max" 10
// these are 360 only convar changes, if you prefix with 360_, they'll
// get set on 360 and dedicated for 360
"360_z_mega_mob_size" 25
"360_z_mob_spawn_max_size" 18
"360_z_versus_wandering_density" 0.026
}
}
"scavenge"
{
"base" "scavenge"
"maxplayers" "8" // scavenge
"x360ctx" "4"
"x360matchrule" "4"
"x360matchruleteam" "5"
"x360presence" "9"
"singlechapter" "1"
"hasroundlimit" "1"
"playercontrolledzombies" "1"
convar
{
"z_scrimmage_creep_delay" 0
"z_scrimmage_creep_rate" 100
"z_spawn_safety_range" 200
"tongue_miss_delay" 3
"tongue_hit_delay" 15
"tongue_dropping_to_ground_time" 0.5
"tongue_los_forgiveness_time" 1.5
"tongue_no_progress_choke_early_delay" 1.0
"z_pounce_stumble_radius" 160
"z_pounce_damage_interrupt" 150
"z_hunter_limit" 2
"z_smoker_limit" 2
"z_max_stagger_duration" 0.9
"sv_alltalk" 0
"z_ghost_los_expected_progress" 2000
"tongue_choke_damage_amount" 5
"tongue_break_from_damage_amount" 300
"director_special_initial_spawn_delay_min" 2
"director_special_initial_spawn_delay_max" 10
// these are 360 only convar changes, if you prefix with 360_, they'll
// get set on 360 and dedicated for 360
"360_z_mega_mob_size" 25
"360_z_mob_spawn_max_size" 18
"360_z_versus_wandering_density" 0.026
}
}
"mutation1" // Last Man On Earth
{
"base" "coop"
"maxplayers" "1"
"achievementindex" "0"
"x360ctx" "7"
"x360presence" "13"
"dlcmask" "0x0000000000000002"
convar {
z_jockey_ride_damage 15
z_pounce_damage 10
tongue_choke_damage_amount 15
tongue_drag_damage_amount 15
}
}
"mutation2" // Headshot!
{
"base" "coop"
"maxplayers" "4"
"achievementindex" "1"
"x360ctx" "8"
"dlcmask" "0x0000000000000002"
}
"mutation3" // Bleed Out
{
"base" "coop"
"maxplayers" "4"
"achievementindex" "2"
"x360ctx" "9"
"dlcmask" "0x0000000000000002"
convar {
pain_pills_decay_rate 0.27
}
}
"mutation4" // Hard Eight
{
"base" "coop"
"maxplayers" "4"
"achievementindex" "3"
"x360ctx" "10"
"dlcmask" "0x0000000000000002"
}
"mutation5" // Four Swordsmen
{
"base" "coop"
"maxplayers" "4"
"achievementindex" "4"
"x360ctx" "11"
"dlcmask" "0x0000000000000002"
convar
{
sb_melee_approach_victim 1
sv_infected_riot_control_tonfa_probability 0
}
}
"mutation7" // Chainsaw Massacre
{
"base" "coop"
"maxplayers" "4"
"achievementindex" "6"
"x360ctx" "13"
"dlcmask" "0x0000000000000002"
convar
{
sb_melee_approach_victim 1
sv_infected_riot_control_tonfa_probability 0
}
}
"mutation8" // Iron Man
{
"base" "coop"
"maxplayers" "4"
"achievementindex" "7"
"x360ctx" "14"
"dlcmask" "0x0000000000000002"
convar {
sv_permawipe 1
sv_disable_glow_survivors 1
sv_disable_glow_faritems 1
sv_rescue_disabled 1
z_non_head_damage_factor_multiplier 0.5
z_head_damage_causes_wounds 1
z_use_next_difficulty_damage_factor 1
z_witch_always_kills 1
}
}
"mutation9" // Last Gnome On Earth
{
"base" "coop"
"maxplayers" "4"
"achievementindex" "8"
"x360ctx" "15"
"dlcmask" "0x0000000000000002"
}
"mutation10" // Room For One
{
"base" "coop"
"maxplayers" "4"
"achievementindex" "9"
"x360ctx" "16"
"x360presence" "5"
"x360presence:"
{
"state:game" "10"
}
"dlcmask" "0x0000000000000002"
}
"mutation11" // Healthpackalypse!
{
"base" "versus"
"maxplayers" "8"
"achievementindex" "10"
"playercontrolledzombies" "1"
"x360ctx" "18"
"dlcmask" "0x0000000000000002"
convar {
"director_special_initial_spawn_delay_min" 2
"director_special_initial_spawn_delay_max" 10
}
}
"mutation12" // Realism Versus
{
"base" "versus"
"maxplayers" "8"
"achievementindex" "13" // intentionally mis-numbered
"playercontrolledzombies" "1"
"x360ctx" "20"
"dlcmask" "0x0000000000000002"
convar {
sv_disable_glow_survivors 1
sv_disable_glow_faritems 1
sv_rescue_disabled 1
z_non_head_damage_factor_multiplier 0.5
z_head_damage_causes_wounds 1
z_use_next_difficulty_damage_factor 1
z_witch_always_kills 1
"director_special_initial_spawn_delay_min" 2
"director_special_initial_spawn_delay_max" 10
}
}
"mutation13" // Follow the Liter
{
"base" "scavenge"
"maxplayers" "8"
"achievementindex" "12"
"playercontrolledzombies" "1"
"x360ctx" "22"
"dlcmask" "0x0000000000000002"
convar {
"director_special_initial_spawn_delay_min" 2
"director_special_initial_spawn_delay_max" 10
}
}
"mutation14" // Gib Fest
{
"base" "coop"
"maxplayers" "4"
"achievementindex" "11" // intentionally mis-numbered
"x360ctx" "24"
"dlcmask" "0x0000000000000002"
convar {
"sv_infinite_primary_ammo" 1
sv_infected_riot_control_tonfa_probability 0
}
}
"mutation15" // Versus Survival
{
"base" "survival"
"maxplayers" "8"
"achievementindex" "14"
"playercontrolledzombies" "1"
"x360ctx" "28"
"dlcmask" "0x0000000000000002"
convar
{
"z_scrimmage_creep_delay" 0
"z_scrimmage_creep_rate" 100
"z_spawn_safety_range" 200
"tongue_miss_delay" 3
"tongue_hit_delay" 15
"tongue_dropping_to_ground_time" 0.5
"tongue_los_forgiveness_time" 1.5
"tongue_no_progress_choke_early_delay" 1.0
"z_pounce_stumble_radius" 160
"z_pounce_damage_interrupt" 150
"z_hunter_limit" 2
"z_smoker_limit" 2
"z_max_stagger_duration" 0.9
"sv_alltalk" 0
"z_ghost_los_expected_progress" 2000
"tongue_choke_damage_amount" 5
"tongue_break_from_damage_amount" 300
"director_special_initial_spawn_delay_min" 2
"director_special_initial_spawn_delay_max" 10
}
}
"mutation16" // Hunting Party
{
"base" "coop"
"maxplayers" "4"
"achievementindex" "15"
"x360ctx" "25"
"dlcmask" "0x0000000000000002"
}
"mutation17" // Lone Gunman
{
"base" "coop"
"maxplayers" "1"
"achievementindex" "16"
"x360ctx" "17"
"dlcmask" "0x0000000000000002"
convar {
sv_infected_riot_control_tonfa_probability 0
}
}
"mutation18" // Bleed Out Versus
{
"base" "versus"
"maxplayers" "8"
"achievementindex" "17"
"x360ctx" "26"
"dlcmask" "0x0000000000000002"
"playercontrolledzombies" "1"
convar {
pain_pills_decay_rate 0.27
}
}
"mutation19" // Taaannnkk!
{
"base" "versus"
"maxplayers" "8"
"achievementindex" "18"
"playercontrolledzombies" "1"
"x360ctx" "30"
"dlcmask" "0x0000000000000002"
convar
{
"z_spawn_safety_range" 600
"z_ghost_travel_distance" 2000
"z_tank_health" 2000
"z_frustration" 0
}
}
"mutation20" // Healing Gnome
{
"base" "coop"
"maxplayers" "4"
"achievementindex" "19"
"x360ctx" "31"
"dlcmask" "0x0000000000000002"
}
"community1" // Special Delivery
{
"base" "coop"
"maxplayers" "4"
"achievementindex" "5"
"x360ctx" "12"
"dlcmask" "0x0000000000000002"
convar
{
sb_melee_approach_victim 1
sv_infected_riot_control_tonfa_probability 0
}
}
"community2" // Flu Season
{
"base" "coop"
"maxplayers" "4"
"achievementindex" "5"
"x360ctx" "12"
"dlcmask" "0x0000000000000002"
"hasdifficulty" "1"
convar
{
"sb_max_team_melee_weapons" 1
"ai_talk_idle_enabled" 1
"sb_vomit_blind_time" 0.1
"boomer_vomit_delay" 0.1
"z_vomit_fade_duration" 0.1
"z_vomit_fade_start" 0.1
"z_vomit_duration" 1
"z_vomit_interval" 0.1
"z_vomit_fatigue" 0.1
"z_vomit_range" 150
"z_exploding_splat_radius" 1
"z_exploding_health" 100
"z_exploding_speed" 350
"z_exploding_shove_max" 99
"z_exploding_shove_min" 99
"boomer_exposed_time_tolerance" 0.1
"boomer_pz_claw_dmg" 15
"z_wandering_density" 0
"z_scout_mob_spawn_range" 1000
"director_no_mobs" 1
"z_health" 100
"z_spawn_mobs_behind_chance" 0
}
}
"community3" // Riding My Survivor
{
"base" "versus"
"maxplayers" "8"
"achievementindex" "5"
"playercontrolledzombies" "1"
"x360ctx" "12"
"dlcmask" "0x0000000000000002"
convar
{
z_jockey_health 500
z_jockey_speed 450
z_jockey_ride_damage 10
}
}
"community4" // Nightmare
{
"base" "survival"
"maxplayers" "4"
"x360ctx" "12"
"dlcmask" "0x0000000000000002"
"hasdifficulty" "1"
convar
{
"z_hunter_health" 300
"z_charger_health" 300
"z_spitter_health" 300
"z_charger_allow_shove" 1
"director_no_mobs" 1
"z_special_spawn_interval" 10
"director_special_respawn_interval" 10
"director_special_initial_spawn_delay_min" 10
"director_special_initial_spawn_delay_max" 30
"sv_disable_glow_survivors" 1
"sv_disable_glow_faritems" 1
"intensity_decay_time" 15
"director_relax_max_interval" 20
"director_relax_min_interval" 10
"first_aid_heal_percent" 0.9
"pain_pills_health_value" 65
"pain_pills_decay_rate" 0.21
"director_scavenge_item_override" 1
"director_pain_pill_density" 7.48
"director_pipe_bomb_density" 7.48
"director_molotov_density" 7.48
"director_pistol_density" 6
"fog_override" 1
"fog_enable" 1
"fog_start" 242
"fog_end" 730
"fog_startskybox" -10000
"fog_endskybox" -10000
"fog_enableskybox" 1
"z_tank_health" 5000
"z_tank_throw_force" 1200
"z_tank_throw_health" 200
}
}
"community5" // Death's Door
{
"base" "coop"
"maxplayers" "4"
"x360ctx" "12"
"dlcmask" "0x0000000000000002"
"hasdifficulty" "1"
convar
{
"survivor_max_incapacitated_count" 0
}
}
}