Personally used Left 4 Dead 2 Dedicated Server Coop Plugins
README | 简体中文说明
LINUX SERVER SUPPORT ONLY
Please checkout win
branch if you are looking for Windows platform
This plugin set is based on LinuxGSM, you can either install with LinuxGSM or use your own startup script.
Please edit lgsm/config-lgsm/l4d2server/l4d2server.cfg
to specify your own port(Default 27015
), or you can refer to LinuxGSM configuration document.
Current configuration is for 100 tick, please modify tick_door_speed
if you need other tickrate
Please edit serverfiles/left4dead2/addons/sourcemod/configs/admins_simple.ini
to add yourself as an administrator
There may be some bugs with the plugin set, USE AT YOUR OWN RISK.
secondary weapons(especially dual-pistol and magnum) may not be saved when changing level
when closing the safe room, a survivor which is incapped may be given health which he have when he is incapped(superman)
SI will not spawn in SoureMod 1.11 b6970, Metamod:Source 1.11 b1156, left4dhooks 1.155
(deprecated)thcoop
: coop with improved special infected AI
(deprecated)thcoop2
: coop with improved special infected AI(mixed plugins)
(deprecated)thcoopnosiai
: coop with original special infected AI
thcoop4
: coop with improved special infected AI(mixed plugins) && new SI control plugins
thcoop4hardplus
: coop with improved special infected AI(mixed plugins) && new SI control plugins(hard plus)
thcoop4expert
: coop with improved special infected AI(mixed plugins) && new SI control plugins(expert)
thcoop4nosiai
: coop with original special infected AI && new SI control plugins
thcoop4nosiaiexpert
: coop with original special infected AI && new SI control plugins(expert)
snum
= number of survivors in game
when snum
≤ 4
, calculate as 4
below
this repo uses modified l4dinfectedbots(2.6.8) to control tank health, need to multiply 1.5 in normal difficulty
easy: 3000 + (snum - 4) * 750
normal: 6000 + (snum - 4) * 1500
hard & expert: 8000 + (snum - 4) * 2000
17-35 seconds
thcoop4
& thcoop4nosiai
matchmode: 6 + floor((snum - 4) / 2) * 3
, 3 player-controlled SI
thcoop4hardplus
& thcoop4expert
& thcoop4nosiaiexpert
matchmode: 4 + (snum - 4)
, no player-controlled SI
Note: this difficulty is based on the offical Hard
difficulty, you need to change the difficulty to Hard
to use this mode
Common infected: x2.0
Special infected: x2.0
Tank: punch and rock both make a 50hp damage
Witch: not changed
Friend Fire: x2.0
Fire Damage: x1.75
l4d_ncm_type1damage
: common infected damage multiplier
tank_damage_enable
: enable or disable tank damage change
tank_damage
: tank damage
tank_damage_modifier
: tank damage multiplier to incapped survivors relative to tank_damage
Damage of special infected may not be completely changed
You may need to manual execute /resetmatch
to correctly restore damage when changing to other matchmodes
/forcematch matchmode
: set server matchmode to matchmode
/resetmatch
: unload running matchmodes
default autoloading thcoop4
mode, please change autoloadlgofnoc xxx
in the server config file to modify
cvar ai_tank_bhop
control tank bhop or not, set 1
to enable, set 0
to disable
/jg
: join game as a survivor
/away
: force idle
/zs
: commit suiside
/csm
: change survivor model
Shift + E
: mark a spot on the map at your crosshair
/sset num
: set server max player to num
/sinfo
: show server maxplayer info
/rygive
: give items, teleport players, etc.
/pause
: pause/unpause game
/addbot
: add a bot for player(s) to control when necessary
/kb
: kick all bots
/off14
: turn off multi-SI mode
/on14
: turn on multi-SI mode, SI number is controlled by configuration file
/on142
: turn on multi-SI mode, SI number is determined by current players in-game
/addif
: specify how many SI added when one new player connected
/js
: join survivor
/ji
: join infected
/timer
: change SI spawn timer
/zlimit
: change max special infected limit
Other feature is controlled by cvar
/offammo
: disable ammo modification
/onammo
: enable double ammo
/onammo1
: enable custom ammo controled by configuration file
/onammo2
: enable unlimited ammo
Ammo reservation is now controlled by l4d2_guncontrol
, default triple ammo reserve
/mmn
: control medical resources multiplier
/onhw
: turn on auto giving lazer sets
/offhw
: turn off auto giving lazer sets
/ontui
: turn on unlimited m2
/offtui
: turn off unlimited m2
/onrb
: turn on auto bhop when space being pressed
/offrb
: turn off auto bhop when space being pressed