Skip to content

Tabing010102/l4d2-coop-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 

Repository files navigation

l4d2-coop-plugins

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.

Some Descriptions

Known Bugs

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)

Known Issues

SI will not spawn in SoureMod 1.11 b6970, Metamod:Source 1.11 b1156, left4dhooks 1.155

Match Modes

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 (deprecated)
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)

Default Diffcuilty Description(thcoop4)

snum = number of survivors in game
when snum4, calculate as 4 below

Tank Health

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

SI(Special Infected) Generation Time

17-35 seconds

Number of SI

thcoop4 & thcoop4nosiai matchmode: 6 + floor((snum - 4) / 2) * 3, 3 player-controlled SI
thcoop4hardplus & thcoop4expert & thcoop4nosiaiexpert matchmode: 4 + (snum - 4), no player-controlled SI

Hard Plus Difficulty Description(thcoop4hardplus)

Note: this difficulty is based on the offical Hard difficulty, you need to change the difficulty to Hard to use this mode

Default damage changes(relative to the offical Hard)

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

Cvars of related plugins

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

Other description

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

Lgofnoc related commands

/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

Player commands

/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

Management commands

General commands

/sset num: set server max player to num
/sinfo: show server maxplayer info
/rygive: give items, teleport players, etc.
/pause: pause/unpause game

Bot control commands

/addbot: add a bot for player(s) to control when necessary
/kb: kick all bots

SI control commands(thcoop2)

/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

SI control commands(thcoop4)

/js: join survivor
/ji: join infected
/timer: change SI spawn timer
/zlimit: change max special infected limit
Other feature is controlled by cvar

Ammo control commands

/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

Recourse control commands

/mmn: control medical resources multiplier

Auxiliary? commands

/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

Other descriptions? to be added

About

Left 4 Dead 2 Dedicated Server Coop Plugins

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published