Skip to content

Instantly share code, notes, and snippets.

@smilz0
Last active October 11, 2023 08:07
Show Gist options
  • Save smilz0/6d5a52fd472026c573398227cf448278 to your computer and use it in GitHub Desktop.
Save smilz0/6d5a52fd472026c573398227cf448278 to your computer and use it in GitHub Desktop.
Left 4 Fun Settings
// PLS NOTE: Unlike my other addons, in L4F some values have an alias to use when changing the settings in game
// via 'settings' command but in the 'settings.txt' file they are always saved with the internal values.
// For example in the game you would use:
// !settings admin_commands false
// !settings godmode admins
// but if you are directly editing the 'settings.txt' file you must set:
// admin_commands = 0
// godmode = 2
// I will probably change this in the future to only use the internal values, like my other addons.
// Level of server hints that will be sent to all the admins online
// Possible values:
// 0: all (all the hints will be shown)
// 1: info (same as above)
// 2: warning (only hints of level 'warning' and 'alert' will be shown)
// 3: alert (only hints of level 'alert' will be shown)
// 4: none (no hints will be shown)
admin_hints_level = 0
// At the end of a campaign the players of this category (excluding the players in the trolls list) will successfully escape even if they are incapacitated or dead
// Possible values:
// 0: all (enabled for everyone)
// 1: users (enabled for non-admins only)
// 2: admins (enabled for admins only)
// 3: none (disabled)
always_win = 3
// Friendly fire damage from survivor bots will be multiplied by this factor
bot_friendlyfire_damagefactor = 1
// [1: true/0: false] Enable/Disable the godmode for the incapped survivor who is being revived which means that the revive process will not be interrupted
// by the infected hitting the downed survivor even if the reviver is a human (basically it will be like when the reviver is a bot)
god_on_revive = 0
// God mode
// Possible values:
// 0: all (enabled for everyone)
// 1: users (enabled for non-admins only)
// 2: admins (enabled for admins only)
// 3: none (disabled)
godmode = 3
// Minimum log level for the addon's log lines into the console
// 0 = No log
// 1 = Only [ERROR] messages are logged
// 2 = [ERROR] and [WARNING]
// 3 = [ERROR], [WARNING] and [INFO]
// 4 = [ERROR], [WARNING], [INFO] and [DEBUG]
loglevel = 3
// [1: true/0: false] If true, it prevents the auto drop of the M60 when the ammo in the clip reaches 0
m60_fix = 1
// Name of the mod to load on the next chapter/map/restart
// NOTE: Name must be the name of the mod file without the "_modename.txt" part (use none to load no mod)
mod = "none"
// [1: true/0: false] If true, it allows the survivors to pick up and carry certain props (only networked objects are affected, most props are handled client side and cannot be picked up)
pickup_objects = 0
// [1: true/0: false] Enable/Disable the CSGO style reload for the primary weapons
// Basically, when you reload, the weapon will keep the remaining ammo in it's clip until the reload animation ends
// This means that if you interrupt the reload (for example you switch to another weapon and then switch back), you can still fire the remaining ammo in the clip without
// being forced to reload (just like when you reload the pistols)
reload_fix = 0
// Any incoming damage to a player who has been added to the trolls list is multiplied by this number (including the ricochet damage from the "Left 4 Grief" addon)
troll_damagefactor = 1.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment